Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Start adding react libraries to wger

Roland Geider18cce283836a
diff --git a/wger/core/static/angular/de/3rdpartylicenses.txt b/wger/core/static/angular/de/3rdpartylicenses.txt
deleted file mode 100644
index 943cb37f0..000000000
--- a/wger/core/static/angular/de/3rdpartylicenses.txt
+++ /dev/null
@@ -1,921 +0,0 @@
-@angular/animations
-MIT
-
-@angular/cdk
-MIT
-The MIT License
-
-Copyright (c) 2021 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/forms
-MIT
-
-@angular/platform-browser
-MIT
-
-@angular/router
-MIT
-
-@ng-bootstrap/ng-bootstrap
-MIT
-The MIT License (MIT)
-
-Copyright (c) 2015-2018 Angular ng-bootstrap team
-
-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.
-
-
-@swimlane/ngx-charts
-MIT
-MIT License
-
-Copyright (c) 2017 Swimlane
-
-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.
-
-
-bootstrap
-MIT
-The MIT License (MIT)
-
-Copyright (c) 2011-2021 Twitter, Inc.
-Copyright (c) 2011-2021 The Bootstrap Authors
-
-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-array
-BSD-3-Clause
-Copyright 2010-2020 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-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-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-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-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-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-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-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.
-
-
-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.
-
-
-
-tslib
-0BSD
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
-zone.js
-MIT
-The MIT License
-
-Copyright (c) 2010-2020 Google LLC. https://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.
diff --git a/wger/core/static/angular/de/favicon.ico b/wger/core/static/angular/de/favicon.ico
deleted file mode 100644
index 997406ad2..000000000
Binary files a/wger/core/static/angular/de/favicon.ico and /dev/null differ
diff --git a/wger/core/static/angular/de/index.html b/wger/core/static/angular/de/index.html
deleted file mode 100644
index 3dab9c63b..000000000
--- a/wger/core/static/angular/de/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html><html lang="de"><head>
- <meta charset="utf-8">
- <title>Angular</title>
- <base href="/de/">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" type="image/x-icon" href="favicon.ico">
-<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}*,:after,:before{box-sizing:border-box;}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff;}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;}@media (min-width:576px){.container{max-width:540px;}}@media (min-width:768px){.container{max-width:720px;}}@media (min-width:992px){.container{max-width:960px;}}@media (min-width:1200px){.container{max-width:1140px;}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px;}.col-12{position:relative;width:100%;padding-right:15px;padding-left:15px;}.col-12{flex:0 0 100%;max-width:100%;}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important;}@page {size:a3;}.container,body{min-width:992px!important;}}</style><link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.css"></noscript></head>
-<body>
- <div class="container">
- <div class="row">
- <div class="col-12">
-
- <app-root></app-root>
- </div>
- </div>
- </div>
-<script src="runtime.js" defer></script><script src="polyfills.js" defer></script><script src="main.js" defer></script>
-
-</body></html>
\ No newline at end of file
diff --git a/wger/core/static/angular/de/main.js b/wger/core/static/angular/de/main.js
deleted file mode 100644
index 7b1d3f25a..000000000
--- a/wger/core/static/angular/de/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"de"});
-"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["de"]=["de",[["AM","PM"],u,u],u,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],u,u],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",u,"{1} 'um' {0}",u],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{"ATS":["\xF6S"],"AUD":["AU$","$"],"BGM":["BGK"],"BGO":["BGJ"],"CUC":[u,"Cub$"],"DEM":["DM"],"FKP":[u,"Fl\xA3"],"GNF":[u,"F.G."],"KMF":[u,"FC"],"RON":[u,"L"],"RWF":[u,"F.Rw"],"SYP":[],"THB":["\u0E3F"],"TWD":["NT$"],"XXX":[],"ZMW":[u,"K"]},"ltr",plural,[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],u,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],u,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);;
-(self.webpackChunkwger_angular=self.webpackChunkwger_angular||[]).push([[179],{255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},178:(t,e,n)=>{"use strict";function i(t){return"function"==typeof t}let r=!1;const s={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}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=Array.isArray||(t=>t&&"number"==typeof t.length);function c(t){return null!==t&&"object"==typeof t}const u=(()=>{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})();class h{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof h)e.remove(this);else if(null!==e)for(let i=0;i<e.length;++i)e[i].remove(this);if(i(r)){n&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){t=o instanceof u?d(o.errors):[o]}}if(l(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(c(n))try{n.unsubscribe()}catch(o){t=t||[],o instanceof u?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new u(t)}add(t){let e=t;if(!t)return h.EMPTY;switch(typeof t){case"function":e=new h(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof h)){const t=e;e=new h,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof h){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[e]:i.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}h.EMPTY=function(t){return t.closed=!0,t}(new h);const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[f](){return this}static create(t,e,n){const i=new p(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends p{constructor(t,e,n,r){let s;super(),this._parentSubscriber=t;let o=this;i(e)?s=e:e&&(s=e.next,n=e.error,r=e.complete,e!==a&&(o=Object.create(e),i(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(o(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(t){return t}let v=(()=>{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:i}=this,r=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(a)}(t,e,n);if(r.add(i?i.call(r,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.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 p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=_(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b extends h{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)}}class x extends p{constructor(t){super(t),this.destination=t}}let C=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new b(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new S(t,e),t})();class S extends C{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):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}function T(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 k(t,e))}}class k{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 p{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)}}const O=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()},D="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",R=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function P(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(R(t))return O(t);if(P(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[D])return e=t,t=>{const n=e[D]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}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=c(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};function L(t,e){return new v(n=>{const i=new h;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new v(n=>{const i=new h;return i.add(e.schedule(()=>{const r=t[m]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(P(t))return function(t,e){return new v(n=>{const i=new h;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(R(t))return L(t,e);if(function(t){return t&&"function"==typeof t[D]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const i=new h;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[D](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}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 v?t:new v(M(t))}class I extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class N extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function V(t,e){if(e.closed)return;if(t instanceof v)return t.subscribe(e);let n;try{n=M(t)(e)}catch(i){e.error(i)}return n}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(j((n,i)=>F(t(n,i)).pipe(T((t,r)=>e(n,t,i,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new U(t,n)))}class U{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new H(t,this.project,this.concurrent))}}class H extends N{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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new I(this),n=this.destination;n.add(e);const i=V(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t=Number.POSITIVE_INFINITY){return j(y,t)}function z(t,e){return e?L(t,e):new v(O(t))}function B(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new W(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class W extends p{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,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class G extends v{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 h,t.add(this.source.subscribe(new Q(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Y=(()=>{const t=G.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 Q extends x{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 K(){return new C}function Z(t){for(let e in t)if(t[e]===Z)return e;throw Error("Could not find renamed property on target object.")}function X(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function J(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(J).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 tt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const et=Z({__forward_ref__:Z});function nt(t){return t.__forward_ref__=nt,t.toString=function(){return J(this())},t}function it(t){return rt(t)?t():t}function rt(t){return"function"==typeof t&&t.hasOwnProperty(et)&&t.__forward_ref__===nt}class st extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ot(t){return"string"==typeof t?t:null==t?"":String(t)}function at(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ot(t)}function lt(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${at(t)} found${n}`)}function ct(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function dt(t){return ft(t,gt)||ft(t,yt)}function ft(t,e){return t.hasOwnProperty(e)?t[e]:null}function pt(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(vt))?t[mt]:null}const gt=Z({"\u0275prov":Z}),mt=Z({"\u0275inj":Z}),yt=Z({ngInjectableDef:Z}),vt=Z({ngInjectorDef:Z});var _t=(()=>((_t=_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))();let wt;function bt(t){const e=wt;return wt=t,e}function xt(t,e,n){const i=dt(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&_t.Optional?null:void 0!==e?e:void lt(J(t),"Injector")}function Ct(t){return{toString:t}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),Et=(()=>((Et=Et||{})[Et.Emulated=0]="Emulated",Et[Et.None=2]="None",Et[Et.ShadowDom=3]="ShadowDom",Et))();const Tt="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,At="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ot="undefined"!=typeof global&&global,Dt=Tt||Ot||kt||At,Rt={},Pt=[],Mt=Z({"\u0275cmp":Z}),Lt=Z({"\u0275dir":Z}),Ft=Z({"\u0275pipe":Z}),It=Z({"\u0275mod":Z}),Nt=Z({"\u0275loc":Z}),Vt=Z({"\u0275fac":Z}),jt=Z({__NG_ELEMENT_ID__:Z});let Ut=0;function Ht(t){return Ct(()=>{const e={},n={type:t.type,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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Et.Emulated,id:"c",styles:t.styles||Pt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=Ut++,n.inputs=Wt(t.inputs,e),n.outputs=Wt(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map($t):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(zt):null,n})}function $t(t){return Qt(t)||function(t){return t[Lt]||null}(t)}function zt(t){return function(t){return t[Ft]||null}(t)}const Bt={};function qt(t){return Ct(()=>{const e={type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Bt[t.id]=t.type),e})}function Wt(t,e){if(null==t)return Rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const Gt=Ht;function Yt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qt(t){return t[Mt]||null}function Kt(t,e){const n=t[It]||null;if(!n&&!0===e)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return n}const Zt=20,Xt=10;function Jt(t){return Array.isArray(t)&&"object"==typeof t[1]}function te(t){return Array.isArray(t)&&!0===t[1]}function ee(t){return 0!=(8&t.flags)}function ne(t){return 2==(2&t.flags)}function ie(t){return 1==(1&t.flags)}function re(t){return null!==t.template}function se(t,e){return t.hasOwnProperty(Vt)?t[Vt]:null}class oe{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ae(){return le}function le(t){return t.type.prototype.ngOnChanges&&(t.setInput=ue),ce}function ce(){const t=he(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ue(t,e,n,i){const r=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Rt,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new oe(l&&l.currentValue,e,o===Rt),t[i]=e}function he(t){return t.__ngSimpleChanges__||null}ae.ngInherit=!0;const de="http://www.w3.org/2000/svg";let fe;function pe(){return void 0!==fe?fe:"undefined"!=typeof document?document:void 0}function ge(t){return!!t.listen}const me={createRenderer:(t,e)=>pe()};function ye(t){for(;Array.isArray(t);)t=t[0];return t}function ve(t,e){return ye(e[t])}function _e(t,e){return ye(e[t.index])}function we(t,e){return t.data[e]}function be(t,e){return t[e]}function xe(t,e){const n=e[t];return Jt(n)?n:n[0]}function Ce(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Ee(t,e){return null==e?null:t[e]}function Te(t){t[18]=0}function ke(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ae={lFrame:Je(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Oe(){return Ae.bindingsEnabled}function De(){return Ae.lFrame.lView}function Re(){return Ae.lFrame.tView}function Pe(t){return Ae.lFrame.contextLView=t,t[8]}function Me(){let t=Le();for(;null!==t&&64===t.type;)t=t.parent;return t}function Le(){return Ae.lFrame.currentTNode}function Fe(){const t=Ae.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ie(t,e){const n=Ae.lFrame;n.currentTNode=t,n.isParent=e}function Ne(){return Ae.lFrame.isParent}function Ve(){Ae.lFrame.isParent=!1}function je(){return Ae.isInCheckNoChangesMode}function Ue(t){Ae.isInCheckNoChangesMode=t}function He(){const t=Ae.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function $e(){return Ae.lFrame.bindingIndex++}function ze(t){const e=Ae.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Be(t){Ae.lFrame.inI18n=t}function qe(t,e){const n=Ae.lFrame;n.bindingIndex=n.bindingRootIndex=t,We(e)}function We(t){Ae.lFrame.currentDirectiveIndex=t}function Ge(){return Ae.lFrame.currentQueryIndex}function Ye(t){Ae.lFrame.currentQueryIndex=t}function Qe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ke(t,e,n){if(n&_t.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&_t.Host||(i=Qe(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Ae.lFrame=Xe();return i.currentTNode=e,i.lView=t,!0}function Ze(t){const e=Xe(),n=t[1];Ae.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Xe(){const t=Ae.lFrame,e=null===t?null:t.child;return null===e?Je(t):e}function Je(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function tn(){const t=Ae.lFrame;return Ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const en=tn;function nn(){const t=tn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function rn(){return Ae.lFrame.selectedIndex}function sn(t){Ae.lFrame.selectedIndex=t}function on(){const t=Ae.lFrame;return we(t.tView,t.selectedIndex)}function an(){Ae.lFrame.currentNamespace=de}function ln(){Ae.lFrame.currentNamespace=null}function cn(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:r,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),r&&((t.contentHooks||(t.contentHooks=[])).push(n,r),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,r)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function un(t,e,n){fn(t,e,3,n)}function hn(t,e,n,i){(3&t[2])===n&&fn(t,e,n,i)}function dn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function fn(t,e,n,i){const r=null!=i?i:-1,s=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<s;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<r||-1==r)&&(pn(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function pn(t,e,n,i){const r=n[i]<0,s=n[i+1],o=t[r?-n[i]:n[i]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(o)}finally{}}}else try{s.call(o)}finally{}}const gn=-1;class mn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function yn(t,e,n){const i=ge(t);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],l=n[r++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++r];_n(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function vn(t){return 3===t||4===t||6===t}function _n(t){return 64===t.charCodeAt(0)}function wn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?n=r:0===n||bn(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function bn(t,e,n,i,r){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function xn(t){return t!==gn}function Cn(t){return 32767&t}function Sn(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let En=!0;function Tn(t){const e=En;return En=t,e}let kn=0;function An(t,e){const n=Dn(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,On(i.data,t),On(e,null),On(i.blueprint,null));const r=Rn(t,e),s=t.injectorIndex;if(xn(r)){const t=Cn(r),n=Sn(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function On(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Rn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return gn;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return gn}function Pn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(i=n[jt]),null==i&&(i=n[jt]=kn++);const r=255&i;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function Mn(t,e,n){if(n&_t.Optional)return t;lt(e,"NodeInjector")}function Ln(t,e,n,i){if(n&_t.Optional&&void 0===i&&(i=null),0==(n&(_t.Self|_t.Host))){const r=t[9],s=bt(void 0);try{return r?r.get(e,i,n&_t.Optional):xt(e,i,n&_t.Optional)}finally{bt(s)}}return Mn(i,e,n)}function Fn(t,e,n,i=_t.Default,r){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(jt)?t[jt]:void 0;return"number"==typeof e?e>=0?255&e:Nn:e}(n);if("function"==typeof s){if(!Ke(e,t,i))return i&_t.Host?Mn(r,n,i):Ln(e,n,i,r);try{const t=s(i);if(null!=t||i&_t.Optional)return t;lt(n)}finally{en()}}else if("number"==typeof s){let r=null,o=Dn(t,e),a=gn,l=i&_t.Host?e[16][6]:null;for((-1===o||i&_t.SkipSelf)&&(a=-1===o?Rn(t,e):e[o+8],a!==gn&&$n(i,!1)?(r=e[1],o=Cn(a),e=Sn(a,e)):o=-1);-1!==o;){const t=e[1];if(Hn(s,o,t.data)){const t=Vn(o,e,n,r,i,l);if(t!==In)return t}a=e[o+8],a!==gn&&$n(i,e[1].data[o+8]===l)&&Hn(s,o,e)?(r=t,o=Cn(a),e=Sn(a,e)):o=-1}}}return Ln(e,n,i,r)}const In={};function Nn(){return new zn(Me(),De())}function Vn(t,e,n,i,r,s){const o=e[1],a=o.data[t+8],l=jn(a,o,n,null==i?ne(a)&&En:i!=o&&0!=(3&a.type),r&_t.Host&&s===a);return null!==l?Un(e,o,l,a):In}function jn(t,e,n,i,r){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(r){const t=o[l];if(t&&re(t)&&t.type===n)return l}return null}function Un(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof mn){const o=r;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(at(s[n]));const a=Tn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?bt(o.injectImpl):null;Ke(t,i,_t.Default);try{r=t[n]=o.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=le(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&bt(l),Tn(a),o.resolving=!1,en()}}return r}function Hn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function $n(t,e){return!(t&_t.Self||t&_t.Host&&e)}class zn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Fn(this._tNode,this._lView,t,void 0,e)}}function Bn(t){return Ct(()=>{const e=t.prototype.constructor,n=e[Vt]||qn(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[Vt]||qn(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function qn(t){return rt(t)?()=>{const e=qn(it(t));return e&&e()}:se(t)}const Wn="__parameters__";function Gn(t,e,n){return Ct(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(Wn)?t[Wn]:Object.defineProperty(t,Wn,{value:[]})[Wn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class Yn{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=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Qn=new Yn("AnalyzeForEntryComponents"),Kn=Function;function Zn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),Zn(i,e)):e!==t&&e.push(i)}return e}function Xn(t,e){t.forEach(t=>Array.isArray(t)?Xn(t,e):e(t))}function Jn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ti(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ei(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function ni(t,e,n){let i=ri(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function ii(t,e){const n=ri(t,e);if(n>=0)return t[1|n]}function ri(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const si={},oi=/\n/gm,ai="__source",li=Z({provide:String,useValue:Z});let ci;function ui(t){const e=ci;return ci=t,e}function hi(t,e=_t.Default){if(void 0===ci)throw new Error("inject() must be called from an injection context");return null===ci?xt(t,void 0,e):ci.get(t,e&_t.Optional?null:void 0,e)}function di(t,e=_t.Default){return(wt||hi)(it(t),e)}function fi(t){const e=[];for(let n=0;n<t.length;n++){const i=it(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=_t.Default;for(let e=0;e<i.length;e++){const r=i[e],s=r.__NG_DI_FLAG__;"number"==typeof s?-1===s?t=r.token:n|=s:t=r}e.push(di(t,n))}else e.push(di(i))}return e}function pi(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const gi=pi(Gn("Inject",t=>({token:t})),-1),mi=pi(Gn("Optional"),8),yi=pi(Gn("SkipSelf"),4);let vi,_i;function wi(t){var e;return(null===(e=function(){if(void 0===vi&&(vi=null,Dt.trustedTypes))try{vi=Dt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return vi}())||void 0===e?void 0:e.createHTML(t))||t}function bi(t){var e;return(null===(e=function(){if(void 0===_i&&(_i=null,Dt.trustedTypes))try{_i=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return _i}())||void 0===e?void 0:e.createHTML(t))||t}class xi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ci(t){return t instanceof xi?t.changingThisBreaksApplicationSecurity:t}function Si(t){const e=new Ti(t);return function(){try{return!!(new window.DOMParser).parseFromString(wi(""),"text/html")}catch(t){return!1}}()?new Ei(e):e}class Ei{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(wi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Ti{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=wi(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=wi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ki=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Ai=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Oi(t){return(t=String(t)).match(ki)||t.match(Ai)?t:"unsafe:"+t}function Di(t){return(t=String(t)).split(",").map(t=>Oi(t.trim())).join(", ")}function Ri(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Pi(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Mi=Ri("area,br,col,hr,img,wbr"),Li=Ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fi=Ri("rp,rt"),Ii=Pi(Fi,Li),Ni=Pi(Mi,Pi(Li,Ri("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Pi(Fi,Ri("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ii),Vi=Ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ji=Ri("srcset"),Ui=Pi(Vi,ji,Ri("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ri("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Hi=Ri("script,style,template");class $i{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Ni.hasOwnProperty(e))return this.sanitizedSomething=!0,!Hi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!Ui.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;Vi[r]&&(s=Oi(s)),ji[r]&&(s=Di(s)),this.buf.push(" ",e,'="',qi(s),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ni.hasOwnProperty(e)&&!Mi.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(qi(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 zi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bi=/([^\#-~ |!])/g;function qi(t){return t.replace(/&/g,"&amp;").replace(zi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Bi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Wi;function Gi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Qi(t){const e=function(){const t=De();return t&&t[12]}();return e?bi(e.sanitize(Yi.HTML,t)||""):function(t,e){const n=function(t){return t instanceof xi&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"HTML")?bi(Ci(t)):function(t,e){let n=null;try{Wi=Wi||Si(t);let i=e?String(e):"";n=Wi.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Wi.getInertBodyElement(i)}while(i!==s);return wi((new $i).sanitizeChildren(Gi(n)||n))}finally{if(n){const t=Gi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(pe(),ot(t))}function Ki(t,e){t.__ngContext__=e}function Zi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Xi(t){return t.ngOriginalError}function Ji(t,...e){t.error(...e)}class tr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t&&t.ngErrorLogger||Ji}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(Xi(t)):null}_findOriginalError(t){let e=t&&Xi(t);for(;e&&Xi(e);)e=Xi(e);return e||null}}const er=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Dt))();function nr(t){return t.ownerDocument.defaultView}function ir(t){return t instanceof Function?t():t}var rr=(()=>((rr=rr||{})[rr.Important=1]="Important",rr[rr.DashCase=2]="DashCase",rr))();let sr;function or(t,e){return sr(t,e)}function ar(t){const e=t[3];return te(e)?e[3]:e}function lr(t){return ur(t[13])}function cr(t){return ur(t[4])}function ur(t){for(;null!==t&&!te(t);)t=t[4];return t}function hr(t,e,n,i,r){if(null!=i){let s,o=!1;te(i)?s=i:Jt(i)&&(o=!0,i=i[0]);const a=ye(i);0===t&&null!==n?null==r?br(e,n,a):wr(e,n,a,r||null,!0):1===t&&null!==n?wr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Cr(t,e);i&&function(t,e,n,i){ge(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,i,r){const s=n[7];s!==ye(n)&&hr(e,t,i,s,r);for(let o=Xt;o<n.length;o++){const r=n[o];Lr(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function dr(t,e){return ge(t)?t.createText(e):t.createTextNode(e)}function fr(t,e,n){return ge(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function pr(t,e){const n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,ke(r,-1)),n.splice(i,1)}function gr(t,e){if(t.length<=Xt)return;const n=Xt+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&pr(s,i),e>0&&(t[n-1][4]=i[4]);const o=ti(t,Xt+e);Lr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function mr(t,e){if(!(256&e[2])){const n=e[11];ge(n)&&n.destroyNode&&Lr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return yr(t[1],t);for(;e;){let n=null;if(Jt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Jt(e)&&yr(e[1],e),e=e[3];null===e&&(e=t),Jt(e)&&yr(e[1],e),n=e&&e[4]}e=n}}(e)}}function yr(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 i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof mn)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const i=t[e[n]],r=e[n+1];try{r.call(i)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let r=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const t=n[s+1],o="function"==typeof t?t(e):ye(e[t]),a=i[r=n[s+2]],l=n[s+3];"boolean"==typeof l?o.removeEventListener(n[s],a,l):l>=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const t=i[r=n[s+1]];n[s].call(t)}if(null!==i){for(let t=r+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&ge(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&te(e[3])){n!==e[3]&&pr(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function vr(t,e,n){return _r(t,e.parent,n)}function _r(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===Et.None||e===Et.Emulated)return null}return _e(i,n)}function wr(t,e,n,i,r){ge(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function br(t,e,n){ge(t)?t.appendChild(e,n):e.appendChild(n)}function xr(t,e,n,i,r){null!==i?wr(t,e,n,i,r):br(t,e,n)}function Cr(t,e){return ge(t)?t.parentNode(e):e.parentNode}function Sr(t,e,n){return kr(t,e,n)}function Er(t,e,n){return 40&t.type?_e(t,n):null}let Tr,kr=Er;function Ar(t,e){kr=t,Tr=e}function Or(t,e,n,i){const r=vr(t,i,e),s=e[11],o=Sr(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(let a=0;a<n.length;a++)xr(s,r,n[a],o,!1);else xr(s,r,n,o,!1);void 0!==Tr&&Tr(s,i,e,n,r)}function Dr(t,e){if(null!==e){const n=e.type;if(3&n)return _e(e,t);if(4&n)return Pr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Dr(t,n);{const n=t[e.index];return te(n)?Pr(-1,n):ye(n)}}if(32&n)return or(e,t)()||ye(t[e.index]);{const n=Rr(t,e);return null!==n?Array.isArray(n)?n[0]:Dr(ar(t[16]),n):Dr(t,e.next)}}return null}function Rr(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Pr(t,e){const n=Xt+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Dr(t,i)}return e[7]}function Mr(t,e,n,i,r,s,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===e&&(a&&Ki(ye(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Mr(t,e,n.child,i,r,s,!1),hr(e,t,r,a,s);else if(32&l){const o=or(n,i);let l;for(;l=o();)hr(e,t,r,l,s);hr(e,t,r,a,s)}else 16&l?Fr(t,e,i,n,r,s):hr(e,t,r,a,s);n=o?n.projectionNext:n.next}}function Lr(t,e,n,i,r,s){Mr(n,i,t.firstChild,e,r,s,!1)}function Fr(t,e,n,i,r,s){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)hr(e,t,r,a[l],s);else Mr(t,e,a,o[3],r,s,!0)}function Ir(t,e,n){ge(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Nr(t,e,n){ge(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Vr(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const jr="ng-template";function Ur(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&"class"===r){if(r=t[i],-1!==Vr(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Hr(t){return 4===t.type&&t.value!==jr}function $r(t,e,n){return e===(4!==t.type||n?t.value:jr)}function zr(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(vn(t[e]))return e;return t.length}(r);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!$r(t,l,n)||""===l&&1===e.length){if(Br(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!Ur(t.attrs,c,n)){if(Br(i))return!1;o=!0}continue}const u=qr(8&i?"class":l,r,Hr(t),n);if(-1===u){if(Br(i))return!1;o=!0;continue}if(""!==c){let t;t=u>s?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==Vr(e,c,0)||2&i&&c!==t){if(Br(i))return!1;o=!0}}}}else{if(!o&&!Br(i)&&!Br(l))return!1;if(o&&Br(l))continue;o=!1,i=l|1&i}}return Br(i)||o}function Br(t){return 0==(1&t)}function qr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Wr(t,e,n=!1){for(let i=0;i<e.length;i++)if(zr(t,e[i],n))return!0;return!1}function Gr(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Yr(t,e){return t?":not("+e.trim()+")":e}function Qr(t){let e=t[0],n=1,i=2,r="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Br(o)||(e+=Yr(s,r),r=""),i=o,s=s||!Br(i);n++}return""!==r&&(e+=Yr(s,r)),e}const Kr={};function Zr(t){Xr(Re(),De(),rn()+t,je())}function Xr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&un(e,i,n)}else{const i=t.preOrderHooks;null!==i&&hn(e,i,0,n)}sn(n)}function Jr(t,e){return t<<17|e<<2}function ts(t){return t>>17&32767}function es(t){return 2|t}function ns(t){return(131068&t)>>2}function is(t,e){return-131069&t|e<<2}function rs(t){return 1|t}function ss(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];Ye(r),n.contentQueries(2,e[s],s)}}}function os(t,e,n,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,Te(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function as(t,e,n,i,r){let s=t.data[e];if(null===s)s=ls(t,e,n,i,r),Ae.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const t=Fe();s.injectorIndex=null===t?-1:t.injectorIndex}return Ie(s,!0),s}function ls(t,e,n,i,r){const s=Le(),o=Ne(),a=t.data[e]=function(t,e,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}function cs(t,e,n,i){if(0===n)return-1;const r=e.length;for(let s=0;s<n;s++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function us(t,e,n){Ze(e);try{const i=t.viewQuery;null!==i&&Vs(1,i,n);const r=t.template;null!==r&&fs(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ss(t,e),t.staticViewQueries&&Vs(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ms(t,e[n])}(e,s)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,nn()}}function hs(t,e,n,i){const r=e[2];if(256==(256&r))return;Ze(e);const s=je();try{Te(e),function(t){Ae.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&fs(t,e,n,2,i);const o=3==(3&r);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&un(e,n,null)}else{const n=t.preOrderHooks;null!==n&&hn(e,n,0,null),dn(e,0)}if(function(t){for(let e=lr(t);null!==e;e=cr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&ke(i,1),n[2]|=1024}}}(e),function(t){for(let e=lr(t);null!==e;e=cr(e))for(let t=Xt;t<e.length;t++){const n=e[t],i=n[1];Se(n)&&hs(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&ss(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&un(e,n)}else{const n=t.contentHooks;null!==n&&hn(e,n,1),dn(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)sn(~i);else{const r=i,s=n[++t],o=n[++t];qe(s,r),o(2,e[r])}}}finally{sn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Rs(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Vs(2,l,i),!s)if(o){const n=t.viewCheckHooks;null!==n&&un(e,n)}else{const n=t.viewHooks;null!==n&&hn(e,n,2),dn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,ke(e[3],-1))}finally{nn()}}function ds(t,e,n,i){const r=e[10],s=!je(),o=Ce(e);try{s&&!o&&r.begin&&r.begin(),o&&us(t,e,i),hs(t,e,n,i)}finally{s&&!o&&r.end&&r.end()}}function fs(t,e,n,i,r){const s=rn(),o=2&i;try{sn(-1),o&&e.length>Zt&&Xr(t,e,Zt,je()),n(i,r)}finally{sn(s)}}function ps(t,e,n){Oe()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||An(n,e),Ki(i,e);const o=n.initialInputs;for(let a=r;a<s;a++){const i=t.data[a],s=re(i);s&&ks(e,n,i);const l=Un(e,t,a,n);Ki(l,e),null!==o&&As(0,a-r,l,i,0,o),s&&(xe(n.index,e)[8]=l)}}(t,e,n,_e(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=Ae.lFrame.currentDirectiveIndex;try{sn(s);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];We(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||xs(i,r)}}finally{sn(-1),We(o)}}(t,e,n))}function gs(t,e,n=_e){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(e,t):t[o];t[r++]=a}}}function ms(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ys(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function ys(t,e,n,i,r,s,o,a,l,c){const u=Zt+i,h=u+r,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Kr);return n}(u,h),f="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function vs(t,e,n,i){const r=Us(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&Hs(t).push(i,r.length-1))}function _s(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function ws(t,e,n,i){let r=!1;if(Oe()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];Wr(n,o.selectors,!1)&&(r||(r=[]),Pn(An(n,e),t,o.type),re(o)?(Cs(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==s){r=!0,Es(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,l=cs(t,e,s.length,null);for(let r=0;r<s.length;r++){const c=s[r];n.mergedAttrs=wn(n.mergedAttrs,c.hostAttrs),Ts(t,n,e,l,c),Ss(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===r||Hr(e)?null:Os(n,r);s.push(c),o=_s(n,l,o),a=_s(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new st("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,o)}return n.mergedAttrs=wn(n.mergedAttrs,n.attrs),r}function bs(t,e,n,i,r,s){const o=s.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,o)}}function xs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Cs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ss(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;re(e)&&(n[""]=t)}}function Es(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ts(t,e,n,i,r){t.data[i]=r;const s=r.factory||(r.factory=se(r.type)),o=new mn(s,re(r),null);t.blueprint[i]=o,n[i]=o,bs(t,e,0,i,cs(t,n,r.hostVars,Kr),r)}function ks(t,e,n){const i=_e(e,t),r=ms(n),s=t[10],o=Ls(t,os(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n),null,null));t[e.index]=o}function As(t,e,n,i,r,s){const o=s[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const r=o[e++],s=o[e++],a=o[e++];null!==t?i.setInput(n,a,r,s):n[s]=a}}}function Os(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Ds(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Rs(t,e){const n=xe(e,t);if(Se(n)){const t=n[1];80&n[2]?hs(t,n,t.template,n[8]):n[5]>0&&Ps(n)}}function Ps(t){for(let n=lr(t);null!==n;n=cr(n))for(let t=Xt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];hs(t,e,t.template,e[8])}else e[5]>0&&Ps(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=xe(e[n],t);Se(i)&&i[5]>0&&Ps(i)}}function Ms(t,e){const n=xe(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),us(i,n,n[8])}function Ls(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Fs(t){for(;t;){t[2]|=64;const e=ar(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Is(t,e,n){const i=e[10];i.begin&&i.begin();try{hs(t,e,t.template,n)}catch(r){throw $s(e,r),r}finally{i.end&&i.end()}}function Ns(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Zi(n),r=i[1];ds(r,i,r.template,n)}}(t[8])}function Vs(t,e,n){Ye(0),e(t,n)}const js=(()=>Promise.resolve(null))();function Us(t){return t[7]||(t[7]=[])}function Hs(t){return t.cleanup||(t.cleanup=[])}function $s(t,e){const n=t[9],i=n?n.get(tr,null):null;i&&i.handleError(e)}function zs(t,e,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Bs(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?r=tt(r,t):2==s&&(i=tt(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}const qs=new Yn("INJECTOR",-1);class Ws{get(t,e=si){if(e===si){const e=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw e.name="NullInjectorError",e}return e}}const Gs=new Yn("Set Injector scope."),Ys={},Qs={};let Ks;function Zs(){return void 0===Ks&&(Ks=new Ws),Ks}function Xs(t,e=null,n=null,i){return new Js(t,n,e||Zs(),i)}class Js{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&Xn(e,n=>this.processProvider(n,t,e)),Xn([t],t=>this.processInjectorType(t,[],r)),this.records.set(qs,no(void 0,this));const s=this.records.get(Gs);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:J(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=si,n=_t.Default){this.assertNotDestroyed();const i=ui(this),r=bt(void 0);try{if(!(n&_t.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof Yn}(t)&&dt(t);e=n&&this.injectableDefInScope(n)?no(to(t),Ys):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&_t.Self?Zs():this.parent).get(t,e=n&_t.Optional&&e===si?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(J(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e[ai]&&r.unshift(e[ai]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=J(e);if(Array.isArray(e))r=e.map(J).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):J(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(oi,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{bt(r),ui(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(J(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=it(t)))return!1;let i=pt(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=pt(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(s);try{Xn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];Xn(i,t=>this.processProvider(t,n,i||Pt))}}this.injectorDefTypes.add(s);const a=se(s)||(()=>new s);this.records.set(s,no(a,Ys));const l=i.providers;if(null!=l&&!o){const e=t;Xn(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=ro(t=it(t))?t:it(t&&t.provide);const r=function(t,e,n){return io(t)?no(void 0,t.useValue):no(eo(t),Ys)}(t);if(ro(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=no(void 0,Ys,!0),e.factory=()=>fi(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){return e.value===Ys&&(e.value=Qs,e.value=e.factory()),"object"==typeof e.value&&e.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=it(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function to(t){const e=dt(t),n=null!==e?e.factory:se(t);if(null!==n)return n;if(t instanceof Yn)throw new Error(`Token ${J(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ei(e,"?");throw new Error(`Can't resolve all parameters for ${J(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[gt]||t[yt]);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 a future version of Angular. 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 eo(t,e,n){let i;if(ro(t)){const e=it(t);return se(e)||to(e)}if(io(t))i=()=>it(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...fi(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>di(it(t.useExisting));else{const e=it(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return se(e)||to(e);i=()=>new e(...fi(t.deps))}return i}function no(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function io(t){return null!==t&&"object"==typeof t&&li in t}function ro(t){return"function"==typeof t}const so=function(t,e,n){return function(t,e=null,n=null,i){const r=Xs(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};class oo{static create(t,e){return Array.isArray(t)?so(t,e,""):so(t.providers,t.parent,t.name||"")}}function ao(t,e){cn(Zi(t)[1],Me())}function lo(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let r;if(re(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=co(t.inputs),e.declaredInputs=co(t.declaredInputs),e.outputs=co(t.outputs);const n=r.hostBindings;n&&fo(t,n);const s=r.viewQuery,o=r.contentQueries;if(s&&uo(t,s),o&&ho(t,o),X(t.inputs,r.inputs),X(t.declaredInputs,r.declaredInputs),X(t.outputs,r.outputs),re(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===lo&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=wn(r.hostAttrs,n=wn(n,r.hostAttrs))}}(i)}function co(t){return t===Rt?{}:t===Pt?[]:t}function uo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function ho(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function fo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}oo.THROW_IF_NOT_FOUND=si,oo.NULL=new Ws,oo.\u0275prov=ut({token:oo,providedIn:"any",factory:()=>di(qs)}),oo.__NG_ELEMENT_ID__=-1;let po=null;function go(){if(!po){const t=Dt.Symbol;if(t&&t.iterator)po=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(po=n)}}}return po}class mo{constructor(t){this.wrapped=t}static wrap(t){return new mo(t)}static unwrap(t){return mo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof mo}}function yo(t){return!!vo(t)&&(Array.isArray(t)||!(t instanceof Map)&&go()in t)}function vo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function _o(t,e,n){return t[e]=n}function wo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function bo(t,e,n,i){const r=wo(t,e,n);return wo(t,e+1,i)||r}function xo(t,e,n,i){const r=De();return wo(r,$e(),e)&&(Re(),function(t,e,n,i,r,s){const o=_e(t,e);!function(t,e,n,i,r,s,o){if(null==s)ge(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{const a=null==o?ot(s):o(s,i||"",r);ge(t)?t.setAttribute(e,r,a,n):n?e.setAttributeNS(n,r,a):e.setAttribute(r,a)}}(e[11],o,s,t.value,n,i,r)}(on(),r,t,e,n,i)),xo}function Co(t,e,n,i){return wo(t,$e(),n)?e+ot(n)+i:Kr}function So(t,e,n,i,r,s,o,a){const l=De(),c=Re(),u=t+Zt,h=c.firstCreatePass?function(t,e,n,i,r,s,o,a,l){const c=e.consts,u=as(e,t,4,o||null,Ee(c,a));ws(e,n,u,Ee(c,l)),cn(e,u);const h=u.tViews=ys(2,u,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,i,r,s,o):c.data[u];Ie(h,!1);const d=l[11].createComment("");Or(c,l,d,h),Ki(d,l),Ls(l,l[u]=Ds(d,l,d,h)),ie(h)&&ps(c,l,h),null!=o&&gs(l,h,a)}function Eo(t){return be(Ae.lFrame.contextLView,Zt+t)}function To(t,e=_t.Default){const n=De();return null===n?di(t,e):Fn(Me(),n,it(t),e)}function ko(t,e,n){const i=De();return wo(i,$e(),e)&&function(t,e,n,i,r,s,o,a){const l=_e(e,n);let c,u=e.inputs;var h;null!=u&&(c=u[i])?(zs(t,n,c,i,r),ne(e)&&function(t,e){const n=xe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(h=i)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,r=null!=o?o(r,e.value||"",i):r,ge(s)?s.setProperty(l,i,r):_n(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}(Re(),on(),i,t,e,i[11],n),ko}function Ao(t,e,n,i,r){const s=r?"class":"style";zs(t,n,e.inputs[s],s,i)}function Oo(t,e,n,i){const r=De(),s=Re(),o=Zt+t,a=r[11],l=r[o]=fr(a,e,Ae.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,i,r,s,o){const a=e.consts,l=as(e,t,2,r,Ee(a,s));return ws(e,n,l,Ee(a,o)),null!==l.attrs&&Bs(l,l.attrs,!1),null!==l.mergedAttrs&&Bs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,s,r,0,e,n,i):s.data[o];Ie(c,!0);const u=c.mergedAttrs;null!==u&&yn(a,l,u);const h=c.classes;null!==h&&Nr(a,l,h);const d=c.styles;null!==d&&Ir(a,l,d),64!=(64&c.flags)&&Or(s,r,l,c),0===Ae.lFrame.elementDepthCount&&Ki(l,r),Ae.lFrame.elementDepthCount++,ie(c)&&(ps(s,r,c),function(t,e,n){if(ee(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}(s,c,r)),null!==i&&gs(r,c)}function Do(){let t=Me();Ne()?Ve():(t=t.parent,Ie(t,!1));const e=t;Ae.lFrame.elementDepthCount--;const n=Re();n.firstCreatePass&&(cn(n,t),ee(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ao(n,e,De(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ao(n,e,De(),e.stylesWithoutHost,!1)}function Ro(t,e,n,i){Oo(t,e,n,i),Do()}function Po(){return De()}function Mo(t){return!!t&&"function"==typeof t.then}const Lo=function(t){return!!t&&"function"==typeof t.subscribe};function Fo(t,e,n,i){const r=De(),s=Re(),o=Me();return function(t,e,n,i,r,s,o,a){const l=ie(i),c=t.firstCreatePass&&Hs(t),u=Us(e);let h=!0;if(3&i.type||a){const d=_e(i,e),f=a?a(d):d,p=u.length,g=a?t=>a(ye(t[i.index])):i.index;if(ge(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=No(i,e,0,s,!1);const t=n.listen(f,r,s);u.push(s,t),c&&c.push(r,g,p,p+1)}}else s=No(i,e,0,s,!0),f.addEventListener(r,s,o),u.push(s),c&&c.push(r,g,p,o)}else s=No(i,e,0,s,!1);const d=i.outputs;let f;if(h&&null!==d&&(f=d[r])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(s),o=u.length;u.push(s,t),c&&c.push(r,i.index,o,-(o+1))}}}(s,r,r[11],o,t,e,!!n,i),Fo}function Io(t,e,n,i){try{return!1!==n(i)}catch(r){return $s(t,r),!1}}function No(t,e,n,i,r){return function n(s){if(s===Function)return i;const o=2&t.flags?xe(t.index,e):e;0==(32&e[2])&&Fs(o);let a=Io(e,0,i,s),l=n.__ngNextListenerFn__;for(;l;)a=Io(e,0,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Vo(t=1){return function(t){return(Ae.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ae.lFrame.contextLView))[8]}(t)}function jo(t,e){let n=null;const i=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 r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?Wr(t,s,!0):Gr(i,s))return r}else n=r}return n}function Uo(t){const e=De()[16][6];if(!e.projection){const n=e.projection=ei(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?jo(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function Ho(t,e=0,n){const i=De(),r=Re(),s=as(r,Zt+t,16,null,n||null);null===s.projection&&(s.projection=e),Ve(),64!=(64&s.flags)&&function(t,e,n){Fr(e[11],0,e,n,vr(t,n,e),Sr(n.parent||e[6],n,e))}(r,i,s)}function $o(t,e,n,i,r){const s=t[n+1],o=null===e;let a=i?ts(s):ns(s),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];zo(t[a],e)&&(l=!0,t[a+1]=i?rs(n):es(n)),a=i?ts(n):ns(n)}l&&(t[n+1]=i?es(s):rs(s))}function zo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ri(t,e)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qo(t){return t.substring(Bo.key,Bo.keyEnd)}function Wo(t,e){const n=Bo.textEnd;return n===e?-1:(e=Bo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Bo.key=e,n),Go(t,e,n))}function Go(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Yo(t,e,n){return Xo(t,e,n,!1),Yo}function Qo(t,e){return Xo(t,e,null,!0),Qo}function Ko(t){Jo(ni,Zo,t,!0)}function Zo(t,e){for(let n=function(t){return function(t){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=t.length}(t),Wo(t,Go(t,0,Bo.textEnd))}(e);n>=0;n=Wo(e,n))ni(t,qo(e),!0)}function Xo(t,e,n,i){const r=De(),s=Re(),o=ze(2);s.firstUpdatePass&&ea(s,t,o,i),e!==Kr&&wo(r,o,e)&&ra(s,s.data[rn()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=J(Ci(t)))),t}(e,n),i,o)}function Jo(t,e,n,i){const r=Re(),s=ze(2);r.firstUpdatePass&&ea(r,null,s,i);const o=De();if(n!==Kr&&wo(o,s,n)){const a=r.data[rn()];if(aa(a,i)&&!ta(r,s)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=tt(t,n||"")),Ao(r,a,o,n,i)}else!function(t,e,n,i,r,s,o,a){r===Kr&&(r=Pt);let l=0,c=0,u=0<r.length?r[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=l<r.length?r[l+1]:void 0,f=c<s.length?s[c+1]:void 0;let p,g=null;u===h?(l+=2,c+=2,d!==f&&(g=h,p=f)):null===h||null!==u&&u<h?(l+=2,g=u):(c+=2,g=h,p=f),null!==g&&ra(t,e,n,i,g,p,o,a),u=l<r.length?r[l]:null,h=c<s.length?s[c]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return Pt;const i=[],r=Ci(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function ta(t,e){return e>=t.expandoStartIndex}function ea(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[rn()],o=ta(t,n);aa(s,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=function(t){const e=Ae.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=ia(n=na(null,t,e,n,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=na(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ns(i))return t[ts(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=na(null,t,e,n[1],i),n=ia(n,e.attrs,i),function(t,e,n,i){t[ts(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=ia(i,t[s].hostAttrs,n);return ia(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let o=s?e.classBindings:e.styleBindings,a=ts(o),l=ns(o);t[i]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||ri(t,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=ts(t[a+1]);t[i+1]=Jr(e,a),0!==e&&(t[e+1]=is(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=Jr(a,0),0!==a&&(t[a+1]=is(t[a+1],i)),a=i;else t[i+1]=Jr(l,0),0===a?a=i:t[l+1]=is(t[l+1],i),l=i;u&&(t[i+1]=es(t[i+1])),$o(t,c,i,!0),$o(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&ri(s,e)>=0&&(n[i+1]=rs(n[i+1]))}(e,c,t,i,s),o=Jr(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,n,o,i)}}function na(t,e,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],i=ia(i,s.hostAttrs,r),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ia(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ni(t,o,!!n||e[++s]))}return void 0===t?null:t}function ra(t,e,n,i,r,s,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];oa(1==(1&c)?sa(l,e,n,r,ns(c),o):void 0)||(oa(s)||2==(2&c)&&(s=sa(l,null,n,r,a,o)),function(t,e,n,i,r){const s=ge(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:rr.DashCase;if(null==r)s?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof r&&r.endsWith("!important");o&&(r=r.slice(0,-10),e|=rr.Important),s?t.setStyle(n,i,r,e):n.style.setProperty(i,r,o?"important":"")}}}(i,o,ve(rn(),n),r,s))}function sa(t,e,n,i,r,s){const o=null===e;let a;for(;r>0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[r+1];u===Kr&&(u=c?Pt:void 0);let h=c?ii(u,i):l===i?u:void 0;if(s&&!oa(h)&&(h=ii(e,i)),oa(h)&&(a=h,o))return a;const d=t[r+1];r=o?ts(d):ns(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=ii(t,i))}return a}function oa(t){return void 0!==t}function aa(t,e){return 0!=(t.flags&(e?16:32))}function la(t,e=""){const n=De(),i=Re(),r=t+Zt,s=i.firstCreatePass?as(i,r,1,e,null):i.data[r],o=n[r]=dr(n[11],e);Or(i,n,o,s),Ie(s,!1)}function ca(t){return ua("",t,""),ca}function ua(t,e,n){const i=De(),r=Co(i,t,e,n);return r!==Kr&&function(t,e,n){const i=ve(e,t);!function(t,e,n){ge(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}(i,rn(),r),ua}const ha=void 0;var da=["en",[["a","p"],["AM","PM"],ha],[["AM","PM"],ha,ha],[["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"]],ha,[["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"]],ha,[["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}",ha,"{1} 'at' {0}",ha],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fa={};function pa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ga(e);if(n)return n;const i=e.split("-")[0];if(n=ga(i),n)return n;if("en"===i)return da;throw new Error(`Missing locale data for the locale "${t}".`)}function ga(t){return t in fa||(fa[t]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[t]),fa[t]}var ma=(()=>((ma=ma||{})[ma.LocaleId=0]="LocaleId",ma[ma.DayPeriodsFormat=1]="DayPeriodsFormat",ma[ma.DayPeriodsStandalone=2]="DayPeriodsStandalone",ma[ma.DaysFormat=3]="DaysFormat",ma[ma.DaysStandalone=4]="DaysStandalone",ma[ma.MonthsFormat=5]="MonthsFormat",ma[ma.MonthsStandalone=6]="MonthsStandalone",ma[ma.Eras=7]="Eras",ma[ma.FirstDayOfWeek=8]="FirstDayOfWeek",ma[ma.WeekendRange=9]="WeekendRange",ma[ma.DateFormat=10]="DateFormat",ma[ma.TimeFormat=11]="TimeFormat",ma[ma.DateTimeFormat=12]="DateTimeFormat",ma[ma.NumberSymbols=13]="NumberSymbols",ma[ma.NumberFormats=14]="NumberFormats",ma[ma.CurrencyCode=15]="CurrencyCode",ma[ma.CurrencySymbol=16]="CurrencySymbol",ma[ma.CurrencyName=17]="CurrencyName",ma[ma.Currencies=18]="Currencies",ma[ma.Directionality=19]="Directionality",ma[ma.PluralCase=20]="PluralCase",ma[ma.ExtraData=21]="ExtraData",ma))();const ya="en-US",va={marker:"element"},_a={marker:"ICU"};var wa=(()=>((wa=wa||{})[wa.SHIFT=2]="SHIFT",wa[wa.APPEND_EAGERLY=1]="APPEND_EAGERLY",wa[wa.COMMENT=2]="COMMENT",wa))();let ba=ya;function xa(t){var e;null==(e=t)&&ct("Expected localeId to be defined",e,null,"!="),"string"==typeof t&&(ba=t.toLowerCase().replace(/_/g,"-"))}function Ca(t,e,n){const i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?Er(t,0,n):ye(n[r])}function Sa(t,e,n,i,r){const s=e.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&e.type||(a=o,o=r),null!==o&&0==(2&e.flags))for(let e=1;e<s.length;e++)wr(t,o,n[s[e]],a,!1)}}function Ea(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const i=t[n];Ta(i)||ka(i,e)&&null===Aa(i)&&Oa(i,e.index)}}function Ta(t){return!(64&t.type)}function ka(t,e){return Ta(e)||t.index>e.index}function Aa(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Oa(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(Ar(Ca,Sa),t.insertBeforeIndex=e)}function Da(t,e,n){const i=ls(t,n,64,null,null);return Ea(e,i),i}const Ra=/\ufffd(\d+):?\d*\ufffd/gi,Pa=/\ufffd(\d+)\ufffd/,Ma=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,La=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Fa=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ia=/\uE500/g;function Na(t,e,n,i,r,s,o){const a=cs(t,i,1,null);let l=a<<wa.SHIFT,c=Fe();e===c&&(c=null),null===c&&(l|=wa.APPEND_EAGERLY),o&&(l|=wa.COMMENT,void 0===sr&&(sr=function(){const t=[];let e,n,i=-1;function r(t,e){i=0;const r=function(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(t,e);n=null!==r?t.remove[r]:Pt}function s(){if(i<n.length){const o=n[i++];return o>0?e[o]:(t.push(i,n),r(e[1].data[~o],e),s())}return 0===t.length?null:(n=t.pop(),i=t.pop(),s())}return function(n,i){for(e=i;t.length;)t.pop();return r(n.value,i),s}}())),r.push(l,null===s?"":s);const u=ls(t,a,o?32:1,null===s?"":s,null);Ea(n,u);const h=u.index;return Ie(u,!1),null!==c&&e!==c&&function(t,e){let n=t.insertBeforeIndex;var i;null===n?(Ar(Ca,Sa),n=t.insertBeforeIndex=[null,e]):("Expecting array here",(i=Array.isArray(n))!=!0&&ct("Expecting array here",i,true,"=="),n.push(e))}(c,h),u}function Va(t,e,n,i,r,s,o){const a=o.match(Ra),l=Na(t,e,n,s,i,a?null:o,!1);a&&ja(r,o,l.index,null,0,null)}function ja(t,e,n,i,r,s){const o=t.length,a=o+1;t.push(null,null);const l=o+2,c=e.split(Ra);let u=0;for(let h=0;h<c.length;h++){const e=c[h];if(1&h){const n=r+parseInt(e,10);t.push(-1-n),u|=Ua(n)}else""!==e&&t.push(e)}return t.push(n<<2|(i?1:0)),i&&t.push(i,s),t[o]=u,t[a]=t.length-l,u}function Ua(t){return 1<<Math.min(t,31)}function Ha(t){let e,n,i="",r=0,s=!1;for(;null!==(e=La.exec(t));)s?e[0]===`\ufffd/*${n}\ufffd`&&(r=e.index,s=!1):(i+=t.substring(r,e.index+e[0].length),n=e[1],s=!0);return i+=t.substr(r),i}function $a(t,e,n,i,r,s){let o=0;const a={type:r.type,currentCaseLViewIndex:cs(t,e,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(t,e,n){t.push(Ua(e.mainBinding),2,-1-e.mainBinding,n<<2|2)}(n,r,s),function(t,e,n){const i=t.data[e];null===i?t.data[e]=n:i.value=n}(t,s,a);const l=r.values;for(let c=0;c<l.length;c++){const s=l[c],u=[];for(let t=0;t<s.length;t++){const e=s[t];if("string"!=typeof e){const n=u.push(e)-1;s[t]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=qa(t,a,e,n,i,r.cases[c],s.join(""),u)|o}o&&function(t,e,n){t.push(e,1,n<<2|3)}(n,o,s)}function za(t){const e=[],n=[];let i=1,r=0;const s=Ba(t=t.replace(Ma,function(t,e,n){return i="select"===n?0:1,r=parseInt(e.substr(1),10),""}));for(let o=0;o<s.length;){let t=s[o++].trim();1===i&&(t=t.replace(/\s*(?:=)?(\w+)\s*/,"$1")),t.length&&e.push(t);const r=Ba(s[o++]);e.length>n.length&&n.push(r)}return{type:i,mainBinding:r,cases:e,values:n}}function Ba(t){if(!t)return[];let e=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(t);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=t.substring(e,r);Ma.test(n)?i.push(za(n)):i.push(n),e=r+1}}else{if(0==n.length){const n=t.substring(e,r);i.push(n),e=r+1}n.push("{")}}const o=t.substring(e);return i.push(o),i}function qa(t,e,n,i,r,s,o,a){const l=[],c=[],u=[];e.cases.push(s),e.create.push(l),e.remove.push(c),e.update.push(u);const h=Si(pe()).getInertBodyElement(o),d=Gi(h)||h;return d?Wa(t,e,n,i,l,c,u,d,r,a,0):0}function Wa(t,e,n,i,r,s,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=cs(t,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const f=d,p=f.tagName.toLowerCase();if(Ni.hasOwnProperty(p)){Qa(r,va,p,l,a),t.data[a]=p;const g=f.attributes;for(let t=0;t<g.length;t++){const e=g.item(t),n=e.name.toLowerCase();e.value.match(Ra)?Ui.hasOwnProperty(n)&&ja(o,e.value,a,e.name,0,Vi[n]?Oi:ji[n]?Di:null):Ka(r,a,e)}h=Wa(t,e,n,i,r,s,o,d,a,c,u+1)|h,Ga(s,a,u)}break;case Node.TEXT_NODE:const g=d.textContent||"",m=g.match(Ra);Qa(r,null,m?"":g,l,a),Ga(s,a,u),m&&(h=ja(o,g,a,null,0,null)|h);break;case Node.COMMENT_NODE:const y=Pa.exec(d.textContent||"");if(y){const e=c[parseInt(y[1],10)];Qa(r,_a,"",l,a),$a(t,n,i,l,e,a),Ya(s,a,u)}}d=d.nextSibling}return h}function Ga(t,e,n){0===n&&t.push(e)}function Ya(t,e,n){0===n&&(t.push(~e),t.push(e))}function Qa(t,e,n,i,r){null!==e&&t.push(e),t.push(n,r,0|i<<17|r<<1)}function Ka(t,e,n){t.push(e<<1|1,n.name,n.value)}function Za(t,e,n){(function(t,e,n=-1){const i=Re(),r=De(),s=Zt+t,o=Ee(i.consts,e),a=Fe();i.firstCreatePass&&function(t,e,n,i,r,s){const o=Fe(),a=[],l=[],c=[[]],u=function(t){return t.replace(Ia," ")}(r=function(t,e){if(function(t){return-1===t}(e))return Ha(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,i=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return Ha(t.substring(n,i))}}(r,s)).split(Fa);for(let h=0;h<u.length;h++){let i=u[h];if(0==(1&h)){const s=Ba(i);for(let i=0;i<s.length;i++){let u=s[i];if(0==(1&i)){const e=u;""!==e&&Va(t,o,c[0],a,l,n,e)}else{const i=u;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${r}" message.`);$a(t,n,l,e,i,Na(t,o,c[0],n,a,"",!0).index)}}}else{const e=47===i.charCodeAt(0),n=(i.charCodeAt(e?1:0),Zt+Number.parseInt(i.substring(e?2:1)));if(e)c.shift(),Ie(Fe(),!1);else{const e=Da(t,c[0],n);c.unshift([]),Ie(e,!0)}}}t.data[i]={create:a,update:l}}(i,null===a?0:a.index,r,s,o,n);const l=i.data[s],c=_r(i,a===r[6]?null:a,r);!function(t,e,n,i){const r=t[11];for(let s=0;s<e.length;s++){const o=e[s++],a=e[s],l=(o&wa.COMMENT)===wa.COMMENT,c=(o&wa.APPEND_EAGERLY)===wa.APPEND_EAGERLY,u=o>>>wa.SHIFT;let h=t[u];null===h&&(h=t[u]=l?r.createComment(a):dr(r,a)),c&&null!==n&&wr(r,n,h,i,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),Be(!0)})(t,e,n),Be(!1)}function Xa(t,e,n,i,r){if(t=it(t),Array.isArray(t))for(let s=0;s<t.length;s++)Xa(t[s],e,n,i,r);else{const s=Re(),o=De();let a=ro(t)?t:it(t.provide),l=eo(t);const c=Me(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(ro(t)||!t.multi){const i=new mn(l,r,To),f=el(a,e,r?u:u+d,h);-1===f?(Pn(An(c,o),s,a),Ja(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[f]=i,o[f]=i)}else{const f=el(a,e,u+d,h),p=el(a,e,u,u+d),g=f>=0&&n[f],m=p>=0&&n[p];if(r&&!m||!r&&!g){Pn(An(c,o),s,a);const u=function(t,e,n,i,r){const s=new mn(t,n,To);return s.multi=[],s.index=e,s.componentProviders=0,tl(s,r,i&&!n),s}(r?il:nl,n.length,r,i,l);!r&&m&&(n[p].providerFactory=u),Ja(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Ja(s,t,f>-1?f:p,tl(n[r?p:f],l,!r&&i));!r&&i&&m&&n[p].componentProviders++}}}function Ja(t,e,n,i){const r=ro(e);if(r||function(t){return!!t.useClass}(e)){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function tl(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function el(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function nl(t,e,n,i){return rl(this.multi,[])}function il(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Un(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),rl(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],rl(r,s);return s}function rl(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function sl(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Re();if(i.firstCreatePass){const r=re(t);Xa(n,i.data,i.blueprint,r,!0),Xa(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class ol{}class al{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${J(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class ll{}function cl(...t){}function ul(t,e){return new dl(_e(t,e))}ll.NULL=new al;const hl=function(){return ul(Me(),De())};let dl=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=hl,t})();function fl(t){return t instanceof dl?t.nativeElement:t}class pl{}let gl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ml(),t})();const ml=function(){const t=De(),e=xe(Me().index,t);return function(t){return t[11]}(Jt(e)?e:t)};let yl=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class vl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _l=new vl("12.1.4");class wl{constructor(){}supports(t){return yo(t)}create(t){return new xl(t)}}const bl=(t,e)=>e;class xl{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||bl}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<Tl(n,i,r)?e:n,o=Tl(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!yo(t))throw new Error(`Error trying to diff '${J(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[go()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new Cl(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new El),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 El),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 Cl{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 Sl{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)&&Object.is(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 El{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Sl,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 Tl(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class kl{constructor(){}supports(t){return t instanceof Map||vo(t)}create(){return new Al}}class Al{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||vo(t)))throw new Error(`Error trying to diff '${J(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ol(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){Object.is(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 Ol{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}}function Dl(){return new Rl([new wl])}let Rl=(()=>{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=>t.create(e,n||Dl()),deps:[[t,new yi,new mi]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:Dl}),t})();function Pl(){return new Ml([new kl])}let Ml=(()=>{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=>t.create(e,n||Pl()),deps:[[t,new yi,new mi]]}}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=ut({token:t,providedIn:"root",factory:Pl}),t})();function Ll(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(ye(s)),te(s))for(let t=Xt;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Ll(e[1],e,n,i)}const o=n.type;if(8&o)Ll(t,e,n.child,i);else if(32&o){const t=or(n,e);let r;for(;r=t();)i.push(r)}else if(16&o){const t=Rr(e,n);if(Array.isArray(t))i.push(...t);else{const n=ar(e[16]);Ll(n[1],n,t,i,!0)}}n=r?n.projectionNext:n.next}return i}class Fl{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Ll(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(te(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(gr(t,n),ti(e,n))}this._attachedToViewContainer=!1}mr(this._lView[1],this._lView)}onDestroy(t){vs(this._lView[1],this._lView,null,t)}markForCheck(){Fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Is(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ue(!0);try{Is(t,e,n)}finally{Ue(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Lr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Il extends Fl{constructor(t){super(t),this._view=t}detectChanges(){Ns(this._view)}checkNoChanges(){!function(t){Ue(!0);try{Ns(t)}finally{Ue(!1)}}(this._view)}get context(){return null}}const Nl=function(t){return function(t,e,n){if(ne(t)&&!n){const n=xe(t.index,e);return new Fl(n,n)}return 47&t.type?new Fl(e[16],e):null}(Me(),De(),16==(16&t))};let Vl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Nl,t})();const jl=[new kl],Ul=new Rl([new wl]),Hl=new Ml(jl),$l=function(){return Wl(Me(),De())};let zl=(()=>{class t{}return t.__NG_ELEMENT_ID__=$l,t})();const Bl=zl,ql=class extends Bl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=os(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),us(e,n,t),new Fl(n)}};function Wl(t,e){return 4&t.type?new ql(e,t,ul(t,e)):null}class Gl{}class Yl{}const Ql=function(){return ec(Me(),De())};let Kl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ql,t})();const Zl=Kl,Xl=class extends Zl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ul(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Rn(this._hostTNode,this._hostLView);if(xn(t)){const e=Sn(t,this._hostLView),n=Cn(t);return new zn(e[1].data[n+8],e)}return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Jl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Gl,null);t&&(r=t)}const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(te(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Xl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=Xt+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-Xt?(e[4]=n[r],Jn(n,Xt+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,s,r);const o=Pr(r,s),a=n[11],l=Cr(a,s[7]);return null!==l&&function(t,e,n,i,r,s){i[0]=r,i[6]=e,Lr(t,i,n,1,r,s)}(i,s[6],a,n,l,o),t.attachToViewContainerRef(),Jn(tc(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Jl(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=gr(this._lContainer,e);n&&(ti(tc(this._lContainer),e),mr(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=gr(this._lContainer,e);return n&&null!=ti(tc(this._lContainer),e)?new Fl(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Jl(t){return t[8]}function tc(t){return t[8]||(t[8]=[])}function ec(t,e){let n;const i=e[t.index];if(te(i))n=i;else{let r;if(8&t.type)r=ye(i);else{const n=e[11];r=n.createComment("");const i=_e(t,e);wr(n,Cr(n,i),r,function(t,e){return ge(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=Ds(i,e,r,t),Ls(e,n)}return new Xl(n,t,e)}const nc={};class ic extends ll{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Qt(t);return new oc(e,this.ngModule)}}function rc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const sc=new Yn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>er});class oc extends ol{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Qr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return rc(this.componentDef.inputs)}get outputs(){return rc(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,nc,r);return s!==nc||i===nc?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(pl,me),o=r.get(yl,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(ge(t))return t.selectRootElement(e,n===Et.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):fr(s.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?de:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:er,clean:js,playerHandler:null,flags:0},d=ys(0,null,null,1,0,null,null,null,null,null),f=os(null,d,h,u,null,null,s,a,o,r);let p,g;Ze(f);try{const t=function(t,e,n,i,r,s){const o=n[1];n[20]=t;const a=as(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Bs(a,l,!0),null!==t&&(yn(r,t,l),null!==a.classes&&Nr(r,t,a.classes),null!==a.styles&&Ir(r,t,a.styles)));const c=i.createRenderer(t,e),u=os(n,ms(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(Pn(An(a,n),o,e.type),Cs(o,a),Es(a,n.length,1)),Ls(n,u),n[20]=u}(c,this.componentDef,f,s,a);if(c)if(n)yn(a,c,["ng-version",_l.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if("string"==typeof s)2===r?""!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!Br(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&yn(a,c,t),e&&e.length>0&&Nr(a,c,e.join(" "))}if(g=we(d,Zt),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}p=function(t,e,n,i,r){const s=n[1],o=function(t,e,n){const i=Me();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ts(t,i,e,cs(t,e,1,null),n));const r=Un(e,t,i.directiveStart,i);Ki(r,e);const s=_e(i,e);return s&&Ki(s,e),r}(s,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=Me();e.contentQueries(1,o,t.directiveStart)}const a=Me();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(sn(a.index),bs(n[1],a,0,a.directiveStart,a.directiveEnd,e),xs(e,o)),o}(t,this.componentDef,f,h,[ao]),us(d,f,null)}finally{nn()}return new ac(this.componentType,p,ul(g,f),f,g)}}class ac extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Il(i),this.componentType=t}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const lc=new Map;class cc extends Gl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ic(this);const n=Kt(t),i=function(t){return t[Nt]||null}(t);i&&xa(i),this._bootstrapComponents=ir(n.bootstrap),this._r3Injector=Xs(t,e,[{provide:Gl,useValue:this},{provide:ll,useValue:this.componentFactoryResolver}],J(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=oo.THROW_IF_NOT_FOUND,n=_t.Default){return t===oo||t===Gl||t===qs?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 uc extends Yl{constructor(t){super(),this.moduleType=t,null!==Kt(t)&&function(t){const e=new Set;!function t(n){const i=Kt(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${J(e)} vs ${J(e.name)}`)}(r,lc.get(r),n),lc.set(r,n));const s=ir(i.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new cc(this.moduleType,t)}}function hc(t,e,n,i){return function(t,e,n,i,r,s){const o=e+n;return wo(t,o,r)?_o(t,o+1,s?i.call(s,r):i(r)):pc(t,o+1)}(De(),He(),t,e,n,i)}function dc(t,e,n,i,r){return gc(De(),He(),t,e,n,i,r)}function fc(t,e,n,i,r,s){return mc(De(),He(),t,e,n,i,r,s)}function pc(t,e){const n=t[e];return n===Kr?void 0:n}function gc(t,e,n,i,r,s,o){const a=e+n;return bo(t,a,r,s)?_o(t,a+2,o?i.call(o,r,s):i(r,s)):pc(t,a+2)}function mc(t,e,n,i,r,s,o,a){const l=e+n;return function(t,e,n,i,r){const s=bo(t,e,n,i);return wo(t,e+2,r)||s}(t,l,r,s,o)?_o(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):pc(t,l+3)}function yc(t,e){const n=Re();let i;const r=t+Zt;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new st("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=se(i.type)),o=bt(To);try{const t=Tn(!1),e=s();return Tn(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,De(),r,e),e}finally{bt(o)}}function vc(t,e){return t[1].data[e].pure}function _c(t,e){return mo.isWrapped(e)&&(e=mo.unwrap(e),t[Ae.lFrame.bindingIndex]=Kr),e}function wc(t){return e=>{setTimeout(t,void 0,e)}}const bc=class extends C{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,s;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(i=e.next)||void 0===i?void 0:i.bind(e),a=null===(r=e.error)||void 0===r?void 0:r.bind(e),l=null===(s=e.complete)||void 0===s?void 0:s.bind(e)}this.__isAsync&&(a=wc(a),o&&(o=wc(o)),l&&(l=wc(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}};function xc(){return this._results[go()]()}class Cc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=go(),n=Cc.prototype;n[e]||(n[e]=xc)}get changes(){return this._changes||(this._changes=new bc)}get(t){return this._results[t]}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,e){const n=this;n.dirty=!1;const i=Zn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],s=e[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Sc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Sc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ec{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new Ec(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==jc(t,e).matches&&this.queries[e].setDirty()}}class Tc{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class kc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new kc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ac{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ac(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(t,e,Oc(e,r)),this.matchTNodeWithReadOption(t,e,jn(e,t,r,!1,!1))}else n===zl?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,jn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===dl||i===Kl||i===zl&&4&e.type)this.addMatch(e.index,-2);else{const n=jn(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Oc(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Dc(t,e,n,i){return-1===n?function(t,e){return 11&t.type?ul(t,e):4&t.type?Wl(t,e):null}(e,t):-2===n?function(t,e,n){return n===dl?ul(e,t):n===zl?Wl(e,t):n===Kl?ec(e,t):void 0}(t,e,i):Un(t,t[1],n,e)}function Rc(t,e,n,i){const r=e[19].queries[i];if(null===r.matches){const i=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const r=s[t];o.push(r<0?null:Dc(e,i[r],s[t+1],n.metadata.read))}r.matches=o}return r.matches}function Pc(t,e,n,i){const r=t.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Rc(t,e,r,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)i.push(o[t/2]);else{const r=s[t+1],o=e[-n];for(let t=Xt;t<o.length;t++){const e=o[t];e[17]===e[3]&&Pc(e[1],e,r,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Pc(n[1],n,r,i)}}}}}return i}function Mc(t){const e=De(),n=Re(),i=Ge();Ye(i+1);const r=jc(n,i);if(t.dirty&&Ce(e)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?Pc(n,e,i,[]):Rc(n,e,r,i);t.reset(s,fl),t.notifyOnChanges()}return!0}return!1}function Lc(t,e,n){const i=Re();i.firstCreatePass&&(Vc(i,new Tc(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Nc(i,De(),e)}function Fc(t,e,n,i){const r=Re();if(r.firstCreatePass){const s=Me();Vc(r,new Tc(e,n,i),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(r,t),2==(2&n)&&(r.staticContentQueries=!0)}Nc(r,De(),n)}function Ic(){return t=De(),e=Ge(),t[19].queries[e].queryList;var t,e}function Nc(t,e,n){const i=new Cc(4==(4&n));vs(t,e,i,i.destroy),null===e[19]&&(e[19]=new Ec),e[19].queries.push(new Sc(i))}function Vc(t,e,n){null===t.queries&&(t.queries=new kc),t.queries.track(new Ac(e,n))}function jc(t,e){return t.queries.getByIndex(e)}function Uc(t,e){return Wl(t,e)}const Hc=new Yn("Application Initializer");let $c=(()=>{class t{constructor(t){this.appInits=t,this.resolve=cl,this.reject=cl,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<this.appInits.length;n++){const e=this.appInits[n]();if(Mo(e))t.push(e);else if(Lo(e)){const n=new Promise((t,n)=>{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(di(Hc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const zc=new Yn("AppId"),Bc={provide:zc,useFactory:function(){return`${qc()}${qc()}${qc()}`},deps:[]};function qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wc=new Yn("Platform Initializer"),Gc=new Yn("Platform ID"),Yc=new Yn("appBootstrapListener");let Qc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Kc=new Yn("LocaleId"),Zc=new Yn("DefaultCurrencyCode");class Xc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Jc=function(t){return new uc(t)},tu=Jc,eu=function(t){return Promise.resolve(Jc(t))},nu=function(t){const e=Jc(t),n=ir(Kt(t).declarations).reduce((t,e)=>{const n=Qt(e);return n&&t.push(new oc(n)),t},[]);return new Xc(e,n)},iu=nu,ru=function(t){return Promise.resolve(nu(t))};let su=(()=>{class t{constructor(){this.compileModuleSync=tu,this.compileModuleAsync=eu,this.compileModuleAndAllComponentsSync=iu,this.compileModuleAndAllComponentsAsync=ru}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ou=(()=>Promise.resolve(0))();function au(t){"undefined"==typeof Zone?ou.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class lu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bc(!1),this.onMicrotaskEmpty=new bc(!1),this.onStable=new bc(!1),this.onError=new bc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=Dt.requestAnimationFrame,e=Dt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Dt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,hu(t),t.isCheckStableRunning=!0,uu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),hu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return du(t),n.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),fu(t)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return du(t),n.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),fu(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,hu(t),uu(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(lu.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,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,cu,cl,cl);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const cu={};function uu(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 hu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function du(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fu(t){t._nesting--,uu(t)}class pu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bc,this.onMicrotaskEmpty=new bc,this.onStable=new bc,this.onError=new bc}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,i){return t.apply(e,n)}}let gu=(()=>{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:()=>{lu.assertNotInAngularZone(),au(()=>{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())au(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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/plugins/task-tracking" 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)(di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),mu=(()=>{class t{constructor(){this._applications=new Map,_u.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 _u.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class yu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let vu,_u=new yu,wu=!0,bu=!1;const xu=new Yn("AllowMultipleToken");class Cu{constructor(t,e){this.name=t,this.token=e}}function Su(t,e,n=[]){const i=`Platform: ${e}`,r=new Yn(i);return(e=[])=>{let s=Eu();if(!s||s.injector.get(xu,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:Gs,useValue:"platform"});!function(t){if(vu&&!vu.destroyed&&!vu.injector.get(xu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vu=t.get(Tu);const e=t.get(Wc,null);e&&e.forEach(t=>t())}(oo.create({providers:t,name:i}))}return function(t){const e=Eu();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}(r)}}function Eu(){return vu&&!vu.destroyed?vu:null}let Tu=(()=>{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 pu:("zone.js"===t?void 0:t)||new lu({enableLongStackTrace:(bu=!0,wu),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:lu,useValue:n}];return n.run(()=>{const e=oo.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(tr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{Ou(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Mo(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get($c);return t.runInitializers(),t.donePromise.then(()=>(xa(r.injector.get(Kc,ya)||ya),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=ku({},e);return function(t,e,n){const i=new uc(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Au);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${J(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)(di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function ku(t,e){return Array.isArray(e)?e.reduce(ku,t):Object.assign(Object.assign({},t),e)}let Au=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{lu.assertNotInAngularZone(),au(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{lu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return E(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:$(e)(z(t,n))}(s,o.pipe(t=>{return B()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,Y);return i.source=t,i.subjectFactory=n,i})(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 ol?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Gl),r=n.create(oo.NULL,[],e||n.selector,i),s=r.location.nativeElement,o=r.injector.get(gu,null),a=o&&r.injector.get(mu);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),Ou(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;Ou(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(di(lu),di(oo),di(tr),di(ll),di($c))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Ou(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Du{}class Ru{}const Pu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Mu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Pu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(255)(e).then(t=>t[i]).then(t=>Lu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n(255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Lu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(di(su),di(Ru,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Lu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Fu=Su(null,"core",[{provide:Gc,useValue:"unknown"},{provide:Tu,deps:[oo]},{provide:mu,deps:[]},{provide:Qc,deps:[]}]),Iu=[{provide:Au,useClass:Au,deps:[lu,oo,tr,ll,$c]},{provide:sc,deps:[lu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:$c,useClass:$c,deps:[[new mi,Hc]]},{provide:su,useClass:su,deps:[]},Bc,{provide:Rl,useFactory:function(){return Ul},deps:[]},{provide:Ml,useFactory:function(){return Hl},deps:[]},{provide:Kc,useFactory:function(t){return xa(t=t||"undefined"!=typeof $localize&&$localize.locale||ya),t},deps:[[new gi(Kc),new mi,new yi]]},{provide:Zc,useValue:"USD"}];let Nu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(di(Au))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:Iu}),t})(),Vu=null;function ju(){return Vu}const Uu=new Yn("DocumentToken");let Hu=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:$u,token:t,providedIn:"platform"}),t})();function $u(){return di(Bu)}const zu=new Yn("Location Initialized");let Bu=(()=>{class t extends Hu{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ju().getBaseHref(this._doc)}onPopState(t){const e=ju().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=ju().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){qu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){qu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({factory:Wu,token:t,providedIn:"platform"}),t})();function qu(){return!!window.history.pushState}function Wu(){return new Bu(di(Uu))}function Gu(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 Yu(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 Qu(t){return t&&"?"!==t[0]?"?"+t:t}let Ku=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:Zu,token:t,providedIn:"root"}),t})();function Zu(t){const e=di(Uu).location;return new Ju(di(Hu),e&&e.origin||"")}const Xu=new Yn("appBaseHref");let Ju=(()=>{class t extends Ku{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Gu(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Qu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+Qu(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+Qu(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(di(Hu),di(Xu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),th=(()=>{class t extends Ku{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(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=Gu(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+Qu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+Qu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(di(Hu),di(Xu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),eh=(()=>{class t{constructor(t,e){this._subject=new bc,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Yu(ih(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+Qu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ih(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+Qu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qu(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=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)(di(Ku),di(Hu))},t.normalizeQueryParams=Qu,t.joinWithSlash=Gu,t.stripTrailingSlash=Yu,t.\u0275prov=ut({factory:nh,token:t,providedIn:"root"}),t})();function nh(){return new eh(di(Ku),di(Hu))}function ih(t){return t.replace(/\/index.html$/,"")}var rh=(()=>((rh=rh||{})[rh.Zero=0]="Zero",rh[rh.One=1]="One",rh[rh.Two=2]="Two",rh[rh.Few=3]="Few",rh[rh.Many=4]="Many",rh[rh.Other=5]="Other",rh))(),sh=(()=>((sh=sh||{})[sh.Format=0]="Format",sh[sh.Standalone=1]="Standalone",sh))(),oh=(()=>((oh=oh||{})[oh.Narrow=0]="Narrow",oh[oh.Abbreviated=1]="Abbreviated",oh[oh.Wide=2]="Wide",oh[oh.Short=3]="Short",oh))(),ah=(()=>((ah=ah||{})[ah.Short=0]="Short",ah[ah.Medium=1]="Medium",ah[ah.Long=2]="Long",ah[ah.Full=3]="Full",ah))(),lh=(()=>((lh=lh||{})[lh.Decimal=0]="Decimal",lh[lh.Group=1]="Group",lh[lh.List=2]="List",lh[lh.PercentSign=3]="PercentSign",lh[lh.PlusSign=4]="PlusSign",lh[lh.MinusSign=5]="MinusSign",lh[lh.Exponential=6]="Exponential",lh[lh.SuperscriptingExponent=7]="SuperscriptingExponent",lh[lh.PerMille=8]="PerMille",lh[lh[1/0]=9]="Infinity",lh[lh.NaN=10]="NaN",lh[lh.TimeSeparator=11]="TimeSeparator",lh[lh.CurrencyDecimal=12]="CurrencyDecimal",lh[lh.CurrencyGroup=13]="CurrencyGroup",lh))();function ch(t,e){return ph(pa(t)[ma.DateFormat],e)}function uh(t,e){return ph(pa(t)[ma.TimeFormat],e)}function hh(t,e){return ph(pa(t)[ma.DateTimeFormat],e)}function dh(t,e){const n=pa(t),i=n[ma.NumberSymbols][e];if(void 0===i){if(e===lh.CurrencyDecimal)return n[ma.NumberSymbols][lh.Decimal];if(e===lh.CurrencyGroup)return n[ma.NumberSymbols][lh.Group]}return i}function fh(t){if(!t[ma.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ma.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ph(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function gh(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const mh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yh={},vh=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var _h=(()=>((_h=_h||{})[_h.Short=0]="Short",_h[_h.ShortGMT=1]="ShortGMT",_h[_h.Long=2]="Long",_h[_h.Extended=3]="Extended",_h))(),wh=(()=>((wh=wh||{})[wh.FullYear=0]="FullYear",wh[wh.Month=1]="Month",wh[wh.Date=2]="Date",wh[wh.Hours=3]="Hours",wh[wh.Minutes=4]="Minutes",wh[wh.Seconds=5]="Seconds",wh[wh.FractionalSeconds=6]="FractionalSeconds",wh[wh.Day=7]="Day",wh))(),bh=(()=>((bh=bh||{})[bh.DayPeriods=0]="DayPeriods",bh[bh.Days=1]="Days",bh[bh.Months=2]="Months",bh[bh.Eras=3]="Eras",bh))();function xh(t,e,n,i){let r=function(t){if(Fh(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return Ch(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(mh))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!Fh(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Sh(n,e)||e;let s,o=[];for(;e;){if(s=vh.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();i&&(a=Lh(i,a),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Lh(e,i)-i))}(r,i));let l="";return o.forEach(t=>{const e=function(t){if(Mh[t])return Mh[t];let e;switch(t){case"G":case"GG":case"GGG":e=Ah(bh.Eras,oh.Abbreviated);break;case"GGGG":e=Ah(bh.Eras,oh.Wide);break;case"GGGGG":e=Ah(bh.Eras,oh.Narrow);break;case"y":e=kh(wh.FullYear,1,0,!1,!0);break;case"yy":e=kh(wh.FullYear,2,0,!0,!0);break;case"yyy":e=kh(wh.FullYear,3,0,!1,!0);break;case"yyyy":e=kh(wh.FullYear,4,0,!1,!0);break;case"Y":e=Ph(1);break;case"YY":e=Ph(2,!0);break;case"YYY":e=Ph(3);break;case"YYYY":e=Ph(4);break;case"M":case"L":e=kh(wh.Month,1,1);break;case"MM":case"LL":e=kh(wh.Month,2,1);break;case"MMM":e=Ah(bh.Months,oh.Abbreviated);break;case"MMMM":e=Ah(bh.Months,oh.Wide);break;case"MMMMM":e=Ah(bh.Months,oh.Narrow);break;case"LLL":e=Ah(bh.Months,oh.Abbreviated,sh.Standalone);break;case"LLLL":e=Ah(bh.Months,oh.Wide,sh.Standalone);break;case"LLLLL":e=Ah(bh.Months,oh.Narrow,sh.Standalone);break;case"w":e=Rh(1);break;case"ww":e=Rh(2);break;case"W":e=Rh(1,!0);break;case"d":e=kh(wh.Date,1);break;case"dd":e=kh(wh.Date,2);break;case"c":case"cc":e=kh(wh.Day,1);break;case"ccc":e=Ah(bh.Days,oh.Abbreviated,sh.Standalone);break;case"cccc":e=Ah(bh.Days,oh.Wide,sh.Standalone);break;case"ccccc":e=Ah(bh.Days,oh.Narrow,sh.Standalone);break;case"cccccc":e=Ah(bh.Days,oh.Short,sh.Standalone);break;case"E":case"EE":case"EEE":e=Ah(bh.Days,oh.Abbreviated);break;case"EEEE":e=Ah(bh.Days,oh.Wide);break;case"EEEEE":e=Ah(bh.Days,oh.Narrow);break;case"EEEEEE":e=Ah(bh.Days,oh.Short);break;case"a":case"aa":case"aaa":e=Ah(bh.DayPeriods,oh.Abbreviated);break;case"aaaa":e=Ah(bh.DayPeriods,oh.Wide);break;case"aaaaa":e=Ah(bh.DayPeriods,oh.Narrow);break;case"b":case"bb":case"bbb":e=Ah(bh.DayPeriods,oh.Abbreviated,sh.Standalone,!0);break;case"bbbb":e=Ah(bh.DayPeriods,oh.Wide,sh.Standalone,!0);break;case"bbbbb":e=Ah(bh.DayPeriods,oh.Narrow,sh.Standalone,!0);break;case"B":case"BB":case"BBB":e=Ah(bh.DayPeriods,oh.Abbreviated,sh.Format,!0);break;case"BBBB":e=Ah(bh.DayPeriods,oh.Wide,sh.Format,!0);break;case"BBBBB":e=Ah(bh.DayPeriods,oh.Narrow,sh.Format,!0);break;case"h":e=kh(wh.Hours,1,-12);break;case"hh":e=kh(wh.Hours,2,-12);break;case"H":e=kh(wh.Hours,1);break;case"HH":e=kh(wh.Hours,2);break;case"m":e=kh(wh.Minutes,1);break;case"mm":e=kh(wh.Minutes,2);break;case"s":e=kh(wh.Seconds,1);break;case"ss":e=kh(wh.Seconds,2);break;case"S":e=kh(wh.FractionalSeconds,1);break;case"SS":e=kh(wh.FractionalSeconds,2);break;case"SSS":e=kh(wh.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Oh(_h.Short);break;case"ZZZZZ":e=Oh(_h.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Oh(_h.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Oh(_h.Long);break;default:return null}return Mh[t]=e,e}(t);l+=e?e(r,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Ch(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function Sh(t,e){const n=function(t){return pa(t)[ma.LocaleId]}(t);if(yh[n]=yh[n]||{},yh[n][e])return yh[n][e];let i="";switch(e){case"shortDate":i=ch(t,ah.Short);break;case"mediumDate":i=ch(t,ah.Medium);break;case"longDate":i=ch(t,ah.Long);break;case"fullDate":i=ch(t,ah.Full);break;case"shortTime":i=uh(t,ah.Short);break;case"mediumTime":i=uh(t,ah.Medium);break;case"longTime":i=uh(t,ah.Long);break;case"fullTime":i=uh(t,ah.Full);break;case"short":const e=Sh(t,"shortTime"),n=Sh(t,"shortDate");i=Eh(hh(t,ah.Short),[e,n]);break;case"medium":const r=Sh(t,"mediumTime"),s=Sh(t,"mediumDate");i=Eh(hh(t,ah.Medium),[r,s]);break;case"long":const o=Sh(t,"longTime"),a=Sh(t,"longDate");i=Eh(hh(t,ah.Long),[o,a]);break;case"full":const l=Sh(t,"fullTime"),c=Sh(t,"fullDate");i=Eh(hh(t,ah.Full),[l,c])}return i&&(yh[n][e]=i),i}function Eh(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function Th(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),s+o}function kh(t,e,n=0,i=!1,r=!1){return function(s,o){let a=function(t,e){switch(t){case wh.FullYear:return e.getFullYear();case wh.Month:return e.getMonth();case wh.Date:return e.getDate();case wh.Hours:return e.getHours();case wh.Minutes:return e.getMinutes();case wh.Seconds:return e.getSeconds();case wh.FractionalSeconds:return e.getMilliseconds();case wh.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===wh.Hours)0===a&&-12===n&&(a=12);else if(t===wh.FractionalSeconds)return l=e,Th(a,3).substr(0,l);var l;const c=dh(o,lh.MinusSign);return Th(a,e,c,i,r)}}function Ah(t,e,n=sh.Format,i=!1){return function(r,s){return function(t,e,n,i,r,s){switch(n){case bh.Months:return function(t,e,n){const i=pa(t),r=ph([i[ma.MonthsFormat],i[ma.MonthsStandalone]],e);return ph(r,n)}(e,r,i)[t.getMonth()];case bh.Days:return function(t,e,n){const i=pa(t),r=ph([i[ma.DaysFormat],i[ma.DaysStandalone]],e);return ph(r,n)}(e,r,i)[t.getDay()];case bh.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=function(t){const e=pa(t);return fh(e),(e[ma.ExtraData][2]||[]).map(t=>"string"==typeof t?gh(t):[gh(t[0]),gh(t[1])])}(e),n=function(t,e,n){const i=pa(t);fh(i);const r=ph([i[ma.ExtraData][0],i[ma.ExtraData][1]],e)||[];return ph(r,n)||[]}(e,r,i),s=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=o>=e.hours&&a>=e.minutes,r=o<n.hours||o===n.hours&&a<n.minutes;if(e.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(t.hours===o&&t.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(t,e,n){const i=pa(t),r=ph([i[ma.DayPeriodsFormat],i[ma.DayPeriodsStandalone]],e);return ph(r,n)}(e,r,i)[o<12?0:1];case bh.Eras:return function(t,e){return ph(pa(t)[ma.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,s,t,e,n,i)}}function Oh(t){return function(e,n,i){const r=-1*i,s=dh(n,lh.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case _h.Short:return(r>=0?"+":"")+Th(o,2,s)+Th(Math.abs(r%60),2,s);case _h.ShortGMT:return"GMT"+(r>=0?"+":"")+Th(o,1,s);case _h.Long:return"GMT"+(r>=0?"+":"")+Th(o,2,s)+":"+Th(Math.abs(r%60),2,s);case _h.Extended:return 0===i?"Z":(r>=0?"+":"")+Th(o,2,s)+":"+Th(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function Dh(t){return Ch(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Rh(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=Dh(n),e=function(t){const e=Ch(t,0,1).getDay();return Ch(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return Th(r,t,dh(i,lh.MinusSign))}}function Ph(t,e=!1){return function(n,i){return Th(Dh(n).getFullYear(),t,dh(i,lh.MinusSign),e)}}const Mh={};function Lh(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Fh(t){return t instanceof Date&&!isNaN(t.valueOf())}class Ih{}let Nh=(()=>{class t extends Ih{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return pa(t)[ma.PluralCase]}(e||this.locale)(t)){case rh.Zero:return"zero";case rh.One:return"one";case rh.Two:return"two";case rh.Few:return"few";case rh.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(di(Kc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Vh(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}class jh{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 Uh=(()=>{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){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new jh(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Hh(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new Hh(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{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)(To(Kl),To(zl),To(Rl))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Hh{constructor(t,e){this.record=t,this.view=e}}let $h=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new zh,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){Bh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Bh("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)(To(Kl),To(zl))},t.\u0275dir=Gt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class zh{constructor(){this.$implicit=null,this.ngIf=null}}function Bh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${J(e)}'.`)}let qh=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){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&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(To(Kl))},t.\u0275dir=Gt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ae]}),t})();function Wh(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${J(t)}'`)}let Gh=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return xh(e,n,r||this.locale,i)}catch(s){throw Wh(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(To(Kc,16))},t.\u0275pipe=Yt({name:"date",type:t,pure:!0}),t})(),Yh=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw Wh(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Yt({name:"slice",type:t,pure:!1}),t})(),Qh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[{provide:Ih,useClass:Nh}]}),t})();function Kh(t){return"browser"===t}let Zh=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Xh(di(Uu),window)}),t})();class Xh{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(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,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Jh(this.window.history)||Jh(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Jh(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class td{}class ed extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new ed,Vu||(Vu=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(id=id||document.querySelector("base"),id?id.getAttribute("href"):null);return null==e?null:function(t){nd=nd||document.createElement("a"),nd.setAttribute("href",t);const e=nd.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){id=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Vh(document.cookie,t)}}let nd,id=null;const rd=new Yn("TRANSITION_ID"),sd=[{provide:Hc,useFactory:function(t,e,n){return()=>{n.get($c).donePromise.then(()=>{const n=ju();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[rd,Uu,oo],multi:!0}];class od{static init(){var t;t=new od,_u=t}addToWindow(t){Dt.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Dt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Dt.getAllAngularRootElements=()=>t.getAllRootElements(),Dt.frameworkStabilizers||(Dt.frameworkStabilizers=[]),Dt.frameworkStabilizers.push(t=>{const e=Dt.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?ju().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let ad=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ld=new Yn("EventManagerPlugins");let cd=(()=>{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 i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(di(ld),di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ud{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=ju().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let hd=(()=>{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=ut({token:t,factory:t.\u0275fac}),t})(),dd=(()=>{class t extends hd{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(fd),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(fd))}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function fd(t){ju().remove(t)}const pd={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/"},gd=/%COMP%/g;function md(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?md(t,r,n):(r=r.replace(gd,t),n.push(r))}return n}function yd(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let vd=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new _d(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Et.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new wd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Et.ShadowDom:return new bd(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=md(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)(di(cd),di(dd),di(zc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class _d{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(pd[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,i){if(i){e=i+":"+e;const r=pd[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=pd[n];i?t.removeAttributeNS(i,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,i){i&(rr.DashCase|rr.Important)?t.style.setProperty(e,n,i&rr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&rr.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,yd(n)):this.eventManager.addEventListener(t,e,yd(n))}}class wd extends _d{constructor(t,e,n,i){super(t),this.component=n;const r=md(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(gd,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(gd,i+"-"+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 bd extends _d{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=md(i.id,i.styles,[]);for(let s=0;s<r.length;s++){const t=document.createElement("style");t.textContent=r[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let xd=(()=>{class t extends ud{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)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Cd=["alt","control","meta","shift"],Sd={"\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"},Ed={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"},Td={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let kd=(()=>{class t extends ud{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),s=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ju().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(Cd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=s,o}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&&Ed.hasOwnProperty(e)&&(e=Ed[e]))}return Sd[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Cd.forEach(i=>{i!=n&&(0,Td[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Ad=Su(Fu,"browser",[{provide:Gc,useValue:"browser"},{provide:Wc,useValue:function(){ed.makeCurrent(),od.init()},multi:!0},{provide:Uu,useFactory:function(){return function(t){fe=t}(document),document},deps:[]}]),Od=[[],{provide:Gs,useValue:"root"},{provide:tr,useFactory:function(){return new tr},deps:[]},{provide:ld,useClass:xd,multi:!0,deps:[Uu,lu,Gc]},{provide:ld,useClass:kd,multi:!0,deps:[Uu]},[],{provide:vd,useClass:vd,deps:[cd,dd,zc]},{provide:pl,useExisting:vd},{provide:hd,useExisting:dd},{provide:dd,useClass:dd,deps:[Uu]},{provide:gu,useClass:gu,deps:[lu]},{provide:cd,useClass:cd,deps:[ld,lu]},{provide:td,useClass:ad,deps:[]},[]];let Dd=(()=>{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:zc,useValue:e.appId},{provide:rd,useExisting:zc},sd]}}}return t.\u0275fac=function(e){return new(e||t)(di(t,12))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:Od,imports:[Qh,Nu]}),t})();function Rd(...t){let e=t[t.length-1];return E(e)?(t.pop(),L(t,e)):z(t)}function Pd(t,e){return j(t,e,1)}function Md(t,e){return function(n){return n.lift(new Ld(t,e))}}"undefined"!=typeof window&&window;class Ld{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Fd(t,this.predicate,this.thisArg))}}class Fd extends p{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)}}class Id{}class Nd{}class Vd{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Vd?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Vd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Vd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class jd{encodeKey(t){return Ud(t)}encodeValue(t){return Ud(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Ud(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Hd(t){return`${t}`}class $d{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new jd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new $d({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Hd(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(Hd(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class zd{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Bd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function qd(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Wd(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Gd{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Vd),this.context||(this.context=new zd),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new $d,this.urlWithParams=e}serializeBody(){return null===this.body?null:Bd(this.body)||qd(this.body)||Wd(this.body)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $d?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Wd(this.body)?null:qd(this.body)?this.body.type||null:Bd(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $d?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new Gd(n,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var Yd=(()=>((Yd=Yd||{})[Yd.Sent=0]="Sent",Yd[Yd.UploadProgress=1]="UploadProgress",Yd[Yd.ResponseHeader=2]="ResponseHeader",Yd[Yd.DownloadProgress=3]="DownloadProgress",Yd[Yd.Response=4]="Response",Yd[Yd.User=5]="User",Yd))();class Qd{constructor(t,e=200,n="OK"){this.headers=t.headers||new Vd,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Kd extends Qd{constructor(t={}){super(t),this.type=Yd.ResponseHeader}clone(t={}){return new Kd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Zd extends Qd{constructor(t={}){super(t),this.type=Yd.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Zd({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Xd extends Qd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Jd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let tf=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof Gd)i=t;else{let r,s;r=n.headers instanceof Vd?n.headers:new Vd(n.headers),n.params&&(s=n.params instanceof $d?n.params:new $d({fromObject:n.params})),i=new Gd(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Rd(i).pipe(Pd(t=>this.handler.handle(t)));if(t instanceof Gd||"events"===n.observe)return r;const s=r.pipe(Md(t=>t instanceof Zd));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(T(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(T(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new $d).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Jd(n,e))}post(t,e,n={}){return this.request("POST",t,Jd(n,e))}put(t,e,n={}){return this.request("PUT",t,Jd(n,e))}}return t.\u0275fac=function(e){return new(e||t)(di(Id))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ef{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const nf=new Yn("HTTP_INTERCEPTORS");let rf=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const sf=/^\)\]\}',?\n/;let of=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=new Vd(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new Kd({headers:s,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(sf,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Zd({body:l,headers:i,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new Xd({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=s(),r=new Xd({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:Yd.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:Yd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:Yd.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(di(td))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const af=new Yn("XSRF_COOKIE_NAME"),lf=new Yn("XSRF_HEADER_NAME");class cf{}let uf=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(di(Uu),di(Gc),di(af))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),hf=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(di(cf),di(lf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),df=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(nf,[]);this.chain=t.reduceRight((t,e)=>new ef(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(di(Nd),di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ff=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:hf,useClass:rf}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:af,useValue:e.cookieName}:[],e.headerName?{provide:lf,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[hf,{provide:nf,useExisting:hf,multi:!0},{provide:cf,useClass:uf},{provide:af,useValue:"XSRF-TOKEN"},{provide:lf,useValue:"X-XSRF-TOKEN"}]}),t})(),pf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[tf,{provide:Id,useClass:df},of,{provide:Nd,useExisting:of}],imports:[[ff.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();function gf(t,e){return new v(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a<i;a++){const l=F(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),r[a]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&c||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}let mf=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(To(gl),To(dl))},t.\u0275dir=Gt({type:t}),t})(),yf=(()=>{class t extends mf{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275dir=Gt({type:t,features:[lo]}),t})();const vf=new Yn("NgValueAccessor"),_f={provide:vf,useExisting:nt(()=>bf),multi:!0},wf=new Yn("CompositionEventMode");let bf=(()=>{class t extends mf{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=ju()?ju().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":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)(To(gl),To(dl),To(wf,8))},t.\u0275dir=Gt({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&&Fo("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:[sl([_f]),lo]}),t})();function xf(t){return null==t||0===t.length}function Cf(t){return null!=t&&"number"==typeof t.length}const Sf=new Yn("NgValidators"),Ef=new Yn("NgAsyncValidators"),Tf=/^(?=.{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 kf{static min(t){return function(t){return e=>{if(xf(e.value)||xf(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}(t)}static max(t){return function(t){return e=>{if(xf(e.value)||xf(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return xf(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return xf(t.value)||Tf.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>xf(e.value)||!Cf(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static maxLength(t){return function(t){return e=>Cf(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return Af;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(xf(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return Lf(t)}static composeAsync(t){return If(t)}}function Af(t){return null}function Of(t){return null!=t}function Df(t){const e=Mo(t)?F(t):t;return Lo(e),e}function Rf(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 Pf(t,e){return e.map(e=>e(t))}function Mf(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Lf(t){if(!t)return null;const e=t.filter(Of);return 0==e.length?null:function(t){return Rf(Pf(t,e))}}function Ff(t){return null!=t?Lf(Mf(t)):null}function If(t){if(!t)return null;const e=t.filter(Of);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return gf(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return gf(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return gf(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(T(t=>e(...t)))}return gf(t,null)}(Pf(t,e).map(Df)).pipe(T(Rf))}}function Nf(t){return null!=t?If(Mf(t)):null}function Vf(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function jf(t){return t._rawValidators}function Uf(t){return t._rawAsyncValidators}let Hf=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ff(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}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=Gt({type:t}),t})(),$f=(()=>{class t extends Hf{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275dir=Gt({type:t,features:[lo]}),t})();class zf extends Hf{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bf{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let qf=(()=>{class t extends Bf{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(To(zf,2))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Qo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[lo]}),t})(),Wf=(()=>{class t extends Bf{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(To($f,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&Qo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[lo]}),t})();function Gf(t,e){Kf(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Xf(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Xf(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Yf(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Zf(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Qf(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Kf(t,e){const n=jf(t);null!==e.validator?t.setValidators(Vf(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=Uf(t);null!==e.asyncValidator?t.setAsyncValidators(Vf(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Qf(e._rawValidators,r),Qf(e._rawAsyncValidators,r)}function Zf(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=jf(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.validator);r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=Uf(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.asyncValidator);r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return Qf(e._rawValidators,i),Qf(e._rawAsyncValidators,i),n}function Xf(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Jf(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const tp="VALID",ep="INVALID",np="PENDING",ip="DISABLED";function rp(t){return(lp(t)?t.validators:t)||null}function sp(t){return Array.isArray(t)?Ff(t):t||null}function op(t,e){return(lp(e)?e.asyncValidators:t)||null}function ap(t){return Array.isArray(t)?Nf(t):t||null}function lp(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class cp{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=sp(this._rawValidators),this._composedAsyncValidatorFn=ap(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===tp}get invalid(){return this.status===ep}get pending(){return this.status==np}get disabled(){return this.status===ip}get enabled(){return this.status!==ip}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._rawValidators=t,this._composedValidatorFn=sp(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ap(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=np,!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=ip,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=tp,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(),this.status!==tp&&this.status!==np||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()?ip:tp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=np,this._hasOwnPendingAsyncValidator=!0;const e=Df(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}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 i=t;return e.forEach(t=>{i=i instanceof hp?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof dp&&i.at(t)||null}),i}(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 bc,this.statusChanges=new bc}_calculateStatus(){return this._allControlsDisabled()?ip:this.errors?ep:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(np)?np:this._anyControlsHaveStatus(ep)?ep:tp}_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){lp(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class up extends cp{constructor(t=null,e,n){super(rp(e),op(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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)}_unregisterOnChange(t){Jf(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Jf(this._onDisabledChange,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 hp extends cp{constructor(t,e,n){super(rp(e),op(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=t&&(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,i)=>{n.reset(t[i],{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 up?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=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_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,i)=>{n=e(n,t,i)}),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 dp extends cp{constructor(t,e,n){super(rp(e),op(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=t&&(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,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof up?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_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)}}let fp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),pp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})();const gp=new Yn("NgModelWithFormControlWarning"),mp={provide:$f,useExisting:nt(()=>yp)};let yp=(()=>{class t extends $f{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new bc,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Gf(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Yf(t.control||null,t,!1),Jf(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}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}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(Yf(e||null,t),n instanceof up&&(Gf(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Kf(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Zf(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kf(this.form,this),this._oldForm&&Zf(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(To(Sf,10),To(Ef,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Fo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[sl([mp]),lo,ae]}),t})();const vp={provide:zf,useExisting:nt(()=>_p)};let _p=(()=>{class t extends zf{constructor(t,e,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new bc,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===bf?n=t:Object.getPrototypeOf(t.constructor)===yf?i=t:r=t}),r||i||n||null}(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return t=null==this.name?this.name:this.name.toString(),[...this._parent.path,t];var t}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(To($f,13),To(Sf,10),To(Ef,10),To(vf,10),To(gp,8))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[sl([vp]),lo,ae]}),t._ngModelWarningSentOnce=!1,t})(),wp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[pp]]}),t})(),bp=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:gp,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[wp]}),t})(),xp=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,r=null,s=null;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,s=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new hp(n,{asyncValidators:s,updateOn:i,validators:r})}control(t,e,n){return new up(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new dp(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof up||t instanceof hp||t instanceof dp?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=ut({factory:function(){return new t},token:t,providedIn:bp}),t})();class Cp{}const Sp="*";function Ep(t,e){return{type:7,name:t,definitions:e,options:{}}}function Tp(t,e=null){return{type:4,styles:e,timings:t}}function kp(t,e=null){return{type:2,steps:t,options:e}}function Ap(t){return{type:6,styles:t,offset:null}}function Op(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function Dp(t){Promise.resolve(null).then(t)}class Rp{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Dp(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Pp{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?Dp(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Mp(){return"undefined"!=typeof window&&void 0!==window.document}function Lp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Fp(t){switch(t.length){case 0:return new Rp;case 1:return t[0];default:return new Pp(t)}}function Ip(t,e,n,i,r={},s={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==l,u=i&&c||{};Object.keys(t).forEach(n=>{let i=n,a=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),a){case"!":a=r[n];break;case Sp:a=s[n];break;default:a=e.normalizeStyleValue(n,i,a,o)}u[i]=a}),i||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function Np(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&Vp(n,"start",t)));break;case"done":t.onDone(()=>i(n&&Vp(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&Vp(n,"destroy",t)))}}function Vp(t,e,n){const i=n.totalTime,r=jp(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function jp(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function Up(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function Hp(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let $p=(t,e)=>!1,zp=(t,e)=>!1,Bp=(t,e,n)=>[];const qp=Lp();(qp||"undefined"!=typeof Element)&&($p=Mp()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),zp=(()=>{if(qp||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]):zp}})(),Bp=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let Wp=null,Gp=!1;function Yp(t){Wp||(Wp=("undefined"!=typeof document?document.body:null)||{},Gp=!!Wp.style&&"WebkitAppearance"in Wp.style);let e=!0;return Wp.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Wp.style,!e&&Gp)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Wp.style),e}const Qp=zp,Kp=$p,Zp=Bp;function Xp(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let Jp=(()=>{class t{validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,s=[],o){return new Rp(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class tg{}tg.NOOP=new Jp;const eg="ng-enter",ng="ng-leave",ig="ng-trigger",rg=".ng-trigger",sg="ng-animating",og=".ng-animating";function ag(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:lg(parseFloat(e[1]),e[2])}function lg(t,e){switch(e){case"s":return 1e3*t;default:return t}}function cg(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=lg(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=lg(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function ug(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function hg(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else ug(t,n);return n}function dg(t,e,n){return n?e+":"+n+";":""}function fg(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=dg(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=dg(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function pg(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=xg(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),Lp()&&fg(t))}function gg(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=xg(e);t.style[n]=""}),Lp()&&fg(t))}function mg(t){return Array.isArray(t)?1==t.length?t[0]:kp(t):t}const yg=new RegExp("{{\\s*(.+?)\\s*}}","g");function vg(t){let e=[];if("string"==typeof t){let n;for(;n=yg.exec(t);)e.push(n[1]);yg.lastIndex=0}return e}function _g(t,e,n){const i=t.toString(),r=i.replace(yg,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function wg(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const bg=/-+([a-z0-9])/g;function xg(t){return t.replace(bg,(...t)=>t[1].toUpperCase())}function Cg(t,e){return 0===t||0===e}function Sg(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r<e.length;r++){let n=e[r];o.forEach(function(e){n[e]=Tg(t,e)})}}return e}function Eg(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function Tg(t,e){return window.getComputedStyle(t)[e]}const kg="*";function Ag(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(Rg(r,o)),"<"!=s[0]||r==kg&&o==kg||e.push(Rg(o,r))}(t,n,e)):n.push(t),n}const Og=new Set(["true","1"]),Dg=new Set(["false","0"]);function Rg(t,e){const n=Og.has(t)||Dg.has(t),i=Og.has(e)||Dg.has(e);return(r,s)=>{let o=t==kg||t==r,a=e==kg||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?Og.has(t):Dg.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?Og.has(e):Dg.has(e)),o&&a}}const Pg=new RegExp("s*:selfs*,?","g");function Mg(t,e,n){return new Lg(t).build(e,n)}class Lg{constructor(t){this._driver=t}build(t,e){const n=new Fg(e);return this._resetContextStyleTimingState(n),Eg(this,mg(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(Ig(t)){const e=t;Object.keys(e).forEach(t=>{vg(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=wg(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Eg(this,mg(t.animation),e);return{type:1,matchers:Ag(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Ng(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Eg(this,t,e)),options:Ng(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Eg(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:Ng(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Vg(cg(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Vg(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||cg(i,e),Vg(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Ap({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,s=!1;if(!r){s=!0;const t={};n.easing&&(t.easing=n.easing),r=Ap(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,e);o.isEmptyStep=s,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Sp?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(Ig(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=vg(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Ig(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Ig(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,r.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return l.forEach((t,i)=>{const s=u>0?i==h?1:u*i:r[i],o=s*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Eg(this,mg(t.animation),e),options:Ng(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Ng(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Ng(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Pg,"")),[t=t.replace(/@\*/g,rg).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,og),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,Up(e.collectedStyles,e.currentQuerySelector,{});const o=Eg(this,mg(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:Ng(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:cg(t.timings,e.errors,!0);return{type:12,animation:Eg(this,mg(t.animation),e),timings:n,options:null}}}class Fg{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Ig(t){return!Array.isArray(t)&&"object"==typeof t}function Ng(t){var e;return t?(t=ug(t)).params&&(t.params=(e=t.params)?ug(e):null):t={},t}function Vg(t,e,n){return{duration:t,delay:e,easing:n}}function jg(t,e,n,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class Ug{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Hg=new RegExp(":enter","g"),$g=new RegExp(":leave","g");function zg(t,e,n,i,r,s={},o={},a,l,c=[]){return(new Bg).buildKeyframes(t,e,n,i,r,s,o,a,l,c)}class Bg{buildKeyframes(t,e,n,i,r,s,o,a,l,c=[]){l=l||new Ug;const u=new Wg(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),Eg(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[jg(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?ag(n.duration):null,s=null!=n.delay?ag(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Eg(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=qg);const t=ag(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Eg(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ag(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Eg(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return cg(e.params?_g(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?ag(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=qg);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),Eg(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Eg(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const qg={};class Wg{constructor(t,e,n,i,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Gg(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=ag(n.duration)),null!=n.delay&&(i.delay=ag(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=_g(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new Wg(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=qg,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new Yg(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(Hg,"."+this._enterClassName)).replace($g,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Gg{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Gg(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Sp,this._currentKeyframe[t]=Sp}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},s=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=Sp})):hg(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=_g(s[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Sp),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const o=hg(r,!0);Object.keys(o).forEach(n=>{const i=o[n];"!"==i?t.add(n):i==Sp&&e.add(n)}),n||(o.offset=s/this.duration),i.push(o)});const r=t.size?wg(t.values()):[],s=e.size?wg(e.values()):[];if(n){const t=i[0],e=ug(t);t.offset=0,e.offset=1,i=[t,e]}return jg(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class Yg extends Gg{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,a=hg(t[0],!1);a.offset=0,r.push(a);const l=hg(t[0],!1);l.offset=Qg(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=hg(t[i],!1);o.offset=Qg((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return jg(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Qg(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Kg{}class Zg extends Kg{normalizePropertyName(t,e){return xg(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Xg[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const Xg=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Jg(t,e,n,i,r,s,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const tm={};class em{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||tm,d=this.buildStyles(n,o&&o.params||tm,u),f=a&&a.params||tm,p=this.buildStyles(i,f,u),g=new Set,m=new Map,y=new Map,v="void"===i,_={params:Object.assign(Object.assign({},h),f)},w=c?[]:zg(t,e,this.ast.animation,r,s,d,p,_,l,u);let b=0;if(w.forEach(t=>{b=Math.max(t.duration+t.delay,b)}),u.length)return Jg(e,this._triggerName,n,i,v,d,p,[],[],m,y,b,u);w.forEach(t=>{const n=t.element,i=Up(m,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=Up(y,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const x=wg(g.values());return Jg(e,this._triggerName,n,i,v,d,p,w,x,m,y,b)}}class nm{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=ug(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=_g(s,i,e));const o=this.normalizer.normalizePropertyName(t,e);s=this.normalizer.normalizeStyleValue(t,o,s,e),n[o]=s})}}),n}}class im{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new nm(t.style,t.options&&t.options.params||{},n)}),rm(this.states,"true","1"),rm(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new em(t,e,this.states))}),this.fallbackTransition=new em(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function rm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const sm=new Ug;class om{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Mg(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=Ip(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let s;const o=new Map;if(r?(s=zg(this._driver,e,r,eg,ng,{},{},n,sm,i),s.forEach(t=>{const e=Up(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Sp)})});const a=Fp(s.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=jp(e,"","","");return Np(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const am="ng-animate-queued",lm="ng-animate-disabled",cm=".ng-animate-disabled",um=[],hm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class fm{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=ug(t);delete e.value,this.options=e}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const pm="void",gm=new fm(pm);class mm{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Cm(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=Up(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const a=Up(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Cm(t,ig),Cm(t,"ng-trigger-"+e),a[e]=gm),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new vm(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Cm(t,ig),Cm(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new fm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=gm),l.value!==pm&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=r.matchStyles(a.value,a.params,e),i=r.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{gg(t,n),pg(t,i)})}return}const c=Up(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Cm(t,am),s.onStart(()=>{Sm(t,am)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,rg,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,pm,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Fp(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const s=this._triggers[r].fallbackTransition,o=n[r]||gm,a=new fm(pm),l=new vm(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==hm||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Cm(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=jp(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,Np(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class ym{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new mm(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(_m(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!_m(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Cm(t,lm)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Sm(t,lm))}removeNode(t,e,n,i){if(_m(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return _m(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,rg,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,og,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Fp(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=hm,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,cm)&&this.markElementAsDisabled(t,!1),this.driver.query(t,cm,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Cm(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Fp(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new Ug,i=[],r=new Map,s=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=xm(h,this.collectedEnterElements),f=new Map;let p=0;d.forEach((t,e)=>{const n=eg+p++;f.set(e,n),t.forEach(t=>Cm(t,n))});const g=[],m=new Set,y=new Set;for(let D=0;D<this.collectedLeaveElements.length;D++){const t=this.collectedLeaveElements[D],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):y.add(t))}const v=new Map,_=xm(h,Array.from(m));_.forEach((t,e)=>{const n=ng+p++;v.set(e,n),t.forEach(t=>Cm(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=f.get(e);t.forEach(t=>Sm(t,n))}),_.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Sm(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const w=[],b=[];for(let D=this._namespaceList.length-1;D>=0;D--)this._namespaceList[D].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(w.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,r),h=v.get(r),d=f.get(r),p=this._buildInstruction(t,n,d,h,c);if(p.errors&&p.errors.length)b.push(p);else{if(c)return e.onStart(()=>gg(r,p.fromStyles)),e.onDestroy(()=>pg(r,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>gg(r,p.fromStyles)),e.onDestroy(()=>pg(r,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,p.timelines),s.push({instruction:p,player:e,element:r}),p.queriedElements.forEach(t=>Up(o,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=l.get(e);i||l.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(b.length){const t=[];b.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,C=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(C.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Up(x,e,[]).push(t),t.destroy()})});const S=g.filter(t=>km(t,a,l)),E=new Map;bm(E,this.driver,y,l,Sp).forEach(t=>{km(t,a,l)&&S.push(t)});const T=new Map;d.forEach((t,e)=>{bm(T,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=E.get(t),n=T.get(t);E.set(t,Object.assign(Object.assign({},e),n))});const k=[],A=[],O={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(c.has(e))return s.onDestroy(()=>pg(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let t=O;if(C.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=C.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>C.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,x,r,T,E);if(s.setRealPlayer(n),t===O)k.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=Fp(e)),i.push(s)}}else gg(e,o.fromStyles),s.onDestroy(()=>pg(e,o.toStyles)),A.push(s),c.has(e)&&i.push(s)}),A.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=Fp(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let D=0;D<g.length;D++){const t=g[D],e=t.__ng_removed;if(Sm(t,ng),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,og,!0);for(let t=0;t<i.length;t++){let e=o.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Em(this,t,i):this.processLeaveNode(t)}return g.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==pm;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=Up(n,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}gg(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,s){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Rp(e.duration,e.delay);const f=h!==a,p=function(t){const e=[];return Tm(t,e),e}((n.get(h)||um).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=r.get(h),m=s.get(h),y=Ip(0,this._normalizer,0,e.keyframes,g,m),v=this._buildPlayer(e,y,p);if(e.subTimeline&&i&&u.add(h),f){const e=new vm(t,o,h);e.setRealPlayer(v),l.push(e)}return v});l.forEach(t=>{Up(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Cm(t,sg));const d=Fp(h);return d.onDestroy(()=>{c.forEach(t=>Sm(t,sg)),pg(a,e.toStyles)}),u.forEach(t=>{Up(i,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Rp(t.duration,t.delay)}}class vm{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Rp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>Np(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Up(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function _m(t){return t&&1===t.nodeType}function wm(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function bm(t,e,n,i,r){const s=[];n.forEach(t=>s.push(wm(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=dm,o.push(i))}),t.set(i,s)});let a=0;return n.forEach(t=>wm(t,s[a++])),o}function xm(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:s(o),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function Cm(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Sm(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Em(t,e,n){Fp(n).onDone(()=>t.processLeaveNode(e))}function Tm(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof Pp?Tm(i.players,e):e.push(i)}}function km(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class Am{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new ym(t,e,n),this._timelineEngine=new om(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=Mg(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new im(t,e,n)}(i,e,this._normalizer),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=Hp(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=Hp(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Om(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Rm(e[0]),e.length>1&&(i=Rm(e[e.length-1]))):e&&(n=Rm(e)),n||i?new Dm(t,n,i):null}class Dm{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=Dm.initialStylesByElement.get(t);i||Dm.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&pg(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pg(this._element,this._initialStyles),this._endStyles&&(pg(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Dm.initialStylesByElement.delete(this._element),this._startStyles&&(gg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gg(this._element,this._endStyles),this._endStyles=null),pg(this._element,this._initialStyles),this._state=3)}}function Rm(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];Pm(r)&&(e=e||{},e[r]=t[r])}return e}function Pm(t){return"display"===t||"position"===t}Dm.initialStylesByElement=new WeakMap;const Mm="animation",Lm="animationend";class Fm{constructor(t,e,n,i,r,s,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Hm(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Um(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),jm(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Im(this._element,this._name,"paused")}resume(){Im(this._element,this._name,"running")}setPosition(t){const e=Nm(this._element,this._name);this._position=t*this._duration,Um(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),jm(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Hm(t,"").split(","),i=Vm(n,e);i>=0&&(n.splice(i,1),Um(t,"",n.join(",")))}(this._element,this._name))}}function Im(t,e,n){Um(t,"PlayState",n,Nm(t,e))}function Nm(t,e){const n=Hm(t,"");return n.indexOf(",")>0?Vm(n.split(","),e):Vm([n],e)}function Vm(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function jm(t,e,n){n?t.removeEventListener(Lm,e):t.addEventListener(Lm,e)}function Um(t,e,n,i){const r=Mm+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function Hm(t,e){return t.style[Mm+e]||""}class $m{constructor(t,e,n,i,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Fm(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Tg(this.element,n))})}this.currentSnapshot=t}}class zm extends Rp{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Xp(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Bm{constructor(){this._count=0}validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>Xp(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],o){const a=s.filter(t=>t instanceof $m),l={};Cg(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Sg(t,e,l));if(0==n)return new zm(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=Om(t,e),f=new $m(t,e,u,n,i,r,c,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}}class qm{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Tg(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Wm{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Gm().toString()),this._cssKeyframesDriver=new Bm}validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(t=>t instanceof qm);Cg(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Om(t,e=Sg(t,e=e.map(t=>hg(t,!1)),l));return new qm(t,e,a,u)}}function Gm(){return Mp()&&Element.prototype.animate||{}}let Ym=(()=>{class t extends Cp{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Et.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?kp(t):t;return Zm(this._renderer,null,e,"register",[n]),new Qm(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(di(pl),di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Qm extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Km(this._id,t,e||{},this._renderer)}}class Km{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Zm(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Zm(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const Xm="@",Jm="@.disabled";let ty=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new ey("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new ny(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(di(pl),di(Am),di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ey{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Xm&&e==Jm?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class ny extends ey{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Xm?"."==e.charAt(1)&&e==Jm?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Xm){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=Xm&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let iy=(()=>{class t extends Am{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(di(Uu),di(tg),di(Kg))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ry=new Yn("AnimationModuleType"),sy=[{provide:Cp,useClass:Ym},{provide:Kg,useFactory:function(){return new Zg}},{provide:Am,useClass:iy},{provide:pl,useFactory:function(t,e,n){return new ty(t,e,n)},deps:[vd,Am,lu]}],oy=[{provide:tg,useFactory:function(){return"function"==typeof Gm()?new Wm:new Bm}},{provide:ry,useValue:"BrowserAnimations"},...sy],ay=[{provide:tg,useClass:Jp},{provide:ry,useValue:"NoopAnimations"},...sy];let ly=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ay:oy}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:oy,imports:[Dd]}),t})();class cy extends C{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 w;return this._value}next(t){super.next(this._value=t)}}class uy extends p{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class hy extends p{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()}}function dy(t,e,n,i,r=new hy(t,n,i)){if(!r.closed)return e instanceof v?e.subscribe(r):M(e)(r)}const fy={};class py{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new gy(t,this.resultSelector))}}class gy extends uy{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(fy),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<e;n++)this.add(dy(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,r=this.toRespond?i[n]===fy?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const my=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function yy(...t){return $(1)(Rd(...t))}const vy=new v(t=>t.complete());function _y(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):vy}function wy(t){return new v(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?F(n):_y()).subscribe(e)})}function by(t,e){return"function"==typeof e?n=>n.pipe(by((n,i)=>F(t(n,i)).pipe(T((t,r)=>e(n,t,i,r))))):e=>e.lift(new xy(t))}class xy{constructor(t){this.project=t}call(t,e){return e.subscribe(new Cy(t,this.project))}}class Cy extends N{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(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new I(this),i=this.destination;i.add(n),this.innerSubscription=V(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Sy=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Ey(t){return e=>0===t?_y():e.lift(new Ty(t))}class Ty{constructor(t){if(this.total=t,this.total<0)throw new Sy}call(t,e){return e.subscribe(new ky(t,this.total))}}class ky extends p{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()))}}function Ay(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Oy(t,e,n))}}class Oy{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Dy(t,this.accumulator,this.seed,this.hasSeed))}}class Dy extends p{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,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(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function Ry(t){return function(e){const n=new Py(t),i=e.lift(n);return n.caught=i}}class Py{constructor(t){this.selector=t}call(t,e){return e.subscribe(new My(t,this.selector,this.caught))}}class My extends N{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 i=new I(this);this.add(i);const r=V(n,i);r!==i&&this.add(r)}}}function Ly(t){return function(e){return 0===t?_y():e.lift(new Fy(t))}}class Fy{constructor(t){if(this.total=t,this.total<0)throw new Sy}call(t,e){return e.subscribe(new Iy(t,this.total))}}class Iy extends p{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}function Ny(t=Uy){return e=>e.lift(new Vy(t))}class Vy{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new jy(t,this.errorFactory))}}class jy extends p{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 Uy(){return new my}function Hy(t=null){return e=>e.lift(new $y(t))}class $y{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new zy(t,this.defaultValue))}}class zy extends p{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()}}function By(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Md((e,n)=>t(e,n,i)):y,Ey(1),n?Hy(e):Ny(()=>new my))}function qy(){}function Wy(t,e,n){return function(i){return i.lift(new Gy(t,e,n))}}class Gy{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Yy(t,this.nextOrObserver,this.error,this.complete))}}class Yy extends p{constructor(t,e,n,r){super(t),this._tapNext=qy,this._tapError=qy,this._tapComplete=qy,this._tapError=n||qy,this._tapComplete=r||qy,i(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||qy,this._tapError=e.error||qy,this._tapComplete=e.complete||qy)}_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()}}class Qy{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Ky(t,this.callback))}}class Ky extends p{constructor(t,e){super(t),this.add(new h(e))}}class Zy{constructor(t,e){this.id=t,this.url=e}}class Xy extends Zy{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jy extends Zy{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tv extends Zy{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ev extends Zy{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class nv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rv extends Zy{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class sv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ov extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class av{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cv{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uv{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hv{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dv{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fv{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}')`}}const pv="primary";class gv{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,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 mv(t){return new gv(t)}function yv(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function vv(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(":"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function _v(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!wv(t[r],e[r]))return!1;return!0}function wv(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function bv(t){return Array.prototype.concat.apply([],t)}function xv(t){return t.length>0?t[t.length-1]:null}function Cv(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Sv(t){return Lo(t)?t:Mo(t)?F(Promise.resolve(t)):Rd(t)}const Ev={exact:function t(e,n,i){if(!Lv(e.segments,n.segments))return!1;if(!Dv(e.segments,n.segments,i))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],i))return!1}return!0},subset:Av},Tv={exact:function(t,e){return _v(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>wv(t[n],e[n]))},ignored:()=>!0};function kv(t,e,n){return Ev[n.paths](t.root,e.root,n.matrixParams)&&Tv[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Av(t,e,n){return Ov(t,e,e.segments,n)}function Ov(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!Lv(r,n)&&!e.hasChildren()&&!!Dv(r,n,i)}if(t.segments.length===n.length){if(!Lv(t.segments,n))return!1;if(!Dv(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Av(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!Lv(t.segments,r)&&!!Dv(t.segments,r,i)&&!!t.children.primary&&Ov(t.children.primary,e,s,i)}}function Dv(t,e,n){return e.every((e,i)=>Tv[n](t[i].parameters,e.parameters))}class Rv{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return Nv.serialize(this)}}class Pv{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Cv(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vv(this)}}class Mv{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=mv(this.parameters)),this._parameterMap}toString(){return qv(this)}}function Lv(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Fv{}class Iv{parse(t){const e=new Kv(t);return new Rv(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${jv(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Hv(e)}=${Hv(t)}`).join("&"):`${Hv(e)}=${Hv(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Nv=new Iv;function Vv(t){return t.segments.map(t=>qv(t)).join("/")}function jv(t,e){if(!t.hasChildren())return Vv(t);if(e){const e=t.children.primary?jv(t.children.primary,!1):"",n=[];return Cv(t.children,(t,e)=>{e!==pv&&n.push(`${e}:${jv(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Cv(t.children,(t,i)=>{i===pv&&(n=n.concat(e(t,i)))}),Cv(t.children,(t,i)=>{i!==pv&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===pv?[jv(t.children.primary,!1)]:[`${n}:${jv(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Vv(t)}/${e[0]}`:`${Vv(t)}/(${e.join("//")})`}}function Uv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hv(t){return Uv(t).replace(/%3B/gi,";")}function $v(t){return Uv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zv(t){return decodeURIComponent(t)}function Bv(t){return zv(t.replace(/\+/g,"%20"))}function qv(t){return`${$v(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${$v(t)}=${$v(e[t])}`).join("")}`;var e}const Wv=/^[^\/()?;=#]+/;function Gv(t){const e=t.match(Wv);return e?e[0]:""}const Yv=/^[^=?&#]+/,Qv=/^[^?&#]+/;class Kv{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pv([],{}):new Pv([],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 Pv(t,e)),n}parseSegment(){const t=Gv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Mv(zv(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Gv(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Gv(this.remaining);t&&(n=t,this.capture(n))}t[zv(e)]=zv(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yv);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(Qv);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Bv(e),r=Bv(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Gv(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=pv);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new Pv([],s),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 Zv{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=Xv(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xv(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Jv(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Jv(t,this._root).map(t=>t.value)}}function Xv(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xv(t,n);if(e)return e}return null}function Jv(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Jv(t,n);if(i.length)return i.unshift(e),i}return[]}class t_{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function e_(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class n_ extends Zv{constructor(t,e){super(t),this.snapshot=e,l_(this,t)}toString(){return this.snapshot.toString()}}function i_(t,e){const n=function(t,e){const n=new o_([],{},{},"",{},pv,e,null,t.root,-1,{});return new a_("",new t_(n,[]))}(t,e),i=new cy([new Mv("",{})]),r=new cy({}),s=new cy({}),o=new cy({}),a=new cy(""),l=new r_(i,r,o,a,s,pv,e,n.root);return l.snapshot=n.root,new n_(new t_(l,[]),n)}class r_{constructor(t,e,n,i,r,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}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(T(t=>mv(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>mv(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function s_(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}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(i))}class o_{constructor(t,e,n,i,r,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,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=mv(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class a_ extends Zv{constructor(t,e){super(e),this.url=t,l_(this,e)}toString(){return c_(this._root)}}function l_(t,e){e.value._routerState=t,e.children.forEach(e=>l_(t,e))}function c_(t){const e=t.children.length>0?` { ${t.children.map(c_).join(", ")} } `:"";return`${t.value}${e}`}function u_(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,_v(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),_v(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!_v(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),_v(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function h_(t,e){var n,i;return _v(t.params,e.params)&&Lv(n=t.url,i=e.url)&&n.every((t,e)=>_v(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||h_(t.parent,e.parent))}function d_(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return d_(t,e,i);return d_(t,e)})}(t,e,n);return new t_(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return f_(e,t),t}}const n=new r_(new cy((i=e.value).url),new cy(i.params),new cy(i.queryParams),new cy(i.fragment),new cy(i.data),i.outlet,i.component,i),r=e.children.map(e=>d_(t,e));return new t_(n,r)}var i}function f_(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)f_(t.children[n],e.children[n])}function p_(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function g_(t){return"object"==typeof t&&null!=t&&t.outlets}function m_(t,e,n,i,r){let s={};return i&&Cv(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Rv(n.root===t?e:y_(n.root,t,e),s,r)}function y_(t,e,n){const i={};return Cv(t.children,(t,r)=>{i[r]=t===e?n:y_(t,e,n)}),new Pv(t.segments,i)}class v_{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&p_(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(g_);if(i&&i!==xv(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class __{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function w_(t,e,n){if(t||(t=new Pv([],{})),0===t.segments.length&&t.hasChildren())return b_(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],o=n[i];if(g_(o))break;const a=`${o}`,l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!E_(a,l,e))return s;i+=2}else{if(!E_(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Pv(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Pv(t.segments.slice(i.pathIndex),t.children),b_(e,0,r)}return i.match&&0===r.length?new Pv(t.segments,{}):i.match&&!t.hasChildren()?x_(t,e,n):i.match?b_(t,0,r):x_(t,e,n)}function b_(t,e,n){if(0===n.length)return new Pv(t.segments,{});{const i=function(t){return g_(t[0])?t[0].outlets:{[pv]:t}}(n),r={};return Cv(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=w_(t.children[i],e,n))}),Cv(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Pv(t.segments,r)}}function x_(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){const s=n[r];if(g_(s)){const t=C_(s.outlets);return new Pv(i,t)}if(0===r&&p_(n[0])){i.push(new Mv(t.segments[e].path,S_(n[0]))),r++;continue}const o=g_(s)?s.outlets.primary:`${s}`,a=r<n.length-1?n[r+1]:null;o&&a&&p_(a)?(i.push(new Mv(o,S_(a))),r+=2):(i.push(new Mv(o,{})),r++)}return new Pv(i,{})}function C_(t){const e={};return Cv(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=x_(new Pv([],{}),0,t))}),e}function S_(t){const e={};return Cv(t,(t,n)=>e[n]=`${t}`),e}function E_(t,e,n){return t==n.path&&_v(e,n.parameters)}class T_{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),u_(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=e_(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),Cv(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&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(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=e_(t);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=e_(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new dv(t.value.snapshot))}),t.children.length&&this.forwardEvent(new uv(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(u_(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),k_(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}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function k_(t){u_(t.value),t.children.forEach(k_)}class A_{constructor(t,e){this.routes=t,this.module=e}}function O_(t){return"function"==typeof t}function D_(t){return t instanceof Rv}const R_=Symbol("INITIAL_VALUE");function P_(){return by(t=>function(...t){let e,n;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),z(t,n).lift(new py(e))}(t.map(t=>t.pipe(Ey(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>yy(t,n,e)):e=>yy(t,e)}(R_)))).pipe(Ay((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==R_)return t;if(i===R_&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||D_(i))return i}return t},t)},R_),Md(t=>t!==R_),T(t=>D_(t)?t:!0===t),Ey(1)))}let M_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"router-outlet")},directives:function(){return[kw]},encapsulation:2}),t})();function L_(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];F_(i,I_(e,i))}}function F_(t,e){t.children&&L_(t.children,e)}function I_(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function N_(t){const e=t.children&&t.children.map(N_),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==pv&&(n.component=M_),n}function V_(t){return t.outlet||pv}function j_(t,e){const n=t.filter(t=>V_(t)===e);return n.push(...t.filter(t=>V_(t)!==e)),n}const U_={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function H_(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},U_):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||vv)(n,t,e);if(!r)return Object.assign({},U_);const s={};Cv(r.posParams,(t,e)=>{s[e]=t.path});const o=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function $_(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>z_(t,e,n)&&V_(n)!==pv)}(t,n,i)){const r=new Pv(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&V_(s)!==pv){const n=new Pv([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[V_(s)]=n}return r}(t,e,i,new Pv(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>z_(t,e,n))}(t,n,i)){const s=new Pv(t.segments,function(t,e,n,i,r,s){const o={};for(const a of i)if(z_(t,n,a)&&!r[V_(a)]){const n=new Pv([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[V_(a)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Pv(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function z_(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function B_(t,e,n,i){return!!(V_(t)===i||i!==pv&&z_(e,n,t))&&("**"===t.path||H_(e,t,n).matched)}function q_(t,e,n){return 0===e.length&&!t.children[n]}class W_{constructor(t){this.segmentGroup=t||null}}class G_{constructor(t){this.urlTree=t}}function Y_(t){return new v(e=>e.error(new W_(t)))}function Q_(t){return new v(e=>e.error(new G_(t)))}function K_(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Z_{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(Gl)}apply(){const t=$_(this.urlTree.root,[],[],this.config).segmentGroup,e=new Pv(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,pv).pipe(T(t=>this.createUrlTree(X_(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ry(t=>{if(t instanceof G_)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof W_)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,pv).pipe(T(e=>this.createUrlTree(X_(e),t.queryParams,t.fragment))).pipe(Ry(t=>{if(t instanceof W_)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pv([],{[pv]:t}):t;return new Rv(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new Pv([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return F(i).pipe(Pd(i=>{const r=n.children[i],s=j_(e,i);return this.expandSegmentGroup(t,s,r,i).pipe(T(t=>({segment:t,outlet:i})))}),Ay((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Md((e,n)=>t(e,n,i)):y,Ly(1),n?Hy(e):Ny(()=>new my))}())}expandSegment(t,e,n,i,r,s){return F(n).pipe(Pd(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,s).pipe(Ry(t=>{if(t instanceof W_)return Rd(null);throw t}))),By(t=>!!t),Ry((t,n)=>{if(t instanceof my||"EmptyError"===t.name){if(q_(e,i,r))return Rd(new Pv([],{}));throw new W_(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return B_(i,e,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Y_(e):Y_(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Q_(r):this.lineralizeSegments(n,r).pipe(j(n=>{const r=new Pv(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=H_(e,i,r);if(!o)return Y_(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Q_(u):this.lineralizeSegments(i,u).pipe(j(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Rd(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(T(t=>(n._loadedConfig=t,new Pv(i,{})))):Rd(new Pv(i,{}));const{matched:s,consumedSegments:o,lastChild:a}=H_(e,n,i);if(!s)return Y_(e);const l=i.slice(a);return this.getChildConfig(t,n,i).pipe(j(t=>{const i=t.module,s=t.routes,{segmentGroup:a,slicedSegments:c}=$_(e,o,l,s),u=new Pv(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(i,s,u).pipe(T(t=>new Pv(o,t)));if(0===s.length&&0===c.length)return Rd(new Pv(o,{}));const h=V_(n)===r;return this.expandSegment(i,u,s,c,h?pv:r,!0).pipe(T(t=>new Pv(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Rd(new A_(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Rd(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(j(n=>n?this.configLoader.load(t.injector,e).pipe(T(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(yv(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Rd(new A_([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;return i&&0!==i.length?Rd(i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&O_(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!O_(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return Sv(s)})).pipe(P_(),Wy(t=>{if(!D_(t))return;const e=yv(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Rd(!0)}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Rd(n);if(i.numberOfChildren>1||!i.children.primary)return K_(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Rv(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Cv(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return Cv(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Pv(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function X_(t){const e={};for(const n of Object.keys(t.children)){const i=X_(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pv(t.segments.concat(e.segments),e.children)}return t}(new Pv(t.segments,e))}class J_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class tw{constructor(t,e){this.component=t,this.route=e}}function ew(t,e,n){const i=t._root;return iw(i,e?e._root:null,n,[i.value])}function nw(t,e,n){const i=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(i?i.module.injector:n).get(t)}function iw(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e_(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Lv(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Lv(t.url,e.url)||!_v(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!h_(t,e)||!_v(t.queryParams,e.queryParams);case"paramsChange":default:return!h_(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new J_(i)):(s.data=o.data,s._resolvedData=o._resolvedData),iw(t,e,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new tw(a.outlet.component,o))}else o&&rw(e,a,r),r.canActivateChecks.push(new J_(i)),iw(t,null,s.component?a?a.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),Cv(s,(t,e)=>rw(t,n.getContext(e),r)),r}function rw(t,e,n){const i=e_(t),r=t.value;Cv(i,(t,i)=>{rw(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new tw(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class sw{}function ow(t){return new v(e=>e.error(t))}class aw{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const t=$_(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,pv);if(null===e)return null;const n=new o_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},pv,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new t_(n,e),r=new a_(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=s_(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=[];for(const r of Object.keys(e.children)){const i=e.children[r],s=j_(t,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=cw(n);return i.sort((t,e)=>t.value.outlet===pv?-1:e.value.outlet===pv?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return q_(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!B_(t,e,n,i))return null;let r,s=[],o=[];if("**"===t.path){const i=n.length>0?xv(n).parameters:{};r=new o_(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dw(t),V_(t),t.component,t,uw(e),hw(e)+n.length,fw(t))}else{const i=H_(e,t,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new o_(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dw(t),V_(t),t.component,t,uw(e),hw(e)+s.length,fw(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=$_(e,s,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new t_(r,t)]}if(0===a.length&&0===c.length)return[new t_(r,[])];const u=V_(t)===i,h=this.processSegment(a,l,c,u?pv:i);return null===h?null:[new t_(r,h)]}}function lw(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function cw(t){const e=[],n=new Set;for(const i of t){if(!lw(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=cw(i.children);e.push(new t_(i.value,t))}return e.filter(t=>!n.has(t))}function uw(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function hw(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 dw(t){return t.data||{}}function fw(t){return t.resolve||{}}function pw(t){return by(e=>{const n=t(e);return n?F(n).pipe(T(()=>e)):Rd(e)})}class gw extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const mw=new Yn("ROUTES");class yw{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(T(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new A_(bv(i.injector.get(mw,void 0,_t.Self|_t.Optional)).map(N_),i)}),Ry(t=>{throw e._loader$=void 0,t}));return e._loader$=new G(n,()=>new C).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):Sv(t()).pipe(j(t=>t instanceof Yl?Rd(t):F(this.compiler.compileModuleAsync(t))))}}class vw{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new _w,this.attachRef=null}}class _w{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 vw,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class ww{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function bw(t){throw t}function xw(t,e,n){return e.parse("/")}function Cw(t,e){return Rd(null)}const Sw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ew={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Tw=(()=>{class t{constructor(t,e,n,i,r,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=bw,this.malformedUriErrorHandler=xw,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Cw,afterPreactivation:Cw},this.urlHandlingStrategy=new ww,this.routeReuseStrategy=new gw,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(Gl),this.console=r.get(Qc);const l=r.get(lu);this.isNgZoneEnabled=l instanceof lu&&lu.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new Rv(new Pv([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yw(s,o,t=>this.triggerEvent(new av(t)),t=>this.triggerEvent(new lv(t))),this.routerState=i_(this.currentUrlTree,this.rootComponentType),this.transitions=new cy({id:0,targetPageId: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()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe(Md(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),by(t=>{let n=!1,i=!1;return Rd(t).pipe(Wy(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}}),by(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Rd(t).pipe(by(t=>{const n=this.transitions.getValue();return e.next(new Xy(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?vy:Promise.resolve(t)}),function(t,e,n,i){return by(r=>function(t,e,n,i,r){return new Z_(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe(T(t=>Object.assign(Object.assign({},r),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Wy(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return j(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){try{const o=new aw(t,e,n,i,r,s).recognize();return null===o?ow(new sw):Rd(o)}catch(o){return ow(o)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(T(t=>Object.assign(Object.assign({},s),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Wy(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new nv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:o}=t,a=new Xy(n,this.serializeUrl(i),r,s);e.next(a);const l=i_(i,this.rootComponentType).snapshot;return Rd(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),vy}),pw(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Wy(t=>{const e=new iv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:ew(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return j(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Rd(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return F(t).pipe(j(t=>function(t,e,n,i,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Rd(s.map(s=>{const o=nw(s,e,r);let a;if(function(t){return t&&O_(t.canDeactivate)}(o))a=Sv(o.canDeactivate(t,e,n,i));else{if(!O_(o))throw new Error("Invalid CanDeactivate guard");a=Sv(o(t,e,n,i))}return a.pipe(By())})).pipe(P_()):Rd(!0)}(t.component,t.route,n,e,i)),By(t=>!0!==t,!0))}(o,i,r,t).pipe(j(n=>n&&"boolean"==typeof n?function(t,e,n,i){return F(e).pipe(Pd(e=>yy(function(t,e){return null!==t&&e&&e(new cv(t)),Rd(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new hv(t)),Rd(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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=>wy(()=>Rd(e.guards.map(r=>{const s=nw(r,e.node,n);let o;if(function(t){return t&&O_(t.canActivateChild)}(s))o=Sv(s.canActivateChild(i,t));else{if(!O_(s))throw new Error("Invalid CanActivateChild guard");o=Sv(s(i,t))}return o.pipe(By())})).pipe(P_())));return Rd(r).pipe(P_())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Rd(i.map(i=>wy(()=>{const r=nw(i,e,n);let s;if(function(t){return t&&O_(t.canActivate)}(r))s=Sv(r.canActivate(e,t));else{if(!O_(r))throw new Error("Invalid CanActivate guard");s=Sv(r(e,t))}return s.pipe(By())}))).pipe(P_()):Rd(!0)}(t,e.route,n))),By(t=>!0!==t,!0))}(i,s,t,e):Rd(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Wy(t=>{if(D_(t.guardsResult)){const e=yv(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new rv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Md(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),pw(t=>{if(t.guards.canActivateChecks.length)return Rd(t).pipe(Wy(t=>{const e=new sv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),by(t=>{let e=!1;return Rd(t).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,j(t=>{const{targetSnapshot:e,guards:{canActivateChecks:r}}=t;if(!r.length)return Rd(t);let s=0;return F(r).pipe(Pd(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Rd({});const s={};return F(r).pipe(j(r=>function(t,e,n,i){const r=nw(t,e,i);return Sv(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Wy(t=>{s[r]=t}))),Ly(1),j(()=>Object.keys(s).length===r.length?Rd(s):vy))}(t._resolve,t,e,i).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),s_(t,n).resolve),null)))}(t.route,e,n,i)),Wy(()=>s++),Ly(1),j(e=>s===r.length?Rd(t):vy))})),Wy({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}));var n,i}),Wy(t=>{const e=new ov(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),pw(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),T(t=>{const e=function(t,e,n){const i=d_(t,e._root,n?n._root:void 0);return new n_(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Wy(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),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),T(t=>(new T_(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Wy({next(){n=!0},complete(){n=!0}}),(r=()=>{if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}this.currentNavigation=null},t=>t.lift(new Qy(r))),Ry(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=D_(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const r=new tv(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);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.restoreHistory(t,!0);const i=new ev(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return vy}));var r,s,o,a}))}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=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){L_(t),this.config=t.map(N_),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return m_(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new v_(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Cv(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new v_(n,e,i)}(n);if(s.toRoot())return m_(e.root,new Pv([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new __(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new __(t,t===e.root,0)}const i=p_(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new __(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?b_(o.segmentGroup,o.index,s.commands):w_(o.segmentGroup,o.index,s.commands);return m_(o.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=D_(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},Sw):!1===e?Object.assign({},Ew):e,D_(t))return kv(this.currentUrlTree,t,n);const i=this.parseUrl(t);return kv(this.currentUrlTree,i,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Jy(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){var s,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l="imperative"!==e&&"imperative"===(null==a?void 0:a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;r?(u=r.resolve,h=r.reject,d=r.promise):d=new Promise((t,e)=>{u=t,h=e});const f=++this.navigationId;let p;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),p=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(s=this.browserPageId)&&void 0!==s?s:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):p=0,this.setTransition({id:f,targetPageId:p,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new tv(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(di(Kn),di(Fv),di(_w),di(eh),di(oo),di(Du),di(su),di(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),kw=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new bc,this.deactivateEvents=new bc,this.name=i||pv,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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Aw(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(To(_w),To(Kl),To(ll),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(vn(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(Me(),"name")),To(Vl))},t.\u0275dir=Gt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Aw{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===r_?this.route:t===_w?this.childContexts:this.parent.get(t,e)}}class Ow{}class Dw{preload(t,e){return Rd(null)}}let Rw=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new yw(e,n,e=>t.triggerEvent(new av(e)),e=>t.triggerEvent(new lv(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Md(t=>t instanceof Jy),Pd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Gl);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return F(n).pipe($(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Rd(e._loadedConfig):this.loader.load(t.injector,e)).pipe(j(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(di(Tw),di(Du),di(su),di(oo),di(Ow))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Pw=(()=>{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 Xy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Jy&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof fv&&(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 fv(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(e){return new(e||t)(di(Tw),di(Zh),di(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Mw=new Yn("ROUTER_CONFIGURATION"),Lw=new Yn("ROUTER_FORROOT_GUARD"),Fw=[eh,{provide:Fv,useClass:Iv},{provide:Tw,useFactory:function(t,e,n,i,r,s,o,a={},l,c){const u=new Tw(null,t,e,n,i,r,s,bv(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Fv,_w,eh,oo,Du,su,mw,Mw,[class{},new mi],[class{},new mi]]},_w,{provide:r_,useFactory:function(t){return t.routerState.root},deps:[Tw]},{provide:Du,useClass:Mu},Rw,Dw,class{preload(t,e){return e().pipe(Ry(()=>Rd(null)))}},{provide:Mw,useValue:{enableTracing:!1}}];function Iw(){return new Cu("Router",Tw)}let Nw=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Fw,Hw(e),{provide:Lw,useFactory:Uw,deps:[[Tw,new mi,new yi]]},{provide:Mw,useValue:n||{}},{provide:Ku,useFactory:jw,deps:[Hu,[new gi(Xu),new mi],Mw]},{provide:Pw,useFactory:Vw,deps:[Tw,Zh,Mw]},{provide:Ow,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Dw},{provide:Cu,multi:!0,useFactory:Iw},[$w,{provide:Hc,multi:!0,useFactory:zw,deps:[$w]},{provide:qw,useFactory:Bw,deps:[$w]},{provide:Yc,multi:!0,useExisting:qw}]]}}static forChild(e){return{ngModule:t,providers:[Hw(e)]}}}return t.\u0275fac=function(e){return new(e||t)(di(Lw,8),di(Tw,8))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})();function Vw(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pw(t,e,n)}function jw(t,e,n={}){return n.useHash?new th(t,e):new Ju(t,e)}function Uw(t){return"guarded"}function Hw(t){return[{provide:Qn,multi:!0,useValue:t},{provide:mw,multi:!0,useValue:t}]}let $w=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new C}appInitializer(){return this.injector.get(zu,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Tw),i=this.injector.get(Mw);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Rd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Mw),n=this.injector.get(Rw),i=this.injector.get(Pw),r=this.injector.get(Tw),s=this.injector.get(Au);t===s.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function zw(t){return t.appInitializer.bind(t)}function Bw(t){return t.bootstrapListener.bind(t)}const qw=new Yn("Router Initializer");function Ww(t,e,n,r){return i(n)&&(r=n,n=void 0),r?Ww(t,e,n).pipe(T(t=>l(t)?r(...t):r(t))):new v(i=>{Gw(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function Gw(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;s<o;s++)Gw(t[s],e,n,i,r)}i.add(s)}class Yw extends h{constructor(t,e){super()}schedule(t,e=0){return this}}let Qw=(()=>{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})();class Kw extends Qw{constructor(t,e=Qw.now){super(t,()=>Kw.delegate&&Kw.delegate!==this?Kw.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Kw.delegate&&Kw.delegate!==this?Kw.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}}}const Zw=new Kw(class extends Yw{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}});function Xw(t){return!l(t)&&t-parseFloat(t)+1>=0}function Jw(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function tb(...t){if(1===t.length){if(!l(t[0]))return t[0];t=t[0]}return z(t,void 0).lift(new eb)}class eb{call(t,e){return e.subscribe(new nb(t))}}class nb extends uy{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){const e=dy(this,t[n],void 0,n);this.subscriptions&&this.subscriptions.push(e),this.add(e)}this.observables=null}}notifyNext(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}function ib(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),z(t,void 0).lift(new rb(e))}new v(qy);class rb{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new sb(t,this.resultSelector))}}class sb extends p{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;l(t)?e.push(new ab(t)):e.push("function"==typeof t[D]?new ob(t[D]()):new lb(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let s=0;s<e;s++){let e=t[s];if("function"==typeof e.hasValue&&!e.hasValue())return}let i=!1;const r=[];for(let s=0;s<e;s++){let e=t[s],o=e.next();if(e.hasCompleted()&&(i=!0),o.done)return void n.complete();r.push(o.value)}this.resultSelector?this._tryresultSelector(r):n.next(r),i&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class ob{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class ab{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[D](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class lb extends N{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[D](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return V(this.observable,new I(this))}}function cb(t){return e=>e.lift(new ub(t))}class ub{constructor(t){this.notifier=t}call(t,e){const n=new hb(t),i=V(this.notifier,new I(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class hb extends N{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function db(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new fb(t,n))}}class fb{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new pb(t,this.observables,this.project))}}class pb extends uy{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r<i;r++)this.toRespond.push(r);for(let r=0;r<i;r++)this.add(dy(this,e[r],void 0,r))}notifyNext(t,e,n){this.values[n]=e;const i=this.toRespond;if(i.length>0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class gb{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Rd(this.value);case"E":return t=this.error,new v(e=>e.error(t));case"C":return _y()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new gb("N",t):gb.undefinedValueNotification}static createError(t){return new gb("E",void 0,t)}static createComplete(){return gb.completeNotification}}gb.completeNotification=new gb("C"),gb.undefinedValueNotification=new gb("N",void 0);class mb{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new yb(t,this.delay,this.scheduler))}}class yb extends p{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(yb.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new vb(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(gb.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(gb.createComplete()),this.unsubscribe()}}class vb{constructor(t,e){this.time=t,this.notification=e}}const _b=["*"],wb=["dialog"];function bb(t,e){1&t&&(Oo(0,"span",9),Za(1,10),Do())}function xb(t,e){1&t&&(Oo(0,"span",9),Za(1,11),Do())}function Cb(t,e){1&t&&(Oo(0,"span",9),Za(1,12),Do())}function Sb(t,e){1&t&&(Oo(0,"span",9),Za(1,13),Do())}function Eb(t,e){1&t&&la(0,"...")}function Tb(t,e){1&t&&(Oo(0,"span",15),la(1,"(current)"),Do())}function kb(t,e){if(1&t&&(la(0),So(1,Tb,2,0,"span",14)),2&t){const t=e.$implicit,n=e.currentPage;ua(" ",t," "),Zr(1),ko("ngIf",t===n)}}function Ab(t,e){}const Ob=function(t){return{disabled:!0,currentPage:t}};function Db(t,e){if(1&t&&(Oo(0,"a",20),So(1,Ab,0,0,"ng-template",8),Do()),2&t){const t=Vo(2).$implicit,e=Vo(),n=Eo(9);Zr(1),ko("ngTemplateOutlet",(null==e.tplEllipsis?null:e.tplEllipsis.templateRef)||n)("ngTemplateOutletContext",hc(2,Ob,t))}}function Rb(t,e){}const Pb=function(t,e,n){return{disabled:t,$implicit:e,currentPage:n}};function Mb(t,e){if(1&t){const t=Po();Oo(0,"a",21),Fo("click",function(e){Pe(t);const n=Vo().$implicit;return Vo(2).selectPage(n),e.preventDefault()}),So(1,Rb,0,0,"ng-template",8),Do()}if(2&t){const t=Vo().$implicit,e=Vo(),n=e.disabled,i=e.$implicit,r=Vo(),s=Eo(11);xo("tabindex",n?"-1":null)("aria-disabled",n?"true":null),Zr(1),ko("ngTemplateOutlet",(null==r.tplNumber?null:r.tplNumber.templateRef)||s)("ngTemplateOutletContext",fc(4,Pb,n,t,i))}}function Lb(t,e){if(1&t&&(Oo(0,"li",17),So(1,Db,2,4,"a",18),So(2,Mb,2,8,"a",19),Do()),2&t){const t=e.$implicit,n=Vo(),i=n.$implicit,r=n.disabled,s=Vo();Qo("active",t===i)("disabled",s.isEllipsis(t)||r),xo("aria-current",t===i?"page":null),Zr(1),ko("ngIf",s.isEllipsis(t)),Zr(1),ko("ngIf",!s.isEllipsis(t))}}function Fb(t,e){1&t&&So(0,Lb,3,7,"li",16),2&t&&ko("ngForOf",e.pages)}function Ib(t,e){}const Nb=function(t,e){return{disabled:t,currentPage:e}};function Vb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",22),Fo("click",function(e){return Pe(t),Vo().selectPage(1),e.preventDefault()}),So(2,Ib,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(1);Qo("disabled",t.previousDisabled()),Zr(1),xo("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplFirst?null:t.tplFirst.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.previousDisabled(),t.page))}}function jb(t,e){}const Ub=function(t){return{disabled:t}};function Hb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",23),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.page-1),e.preventDefault()}),So(2,jb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(3);Qo("disabled",t.previousDisabled()),Zr(1),xo("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplPrevious?null:t.tplPrevious.templateRef)||e)("ngTemplateOutletContext",hc(6,Ub,t.previousDisabled()))}}function $b(t,e){}function zb(t,e){}function Bb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",24),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.page+1),e.preventDefault()}),So(2,zb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(5);Qo("disabled",t.nextDisabled()),Zr(1),xo("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplNext?null:t.tplNext.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.nextDisabled(),t.page))}}function qb(t,e){}function Wb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",25),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.pageCount),e.preventDefault()}),So(2,qb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(7);Qo("disabled",t.nextDisabled()),Zr(1),xo("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplLast?null:t.tplLast.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.nextDisabled(),t.page))}}const Gb=function(t,e,n){return{$implicit:t,pages:e,disabled:n}};function Yb(t){return!isNaN(function(t){return parseInt(`${t}`,10)}(t))}function Qb(t){return null!=t}function Kb(t){return(t||document.body).getBoundingClientRect()}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){let e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});const Zb={animation:!0,transitionTimerDelayMs:5};let Xb=(()=>{class t{constructor(){this.animation=Zb.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Jb=()=>{},{transitionTimerDelayMs:tx}=Zb,ex=new Map,nx=(t,e,n,i)=>{let r=i.context||{};const s=ex.get(e);if(s)switch(i.runningTransition){case"continue":return vy;case"stop":t.run(()=>s.transition$.complete()),r=Object.assign(s.context,r),ex.delete(e)}const o=n(e,i.animation,r)||Jb;if(!i.animation||"none"===window.getComputedStyle(e).transitionProperty)return t.run(()=>o()),Rd(void 0).pipe(function(t){return e=>new v(n=>e.subscribe(e=>t.run(()=>n.next(e)),e=>t.run(()=>n.error(e)),()=>t.run(()=>n.complete())))}(t));const a=new C,l=new C,c=a.pipe(function(...t){return e=>yy(e,Rd(...t))}(!0));ex.set(e,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});const u=function(t){const{transitionDelay:e,transitionDuration:n}=window.getComputedStyle(t);return 1e3*(parseFloat(e)+parseFloat(n))}(e);return t.runOutsideAngular(()=>{const n=Ww(e,"transitionend").pipe(cb(c),Md(({target:t})=>t===e));tb(function(t=0,e,n){let i=-1;return Xw(e)?i=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=Zw),new v(e=>{const r=Xw(t)?t:+t-n.now();return n.schedule(Jw,r,{index:0,period:i,subscriber:e})})}(u+tx).pipe(cb(c)),n,l).pipe(cb(c)).subscribe(()=>{ex.delete(e),t.run(()=>{o(),a.next(),a.complete()})})}),a.asObservable()};var ix=(()=>(function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(ix||(ix={})),ix))();const rx=(t,e)=>!!e&&e.some(e=>e.contains(t)),sx=(t,e)=>!e||null!=function(t,e){return e?void 0===t.closest?null:t.closest(e):null}(t,e),ox="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const ax=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function lx(t){const e=Array.from(t.querySelectorAll(ax)).filter(t=>-1!==t.tabIndex);return[e[0],e[e.length-1]]}const cx=/\s+/,ux=new class{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const e=this.offsetParent(t);n=this.offset(t,!1),e!==document.documentElement&&(i=this.offset(e,!1)),i.top+=e.clientTop,i.left+=e.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(t,e=!0){const n=t.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+r,right:n.right+r};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(t,e,n,i){const[r="top",s="center"]=n.split("-"),o=i?this.offset(t,!1):this.position(t,!1),a=this.getAllStyles(e),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,f=0;switch(r){case"top":d=o.top-(e.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":f=o.left-(e.offsetWidth+u+h);break;case"right":f=o.left+o.width}switch(s){case"top":d=o.top;break;case"bottom":d=o.top+o.height-e.offsetHeight;break;case"left":f=o.left;break;case"right":f=o.left+o.width-e.offsetWidth;break;case"center":"top"===r||"bottom"===r?f=o.left+o.width/2-e.offsetWidth/2:d=o.top+o.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(f)}px, ${Math.round(d)}px)`;const p=e.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,y=window.innerWidth||g.clientWidth;return p.left>=0&&p.top>=0&&p.right<=y&&p.bottom<=m}};new Date(1882,10,12),new Date(2174,10,25);let hx=(()=>{class t{constructor(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),dx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["",8,"navbar"]]}),t})(),fx=(()=>{class t{constructor(t){this.elementRef=t,this._disabled=!1}set disabled(t){this._disabled=""===t||!0===t}get disabled(){return this._disabled}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(t,e){2&t&&Qo("disabled",e.disabled)},inputs:{disabled:"disabled"}}),t})(),px=(()=>{class t{constructor(t,e){this.dropdown=t,this.placement="bottom",this.isOpen=!1,this.nativeElement=e.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(t,e,n){if(1&t&&Fc(n,fx,4),2&t){let t;Mc(t=Ic())&&(e.menuItems=t)}},hostVars:5,hostBindings:function(t,e){1&t&&Fo("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Enter",function(t){return e.dropdown.onKeyDown(t)})("keydown.Space",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&(xo("x-placement",e.placement),Qo("dropdown-menu",!0)("show",e.dropdown.isOpen()))}}),t})(),gx=(()=>{class t{constructor(t,e){this.dropdown=t,this.nativeElement=e.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){2&t&&xo("aria-expanded",e.dropdown.isOpen())}}),t})(),mx=(()=>{class t extends gx{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){1&t&&Fo("click",function(){return e.dropdown.toggle()})("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&xo("aria-expanded",e.dropdown.isOpen())},features:[sl([{provide:gx,useExisting:nt(()=>t)}]),lo]}),t})(),yx=(()=>{class t{constructor(t,e,n,i,r,s,o){this._changeDetector=t,this._document=n,this._ngZone=i,this._elementRef=r,this._renderer=s,this._closed$=new C,this._bodyContainer=null,this._open=!1,this.openChange=new bc,this.placement=e.placement,this.container=e.container,this.autoClose=e.autoClose,this.display=o?"static":"dynamic",this._zoneSubscription=i.onStable.subscribe(()=>{this._positionMenu()})}ngAfterContentInit(){this._ngZone.onStable.pipe(Ey(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(t){if(t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses(),t.dropdownClass){const{currentValue:e,previousValue:n}=t.dropdownClass;this._applyCustomDropdownClass(e,n)}}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}_setCloseHandlers(){!function(t,e,n,i,r,s,o,a){var l;n&&t.runOutsideAngular((l=()=>{const l=Ww(e,"keydown").pipe(cb(r),Md(t=>t.which===ix.Escape),Wy(t=>t.preventDefault())),c=Ww(e,"mousedown").pipe(T(t=>{const e=t.target;return 2!==t.button&&!rx(e,o)&&("inside"===n?rx(e,s)&&sx(e,a):"outside"===n?!rx(e,s):sx(e,a)||!rx(e,s))}),cb(r)),u=Ww(e,"mouseup").pipe(db(c),Md(([t,e])=>e),function(t,e=Zw){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new mb(n,e))}(0),cb(r));tb([l.pipe(T(t=>0)),u.pipe(T(t=>1))]).subscribe(e=>t.run(()=>i(e)))},ox?()=>setTimeout(()=>l(),100):l))}(this._ngZone,this._document,this.autoClose,t=>{this.close(),0===t&&this._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}onKeyDown(t){const e=t.which,n=this._getMenuElements();let i=-1,r=null;const s=this._isEventFromToggle(t);if(!s&&n.length&&n.forEach((e,n)=>{e.contains(t.target)&&(r=e),e===this._document.activeElement&&(i=n)}),e!==ix.Space&&e!==ix.Enter){if(e!==ix.Tab){if(s||r){if(this.open(),n.length){switch(e){case ix.ArrowDown:i=Math.min(i+1,n.length-1);break;case ix.ArrowUp:if(this._isDropup()&&-1===i){i=n.length-1;break}i=Math.max(i-1,0);break;case ix.Home:i=0;break;case ix.End:i=n.length-1}n[i].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const e=this._menu.nativeElement.querySelectorAll(ax);t.shiftKey&&t.target===e[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(this._anchor.nativeElement.focus(),this.close())}else Ww(t.target,"focusout").pipe(Ey(1)).subscribe(({relatedTarget:t})=>{this._elementRef.nativeElement.contains(t)||this.close()})}}else!r||!0!==this.autoClose&&"inside"!==this.autoClose||Ww(r,"click").pipe(Ey(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(t){return this._anchor.nativeElement.contains(t.target)}_getMenuElements(){const t=this._menu;return null==t?[]:t.menuItems.filter(t=>!t.disabled).map(t=>t.elementRef.nativeElement)}_positionMenu(){const t=this._menu;this.isOpen()&&t&&this._applyPlacementClasses("dynamic"===this.display?function(t,e,n,i,r){let s=Array.isArray(n)?n:n.split(cx);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t=>{const[e,n]=t.split("-"),i=[];return i};let l=s.findIndex(t=>"auto"===t);l>=0&&o.forEach(function(t){null==s.find(e=>-1!==e.search("^"+t))&&s.splice(l++,1,t)});const c=e.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";let u=null,h=!1;for(u of s){a(u);if(ux.positionElements(t,e,u,i)){h=!0;break}}return h||(u=s[0],a(u),ux.positionElements(t,e,u,i)),u}(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}_getFirstPlacement(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}_resetContainer(){const t=this._renderer;if(this._menu){const e=this._menu.nativeElement;t.appendChild(this._elementRef.nativeElement,e),t.removeStyle(e,"position"),t.removeStyle(e,"transform")}this._bodyContainer&&(t.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(t=null){if(this._resetContainer(),"body"===t){const t=this._renderer,e=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||t.createElement("div");t.setStyle(n,"position","absolute"),t.setStyle(e,"position","static"),t.setStyle(n,"z-index","1050"),t.appendChild(n,e),t.appendChild(this._document.body,n)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(t,e){const n="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;n&&(e&&this._renderer.removeClass(n,e),t&&this._renderer.addClass(n,t))}_applyPlacementClasses(t){const e=this._menu;if(e){t||(t=this._getFirstPlacement(this.placement));const n=this._renderer,i=this._elementRef.nativeElement;n.removeClass(i,"dropup"),n.removeClass(i,"dropdown"),e.placement="static"===this.display?null:t;const r=-1!==t.search("^top")?"dropup":"dropdown";n.addClass(i,r);const s=this._bodyContainer;s&&(n.removeClass(s,"dropup"),n.removeClass(s,"dropdown"),n.addClass(s,r))}}}return t.\u0275fac=function(e){return new(e||t)(To(Vl),To(hx),To(Uu),To(lu),To(dl),To(gl),To(dx,8))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,px,5),Fc(n,gx,5)),2&t){let t;Mc(t=Ic())&&(e._menu=t.first),Mc(t=Ic())&&(e._anchor=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&Qo("show",e.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display",dropdownClass:"dropdownClass"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[ae]}),t})(),vx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})(),_x=(()=>{class t{constructor(t){this._ngbConfig=t,this.backdrop=!0,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return t.\u0275fac=function(e){return new(e||t)(di(Xb))},t.\u0275prov=ut({factory:function(){return new t(di(Xb))},token:t,providedIn:"root"}),t})();class wx{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}const bx=()=>{};let xx=(()=>{class t{constructor(t){this._document=t}compensate(){const t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):bx}_adjustBody(t){const e=this._document.body,n=e.style.paddingRight,i=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=`${i+t}px`,()=>e.style["padding-right"]=n}_isPresent(t){const e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}_getWidth(){const t=this._document.createElement("div");t.className="modal-scrollbar-measure";const e=this._document.body;e.appendChild(t);const n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({factory:function(){return new t(di(Uu))},token:t,providedIn:"root"}),t})(),Cx=(()=>{class t{constructor(t,e){this._el=t,this._zone=e}ngOnInit(){this._zone.onStable.asObservable().pipe(Ey(1)).subscribe(()=>{nx(this._zone,this._el.nativeElement,(t,e)=>{e&&Kb(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return nx(this._zone,this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(t,e){2&t&&(Ko("modal-backdrop"+(e.backdropClass?" "+e.backdropClass:"")),Qo("show",!e.animation)("fade",e.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();class Sx{close(t){}dismiss(t){}}class Ex{constructor(t,e,n,i){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=i,this._closed=new C,this._dismissed=new C,this._hidden=new C,t.instance.dismissEvent.subscribe(t=>{this.dismiss(t)}),this.result=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(cb(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(cb(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();e&&e.then?e.then(e=>{!1!==e&&this._dismiss(t)},()=>{}):!1!==e&&this._dismiss(t)}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Rd(void 0);t.subscribe(()=>{const{nativeElement:t}=this._windowCmptRef.location;t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:t}=this._backdropCmptRef.location;t.parentNode.removeChild(t),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),ib(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tx=(()=>(function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(Tx||(Tx={})),Tx))();let kx=(()=>{class t{constructor(t,e,n){this._document=t,this._elRef=e,this._zone=n,this._closed$=new C,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new bc,this.shown=new C,this.hidden=new C}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(Ey(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,e={animation:this.animation,runningTransition:"stop"},n=ib(nx(this._zone,t,()=>t.classList.remove("show"),e),nx(this._zone,this._dialogEl.nativeElement,()=>{},e));return n.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),n}_show(){const t={animation:this.animation,runningTransition:"continue"};ib(nx(this._zone,this._elRef.nativeElement,(t,e)=>{e&&Kb(t),t.classList.add("show")},t),nx(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{Ww(t,"keydown").pipe(cb(this._closed$),Md(t=>t.which===ix.Escape)).subscribe(t=>{this.keyboard?requestAnimationFrame(()=>{t.defaultPrevented||this._zone.run(()=>this.dismiss(Tx.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let e=!1;Ww(this._dialogEl.nativeElement,"mousedown").pipe(cb(this._closed$),Wy(()=>e=!1),by(()=>Ww(t,"mouseup").pipe(cb(this._closed$),Ey(1))),Md(({target:e})=>t===e)).subscribe(()=>{e=!0}),Ww(t,"click").pipe(cb(this._closed$)).subscribe(({target:n})=>{t===n&&("static"===this.backdrop?this._bumpBackdrop():!0!==this.backdrop||e||this._zone.run(()=>this.dismiss(Tx.BACKDROP_CLICK))),e=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),n=lx(t)[0];(e||n||t).focus()}}_restoreFocus(){const t=this._document.body,e=this._elWithFocus;let n;n=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&nx(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(To(Uu),To(dl),To(lu))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){if(1&t&&Lc(wb,7),2&t){let t;Mc(t=Ic())&&(e._dialogEl=t.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,e){2&t&&(xo("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),Ko("modal d-block"+(e.windowClass?" "+e.windowClass:"")),Qo("fade",e.animation))},inputs:{backdrop:"backdrop",keyboard:"keyboard",animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:_b,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(Uo(),Oo(0,"div",0,1),Oo(2,"div",2),Ho(3),Do(),Do()),2&t&&Ko("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":"")+(e.modalDialogClass?" "+e.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}"],encapsulation:2}),t})(),Ax=(()=>{class t{constructor(t,e,n,i,r,s){this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=i,this._rendererFactory=r,this._ngZone=s,this._activeWindowCmptHasChanged=new C,this._ariaHiddenValues=new Map,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new bc,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const t=this._windowCmpts[this._windowCmpts.length-1];((t,e,n,i=!1)=>{this._ngZone.runOutsideAngular(()=>{const t=Ww(e,"focusin").pipe(cb(n),T(t=>t.target));Ww(e,"keydown").pipe(cb(n),Md(t=>t.which===ix.Tab),db(t)).subscribe(([t,n])=>{const[i,r]=lx(e);n!==i&&n!==e||!t.shiftKey||(r.focus(),t.preventDefault()),n!==r||t.shiftKey||(i.focus(),t.preventDefault())}),i&&Ww(e,"click").pipe(cb(n),db(t),T(t=>t[1])).subscribe(t=>t.focus())})})(0,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}open(t,e,n,i){const r=i.container instanceof HTMLElement?i.container:Qb(i.container)?this._document.querySelector(i.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!r)throw new Error(`The specified modal container "${i.container||"body"}" was not found in the DOM.`);const l=new Sx,c=this._getContentRef(t,i.injector||e,n,l,i);let u=!1!==i.backdrop?this._attachBackdrop(t,r):void 0,h=this._attachWindowComponent(t,r,c),d=new Ex(h,c,u,i.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),l.close=t=>{d.close(t)},l.dismiss=t=>{d.dismiss(t)},this._applyWindowOptions(h.instance,i),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,i),u.changeDetectorRef.detectChanges()),h.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let n=t.resolveComponentFactory(Cx).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(t,e,n){let i=t.resolveComponentFactory(kx).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_applyWindowOptions(t,e){this._windowAttributes.forEach(n=>{Qb(e[n])&&(t[n]=e[n])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(n=>{Qb(e[n])&&(t[n]=e[n])})}_getContentRef(t,e,n,i,r){return n?n instanceof zl?this._createFromTemplateRef(n,i):function(t){return"string"==typeof t}(n)?this._createFromString(n):this._createFromComponent(t,e,n,i,r):new wx([])}_createFromTemplateRef(t,e){const n=t.createEmbeddedView({$implicit:e,close(t){e.close(t)},dismiss(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new wx([n.rootNodes],n)}_createFromString(t){const e=this._document.createTextNode(`${t}`);return new wx([[e]])}_createFromComponent(t,e,n,i,r){const s=t.resolveComponentFactory(n),o=oo.create({providers:[{provide:Sx,useValue:i}],parent:e}),a=s.create(o),l=a.location.nativeElement;return r.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new wx([[l]],a.hostView,a)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(e=>{e!==t&&"SCRIPT"!==e.nodeName&&(this._ariaHiddenValues.set(e,e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const e=this._modalRefs.indexOf(t);e>-1&&(this._modalRefs.splice(e,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(di(Au),di(oo),di(Uu),di(xx),di(pl),di(lu))},t.\u0275prov=ut({factory:function(){return new t(di(Au),di(qs),di(Uu),di(xx),di(pl),di(lu))},token:t,providedIn:"root"}),t})(),Ox=(()=>{class t{constructor(t,e,n,i){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=i}open(t,e={}){const n=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(di(ll),di(oo),di(Ax),di(_x))},t.\u0275prov=ut({factory:function(){return new t(di(ll),di(qs),di(Ax),di(_x))},token:t,providedIn:"root"}),t})(),Dx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[Ox]}),t})(),Rx=(()=>{class t{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Px=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),t})(),Mx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationFirst",""]]}),t})(),Lx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationLast",""]]}),t})(),Fx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationNext",""]]}),t})(),Ix=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationNumber",""]]}),t})(),Nx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationPrevious",""]]}),t})(),Vx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationPages",""]]}),t})(),jx=(()=>{class t{constructor(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new bc(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,e){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-2?this.pages.push(-1):e===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,e=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+(this.maxSize%2==0?n-1:n)),[t,e]}_applyPagination(){let t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]}_setPageInRange(t){const e=this.page;this.page=function(t,e,n=0){return Math.max(Math.min(t,e),n)}(t,this.pageCount,1),this.page!==e&&Yb(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Yb(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let t=0,e=this.pageCount;[t,e]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(t,e),this._applyEllipses(t,e)}}}return t.\u0275fac=function(e){return new(e||t)(To(Rx))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-pagination"]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,Px,5),Fc(n,Mx,5),Fc(n,Lx,5),Fc(n,Fx,5),Fc(n,Ix,5),Fc(n,Nx,5),Fc(n,Vx,5)),2&t){let t;Mc(t=Ic())&&(e.tplEllipsis=t.first),Mc(t=Ic())&&(e.tplFirst=t.first),Mc(t=Ic())&&(e.tplLast=t.first),Mc(t=Ic())&&(e.tplNext=t.first),Mc(t=Ic())&&(e.tplNumber=t.first),Mc(t=Ic())&&(e.tplPrevious=t.first),Mc(t=Ic())&&(e.tplPages=t.first)}},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[ae],decls:20,vars:12,consts:function(){let t,e,n,i,r,s,o,a;return t="\xAB\xAB",e="\xAB",n="\xBB",i="\xBB\xBB",r="First",s="Previous",o="Next",a="Last",[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],t,e,n,i,["class","sr-only",4,"ngIf"],[1,"sr-only"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",r,"href","",1,"page-link",3,"click"],["aria-label",s,"href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"]]},template:function(t,e){if(1&t&&(So(0,bb,2,0,"ng-template",null,0,Uc),So(2,xb,2,0,"ng-template",null,1,Uc),So(4,Cb,2,0,"ng-template",null,2,Uc),So(6,Sb,2,0,"ng-template",null,3,Uc),So(8,Eb,1,0,"ng-template",null,4,Uc),So(10,kb,2,2,"ng-template",null,5,Uc),So(12,Fb,1,1,"ng-template",null,6,Uc),Oo(14,"ul"),So(15,Vb,3,9,"li",7),So(16,Hb,3,8,"li",7),So(17,$b,0,0,"ng-template",8),So(18,Bb,3,9,"li",7),So(19,Wb,3,9,"li",7),Do()),2&t){const t=Eo(13);Zr(14),Ko("pagination"+(e.size?" pagination-"+e.size:"")),Zr(1),ko("ngIf",e.boundaryLinks),Zr(1),ko("ngIf",e.directionLinks),Zr(1),ko("ngTemplateOutlet",(null==e.tplPages?null:e.tplPages.templateRef)||t)("ngTemplateOutletContext",fc(8,Gb,e.page,e.pages,e.disabled)),Zr(1),ko("ngIf",e.directionLinks),Zr(1),ko("ngIf",e.boundaryLinks)}},directives:[$h,qh,Uh],encapsulation:2,changeDetection:0}),t})(),Ux=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh]]}),t})();new Yn("live announcer delay",{providedIn:"root",factory:function(){return 100}});class Hx{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class $x extends Hx{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class zx extends Hx{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Bx extends Hx{constructor(t){super(),this.element=t instanceof dl?t.nativeElement:t}}class qx extends class extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof $x?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof zx?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Bx?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}{}class Wx{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Gx(t,this.dueTime,this.scheduler))}}class Gx extends p{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(Yx,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 Yx(t){t.debouncedNext()}function Qx(){}function Kx(t){return null==t?Qx:function(){return this.querySelector(t)}}function Zx(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Xx(){return[]}function Jx(t){return null==t?Xx:function(){return this.querySelectorAll(t)}}function tC(t){return function(){return this.matches(t)}}function eC(t){return function(e){return e.matches(t)}}var nC=Array.prototype.find;function iC(){return this.firstElementChild}var rC=Array.prototype.filter;function sC(){return this.children}function oC(t){return new Array(t.length)}function aC(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function lC(t){return function(){return t}}function cC(t,e,n,i,r,s){for(var o,a=0,l=e.length,c=s.length;a<c;++a)(o=e[a])?(o.__data__=s[a],i[a]=o):n[a]=new aC(t,s[a]);for(;a<l;++a)(o=e[a])&&(r[a]=o)}function uC(t,e,n,i,r,s,o){var a,l,c,u=new Map,h=e.length,d=s.length,f=new Array(h);for(a=0;a<h;++a)(l=e[a])&&(f[a]=c=o.call(l,l.__data__,a,e)+"",u.has(c)?r[a]=l:u.set(c,l));for(a=0;a<d;++a)c=o.call(t,s[a],a,s)+"",(l=u.get(c))?(i[a]=l,l.__data__=s[a],u.delete(c)):n[a]=new aC(t,s[a]);for(a=0;a<h;++a)(l=e[a])&&u.get(f[a])===l&&(r[a]=l)}function hC(t){return t.__data__}function dC(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}aC.prototype={constructor:aC,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 fC="http://www.w3.org/1999/xhtml";const pC={svg:"http://www.w3.org/2000/svg",xhtml:fC,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function gC(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pC.hasOwnProperty(e)?{space:pC[e],local:t}:t}function mC(t){return function(){this.removeAttribute(t)}}function yC(t){return function(){this.removeAttributeNS(t.space,t.local)}}function vC(t,e){return function(){this.setAttribute(t,e)}}function _C(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function wC(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function bC(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)}}function xC(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function CC(t){return function(){this.style.removeProperty(t)}}function SC(t,e,n){return function(){this.style.setProperty(t,e,n)}}function EC(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function TC(t,e){return t.style.getPropertyValue(e)||xC(t).getComputedStyle(t,null).getPropertyValue(e)}function kC(t){return function(){delete this[t]}}function AC(t,e){return function(){this[t]=e}}function OC(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function DC(t){return t.trim().split(/^|\s+/)}function RC(t){return t.classList||new PC(t)}function PC(t){this._node=t,this._names=DC(t.getAttribute("class")||"")}function MC(t,e){for(var n=RC(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function LC(t,e){for(var n=RC(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function FC(t){return function(){MC(this,t)}}function IC(t){return function(){LC(this,t)}}function NC(t,e){return function(){(e.apply(this,arguments)?MC:LC)(this,t)}}function VC(){this.textContent=""}function jC(t){return function(){this.textContent=t}}function UC(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function HC(){this.innerHTML=""}function $C(t){return function(){this.innerHTML=t}}function zC(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function BC(){this.nextSibling&&this.parentNode.appendChild(this)}function qC(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function WC(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===fC&&e.documentElement.namespaceURI===fC?e.createElement(t):e.createElementNS(n,t)}}function GC(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function YC(t){var e=gC(t);return(e.local?GC:WC)(e)}function QC(){return null}function KC(){var t=this.parentNode;t&&t.removeChild(this)}function ZC(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function XC(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function JC(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 tS(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,s=e.length;i<s;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function eS(t,e,n){return function(){var i,r=this.__on,s=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(r)for(var o=0,a=r.length;o<a;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),void(i.value=e);this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function nS(t,e,n){var i=xC(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function iS(t,e){return function(){return nS(this,t,e)}}function rS(t,e){return function(){return nS(this,t,e.apply(this,arguments))}}PC.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var sS=[null];function oS(t,e){this._groups=t,this._parents=e}function aS(){return new oS([[document.documentElement]],sS)}oS.prototype=aS.prototype={constructor:oS,select:function(t){"function"!=typeof t&&(t=Kx(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o,a=e[r],l=a.length,c=i[r]=new Array(l),u=0;u<l;++u)(s=a[u])&&(o=t.call(s,s.__data__,u,a))&&("__data__"in s&&(o.__data__=s.__data__),c[u]=o);return new oS(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:Zx(e)}}(t):Jx(t);for(var e=this._groups,n=e.length,i=[],r=[],s=0;s<n;++s)for(var o,a=e[s],l=a.length,c=0;c<l;++c)(o=a[c])&&(i.push(t.call(o,o.__data__,c,a)),r.push(o));return new oS(i,r)},selectChild:function(t){return this.select(null==t?iC:function(t){return function(){return nC.call(this.children,t)}}("function"==typeof t?t:eC(t)))},selectChildren:function(t){return this.selectAll(null==t?sC:function(t){return function(){return rC.call(this.children,t)}}("function"==typeof t?t:eC(t)))},filter:function(t){"function"!=typeof t&&(t=tC(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,l=i[r]=[],c=0;c<a;++c)(s=o[c])&&t.call(s,s.__data__,c,o)&&l.push(s);return new oS(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,hC);var n=e?uC:cC,i=this._parents,r=this._groups;"function"!=typeof t&&(t=lC(t));for(var s=r.length,o=new Array(s),a=new Array(s),l=new Array(s),c=0;c<s;++c){var u=i[c],h=r[c],d=h.length,f=Zx(t.call(u,u&&u.__data__,c,i)),p=f.length,g=a[c]=new Array(p),m=o[c]=new Array(p),y=l[c]=new Array(d);n(u,h,g,m,y,f,e);for(var v,_,w=0,b=0;w<p;++w)if(v=g[w]){for(w>=b&&(b=w+1);!(_=m[b])&&++b<p;);v._next=_||null}}return(o=new oS(o,i))._enter=a,o._exit=l,o},enter:function(){return new oS(this._enter||this._groups.map(oC),this._parents)},exit:function(){return new oS(this._exit||this._groups.map(oC),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,s=this.exit();return i="function"==typeof t?t(i):i.append(t+""),null!=e&&(r=e(r)),null==n?s.remove():n(s),i&&r?i.merge(r).order():r},merge:function(t){if(!(t instanceof oS))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,l=e[o],c=n[o],u=l.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)s[o]=e[o];return new oS(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],s=r.length-1,o=r[s];--s>=0;)(i=r[s])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=dC);for(var n=this._groups,i=n.length,r=new Array(i),s=0;s<i;++s){for(var o,a=n[s],l=a.length,c=r[s]=new Array(l),u=0;u<l;++u)(o=a[u])&&(c[u]=o);c.sort(e)}return new oS(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,s=i.length;r<s;++r){var o=i[r];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,s=e[n],o=0,a=s.length;o<a;++o)(r=s[o])&&t.call(r,r.__data__,o,s);return this},attr:function(t,e){var n=gC(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?yC:mC:"function"==typeof e?n.local?bC:wC:n.local?_C:vC)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?CC:"function"==typeof e?EC:SC)(t,e,null==n?"":n)):TC(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?kC:"function"==typeof e?OC:AC)(t,e)):this.node()[t]},classed:function(t,e){var n=DC(t+"");if(arguments.length<2){for(var i=RC(this.node()),r=-1,s=n.length;++r<s;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?NC:e?FC:IC)(n,e))},text:function(t){return arguments.length?this.each(null==t?VC:("function"==typeof t?UC:jC)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?HC:("function"==typeof t?zC:$C)(t)):this.node().innerHTML},raise:function(){return this.each(BC)},lower:function(){return this.each(qC)},append:function(t){var e="function"==typeof t?t:YC(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:YC(t),i=null==e?QC:"function"==typeof e?e:Kx(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(KC)},clone:function(t){return this.select(t?XC:ZC)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,r,s=JC(t+""),o=s.length;if(!(arguments.length<2)){for(a=e?eS:tS,i=0;i<o;++i)this.each(a(s[i],e,n));return this}var a=this.node().__on;if(a)for(var l,c=0,u=a.length;c<u;++c)for(i=0,l=a[c];i<o;++i)if((r=s[i]).type===l.type&&r.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?rS:iS)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],s=0,o=r.length;s<o;++s)(i=r[s])&&(yield i)}};const lS=aS;function cS(t){return"string"==typeof t?new oS([[document.querySelector(t)]],[document.documentElement]):new oS([[t]],sS)}var uS={value:()=>{}};function hS(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new dS(i)}function dS(t){this._=t}function fS(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function pS(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function gS(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=uS,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}dS.prototype=hS.prototype={constructor:dS,on:function(t,e){var n,i=this._,r=fS(t+"",i),s=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<o;)if(n=(t=r[s]).type)i[n]=gS(i[n],t.name,e);else if(null==e)for(n in i)i[n]=gS(i[n],t.name,null);return this}for(;++s<o;)if((n=(t=r[s]).type)&&(n=pS(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new dS(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),s=0;s<n;++s)r[s]=arguments[s+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=0,n=(i=this._[t]).length;s<n;++s)i[s].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,s=i.length;r<s;++r)i[r].value.apply(e,n)}};const mS=hS;function yS(t){t.preventDefault(),t.stopImmediatePropagation()}function vS(t){var e=t.document.documentElement,n=cS(t).on("dragstart.drag",yS,!0);"onselectstart"in e?n.on("selectstart.drag",yS,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function _S(t,e){var n=t.document.documentElement,i=cS(t).on("dragstart.drag",null);e&&(i.on("click.drag",yS,!0),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function wS(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function bS(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function xS(){}var CS=.7,SS=1/CS,ES="\\s*([+-]?\\d+)\\s*",TS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",kS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",AS=/^#([0-9a-f]{3,8})$/,OS=new RegExp("^rgb\\("+[ES,ES,ES]+"\\)$"),DS=new RegExp("^rgb\\("+[kS,kS,kS]+"\\)$"),RS=new RegExp("^rgba\\("+[ES,ES,ES,TS]+"\\)$"),PS=new RegExp("^rgba\\("+[kS,kS,kS,TS]+"\\)$"),MS=new RegExp("^hsl\\("+[TS,kS,kS]+"\\)$"),LS=new RegExp("^hsla\\("+[TS,kS,kS,TS]+"\\)$"),FS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function IS(){return this.rgb().formatHex()}function NS(){return this.rgb().formatRgb()}function VS(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=AS.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?jS(e):3===n?new zS(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?US(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?US(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=OS.exec(t))?new zS(e[1],e[2],e[3],1):(e=DS.exec(t))?new zS(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=RS.exec(t))?US(e[1],e[2],e[3],e[4]):(e=PS.exec(t))?US(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=MS.exec(t))?GS(e[1],e[2]/100,e[3]/100,1):(e=LS.exec(t))?GS(e[1],e[2]/100,e[3]/100,e[4]):FS.hasOwnProperty(t)?jS(FS[t]):"transparent"===t?new zS(NaN,NaN,NaN,0):null}function jS(t){return new zS(t>>16&255,t>>8&255,255&t,1)}function US(t,e,n,i){return i<=0&&(t=e=n=NaN),new zS(t,e,n,i)}function HS(t){return t instanceof xS||(t=VS(t)),t?new zS((t=t.rgb()).r,t.g,t.b,t.opacity):new zS}function $S(t,e,n,i){return 1===arguments.length?HS(t):new zS(t,e,n,null==i?1:i)}function zS(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function BS(){return"#"+WS(this.r)+WS(this.g)+WS(this.b)}function qS(){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 WS(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function GS(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new QS(t,e,n,i)}function YS(t){if(t instanceof QS)return new QS(t.h,t.s,t.l,t.opacity);if(t instanceof xS||(t=VS(t)),!t)return new QS;if(t instanceof QS)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),s=Math.max(e,n,i),o=NaN,a=s-r,l=(s+r)/2;return a?(o=e===s?(n-i)/a+6*(n<i):n===s?(i-e)/a+2:(e-n)/a+4,a/=l<.5?s+r:2-s-r,o*=60):a=l>0&&l<1?0:o,new QS(o,a,l,t.opacity)}function QS(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function KS(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 ZS(t,e,n,i,r){var s=t*t,o=s*t;return((1-3*t+3*s-o)*e+(4-6*s+3*o)*n+(1+3*t+3*s-3*o)*i+o*r)/6}wS(xS,VS,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:IS,formatHex:IS,formatHsl:function(){return YS(this).formatHsl()},formatRgb:NS,toString:NS}),wS(zS,$S,bS(xS,{brighter:function(t){return t=null==t?SS:Math.pow(SS,t),new zS(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?CS:Math.pow(CS,t),new zS(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:BS,formatHex:BS,formatRgb:qS,toString:qS})),wS(QS,function(t,e,n,i){return 1===arguments.length?YS(t):new QS(t,e,n,null==i?1:i)},bS(xS,{brighter:function(t){return t=null==t?SS:Math.pow(SS,t),new QS(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?CS:Math.pow(CS,t),new QS(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,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new zS(KS(t>=240?t-240:t+120,r,i),KS(t,r,i),KS(t<120?t+240:t-120,r,i),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+")")}}));const XS=t=>()=>t;function JS(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):XS(isNaN(t)?e:t)}const tE=function t(e){var n=function(t){return 1==(t=+t)?JS: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(i){return Math.pow(t+i*e,n)}}(e,n,t):XS(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=$S(t)).r,(e=$S(e)).r),r=n(t.g,e.g),s=n(t.b,e.b),o=JS(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=s(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function eE(t){return function(e){var n,i,r=e.length,s=new Array(r),o=new Array(r),a=new Array(r);for(n=0;n<r;++n)i=$S(e[n]),s[n]=i.r||0,o[n]=i.g||0,a[n]=i.b||0;return s=t(s),o=t(o),a=t(a),i.opacity=1,function(t){return i.r=s(t),i.g=o(t),i.b=a(t),i+""}}}function nE(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,s=new Array(r),o=new Array(i);for(n=0;n<r;++n)s[n]=uE(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=s[n](t);return o}}function iE(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function rE(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function sE(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=uE(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}eE(function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],s=t[i+1];return ZS((n-i/e)*e,i>0?t[i-1]:2*r-s,r,s,i<e-1?t[i+2]:2*s-r)}}),eE(function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e);return ZS((n-i/e)*e,t[(i+e-1)%e],t[i%e],t[(i+1)%e],t[(i+2)%e])}});var oE=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,aE=new RegExp(oE.source,"g");function lE(t,e){var n,i,r,s=oE.lastIndex=aE.lastIndex=0,o=-1,a=[],l=[];for(t+="",e+="";(n=oE.exec(t))&&(i=aE.exec(e));)(r=i.index)>s&&(r=e.slice(s,r),a[o]?a[o]+=r:a[++o]=r),(n=n[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,l.push({i:o,x:rE(n,i)})),s=aE.lastIndex;return s<e.length&&(r=e.slice(s),a[o]?a[o]+=r:a[++o]=r),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,i=0;i<e;++i)a[(n=l[i]).i]=n.x(t);return a.join("")})}function cE(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(s){for(n=0;n<i;++n)r[n]=t[n]*(1-s)+e[n]*s;return r}}function uE(t,e){var n,i,r=typeof e;return null==e||"boolean"===r?XS(e):("number"===r?rE:"string"===r?(n=VS(e))?(e=n,tE):lE:e instanceof VS?tE:e instanceof Date?iE:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?nE:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?sE:rE:cE))(t,e)}function hE(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}var dE,fE,pE=0,gE=0,mE=0,yE=0,vE=0,_E=0,wE="object"==typeof performance&&performance.now?performance:Date,bE="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function xE(){return vE||(bE(CE),vE=wE.now()+_E)}function CE(){vE=0}function SE(){this._call=this._time=this._next=null}function EE(t,e,n){var i=new SE;return i.restart(t,e,n),i}function TE(){vE=(yE=wE.now())+_E,pE=gE=0;try{!function(){xE(),++pE;for(var t,e=dE;e;)(t=vE-e._time)>=0&&e._call.call(null,t),e=e._next;--pE}()}finally{pE=0,function(){for(var t,e,n=dE,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:dE=e);fE=t,AE(i)}(),vE=0}}function kE(){var t=wE.now(),e=t-yE;e>1e3&&(_E-=e,yE=t)}function AE(t){pE||(gE&&(gE=clearTimeout(gE)),t-vE>24?(t<1/0&&(gE=setTimeout(TE,t-wE.now()-_E)),mE&&(mE=clearInterval(mE))):(mE||(yE=wE.now(),mE=setInterval(kE,1e3)),pE=1,bE(TE)))}function OE(t,e,n){var i=new SE;return i.restart(n=>{i.stop(),t(n+e)},e=null==e?0:+e,n),i}SE.prototype=EE.prototype={constructor:SE,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?xE():+n)+(null==e?0:+e),this._next||fE===this||(fE?fE._next=this:dE=this,fE=this),this._call=t,this._time=n,AE()},stop:function(){this._call&&(this._call=null,this._time=1/0,AE())}};var DE=mS("start","end","cancel","interrupt"),RE=[];function PE(t,e,n,i,r,s){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,r=t.__transition;function s(l){var c,u,h,d;if(1!==n.state)return a();for(c in r)if((d=r[c]).name===n.name){if(3===d.state)return OE(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[c])}if(OE(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(l))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,i=new Array(h=n.tween.length),c=0,u=-1;c<h;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(i[++u]=d);i.length=u+1}}function o(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(a),n.state=5,1),s=-1,o=i.length;++s<o;)i[s].call(t,r);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){for(var i in n.state=6,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=EE(function(t){n.state=1,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)},0,n.time)}(t,n,{name:e,index:i,group:r,on:DE,tween:RE,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:0})}function ME(t,e){var n=FE(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function LE(t,e){var n=FE(t,e);if(n.state>3)throw new Error("too late; already running");return n}function FE(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function IE(t,e){var n,i,r,s=t.__transition,o=!0;if(s){for(r in e=null==e?null:e+"",s)(n=s[r]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete s[r]):o=!1;o&&delete t.__transition}}var NE,VE=180/Math.PI,jE={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function UE(t,e,n,i,r,s){var o,a,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,o=-o),{translateX:r,translateY:s,rotate:Math.atan2(e,t)*VE,skewX:Math.atan(l)*VE,scaleX:o,scaleY:a}}function HE(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}return function(s,o){var a=[],l=[];return s=t(s),o=t(o),function(t,i,r,s,o,a){if(t!==r||i!==s){var l=o.push("translate(",null,e,null,n);a.push({i:l-4,x:rE(t,r)},{i:l-2,x:rE(i,s)})}else(r||s)&&o.push("translate("+r+e+s+n)}(s.translateX,s.translateY,o.translateX,o.translateY,a,l),function(t,e,n,s){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),s.push({i:n.push(r(n)+"rotate(",null,i)-2,x:rE(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}(s.rotate,o.rotate,a,l),function(t,e,n,s){t!==e?s.push({i:n.push(r(n)+"skewX(",null,i)-2,x:rE(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}(s.skewX,o.skewX,a,l),function(t,e,n,i,s,o){if(t!==n||e!==i){var a=s.push(r(s)+"scale(",null,",",null,")");o.push({i:a-4,x:rE(t,n)},{i:a-2,x:rE(e,i)})}else 1===n&&1===i||s.push(r(s)+"scale("+n+","+i+")")}(s.scaleX,s.scaleY,o.scaleX,o.scaleY,a,l),s=o=null,function(t){for(var e,n=-1,i=l.length;++n<i;)a[(e=l[n]).i]=e.x(t);return a.join("")}}}var $E=HE(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?jE:UE(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),zE=HE(function(t){return null==t?jE:(NE||(NE=document.createElementNS("http://www.w3.org/2000/svg","g")),NE.setAttribute("transform",t),(t=NE.transform.baseVal.consolidate())?UE((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):jE)},", ",")",")");function BE(t,e){var n,i;return function(){var r=LE(this,t),s=r.tween;if(s!==n)for(var o=0,a=(i=n=s).length;o<a;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function qE(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var s=LE(this,t),o=s.tween;if(o!==i){r=(i=o).slice();for(var a={name:e,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===e){r[l]=a;break}l===c&&r.push(a)}s.tween=r}}function WE(t,e,n){var i=t._id;return t.each(function(){var t=LE(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return FE(t,i).value[e]}}function GE(t,e){var n;return("number"==typeof e?rE:e instanceof VS?tE:(n=VS(e))?(e=n,tE):lE)(t,e)}function YE(t){return function(){this.removeAttribute(t)}}function QE(t){return function(){this.removeAttributeNS(t.space,t.local)}}function KE(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttribute(t);return o===s?null:o===i?r:r=e(i=o,n)}}function ZE(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===s?null:o===i?r:r=e(i=o,n)}}function XE(t,e,n){var i,r,s;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttribute(t))===(a=l+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,l));this.removeAttribute(t)}}function JE(t,e,n){var i,r,s;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,l));this.removeAttributeNS(t.space,t.local)}}function tT(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function eT(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function nT(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&eT(t,r)),n}return r._value=e,r}function iT(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&tT(t,r)),n}return r._value=e,r}function rT(t,e){return function(){ME(this,t).delay=+e.apply(this,arguments)}}function sT(t,e){return e=+e,function(){ME(this,t).delay=e}}function oT(t,e){return function(){LE(this,t).duration=+e.apply(this,arguments)}}function aT(t,e){return e=+e,function(){LE(this,t).duration=e}}function lT(t,e){if("function"!=typeof e)throw new Error;return function(){LE(this,t).ease=e}}function cT(t,e,n){var i,r,s=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?ME:LE;return function(){var o=s(this,t),a=o.on;a!==i&&(r=(i=a).copy()).on(e,n),o.on=r}}var uT=lS.prototype.constructor;function hT(t){return function(){this.style.removeProperty(t)}}function dT(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function fT(t,e,n){var i,r;function s(){var s=e.apply(this,arguments);return s!==r&&(i=(r=s)&&dT(t,s,n)),i}return s._value=e,s}function pT(t){return function(e){this.textContent=t.call(this,e)}}function gT(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&pT(i)),e}return i._value=t,i}var mT=0;function yT(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function vT(){return++mT}var _T=lS.prototype;yT.prototype=(function(t){return lS().transition(t)}).prototype={constructor:yT,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Kx(t));for(var i=this._groups,r=i.length,s=new Array(r),o=0;o<r;++o)for(var a,l,c=i[o],u=c.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=c[d])&&(l=t.call(a,a.__data__,d,c))&&("__data__"in a&&(l.__data__=a.__data__),h[d]=l,PE(h[d],e,n,d,h,FE(a,n)));return new yT(s,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Jx(t));for(var i=this._groups,r=i.length,s=[],o=[],a=0;a<r;++a)for(var l,c=i[a],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,f=t.call(l,l.__data__,h,c),p=FE(l,n),g=0,m=f.length;g<m;++g)(d=f[g])&&PE(d,e,n,g,f,p);s.push(f),o.push(l)}return new yT(s,o,e,n)},filter:function(t){"function"!=typeof t&&(t=tC(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,l=i[r]=[],c=0;c<a;++c)(s=o[c])&&t.call(s,s.__data__,c,o)&&l.push(s);return new yT(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,l=e[o],c=n[o],u=l.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)s[o]=e[o];return new yT(s,this._parents,this._name,this._id)},selection:function(){return new uT(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=vT(),i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],l=a.length,c=0;c<l;++c)if(o=a[c]){var u=FE(o,e);PE(o,t,n,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new yT(i,this._parents,t,n)},call:_T.call,nodes:_T.nodes,node:_T.node,size:_T.size,empty:_T.empty,each:_T.each,on:function(t,e){var n=this._id;return arguments.length<2?FE(this.node(),n).on.on(t):this.each(cT(n,t,e))},attr:function(t,e){var n=gC(t),i="transform"===n?zE:GE;return this.attrTween(t,"function"==typeof e?(n.local?JE:XE)(n,i,WE(this,"attr."+t,e)):null==e?(n.local?QE:YE)(n):(n.local?ZE:KE)(n,i,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=gC(t);return this.tween(n,(i.local?nT:iT)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?$E:GE;return null==e?this.styleTween(t,function(t,e){var n,i,r;return function(){var s=TC(this,t),o=(this.style.removeProperty(t),TC(this,t));return s===o?null:s===n&&o===i?r:r=e(n=s,i=o)}}(t,i)).on("end.style."+t,hT(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,r,s;return function(){var o=TC(this,t),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=TC(this,t)),o===l?null:o===i&&l===r?s:(r=l,s=e(i=o,a))}}(t,i,WE(this,"style."+t,e))).each(function(t,e){var n,i,r,s,o="style."+e,a="end."+o;return function(){var l=LE(this,t),c=l.on,u=null==l.value[o]?s||(s=hT(e)):void 0;c===n&&r===u||(i=(n=c).copy()).on(a,r=u),l.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,r,s=n+"";return function(){var o=TC(this,t);return o===s?null:o===i?r:r=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,fT(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(WE(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,gT(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=FE(this.node(),n).tween,s=0,o=r.length;s<o;++s)if((i=r[s]).name===t)return i.value;return null}return this.each((null==e?BE:qE)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?rT:sT)(e,t)):FE(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?oT:aT)(e,t)):FE(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(lT(e,t)):FE(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;LE(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(s,o){var a={value:o},l={value:function(){0==--r&&s()}};n.each(function(){var n=LE(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e}),0===r&&s()})},[Symbol.iterator]:_T[Symbol.iterator]};var wT={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function bT(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}lS.prototype.interrupt=function(t){return this.each(function(){IE(this,t)})},lS.prototype.transition=function(t){var e,n;t instanceof yT?(e=t._id,t=t._name):(e=vT(),(n=wT).time=xE(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],l=a.length,c=0;c<l;++c)(o=a[c])&&PE(o,t,e,c,a,n||bT(o,e));return new yT(i,this._parents,t,e)};const xT=t=>()=>t;function CT(t,{sourceEvent:e,target:n,selection:i,mode:r,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:r,enumerable:!0,configurable:!0},_:{value:s}})}function ST(t){t.stopImmediatePropagation()}function ET(t){t.preventDefault(),t.stopImmediatePropagation()}var TT={name:"drag"},kT={name:"space"},AT={name:"handle"},OT={name:"center"};const{abs:DT,max:RT,min:PT}=Math;function MT(t){return[+t[0],+t[1]]}function LT(t){return[MT(t[0]),MT(t[1])]}var FT={name:"x",handles:["w","e"].map($T),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]]}},IT={name:"y",handles:["n","s"].map($T),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]]}},NT=(["n","w","e","s","nw","ne","sw","se"].map($T),{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"}),VT={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},jT={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},UT={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},HT={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function $T(t){return{type:t}}function zT(t){return!t.ctrlKey&&!t.button}function BT(){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 qT(){return navigator.maxTouchPoints||"ontouchstart"in this}function WT(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function GT(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function YT(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function QT(t){let e=t,n=t;function i(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)<0?i=s+1:r=s}return i}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>YT(t(e),n)}(t)),{left:i,center:function(t,n,r,s){null==r&&(r=0),null==s&&(s=t.length);const o=i(t,n,r,s-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)>0?r=s:i=s+1}return i}}}var KT=Math.sqrt(50),ZT=Math.sqrt(10),XT=Math.sqrt(2);function JT(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),s=i/Math.pow(10,r);return r>=0?(s>=KT?10:s>=ZT?5:s>=XT?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(s>=KT?10:s>=ZT?5:s>=XT?2:1)}function tk(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),s=i/r;return s>=KT?r*=10:s>=ZT?r*=5:s>=XT&&(r*=2),e<t?-r:r}const ek=1e3,nk=6e4,ik=36e5,rk=864e5,sk=6048e5,ok=31536e6;var ak=new Date,lk=new Date;function ck(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,s){var o,a=[];if(n=r.ceil(n),s=null==s?1:Math.floor(s),!(n<i&&s>0))return a;do{a.push(o=new Date(+n)),e(n,s),t(n)}while(o<n&&n<i);return a},r.filter=function(n){return ck(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return ak.setTime(+e),lk.setTime(+i),t(ak),t(lk),Math.floor(n(ak,lk))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var uk=ck(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});uk.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ck(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):uk:null};const hk=uk,dk=ck(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*ek)},function(t,e){return(e-t)/ek},function(t){return t.getUTCSeconds()}),fk=ck(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ek)},function(t,e){t.setTime(+t+e*nk)},function(t,e){return(e-t)/nk},function(t){return t.getMinutes()}),pk=ck(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ek-t.getMinutes()*nk)},function(t,e){t.setTime(+t+e*ik)},function(t,e){return(e-t)/ik},function(t){return t.getHours()}),gk=ck(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nk)/rk,t=>t.getDate()-1);function mk(t){return ck(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-(e.getTimezoneOffset()-t.getTimezoneOffset())*nk)/sk})}var yk=mk(0),vk=mk(1),_k=(mk(2),mk(3),mk(4));const wk=(mk(5),mk(6),ck(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()}));var bk=ck(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()});bk.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ck(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};const xk=bk,Ck=ck(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*nk)},function(t,e){return(e-t)/nk},function(t){return t.getUTCMinutes()}),Sk=ck(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*ik)},function(t,e){return(e-t)/ik},function(t){return t.getUTCHours()}),Ek=ck(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/rk},function(t){return t.getUTCDate()-1});function Tk(t){return ck(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)/sk})}var kk=Tk(0),Ak=Tk(1),Ok=(Tk(2),Tk(3),Tk(4));const Dk=(Tk(5),Tk(6),ck(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}));var Rk=ck(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()});Rk.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ck(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};const Pk=Rk;function Mk(t,e,n,i,r,s){const o=[[dk,1,ek],[dk,5,5e3],[dk,15,15e3],[dk,30,3e4],[s,1,nk],[s,5,3e5],[s,15,9e5],[s,30,18e5],[r,1,ik],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,rk],[i,2,1728e5],[n,1,sk],[e,1,2592e6],[e,3,7776e6],[t,1,ok]];function a(e,n,i){const r=Math.abs(n-e)/i,s=QT(([,,t])=>t).right(o,r);if(s===o.length)return t.every(tk(e/ok,n/ok,i));if(0===s)return hk.every(Math.max(tk(e,n,i),1));const[a,l]=o[r/o[s-1][2]<o[s][2]/r?s-1:s];return a.every(l)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:a(t,e,n),s=r?r.range(t,+e+1):[];return i?s.reverse():s},a]}const[Lk,Fk]=Mk(Pk,Dk,kk,Ek,Sk,Ck),[Ik,Nk]=Mk(xk,wk,yk,gk,pk,fk);function Vk(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 jk(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 Uk(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Hk,$k,zk={"-":"",_:" ",0:"0"},Bk=/^\s*\d+/,qk=/^%/,Wk=/[\\^$*+?|[\]().{}]/g;function Gk(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",s=r.length;return i+(s<n?new Array(n-s+1).join(e)+r:r)}function Yk(t){return t.replace(Wk,"\\$&")}function Qk(t){return new RegExp("^(?:"+t.map(Yk).join("|")+")","i")}function Kk(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function Zk(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function Xk(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function Jk(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function tA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function eA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function nA(t,e,n){var i=Bk.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function iA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function rA(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function sA(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function oA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function aA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function lA(t,e,n){var i=Bk.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function cA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function uA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function hA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function dA(t,e,n){var i=Bk.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function fA(t,e,n){var i=Bk.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function pA(t,e,n){var i=qk.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function gA(t,e,n){var i=Bk.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function mA(t,e,n){var i=Bk.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function yA(t,e){return Gk(t.getDate(),e,2)}function vA(t,e){return Gk(t.getHours(),e,2)}function _A(t,e){return Gk(t.getHours()%12||12,e,2)}function wA(t,e){return Gk(1+gk.count(xk(t),t),e,3)}function bA(t,e){return Gk(t.getMilliseconds(),e,3)}function xA(t,e){return bA(t,e)+"000"}function CA(t,e){return Gk(t.getMonth()+1,e,2)}function SA(t,e){return Gk(t.getMinutes(),e,2)}function EA(t,e){return Gk(t.getSeconds(),e,2)}function TA(t){var e=t.getDay();return 0===e?7:e}function kA(t,e){return Gk(yk.count(xk(t)-1,t),e,2)}function AA(t){var e=t.getDay();return e>=4||0===e?_k(t):_k.ceil(t)}function OA(t,e){return t=AA(t),Gk(_k.count(xk(t),t)+(4===xk(t).getDay()),e,2)}function DA(t){return t.getDay()}function RA(t,e){return Gk(vk.count(xk(t)-1,t),e,2)}function PA(t,e){return Gk(t.getFullYear()%100,e,2)}function MA(t,e){return Gk((t=AA(t)).getFullYear()%100,e,2)}function LA(t,e){return Gk(t.getFullYear()%1e4,e,4)}function FA(t,e){var n=t.getDay();return Gk((t=n>=4||0===n?_k(t):_k.ceil(t)).getFullYear()%1e4,e,4)}function IA(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Gk(e/60|0,"0",2)+Gk(e%60,"0",2)}function NA(t,e){return Gk(t.getUTCDate(),e,2)}function VA(t,e){return Gk(t.getUTCHours(),e,2)}function jA(t,e){return Gk(t.getUTCHours()%12||12,e,2)}function UA(t,e){return Gk(1+Ek.count(Pk(t),t),e,3)}function HA(t,e){return Gk(t.getUTCMilliseconds(),e,3)}function $A(t,e){return HA(t,e)+"000"}function zA(t,e){return Gk(t.getUTCMonth()+1,e,2)}function BA(t,e){return Gk(t.getUTCMinutes(),e,2)}function qA(t,e){return Gk(t.getUTCSeconds(),e,2)}function WA(t){var e=t.getUTCDay();return 0===e?7:e}function GA(t,e){return Gk(kk.count(Pk(t)-1,t),e,2)}function YA(t){var e=t.getUTCDay();return e>=4||0===e?Ok(t):Ok.ceil(t)}function QA(t,e){return t=YA(t),Gk(Ok.count(Pk(t),t)+(4===Pk(t).getUTCDay()),e,2)}function KA(t){return t.getUTCDay()}function ZA(t,e){return Gk(Ak.count(Pk(t)-1,t),e,2)}function XA(t,e){return Gk(t.getUTCFullYear()%100,e,2)}function JA(t,e){return Gk((t=YA(t)).getUTCFullYear()%100,e,2)}function tO(t,e){return Gk(t.getUTCFullYear()%1e4,e,4)}function eO(t,e){var n=t.getUTCDay();return Gk((t=n>=4||0===n?Ok(t):Ok.ceil(t)).getUTCFullYear()%1e4,e,4)}function nO(){return"+0000"}function iO(){return"%"}function rO(t){return+t}function sO(t){return Math.floor(+t/1e3)}function oO(t){return null===t?NaN:+t}Hk=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,s=t.days,o=t.shortDays,a=t.months,l=t.shortMonths,c=Qk(r),u=Kk(r),h=Qk(s),d=Kk(s),f=Qk(o),p=Kk(o),g=Qk(a),m=Kk(a),y=Qk(l),v=Kk(l),_={a:function(t){return o[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:yA,e:yA,f:xA,g:MA,G:FA,H:vA,I:_A,j:wA,L:bA,m:CA,M:SA,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rO,s:sO,S:EA,u:TA,U:kA,V:OA,w:DA,W:RA,x:null,X:null,y:PA,Y:LA,Z:IA,"%":iO},w={a:function(t){return o[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:NA,e:NA,f:$A,g:JA,G:eO,H:VA,I:jA,j:UA,L:HA,m:zA,M:BA,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rO,s:sO,S:qA,u:WA,U:GA,V:QA,w:KA,W:ZA,x:null,X:null,y:XA,Y:tO,Z:nO,"%":iO},b={a:function(t,e,n){var i=f.exec(e.slice(n));return i?(t.w=p.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=d.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=y.exec(e.slice(n));return i?(t.m=v.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=g.exec(e.slice(n));return i?(t.m=m.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return S(t,e,n,i)},d:aA,e:aA,f:fA,g:iA,G:nA,H:cA,I:cA,j:lA,L:dA,m:oA,M:uA,p:function(t,e,n){var i=c.exec(e.slice(n));return i?(t.p=u.get(i[0].toLowerCase()),n+i[0].length):-1},q:sA,Q:gA,s:mA,S:hA,u:Xk,U:Jk,V:tA,w:Zk,W:eA,x:function(t,e,i){return S(t,n,e,i)},X:function(t,e,n){return S(t,i,e,n)},y:iA,Y:nA,Z:rA,"%":pA};function x(t,e){return function(n){var i,r,s,o=[],a=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(o.push(t.slice(l,a)),null!=(r=zk[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(s=e[i])&&(i=s(n,r)),o.push(i),l=a+1);return o.push(t.slice(l,a)),o.join("")}}function C(t,e){return function(n){var i,r,s=Uk(1900,void 0,1);if(S(s,t,n+="",0)!=n.length)return null;if("Q"in s)return new Date(s.Q);if("s"in s)return new Date(1e3*s.s+("L"in s?s.L:0));if(e&&!("Z"in s)&&(s.Z=0),"p"in s&&(s.H=s.H%12+12*s.p),void 0===s.m&&(s.m="q"in s?s.q:0),"V"in s){if(s.V<1||s.V>53)return null;"w"in s||(s.w=1),"Z"in s?(r=(i=jk(Uk(s.y,0,1))).getUTCDay(),i=r>4||0===r?Ak.ceil(i):Ak(i),i=Ek.offset(i,7*(s.V-1)),s.y=i.getUTCFullYear(),s.m=i.getUTCMonth(),s.d=i.getUTCDate()+(s.w+6)%7):(r=(i=Vk(Uk(s.y,0,1))).getDay(),i=r>4||0===r?vk.ceil(i):vk(i),i=gk.offset(i,7*(s.V-1)),s.y=i.getFullYear(),s.m=i.getMonth(),s.d=i.getDate()+(s.w+6)%7)}else("W"in s||"U"in s)&&("w"in s||(s.w="u"in s?s.u%7:"W"in s?1:0),r="Z"in s?jk(Uk(s.y,0,1)).getUTCDay():Vk(Uk(s.y,0,1)).getDay(),s.m=0,s.d="W"in s?(s.w+6)%7+7*s.W-(r+5)%7:s.w+7*s.U-(r+6)%7);return"Z"in s?(s.H+=s.Z/100|0,s.M+=s.Z%100,jk(s)):Vk(s)}}function S(t,e,n,i){for(var r,s,o=0,a=e.length,l=n.length;o<a;){if(i>=l)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(s=b[r in zk?e.charAt(o++):r])||(i=s(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return _.x=x(n,_),_.X=x(i,_),_.c=x(e,_),w.x=x(n,w),w.X=x(i,w),w.c=x(e,w),{format:function(t){var e=x(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=C(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=C(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),$k=Hk.format;const aO=QT(YT).right,lO=(QT(oO),aO);function cO(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function uO(t){return+t}var hO=[0,1];function dO(t){return t}function fO(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function pO(t,e,n){var i=t[0],r=t[1],s=e[0],o=e[1];return r<i?(i=fO(r,i),s=n(o,s)):(i=fO(i,r),s=n(s,o)),function(t){return s(i(t))}}function gO(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),s=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=fO(t[o],t[o+1]),s[o]=n(e[o],e[o+1]);return function(e){var n=lO(t,e,1,i)-1;return s[n](r[n](e))}}function mO(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function yO(){return function(){var t,e,n,i,r,s,o=hO,a=hO,l=uE,c=dO;function u(){var t,e,n,l=Math.min(o.length,a.length);return c!==dO&&((t=o[0])>(e=o[l-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),i=l>2?gO:pO,r=s=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),a,l)))(t(c(e)))}return h.invert=function(n){return c(e((s||(s=i(a,o.map(t),rE)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,uO),u()):o.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),u()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),l=cO,u()},h.clamp=function(t){return arguments.length?(c=!!t||dO,u()):c!==dO},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,u()}}()(dO,dO)}function vO(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function _O(t){return new Date(t)}function wO(t){return t instanceof Date?+t:+new Date(+t)}function bO(t,e,n,i,r,s,o,a,l,c){var u=yO(),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),_=c("%B"),w=c("%Y");function b(t){return(l(t)<t?f:a(t)<t?p:o(t)<t?g:s(t)<t?m:i(t)<t?r(t)<t?y:v:n(t)<t?_:w)(t)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){return arguments.length?d(Array.from(t,wO)):d().map(_O)},u.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},u.tickFormat=function(t,e){return null==e?b:c(e)},u.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(function(t,e){var n,i=0,r=(t=t.slice()).length-1,s=t[i],o=t[r];return o<s&&(n=i,i=r,r=n,n=s,s=o,o=n),t[i]=e.floor(s),t[r]=e.ceil(o),t}(n,t)):u},u.copy=function(){return mO(u,bO(t,e,n,i,r,s,o,a,l,c))},u}function xO(){return vO.apply(bO(Ik,Nk,xk,wk,yk,gk,pk,fk,dk,$k).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var CO,SO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function EO(t){if(!(e=SO.exec(t)))throw new Error("invalid format: "+t);var e;return new TO({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 TO(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+""}function kO(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function AO(t){return(t=kO(Math.abs(t)))?t[1]:NaN}function OO(t,e){var n=kO(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}EO.prototype=TO.prototype,TO.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};const DO={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>OO(100*t,e),r:OO,s:function(t,e){var n=kO(t,e);if(!n)return t+"";var i=n[0],r=n[1],s=r-(CO=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return s===o?i:s>o?i+new Array(s-o+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+kO(t,Math.max(0,e+s-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function RO(t){return t}var PO,MO,LO,FO=Array.prototype.map,IO=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function NO(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var i,r,s,o,a=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(o=JT(t,e,n))||!isFinite(o))return[];if(o>0){let n=Math.round(t/o),i=Math.round(e/o);for(n*o<t&&++n,i*o>e&&--i,s=new Array(r=i-n+1);++a<r;)s[a]=(n+a)*o}else{o=-o;let n=Math.round(t*o),i=Math.round(e*o);for(n/o<t&&++n,i/o>e&&--i,s=new Array(r=i-n+1);++a<r;)s[a]=(n+a)/o}return i&&s.reverse(),s}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var r,s=tk(t,e,n);switch((i=EO(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(AO(e)/3)))-AO(Math.abs(t)))}(s,o))||(i.precision=r),LO(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,AO(e)-AO(t))+1}(s,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-AO(Math.abs(t)))}(s))||(i.precision=r-2*("%"===i.type))}return MO(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,s=e(),o=0,a=s.length-1,l=s[o],c=s[a],u=10;for(c<l&&(r=l,l=c,c=r,r=o,o=a,a=r);u-- >0;){if((r=JT(l,c,n))===i)return s[o]=l,s[a]=c,e(s);if(r>0)l=Math.floor(l/r)*r,c=Math.ceil(c/r)*r;else{if(!(r<0))break;l=Math.ceil(l*r)/r,c=Math.floor(c*r)/r}i=r}return t},t}function VO(){var t=yO();return t.copy=function(){return mO(t,VO())},vO.apply(t,arguments),NO(t)}function jO(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),s=new Array(r);++i<r;)s[i]=t+i*n;return s}PO=function(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?RO:(e=FO.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,s=[],o=0,a=e[0],l=0;r>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),s.push(t.substring(r-=a,r+a)),!((l+=a+1)>i));)a=e[o=(o+1)%e.length];return s.reverse().join(n)}),r=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?RO:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(FO.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=EO(t)).fill,n=t.align,h=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):DO[v]||(void 0===m&&(m=12),y=!0,v="g"),(f||"0"===e&&"="===n)&&(f=!0,e="0",n="=");var _="$"===d?r:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===d?s:/[%p]/.test(v)?l:"",b=DO[v],x=/[defgprs%]/.test(v);function C(t){var r,s,l,d=_,C=w;if("c"===v)C=b(t)+C,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:b(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),d=(S?"("===h?h:c:"-"===h||"("===h?"":h)+d,C=("s"===v?IO[8+CO/3]:"")+C+(S&&"("===h?")":""),x)for(r=-1,s=t.length;++r<s;)if(48>(l=t.charCodeAt(r))||l>57){C=(46===l?o+t.slice(r+1):t.slice(r))+C,t=t.slice(0,r);break}}g&&!f&&(t=i(t,1/0));var E=d.length+t.length+C.length,T=E<p?new Array(p-E+1).join(e):"";switch(g&&f&&(t=i(T+t,T.length?p-C.length:1/0),T=""),n){case"<":t=d+t+C+T;break;case"=":t=d+T+t+C;break;case"^":t=T.slice(0,E=T.length>>1)+d+t+C+T.slice(E);break;default:t=T+d+t+C}return a(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return t+""},C}return{format:h,formatPrefix:function(t,e){var n=h(((t=EO(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(AO(e)/3))),r=Math.pow(10,-i),s=IO[8+i/3];return function(t){return n(r*t)+s}}}}({thousands:",",grouping:[3],currency:["$",""]}),MO=PO.format,LO=PO.formatPrefix;const UO=Symbol("implicit");function HO(){var t=new Map,e=[],n=[],i=UO;function r(r){var s=r+"",o=t.get(s);if(!o){if(i!==UO)return i;t.set(s,o=e.push(r))}return n[(o-1)%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const i of n){const n=i+"";t.has(n)||t.set(n,e.push(i))}return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return HO(e,n).unknown(i)},vO.apply(r,arguments),r}function $O(){var t,e,n=HO().unknown(void 0),i=n.domain,r=n.range,s=0,o=1,a=!1,l=0,c=0,u=.5;function h(){var n=i().length,h=o<s,d=h?o:s,f=h?s:o;t=(f-d)/Math.max(1,n-l+2*c),a&&(t=Math.floor(t)),d+=(f-d-t*(n-l))*u,e=t*(1-l),a&&(d=Math.round(d),e=Math.round(e));var p=jO(n).map(function(e){return d+t*e});return r(h?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),h()):i()},n.range=function(t){return arguments.length?([s,o]=t,s=+s,o=+o,h()):[s,o]},n.rangeRound=function(t){return[s,o]=t,s=+s,o=+o,a=!0,h()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,h()):a},n.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),h()):l},n.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),h()):l},n.paddingOuter=function(t){return arguments.length?(c=+t,h()):c},n.align=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),h()):u},n.copy=function(){return $O(i(),[s,o]).round(a).paddingInner(l).paddingOuter(c).align(u)},vO.apply(h(),arguments)}function zO(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return zO(e())},t}function BO(){return zO($O.apply(null,arguments).paddingInner(1))}function qO(t,e,n=oO){if(i=t.length){if((e=+e)<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,s=Math.floor(r),o=+n(t[s],s,t);return o+(+n(t[s+1],s+1,t)-o)*(r-s)}}function WO(){var t,e=[],n=[],i=[];function r(){var t=0,r=Math.max(1,n.length);for(i=new Array(r-1);++t<r;)i[t-1]=qO(e,t/r);return s}function s(e){return null==e||isNaN(e=+e)?t:n[lO(i,e)]}return s.invertExtent=function(t){var r=n.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:e[0],r<i.length?i[r]:e[e.length-1]]},s.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(YT),r()},s.range=function(t){return arguments.length?(n=Array.from(t),r()):n.slice()},s.unknown=function(e){return arguments.length?(t=e,s):t},s.quantiles=function(){return i.slice()},s.copy=function(){return WO().domain(e).range(n).unknown(t)},vO.apply(s,arguments)}function GO(t){this._context=t}function YO(t){return new GO(t)}GO.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(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;default:this._context.lineTo(t,e)}}};const QO=Math.PI,KO=2*QO,ZO=1e-6,XO=KO-ZO;function JO(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tD(){return new JO}JO.prototype=tD.prototype={constructor:JO,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){var s=this._x1,o=this._y1,a=(n=+n)-(t=+t),l=(i=+i)-(e=+e),c=s-t,u=o-e,h=c*c+u*u;if((r=+r)<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>ZO)if(Math.abs(u*a-l*c)>ZO&&r){var d=n-s,f=i-o,p=a*a+l*l,g=d*d+f*f,m=Math.sqrt(p),y=Math.sqrt(h),v=r*Math.tan((QO-Math.acos((p+h-g)/(2*m*y)))/2),_=v/y,w=v/m;Math.abs(_-1)>ZO&&(this._+="L"+(t+_*c)+","+(e+_*u)),this._+="A"+r+","+r+",0,0,"+ +(u*d>c*f)+","+(this._x1=t+w*a)+","+(this._y1=e+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,s){t=+t,e=+e,s=!!s;var o=(n=+n)*Math.cos(i),a=n*Math.sin(i),l=t+o,c=e+a,u=1^s,h=s?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>ZO||Math.abs(this._y1-c)>ZO)&&(this._+="L"+l+","+c),n&&(h<0&&(h=h%KO+KO),h>XO?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-a)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>ZO&&(this._+="A"+n+","+n+",0,"+ +(h>=QO)+","+u+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};const eD=tD;function nD(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function iD(t){return function(){return t}}function rD(t){return t[0]}function sD(t){return t[1]}function oD(t,e){var n=iD(!0),i=null,r=YO,s=null;function o(o){var a,l,c,u=(o=nD(o)).length,h=!1;for(null==i&&(s=r(c=eD())),a=0;a<=u;++a)!(a<u&&n(l=o[a],a,o))===h&&((h=!h)?s.lineStart():s.lineEnd()),h&&s.point(+t(l,a,o),+e(l,a,o));if(c)return s=null,c+""||null}return t="function"==typeof t?t:void 0===t?rD:iD(t),e="function"==typeof e?e:void 0===e?sD:iD(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:iD(!!t),o):n},o.curve=function(t){return arguments.length?(r=t,null!=i&&(s=r(i)),o):r},o.context=function(t){return arguments.length?(null==t?i=s=null:s=r(i=t),o):i},o}function aD(t,e,n){var i=null,r=iD(!0),s=null,o=YO,a=null;function l(l){var c,u,h,d,f,p=(l=nD(l)).length,g=!1,m=new Array(p),y=new Array(p);for(null==s&&(a=o(f=eD())),c=0;c<=p;++c){if(!(c<p&&r(d=l[c],c,l))===g)if(g=!g)u=c,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),h=c-1;h>=u;--h)a.point(m[h],y[h]);a.lineEnd(),a.areaEnd()}g&&(m[c]=+t(d,c,l),y[c]=+e(d,c,l),a.point(i?+i(d,c,l):m[c],n?+n(d,c,l):y[c]))}if(f)return a=null,f+""||null}function c(){return oD().defined(r).curve(o).context(s)}return t="function"==typeof t?t:void 0===t?rD:iD(+t),e="function"==typeof e?e:iD(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?sD:iD(+n),l.x=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),i=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),l):t},l.x1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:iD(+t),l):i},l.y=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),n=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),l):e},l.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:iD(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(e)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(i).y(e)},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:iD(!!t),l):r},l.curve=function(t){return arguments.length?(o=t,null!=s&&(a=o(s)),l):o},l.context=function(t){return arguments.length?(null==t?s=a=null:a=o(s=t),l):s},l}function lD(){}function cD(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 uD(t,e){this._context=t,this._k=(1-e)/6}function hD(t,e){this._context=t,this._k=(1-e)/6}function dD(t){this._curve=t}function fD(t,e,n,i,r){for(var s,o=t.children,a=-1,l=o.length,c=t.value&&(i-e)/t.value;++a<l;)(s=o[a]).y0=n,s.y1=r,s.x0=e,s.x1=e+=s.value*c}function pD(t,e,n,i,r){for(var s,o=t.children,a=-1,l=o.length,c=t.value&&(r-n)/t.value;++a<l;)(s=o[a]).x0=e,s.x1=i,s.y0=n,s.y1=n+=s.value*c}function gD(t){var e=0,n=t.children,i=n&&n.length;if(i)for(;--i>=0;)e+=n[i].value;else e=1;t.value=e}function mD(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=vD)):void 0===e&&(e=yD);for(var n,i,r,s,o,a=new bD(t),l=[a];n=l.pop();)if((r=e(n.data))&&(o=(r=Array.from(r)).length))for(n.children=r,s=o-1;s>=0;--s)l.push(i=r[s]=new bD(r[s])),i.parent=n,i.depth=n.depth+1;return a.eachBefore(wD)}function yD(t){return t.children}function vD(t){return Array.isArray(t)?t[1]:null}function _D(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function wD(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function bD(t){this.data=t,this.depth=this.height=0,this.parent=null}uD.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:cD(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:cD(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}},function t(e){function n(t){return new uD(t,e)}return n.tension=function(e){return t(+e)},n}(0),hD.prototype={areaStart:lD,areaEnd:lD,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:cD(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}},function t(e){function n(t){return new hD(t,e)}return n.tension=function(e){return t(+e)},n}(0),dD.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))}},Math,Math,Math,Math,Math,Math,Math,Math,function t(e){function n(t,n,i,r,s){!function(t,e,n,i,r,s){for(var o,a,l,c,u,h,d,f,p,g,m,y=[],v=e.children,_=0,w=0,b=v.length,x=e.value;_<b;){l=r-n,c=s-i;do{u=v[w++].value}while(!u&&w<b);for(h=d=u,m=u*u*(g=Math.max(c/l,l/c)/(x*t)),p=Math.max(d/m,m/h);w<b;++w){if(u+=a=v[w].value,a<h&&(h=a),a>d&&(d=a),m=u*u*g,(f=Math.max(d/m,m/h))>p){u-=a;break}p=f}y.push(o={value:u,dice:l<c,children:v.slice(_,w)}),o.dice?fD(o,n,i,r,x?i+=c*u/x:s):pD(o,n,i,x?n+=l*u/x:r,s),x-=u,_=w}}(e,t,n,i,r,s)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2),bD.prototype=mD.prototype={constructor:bD,count:function(){return this.eachAfter(gD)},each:function(t,e){let n=-1;for(const i of this)t.call(e,i,++n,this);return this},eachAfter:function(t,e){for(var n,i,r,s=this,o=[s],a=[],l=-1;s=o.pop();)if(a.push(s),n=s.children)for(i=0,r=n.length;i<r;++i)o.push(n[i]);for(;s=a.pop();)t.call(e,s,++l,this);return this},eachBefore:function(t,e){for(var n,i,r=this,s=[r],o=-1;r=s.pop();)if(t.call(e,r,++o,this),n=r.children)for(i=n.length-1;i>=0;--i)s.push(n[i]);return this},find:function(t,e){let n=-1;for(const i of this)if(t.call(e,i,++n,this))return i},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,i=e.children,r=i&&i.length;--r>=0;)n+=i[r].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(),i=e.ancestors(),r=null;for(t=n.pop(),e=i.pop();t===e;)r=t,t=n.pop(),e=i.pop();return r}(e,t),i=[e];e!==n;)i.push(e=e.parent);for(var r=i.length;t!==n;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},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 mD(this).eachBefore(_D)},[Symbol.iterator]:function*(){var t,e,n,i,r=this,s=[r];do{for(t=s.reverse(),s=[];r=t.pop();)if(yield r,e=r.children)for(n=0,i=e.length;n<i;++n)s.push(e[n])}while(s.length)}};const xD=["caretElm"];function CD(t,e){}const SD=function(t){return{model:t}};function ED(t,e){if(1&t&&(Oo(0,"span"),So(1,CD,0,0,"ng-template",5),Do()),2&t){const t=Vo();Zr(1),ko("ngTemplateOutlet",t.template)("ngTemplateOutletContext",hc(2,SD,t.context))}}function TD(t,e){1&t&&Ro(0,"span",6),2&t&&ko("innerHTML",Vo().title,Qi)}function kD(t,e){if(1&t&&(an(),ln(),Ro(0,"ngx-charts-scale-legend",4)),2&t){const t=Vo();ko("horizontal",t.legendOptions&&t.legendOptions.position===t.LegendPosition.Below)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function AD(t,e){if(1&t){const t=Po();an(),ln(),Oo(0,"ngx-charts-legend",5),Fo("labelClick",function(e){return Pe(t),Vo().legendLabelClick.emit(e)})("labelActivate",function(e){return Pe(t),Vo().legendLabelActivate.emit(e)})("labelDeactivate",function(e){return Pe(t),Vo().legendLabelDeactivate.emit(e)}),Do()}if(2&t){const t=Vo();ko("horizontal",t.legendOptions&&t.legendOptions.position===t.LegendPosition.Below)("data",t.legendOptions.domain)("title",t.legendOptions.title)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)("activeEntries",t.activeEntries)}}const OD=["*"],DD=["ngx-charts-axis-label",""],RD=["ticksel"],PD=["ngx-charts-x-axis-ticks",""];function MD(t,e){if(1&t&&(an(),Oo(0,"g",3),Oo(1,"title"),la(2),Do(),Oo(3,"text",4),la(4),Do(),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.tickTransform(t)),Zr(2),ca(n.tickFormat(t)),Zr(1),Yo("font-size","12px"),xo("text-anchor",n.textAnchor)("transform",n.textTransform),Zr(1),ua(" ",n.tickTrim(n.tickFormat(t))," ")}}function LD(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"line",6),Do()),2&t){const t=Vo(2);xo("transform",t.gridLineTransform()),Zr(1),xo("y1",-t.gridLineHeight)}}function FD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,LD,2,2,"g",5),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.tickTransform(t)),Zr(1),ko("ngIf",n.showGridLines)}}const ID=["ngx-charts-x-axis",""];function ND(t,e){if(1&t){const t=Po();an(),Oo(0,"g",2),Fo("dimensionsChanged",function(e){return Pe(t),Vo().emitTicksHeight(e)}),Do()}if(2&t){const t=Vo();ko("trimTicks",t.trimTicks)("rotateTicks",t.rotateTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickStroke",t.tickStroke)("scale",t.xScale)("orient",t.xOrient)("showGridLines",t.showGridLines)("gridLineHeight",t.dims.height)("width",t.dims.width)("tickValues",t.ticks)}}function VD(t,e){if(1&t&&(an(),Ro(0,"g",3)),2&t){const t=Vo();ko("label",t.labelText)("offset",t.labelOffset)("orient",t.Orientation.Bottom)("height",t.dims.height)("width",t.dims.width)}}const jD=["ngx-charts-y-axis-ticks",""];function UD(t,e){if(1&t&&(an(),Oo(0,"g",4),Oo(1,"title"),la(2),Do(),Oo(3,"text",5),la(4),Do(),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.transform(t)),Zr(2),ca(n.tickFormat(t)),Zr(1),Yo("font-size","12px"),xo("dy",n.dy)("x",n.x1)("y",n.y1)("text-anchor",n.textAnchor),Zr(1),ua(" ",n.tickTrim(n.tickFormat(t))," ")}}function HD(t,e){if(1&t&&(an(),Ro(0,"path",6)),2&t){const t=Vo();xo("d",t.referenceAreaPath)("transform",t.gridLineTransform())}}function $D(t,e){1&t&&(an(),Ro(0,"line",9)),2&t&&xo("x2",Vo(3).gridLineWidth)}function zD(t,e){1&t&&(an(),Ro(0,"line",9)),2&t&&xo("x2",-Vo(3).gridLineWidth)}function BD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,$D,1,1,"line",8),So(2,zD,1,1,"line",8),Do()),2&t){const t=Vo(2);xo("transform",t.gridLineTransform()),Zr(1),ko("ngIf",t.orient===t.Orientation.Left),Zr(1),ko("ngIf",t.orient===t.Orientation.Right)}}function qD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,BD,3,3,"g",7),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.transform(t)),Zr(1),ko("ngIf",n.showGridLines)}}function WD(t,e){if(1&t&&(an(),Oo(0,"g"),Oo(1,"title"),la(2),Do(),Oo(3,"text",11),la(4),Do(),Do()),2&t){const t=Vo(2).$implicit,e=Vo();Zr(2),ca(e.tickTrim(e.tickFormat(t.value))),Zr(1),xo("dy",e.dy)("y",-6)("x",e.gridLineWidth)("text-anchor",e.textAnchor),Zr(1),ua(" ",t.name," ")}}function GD(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"line",10),So(2,WD,5,6,"g",7),Do()),2&t){const t=Vo().$implicit,e=Vo();xo("transform",e.transform(t.value)),Zr(1),xo("x2",e.gridLineWidth)("transform",e.gridLineTransform()),Zr(1),ko("ngIf",e.showRefLabels)}}function YD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,GD,3,4,"g",7),Do()),2&t){const t=Vo();Zr(1),ko("ngIf",t.showRefLines)}}const QD=["ngx-charts-y-axis",""];function KD(t,e){if(1&t){const t=Po();an(),Oo(0,"g",2),Fo("dimensionsChanged",function(e){return Pe(t),Vo().emitTicksWidth(e)}),Do()}if(2&t){const t=Vo();ko("trimTicks",t.trimTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickValues",t.ticks)("tickStroke",t.tickStroke)("scale",t.yScale)("orient",t.yOrient)("showGridLines",t.showGridLines)("gridLineWidth",t.dims.width)("referenceLines",t.referenceLines)("showRefLines",t.showRefLines)("showRefLabels",t.showRefLabels)("height",t.dims.height)}}function ZD(t,e){if(1&t&&(an(),Ro(0,"g",3)),2&t){const t=Vo();ko("label",t.labelText)("offset",t.labelOffset)("orient",t.yOrient)("height",t.dims.height)("width",t.dims.width)}}const XD=["ngx-charts-circle-series",""];function JD(t,e){if(1&t&&(an(),Ro(0,"rect",4)),2&t){const t=Vo(2);ko("@animationState","active"),xo("x",t.circle.cx-t.circle.radius)("y",t.circle.cy)("width",2*t.circle.radius)("height",t.circle.height)("fill",t.gradientFill)}}const tR=function(t){return{name:t}};function eR(t,e){if(1&t){const t=Po();an(),Oo(0,"g"),Oo(1,"defs"),Ro(2,"g",1),Do(),So(3,JD,1,6,"rect",2),Oo(4,"g",3),Fo("select",function(){Pe(t);const e=Vo();return e.onClick(e.circle.data)})("activate",function(){return Pe(t),Vo().activateCircle()})("deactivate",function(){return Pe(t),Vo().deactivateCircle()}),Do(),Do()}if(2&t){const t=Vo();Zr(2),ko("name",t.gradientId)("stops",t.circle.gradientStops),Zr(1),ko("ngIf",t.barVisible&&"standard"===t.type),Zr(1),Qo("active",t.isActive(hc(18,tR,t.circle.seriesName))),ko("cx",t.circle.cx)("cy",t.circle.cy)("r",t.circle.radius)("fill",t.circle.color)("pointerEvents",0===t.circle.value?"none":"all")("data",t.circle.value)("classNames",t.circle.classNames)("tooltipDisabled",t.tooltipDisabled)("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",t.tooltipTemplate?void 0:t.getTooltipText(t.circle))("tooltipTemplate",t.tooltipTemplate)("tooltipContext",t.circle.data)}}const nR=["ngx-charts-circle",""],iR=["ngx-charts-svg-linear-gradient",""];function rR(t,e){if(1&t&&(an(),Ro(0,"stop")),2&t){const t=e.$implicit;Yo("stop-color",t.color)("stop-opacity",t.opacity),xo("offset",t.offset+"%")}}const sR=["ngx-charts-area",""];function oR(t,e){if(1&t&&(an(),Oo(0,"defs"),Ro(1,"g",2),Do()),2&t){const t=Vo();Zr(1),ko("name",t.gradientId)("stops",t.gradientStops)}}const aR=["tooltipAnchor"],lR=["ngx-charts-tooltip-area",""];function cR(t,e){if(1&t&&(Oo(0,"div",6),Ro(1,"span",7),la(2),Do()),2&t){const t=e.$implicit,n=Vo(2);Zr(1),Yo("background-color",t.color),Zr(1),ua(" ",n.getToolTipText(t)," ")}}function uR(t,e){if(1&t&&(an(),ln(),Oo(0,"div",4),So(1,cR,3,3,"div",5),Do()),2&t){const t=e.model;Zr(1),ko("ngForOf",t)}}const hR=["ngx-charts-timeline",""];function dR(t,e){if(1&t&&(Oo(0,"header",4),Oo(1,"span",5),la(2),Do(),Do()),2&t){const t=Vo();Zr(2),ca(t.title)}}function fR(t,e){if(1&t){const t=Po();Oo(0,"li",6),Oo(1,"ngx-charts-legend-entry",7),Fo("select",function(e){return Pe(t),Vo().labelClick.emit(e)})("activate",function(e){return Pe(t),Vo().activate(e)})("deactivate",function(e){return Pe(t),Vo().deactivate(e)}),Do(),Do()}if(2&t){const t=e.$implicit,n=Vo();Zr(1),ko("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}const pR=["tooltipTemplate"],gR=["seriesTooltipTemplate"],mR=function(t,e){return[t,e]},yR=["ngx-charts-line",""];function vR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",7),Fo("dimensionsChanged",function(e){return Pe(t),Vo().updateXAxisHeight(e)}),Do()}if(2&t){const t=Vo();ko("xScale",t.xScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showXAxisLabel)("labelText",t.xAxisLabel)("trimTicks",t.trimXAxisTicks)("rotateTicks",t.rotateXAxisTicks)("maxTickLength",t.maxXAxisTickLength)("tickFormatting",t.xAxisTickFormatting)("ticks",t.xAxisTicks)}}function _R(t,e){if(1&t){const t=Po();an(),Oo(0,"g",8),Fo("dimensionsChanged",function(e){return Pe(t),Vo().updateYAxisWidth(e)}),Do()}if(2&t){const t=Vo();ko("yScale",t.yScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showYAxisLabel)("labelText",t.yAxisLabel)("trimTicks",t.trimYAxisTicks)("maxTickLength",t.maxYAxisTickLength)("tickFormatting",t.yAxisTickFormatting)("ticks",t.yAxisTicks)("referenceLines",t.referenceLines)("showRefLines",t.showRefLines)("showRefLabels",t.showRefLabels)}}function wR(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"g",9),Do()),2&t){const t=e.$implicit,n=Vo();ko("@animationState","active"),Zr(1),ko("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",t)("activeEntries",n.activeEntries)("scaleType",n.scaleType)("curve",n.curve)("rangeFillOpacity",n.rangeFillOpacity)("hasRange",n.hasRange)("animations",n.animations)}}function bR(t,e){if(1&t){const t=Po();an(),Oo(0,"g"),Oo(1,"g",13),Fo("select",function(e){return Pe(t),Vo(2).onClick(e)})("activate",function(e){return Pe(t),Vo(2).onActivate(e)})("deactivate",function(e){return Pe(t),Vo(2).onDeactivate(e)}),Do(),Do()}if(2&t){const t=e.$implicit,n=Vo(2);Zr(1),ko("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",t)("scaleType",n.scaleType)("visibleValue",n.hoveredVertical)("activeEntries",n.activeEntries)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)}}function xR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",10),Fo("mouseleave",function(){return Pe(t),Vo().hideCircles()}),Oo(1,"g",11),Fo("hover",function(e){return Pe(t),Vo().updateHoveredVertical(e)}),Do(),So(2,bR,2,9,"g",12),Do()}if(2&t){const t=Vo();Zr(1),ko("dims",t.dims)("xSet",t.xSet)("xScale",t.xScale)("yScale",t.yScale)("results",t.results)("colors",t.colors)("tooltipDisabled",t.tooltipDisabled)("tooltipTemplate",t.seriesTooltipTemplate),Zr(1),ko("ngForOf",t.results)}}function CR(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"g",15),Do()),2&t){const t=e.$implicit,n=Vo(2);Zr(1),ko("xScale",n.timelineXScale)("yScale",n.timelineYScale)("colors",n.colors)("data",t)("scaleType",n.scaleType)("curve",n.curve)("hasRange",n.hasRange)("animations",n.animations)}}function SR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",14),Fo("onDomainChange",function(e){return Pe(t),Vo().updateDomain(e)}),So(1,CR,2,8,"g",4),Do()}if(2&t){const t=Vo();ko("results",t.results)("view",dc(10,mR,t.timelineWidth,t.height))("height",t.timelineHeight)("scheme",t.scheme)("customColors",t.customColors)("scaleType",t.scaleType)("legend",t.legend),xo("transform",t.timelineTransform),Zr(1),ko("ngForOf",t.results)("ngForTrackBy",t.trackBy)}}const ER=["ngx-charts-line-series",""];function TR(t,e){if(1&t&&(an(),Ro(0,"g",4)),2&t){const t=Vo();ko("name",t.gradientId)("stops",t.gradientStops)}}function kR(t,e){if(1&t&&(an(),Ro(0,"g",5)),2&t){const t=Vo();Qo("active",t.isActive(t.data))("inactive",t.isInactive(t.data)),ko("data",t.data)("path",t.outerPath)("fill",t.hasGradient?t.gradientUrl:t.colors.getColor(t.data.name))("opacity",t.rangeFillOpacity)("animations",t.animations)}}let AR=(()=>{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const i of n)t.instance[i]=e.inputs[i]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const i of n)t.instance[i]=e.outputs[i]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const i=this.getComponentRootNode(n),r=new qx(i,this.componentFactoryResolver,this.applicationRef,this.injector),s=new $x(t),o=r.attach(s);return this.projectComponentBindings(o,e),o}}return t.\u0275fac=function(e){return new(e||t)(di(Au),di(ll),di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function OR(t,e,n){let i,r,s;n=n||{};let o=null,a=0;function l(){a=!1===n.leading?0:+new Date,o=null,s=t.apply(i,r)}return function(){const c=+new Date;a||!1!==n.leading||(a=c);const u=e-(c-a);return i=this,r=arguments,u<=0?(clearTimeout(o),o=null,a=c,s=t.apply(i,r)):o||!1===n.trailing||(o=setTimeout(l,u)),s}}var DR=(()=>(function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t.Center="center"}(DR||(DR={})),DR))();function RR(t,e,n){return n===DR.Top?t.top-7:n===DR.Bottom?t.top+t.height-e.height+7:n===DR.Center?t.top+t.height/2-e.height/2:void 0}function PR(t,e,n){return n===DR.Left?t.left-7:n===DR.Right?t.left+t.width-e.width+7:n===DR.Center?t.left+t.width/2-e.width/2:void 0}class MR{static calculateVerticalAlignment(t,e,n){let i=RR(t,e,n);return i+e.height>window.innerHeight&&(i=window.innerHeight-e.height),i}static calculateVerticalCaret(t,e,n,i){let r;i===DR.Top&&(r=t.height/2-n.height/2+7),i===DR.Bottom&&(r=e.height-t.height/2-n.height/2-7),i===DR.Center&&(r=e.height/2-n.height/2);const s=RR(t,e,i);return s+e.height>window.innerHeight&&(r+=s+e.height-window.innerHeight),r}static calculateHorizontalAlignment(t,e,n){let i=PR(t,e,n);return i+e.width>window.innerWidth&&(i=window.innerWidth-e.width),i}static calculateHorizontalCaret(t,e,n,i){let r;i===DR.Left&&(r=t.width/2-n.width/2+7),i===DR.Right&&(r=e.width-t.width/2-n.width/2-7),i===DR.Center&&(r=e.width/2-n.width/2);const s=PR(t,e,i);return s+e.width>window.innerWidth&&(r+=s+e.width-window.innerWidth),r}static shouldFlip(t,e,n,i){let r=!1;return n===DR.Right&&t.left+t.width+e.width+i>window.innerWidth&&(r=!0),n===DR.Left&&t.left-e.width-i<0&&(r=!0),n===DR.Top&&t.top-e.height-i<0&&(r=!0),n===DR.Bottom&&t.top+t.height+e.height+i>window.innerHeight&&(r=!0),r}static positionCaret(t,e,n,i,r){let s=0,o=0;return t===DR.Right?(o=-7,s=MR.calculateVerticalCaret(n,e,i,r)):t===DR.Left?(o=e.width,s=MR.calculateVerticalCaret(n,e,i,r)):t===DR.Top?(s=e.height,o=MR.calculateHorizontalCaret(n,e,i,r)):t===DR.Bottom&&(s=-7,o=MR.calculateHorizontalCaret(n,e,i,r)),{top:s,left:o}}static positionContent(t,e,n,i,r){let s=0,o=0;return t===DR.Right?(o=n.left+n.width+i,s=MR.calculateVerticalAlignment(n,e,r)):t===DR.Left?(o=n.left-e.width-i,s=MR.calculateVerticalAlignment(n,e,r)):t===DR.Top?(s=n.top-e.height-i,o=MR.calculateHorizontalAlignment(n,e,r)):t===DR.Bottom&&(s=n.top+n.height+i,o=MR.calculateHorizontalAlignment(n,e,r)),{top:s,left:o}}static determinePlacement(t,e,n,i){if(MR.shouldFlip(n,e,t,i)){if(t===DR.Right)return DR.Left;if(t===DR.Left)return DR.Right;if(t===DR.Top)return DR.Bottom;if(t===DR.Bottom)return DR.Top}return t}}let LR=(()=>{class t{constructor(t,e,n){this.element=t,this.renderer=e,this.platformId=n}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!Kh(this.platformId))return;const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:i,left:r}=MR.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${i}px`),this.renderer.setStyle(t,"left",`${r}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,i=n.getBoundingClientRect(),{top:r,left:s}=MR.positionCaret(this.placement,e,t,i,this.alignment);this.renderer.setStyle(n,"top",`${r}px`),this.renderer.setStyle(n,"left",`${s}px`)}checkFlip(t,e){this.placement=MR.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(gl),To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&Lc(xD,5),2&t){let t;Mc(t=Ic())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&Fo("resize",function(){return e.onWindowResize()},!1,nr),2&t&&Ko(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){var n;1&t&&(Oo(0,"div"),Ro(1,"span",0,1),Oo(3,"div",2),So(4,ED,2,4,"span",3),So(5,TD,1,1,"span",4),Do(),Do()),2&t&&(Zr(1),"tooltip-caret position-",n=e.placement,"",Jo(ni,Zo,Co(De(),"tooltip-caret position-",n,""),!0),ko("hidden",!e.showCaret),Zr(3),ko("ngIf",!e.title),Zr(1),ko("ngIf",e.title))},directives:[$h,qh],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);s>3&&o&&Object.defineProperty(e,n,o)}([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:OR(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),FR=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=LR}}return t.\u0275fac=function(e){return new(e||t)(di(AR))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();var IR=(()=>(function(t){t.Right="right",t.Below="below"}(IR||(IR={})),IR))(),NR=(()=>(function(t){t.ScaleLegend="scaleLegend",t.Legend="legend"}(NR||(NR={})),NR))(),VR=(()=>(function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right"}(VR||(VR={})),VR))(),jR=(()=>(function(t){t.Start="start",t.Middle="middle",t.End="end"}(jR||(jR={})),jR))(),UR=(()=>(function(t){t.Time="time",t.Linear="linear",t.Ordinal="ordinal",t.Quantile="quantile"}(UR||(UR={})),UR))();let HR=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new bc,this.legendLabelActivate=new bc,this.legendLabelDeactivate=new bc,this.LegendPosition=IR,this.LegendType=NR}ngOnChanges(t){this.update()}update(){let t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&this.legendOptions.position!==IR.Right||(t=this.legendType===NR.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==IR.Right?this.chartWidth:Math.floor(this.view[0]*t/12)}getLegendType(){return this.legendOptions.scaleType===UR.Linear?NR.ScaleLegend:NR.Legend}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[sl([FR]),ae],ngContentSelectors:OD,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(Uo(),Oo(0,"div",0),an(),Oo(1,"svg",1),Ho(2),Do(),So(3,kD,1,5,"ngx-charts-scale-legend",2),So(4,AD,1,7,"ngx-charts-legend",3),Do()),2&t&&(Yo("width",e.view[0],"px"),ko("@animationState","active")("@.disabled",!e.animations),Zr(1),xo("width",e.chartWidth)("height",e.view[1]),Zr(2),ko("ngIf",e.showLegend&&e.legendType===e.LegendType.ScaleLegend),Zr(1),ko("ngIf",e.showLegend&&e.legendType===e.LegendType.Legend))},directives:function(){return[$h,bP,_P]},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({opacity:0}),Tp("500ms 100ms",Ap({opacity:1}))])])]},changeDetection:0}),t})(),$R=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new bc,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const t=()=>{if(!this.element)return;const{offsetHeight:e,offsetWidth:n}=this.element.nativeElement;e&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t())})}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu))},t.\u0275dir=Gt({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})();function zR(t){return"[object Date]"===toString.call(t)}let BR=(()=>{class t{constructor(t,e,n,i){this.chartElement=t,this.zone=e,this.cd=n,this.platformId=i,this.scheme="cool",this.schemeType=UR.Ordinal,this.animations=!0,this.select=new bc}ngOnInit(){"server"===this.platformId&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new $R(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(t){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let t,e;const n=this.chartElement.nativeElement;if(Kh(this.platformId)&&null!==n.parentNode){const i=n.parentNode.getBoundingClientRect();t=i.width,e=i.height}return t&&e?{width:t,height:e}:null}formatDates(){for(let t=0;t<this.results.length;t++){const e=this.results[t];if(e.label=e.name,zR(e.label)&&(e.label=e.label.toLocaleDateString()),e.series)for(let t=0;t<e.series.length;t++){const n=e.series[t];n.label=n.name,zR(n.label)&&(n.label=n.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!Kh(this.platformId))return;const t=Ww(window,"resize").pipe(function(t,e=Zw){return n=>n.lift(new Wx(t,e))}(200)).subscribe(t=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=t}cloneData(t){const e=[];for(const n of t){const t={name:n.name};if(void 0!==n.value&&(t.value=n.value),void 0!==n.series){t.series=[];for(const e of n.series){const n=Object.assign({},e);t.series.push(n)}}void 0!==n.extra&&(t.extra=JSON.parse(JSON.stringify(n.extra))),e.push(t)}return e}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu),To(Vl),To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[ae],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"div")},encapsulation:2}),t})(),qR=(()=>{class t{constructor(t){this.textHeight=25,this.margin=5,this.element=t.nativeElement}ngOnChanges(t){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case VR.Top:case VR.Bottom:this.y=this.offset,this.x=this.width/2;break;case VR.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case VR.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[ae],attrs:DD,decls:2,vars:6,template:function(t,e){1&t&&(an(),Oo(0,"text"),la(1),Do()),2&t&&(xo("stroke-width",e.strokeWidth)("x",e.x)("y",e.y)("text-anchor",e.textAnchor)("transform",e.transform),Zr(1),ua(" ",e.label," "))},encapsulation:2,changeDetection:0}),t})();function WR(t,e=16){return"string"!=typeof t?"number"==typeof t?t+"":"":(t=t.trim()).length<=e?t:`${t.slice(0,e)}...`}function GR(t,e){if(t.length>e){const n=[],i=Math.floor(t.length/e);for(let e=0;e<t.length;e++)e%i==0&&n.push(t[e]);t=n}return t}let YR=(()=>{class t{constructor(t){this.platformId=t,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new bc,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=jR.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!Kh(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);t!==this.height&&(this.height=t,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const t=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()};const e=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(t){return this.scale(t)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",e&&0!==e?(this.textTransform=`rotate(${e})`,this.textAnchor=jR.End,this.verticalSpacing=10):this.textAnchor=jR.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(t){let e=0;this.maxTicksLength=0;for(let s=0;s<t.length;s++){const e=this.tickFormat(t[s]).toString();let n=e.length;this.trimTicks&&(n=this.tickTrim(e).length),n>this.maxTicksLength&&(this.maxTicksLength=n)}const n=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let i=n;const r=Math.floor(this.width/t.length);for(;i>r&&e>-90;)e-=30,i=Math.cos(e*(Math.PI/180))*n;return this.approxHeight=Math.max(Math.abs(Math.sin(e*(Math.PI/180))*n),10),e}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(100);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=GR(t,e)),t}getMaxTicks(t){return Math.floor(this.width/t)}tickTransform(t){return"translate("+this.adjustedScale(t)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(t){return this.trimTicks?WR(t,this.maxTickLength):t}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&Lc(RD,5),2&t){let t;Mc(t=Ic())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",rotateTicks:"rotateTicks",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineHeight:"gridLineHeight",width:"width"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:PD,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(t,e){1&t&&(an(),Oo(0,"g",null,0),So(2,MD,5,7,"g",1),Do(),So(3,FD,2,2,"g",2)),2&t&&(Zr(2),ko("ngForOf",e.ticks),Zr(1),ko("ngForOf",e.ticks))},directives:[Uh,$h],encapsulation:2,changeDetection:0}),t})(),QR=(()=>{class t{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=VR.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new bc,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.Orientation=VR}ngOnChanges(t){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:t}){const e=t+25+5;e!==this.labelOffset&&(this.labelOffset=e,setTimeout(()=>{this.dimensionsChanged.emit({height:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(t,e){if(1&t&&Lc(YR,5),2&t){let t;Mc(t=Ic())&&(e.ticksComponent=t.first)}},inputs:{rotateTicks:"rotateTicks",showGridLines:"showGridLines",xOrient:"xOrient",xAxisOffset:"xAxisOffset",xScale:"xScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:ID,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),So(1,ND,1,12,"g",0),So(2,VD,1,5,"g",1),Do()),2&t&&(xo("class",e.xAxisClassName)("transform",e.transform),Zr(1),ko("ngIf",e.xScale),Zr(1),ko("ngIf",e.showLabel))},directives:[$h,YR,qR],encapsulation:2,changeDetection:0}),t})(),KR=(()=>{class t{constructor(t){this.platformId=t,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new bc,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=jR.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=VR}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!Kh(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);t!==this.width&&(this.width=t,this.dimensionsChanged.emit({width:t}),setTimeout(()=>this.updateDims()))}update(){let t;const e=this.orient===VR.Top||this.orient===VR.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,t=this.scale,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()},this.adjustedScale=t.bandwidth?function(e){return t(e)+.5*t.bandwidth()}:t,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case VR.Top:case VR.Bottom:this.transform=function(t){return"translate("+this.adjustedScale(t)+",0)"},this.textAnchor=jR.Middle,this.y2=this.innerTickSize*e,this.y1=this.tickSpacing*e,this.dy=e<0?"0em":".71em";break;case VR.Left:this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor=jR.End,this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em";break;case VR.Right:this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor=jR.Start,this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(t=>t.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(t=>t.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=function(t,e,n,i,r,[s,o,a,l]){let c="";return c=`M${[t+r,e]}`,c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=o?`a${[r,r]} 0 0 1 ${[r,r]}`:`h${r}v${r}`,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=l?`a${[r,r]} 0 0 1 ${[-r,r]}`:`v${r}h${-r}`,c+="h"+(2*r-n),c+=a?`a${[r,r]} 0 0 1 ${[-r,-r]}`:`h${-r}v${-r}`,c+="v"+(2*r-i),c+=s?`a${[r,r]} 0 0 1 ${[r,-r]}`:`v${-r}h${r}`,c+="z",c}(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(50);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=GR(t,e)),t}getMaxTicks(t){return Math.floor(this.height/t)}tickTransform(t){return`translate(${this.adjustedScale(t)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(t){return this.trimTicks?WR(t,this.maxTickLength):t}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(t=>this.tickTrim(this.tickFormat(t)).length))}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&Lc(RD,5),2&t){let t;Mc(t=Ic())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:jD,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(t,e){1&t&&(an(),Oo(0,"g",null,0),So(2,UD,5,9,"g",1),Do(),So(3,HD,1,2,"path",2),So(4,qD,2,2,"g",3),So(5,YD,2,1,"g",3)),2&t&&(Zr(2),ko("ngForOf",e.ticks),Zr(1),ko("ngIf",e.referenceLineLength>1&&e.refMax&&e.refMin&&e.showRefLines),Zr(1),ko("ngForOf",e.ticks),Zr(1),ko("ngForOf",e.referenceLines))},directives:[Uh,$h],encapsulation:2,changeDetection:0}),t})(),ZR=(()=>{class t{constructor(){this.showGridLines=!1,this.yOrient=VR.Left,this.yAxisOffset=0,this.dimensionsChanged=new bc,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(t){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===VR.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):(this.offset=this.offset,this.transform=`translate(${this.offset} , 0)`),void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:t}){t!==this.labelOffset&&this.yOrient===VR.Right?(this.labelOffset=t+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0)):t!==this.labelOffset&&(this.labelOffset=t,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(t,e){if(1&t&&Lc(KR,5),2&t){let t;Mc(t=Ic())&&(e.ticksComponent=t.first)}},inputs:{showGridLines:"showGridLines",yOrient:"yOrient",yAxisOffset:"yAxisOffset",yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:QD,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),So(1,KD,1,14,"g",0),So(2,ZD,1,5,"g",1),Do()),2&t&&(xo("class",e.yAxisClassName)("transform",e.transform),Zr(1),ko("ngIf",e.yScale),Zr(1),ko("ngIf",e.showLabel))},directives:[$h,KR,qR],encapsulation:2,changeDetection:0}),t})(),XR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh]]}),t})();var JR=(()=>(function(t){t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip"}(JR||(JR={})),JR))(),tP=(()=>(function(t){t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover"}(tP||(tP={})),tP))();let eP=(()=>{class t{constructor(t,e,n){this.tooltipService=t,this.viewContainerRef=e,this.renderer=n,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=DR.Top,this.tooltipAlignment=DR.Center,this.tooltipType=JR.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=tP.all,this.tooltipImmediateExit=!1,this.show=new bc,this.hide=new bc}get listensForFocus(){return this.tooltipShowEvent===tP.all||this.tooltipShowEvent===tP.focus}get listensForHover(){return this.tooltipShowEvent===tP.all||this.tooltipShowEvent===tP.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(t){if(this.component||this.tooltipDisabled)return;const e=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const t=this.createBoundOptions();this.component=this.tooltipService.create(t),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},e)}addHideListeners(t){this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",e=>{t.contains(e.target)||this.hideTooltip()}))}hideTooltip(t=!1){if(!this.component)return;const e=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return t.\u0275fac=function(e){return new(e||t)(To(FR),To(Kl),To(gl))},t.\u0275dir=Gt({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&Fo("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),t})(),nP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[AR,FR],imports:[[Qh]]}),t})();function iP(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}function rP(t){return t.toLocaleString().replace(/[&'`"<>]/g,t=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[t]))}const sP={};function oP(){let t=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return t=`a${t}`,sP[t]?oP():(sP[t]=!0,t)}var aP=(()=>(function(t){t.Standard="standard",t.Stacked="stacked"}(aP||(aP={})),aP))();let lP=(()=>{class t{constructor(){this.type=aP.Standard,this.tooltipDisabled=!1,this.select=new bc,this.activate=new bc,this.deactivate=new bc,this.barVisible=!1}ngOnInit(){this.gradientId="grad"+oP().toString(),this.gradientFill=`url(#${this.gradientId})`}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const t=this.data.series.findIndex(t=>{const e=t.name;return e&&this.visibleValue&&e.toString()===this.visibleValue.toString()&&void 0!==t.value});if(-1!==t)return this.mapDataPointToCircle(this.data.series[t],t)}mapDataPointToCircle(t,e){const n=this.data.name,i=t.value,r=t.name,s=iP(r);let o;o=this.xScale(this.scaleType===UR.Time?r:this.scaleType===UR.Linear?Number(r):r);const a=this.yScale(this.type===aP.Standard?i:t.d1),l=this.yScale.range()[0]-a;let c;return c=this.colors.getColor(this.colors.scaleType===UR.Linear?this.type===aP.Standard?i:t.d1:n),{classNames:[`circle-data-${e}`],value:i,label:r,data:Object.assign({},t,{series:n,value:i,name:r}),cx:o,cy:a,radius:5,height:l,tooltipLabel:s,color:c,opacity:1,seriesName:n,gradientStops:this.getGradientStops(c),min:t.min,max:t.max}}getTooltipText({tooltipLabel:t,value:e,seriesName:n,min:i,max:r}){return`\n <span class="tooltip-label">${rP(n)} \u2022 ${rP(t)}</span>\n <span class="tooltip-val">${e.toLocaleString()}${this.getTooltipMinMaxText(i,r)}</span>\n `}getTooltipMinMaxText(t,e){if(void 0!==t||void 0!==e){let n=" (";return void 0!==t?(void 0===e&&(n+="\u2265"),n+=t.toLocaleString(),void 0!==e&&(n+=" - ")):void 0!==e&&(n+="\u2264"),void 0!==e&&(n+=e.toLocaleString()),n+=")",n}return""}getGradientStops(t){return[{offset:0,color:t,opacity:.2},{offset:100,color:t,opacity:1}]}onClick(t){this.select.emit(t)}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.name===e.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-circle-series",""]],inputs:{type:"type",tooltipDisabled:"tooltipDisabled",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[ae],attrs:XD,decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(t,e){1&t&&So(0,eR,5,20,"g",0),2&t&&ko("ngIf",e.circle)},directives:function(){return[$h,dP,cP,eP]},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({opacity:0}),Tp(250,Ap({opacity:1}))])])]},changeDetection:0}),t})(),cP=(()=>{class t{constructor(){this.select=new bc,this.activate=new bc,this.deactivate=new bc}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(t){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(t,e){1&t&&Fo("click",function(){return e.onClick()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{classNames:"classNames",cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[ae],attrs:nR,decls:1,vars:8,template:function(t,e){1&t&&(an(),Ro(0,"circle")),2&t&&xo("cx",e.cx)("cy",e.cy)("r",e.r)("fill",e.fill)("stroke",e.stroke)("opacity",e.circleOpacity)("class",e.classNames)("pointer-events",e.pointerEvents)},encapsulation:2,changeDetection:0}),t})();var uP=(()=>(function(t){t.Vertical="vertical",t.Horizontal="horizontal"}(uP||(uP={})),uP))();let hP,dP=(()=>{class t{constructor(){this.orientation=uP.Vertical}ngOnChanges(t){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===uP.Horizontal?this.x2="100%":this.orientation===uP.Vertical&&(this.y1="100%")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[ae],attrs:iR,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(an(),Oo(0,"linearGradient",0),So(1,rR,1,5,"stop",1),Do()),2&t&&(ko("id",e.name),xo("x1",e.x1)("y1",e.y1)("x2",e.x2)("y2",e.y2),Zr(1),ko("ngForOf",e.stops))},directives:[Uh],encapsulation:2,changeDetection:0}),t})(),fP=(()=>{class t{constructor(t){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new bc,this.initialized=!1,this.hasGradient=!1,this.element=t.nativeElement}ngOnChanges(){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)}update(){this.gradientId="grad"+oP().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.update.bind(this),100)}updatePathEl(){const t=cS(this.element).select(".area");this.animations?t.transition().duration(750).attr("d",this.path):t.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-area",""]],inputs:{opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",animations:"animations",data:"data",path:"path",startingPath:"startingPath",fill:"fill",stops:"stops"},outputs:{select:"select"},features:[ae],attrs:sR,decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"]],template:function(t,e){1&t&&(So(0,oR,2,2,"defs",0),an(),Ro(1,"path",1)),2&t&&(ko("ngIf",e.gradient),Zr(1),Yo("opacity",e.opacity),xo("d",e.areaPath)("fill",e.gradient?e.gradientFill:e.fill))},directives:[$h,dP],encapsulation:2,changeDetection:0}),t})();"undefined"!=typeof window?hP=window:"undefined"!=typeof global&&(hP=global);const pP=hP.MouseEvent;function gP(t,e=!1,n=!0){if("function"==typeof pP)return new pP(t,{bubbles:e,cancelable:n});{const i=document.createEvent("MouseEvent");return i.initEvent(t,e,n),i}}let mP=(()=>{class t{constructor(t){this.platformId=t,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new bc}getValues(t){const e=[];for(const n of this.results){const i=n.series.find(e=>e.name.toString()===t.toString());let r=n.name;if(r instanceof Date&&(r=r.toLocaleDateString()),i){const t=i.name;let s,o=i.value;if(this.showPercentage&&(o=(i.d1-i.d0).toFixed(2)+"%"),this.colors.scaleType===UR.Linear){let t=o;i.d1&&(t=i.d1),s=this.colors.getColor(t)}else s=this.colors.getColor(n.name);const a=Object.assign({},i,{value:o,name:t,series:r,min:i.min,max:i.max,color:s});e.push(a)}}return e}mouseMove(t){if(!Kh(this.platformId))return;const e=t.pageX-t.target.getBoundingClientRect().left,n=this.findClosestPointIndex(e),i=this.xSet[n];if(this.anchorPos=this.xScale(i),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(i),this.anchorPos!==this.lastAnchorPos){const t=gP("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(t),this.anchorOpacity=.7,this.hover.emit({value:i}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(t){let e=0,n=this.xSet.length-1,i=Number.MAX_VALUE,r=0;for(;e<=n;){const s=(e+n)/2|0,o=this.xScale(this.xSet[s]),a=Math.abs(o-t);if(a<i&&(i=a,r=s),o<t)e=s+1;else{if(!(o>t)){i=0,r=s;break}n=s-1}}return r}showTooltip(){const t=gP("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(t)}hideTooltip(){const t=gP("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(t),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(t){let e="";return e+=void 0!==t.series?t.series:"???",e+=": ",void 0!==t.value&&(e+=t.value.toLocaleString()),void 0===t.min&&void 0===t.max||(e+=" (",void 0!==t.min?(void 0===t.max&&(e+="\u2265"),e+=t.min.toLocaleString(),void 0!==t.max&&(e+=" - ")):void 0!==t.max&&(e+="\u2264"),void 0!==t.max&&(e+=t.max.toLocaleString()),e+=")"),e}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(t,e){if(1&t&&Lc(aR,5),2&t){let t;Mc(t=Ic())&&(e.tooltipAnchor=t.first)}},inputs:{showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:lR,decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(t,e){if(1&t&&(an(),Oo(0,"g"),Oo(1,"rect",0),Fo("mousemove",function(t){return e.mouseMove(t)})("mouseleave",function(){return e.hideTooltip()}),Do(),So(2,uR,2,1,"ng-template",null,1,Uc),Ro(4,"rect",2,3),Do()),2&t){const t=Eo(3);Zr(1),xo("x",0)("width",e.dims.width)("height",e.dims.height),Zr(3),Yo("opacity",e.anchorOpacity)("pointer-events","none"),ko("@animationState",0!==e.anchorOpacity?"active":"inactive")("tooltipDisabled",e.tooltipDisabled)("tooltipPlacement","right")("tooltipType","tooltip")("tooltipSpacing",15)("tooltipTemplate",e.tooltipTemplate?e.tooltipTemplate:t)("tooltipContext",e.anchorValues)("tooltipImmediateExit",!0),xo("x",e.anchorPos)("width",1)("height",e.dims.height)}},directives:[eP,Uh],encapsulation:2,data:{animation:[Ep("animationState",[Op("inactive => active",[Ap({opacity:0}),Tp(250,Ap({opacity:.7}))]),Op("active => inactive",[Ap({opacity:.7}),Tp(250,Ap({opacity:0}))])])]},changeDetection:0}),t})();var yP=(()=>(function(t){t.Time="time",t.Linear="linear",t.Ordinal="ordinal"}(yP||(yP={})),yP))();let vP=(()=>{class t{constructor(t,e){this.cd=e,this.height=50,this.select=new bc,this.onDomainChange=new bc,this.initialized=!1,this.element=t.nativeElement}ngOnChanges(t){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const t=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${t})`,this.filterId="filter"+oP().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let t=[];for(const n of this.results)for(const e of n.series)t.includes(e.name)||t.push(e.name);let e=[];return this.scaleType===yP.Time?e=[Math.min(...t),Math.max(...t)]:this.scaleType===yP.Linear?(t=t.map(t=>Number(t)),e=[Math.min(...t),Math.max(...t)]):e=t,e}getXScale(){let t;return this.scaleType===yP.Time?t=xO().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===yP.Linear?t=VO().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===yP.Ordinal&&(t=BO().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),t}addBrush(){if(this.brush)return;const t=this.height,e=this.view[0];this.brush=function(t){var e,n=BT,i=zT,r=qT,s=!0,o=mS("start","brush","end"),a=6;function l(e){var n=e.property("__brush",g).selectAll(".overlay").data([$T("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",NT.overlay).merge(n).each(function(){var t=WT(this).extent;cS(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([$T("selection")]).enter().append("rect").attr("class","selection").attr("cursor",NT.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=e.selectAll(".handle").data(t.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return NT[t.type]}),e.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(r).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=cS(this),e=WT(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]-a/2:e[0][0]-a/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-a/2:e[0][1]-a/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+a:a}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+a:a})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(t,e,n){var i=t.__brush.emitter;return!i||n&&i.clean?new h(t,e,n):i}function h(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function d(n){if((!e||n.touches)&&i.apply(this,arguments)){var r,o,a,l,h,d,f,p,g,m,y,v=this,_=n.target.__data__.type,w="selection"===(s&&n.metaKey?_="overlay":_)?TT:s&&n.altKey?OT:AT,b=t===IT?null:UT[_],x=t===FT?null:HT[_],C=WT(v),S=C.extent,E=C.selection,T=S[0][0],k=S[0][1],A=S[1][0],O=S[1][1],D=0,R=0,P=b&&x&&s&&n.shiftKey,M=Array.from(n.touches||[n],t=>{const e=t.identifier;return(t=hE(t,v)).point0=t.slice(),t.identifier=e,t});if("overlay"===_){E&&(g=!0);const e=[M[0],M[1]||M[0]];C.selection=E=[[r=t===IT?T:PT(e[0][0],e[1][0]),a=t===FT?k:PT(e[0][1],e[1][1])],[h=t===IT?A:RT(e[0][0],e[1][0]),f=t===FT?O:RT(e[0][1],e[1][1])]],M.length>1&&j()}else r=E[0][0],a=E[0][1],h=E[1][0],f=E[1][1];o=r,l=a,d=h,p=f;var L=cS(v).attr("pointer-events","none"),F=L.selectAll(".overlay").attr("cursor",NT[_]);IE(v);var I=u(v,arguments,!0).beforestart();if(n.touches)I.moved=V,I.ended=U;else{var N=cS(n.view).on("mousemove.brush",V,!0).on("mouseup.brush",U,!0);s&&N.on("keydown.brush",H,!0).on("keyup.brush",$,!0),vS(n.view)}c.call(v),I.start(n,w.name)}function V(t){for(const e of t.changedTouches||[t])for(const t of M)t.identifier===e.identifier&&(t.cur=hE(e,v));if(P&&!m&&!y&&1===M.length){const t=M[0];DT(t.cur[0]-t[0])>DT(t.cur[1]-t[1])?y=!0:m=!0}for(const e of M)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,ET(t),j(t)}function j(t){const e=M[0],n=e.point0;var i;switch(D=e[0]-n[0],R=e[1]-n[1],w){case kT:case TT:b&&(D=RT(T-r,PT(A-h,D)),o=r+D,d=h+D),x&&(R=RT(k-a,PT(O-f,R)),l=a+R,p=f+R);break;case AT:M[1]?(b&&(o=RT(T,PT(A,M[0][0])),d=RT(T,PT(A,M[1][0])),b=1),x&&(l=RT(k,PT(O,M[0][1])),p=RT(k,PT(O,M[1][1])),x=1)):(b<0?(D=RT(T-r,PT(A-r,D)),o=r+D,d=h):b>0&&(D=RT(T-h,PT(A-h,D)),o=r,d=h+D),x<0?(R=RT(k-a,PT(O-a,R)),l=a+R,p=f):x>0&&(R=RT(k-f,PT(O-f,R)),l=a,p=f+R));break;case OT:b&&(o=RT(T,PT(A,r-D*b)),d=RT(T,PT(A,h+D*b))),x&&(l=RT(k,PT(O,a-R*x)),p=RT(k,PT(O,f+R*x)))}d<o&&(b*=-1,i=r,r=h,h=i,i=o,o=d,d=i,_ in VT&&F.attr("cursor",NT[_=VT[_]])),p<l&&(x*=-1,i=a,a=f,f=i,i=l,l=p,p=i,_ in jT&&F.attr("cursor",NT[_=jT[_]])),C.selection&&(E=C.selection),m&&(o=E[0][0],d=E[1][0]),y&&(l=E[0][1],p=E[1][1]),E[0][0]===o&&E[0][1]===l&&E[1][0]===d&&E[1][1]===p||(C.selection=[[o,l],[d,p]],c.call(v),I.brush(t,w.name))}function U(t){if(ST(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500)}else _S(t.view,g),N.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),F.attr("cursor",NT.overlay),C.selection&&(E=C.selection),GT(E)&&(C.selection=null,c.call(v)),I.end(t,w.name)}function H(t){switch(t.keyCode){case 16:P=b&&x;break;case 18:w===AT&&(b&&(h=d-D*b,r=o+D*b),x&&(f=p-R*x,a=l+R*x),w=OT,j());break;case 32:w!==AT&&w!==OT||(b<0?h=d-D:b>0&&(r=o-D),x<0?f=p-R:x>0&&(a=l-R),w=kT,F.attr("cursor",NT.selection),j());break;default:return}ET(t)}function $(t){switch(t.keyCode){case 16:P&&(m=y=P=!1,j());break;case 18:w===OT&&(b<0?h=d:b>0&&(r=o),x<0?f=p:x>0&&(a=l),w=AT,j());break;case 32:w===kT&&(t.altKey?(b&&(h=d-D*b,r=o+D*b),x&&(f=p-R*x,a=l+R*x),w=OT):(b<0?h=d:b>0&&(r=o),x<0?f=p:x>0&&(a=l),w=AT),F.attr("cursor",NT[_]),j());break;default:return}ET(t)}}function f(t){u(this,arguments).moved(t)}function p(t){u(this,arguments).ended(t)}function g(){var e=this.__brush||{selection:null};return e.extent=LT(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.tween?e.on("start.brush",function(t){u(this,arguments).beforestart().start(t)}).on("interrupt.brush end.brush",function(t){u(this,arguments).end(t)}).tween("brush",function(){var e=this,i=e.__brush,r=u(e,arguments),s=i.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,i.extent),a=uE(s,o);function l(t){i.selection=1===t&&null===o?null:a(t),c.call(e),r.brush()}return null!==s&&null!==o?l:l(1)}):e.each(function(){var e=this,i=arguments,r=e.__brush,s=t.input("function"==typeof n?n.apply(e,i):n,r.extent),o=u(e,i).beforestart();IE(e),r.selection=null===s?null:s,c.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(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0==--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,i){var r=cS(this.that).datum();o.call(e,this.that,new CT(e,{sourceEvent:n,target:l,selection:t.output(this.state.selection),mode:i,dispatch:o}),r)}},l.extent=function(t){return arguments.length?(n="function"==typeof t?t:xT(LT(t)),l):n},l.filter=function(t){return arguments.length?(i="function"==typeof t?t:xT(!!t),l):i},l.touchable=function(t){return arguments.length?(r="function"==typeof t?t:xT(!!t),l):r},l.handleSize=function(t){return arguments.length?(a=+t,l):a},l.keyModifiers=function(t){return arguments.length?(s=!!t,l):s},l.on=function(){var t=o.on.apply(o,arguments);return t===o?l:t},l}(FT).extent([[0,0],[e,t]]).on("brush end",({selection:t})=>{const e=(t||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(e),this.cd.markForCheck()}),cS(this.element).select(".brush").call(this.brush)}updateBrush(){this.brush&&(this.brush.extent([[0,0],[this.view[0],this.height]]),cS(this.element).select(".brush").call(this.brush),cS(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck())}getDims(){return{width:this.view[0],height:this.height}}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(Vl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-timeline",""]],inputs:{height:"height",view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[ae],attrs:hR,ngContentSelectors:OD,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(t,e){1&t&&(Uo(),an(),Oo(0,"g",0),Oo(1,"filter"),Ro(2,"feColorMatrix",1),Do(),Oo(3,"g",2),Ho(4),Do(),Ro(5,"rect",3),Ro(6,"g",4),Do()),2&t&&(xo("transform",e.transform),Zr(1),xo("id",e.filterId),Zr(4),xo("width",e.view[0])("height",e.height))},styles:[".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"],encapsulation:2,changeDetection:0}),t})(),_P=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new bc,this.labelActivate=new bc,this.labelDeactivate=new bc,this.legendEntries=[]}ngOnChanges(t){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const t=[];for(const e of this.data){const n=iP(e);-1===t.findIndex(t=>t.label===n)&&t.push({label:e,formattedLabel:n,color:this.colors.getColor(e)})}return t}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.label===e.name)}activate(t){this.labelActivate.emit(t)}deactivate(t){this.labelDeactivate.emit(t)}trackBy(t,e){return e.label}}return t.\u0275fac=function(e){return new(e||t)(To(Vl))},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-legend"]],inputs:{horizontal:"horizontal",data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[ae],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(t,e){1&t&&(Oo(0,"div"),So(1,dR,3,1,"header",0),Oo(2,"div",1),Oo(3,"ul",2),So(4,fR,2,4,"li",3),Do(),Do(),Do()),2&t&&(Yo("width",e.width,"px"),Zr(1),ko("ngIf",(null==e.title?null:e.title.length)>0),Zr(2),Yo("max-height",e.height-45,"px"),Qo("horizontal-legend",e.horizontal),Zr(1),ko("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[$h,Uh,wP]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t})(),wP=(()=>{class t{constructor(){this.isActive=!1,this.select=new bc,this.activate=new bc,this.deactivate=new bc,this.toggle=new bc}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&Fo("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(Oo(0,"span",0),Fo("click",function(){return e.select.emit(e.formattedLabel)}),Oo(1,"span",1),Fo("click",function(){return e.toggle.emit(e.formattedLabel)}),Do(),Oo(2,"span",2),la(3),Do(),Do()),2&t&&(Qo("active",e.isActive),ko("title",e.formattedLabel),Zr(1),Yo("background-color",e.color),Zr(2),ua(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),bP=(()=>{class t{constructor(){this.horizontal=!1}ngOnChanges(t){const e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${e})`}gradientString(t,e){e.push(1);const n=[];return t.reverse().forEach((t,i)=>{n.push(`${t} ${Math.round(100*e[i])}%`)}),n.join(", ")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[ae],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(Oo(0,"div",0),Oo(1,"div",1),Oo(2,"span"),la(3),Do(),Do(),Ro(4,"div",2),Oo(5,"div",1),Oo(6,"span"),la(7),Do(),Do(),Do()),2&t&&(Yo("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),Qo("horizontal-legend",e.horizontal),Zr(3),ca(e.valueRange[1].toLocaleString()),Zr(1),Yo("background",e.gradient),Zr(3),ca(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t})(),xP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh,XR,nP],Qh,XR,nP]}),t})(),CP=[{name:"vivid",selectable:!0,group:UR.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:UR.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:UR.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:UR.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:UR.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:UR.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:UR.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:UR.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:UR.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:UR.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:UR.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:UR.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:UR.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:UR.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:UR.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class SP{constructor(t,e,n,i){"string"==typeof t&&(t=CP.find(e=>e.name===t)),this.colorDomain=t.domain,this.scaleType=e,this.domain=n,this.customColors=i,this.scale=this.generateColorScheme(t,e,this.domain)}generateColorScheme(t,e,n){let i;if("string"==typeof t&&(t=CP.find(e=>e.name===t)),e===UR.Quantile)i=WO().range(t.domain).domain(n);else if(e===UR.Ordinal)i=HO().range(t.domain).domain(n);else if(e===UR.Linear){const e=[...t.domain];1===e.length&&(e.push(e[0]),this.colorDomain=e);const n=jO(0,1,1/e.length);i=VO().domain(n).range(e)}return i}getColor(t){if(null==t)throw new Error("Value can not be null");if(this.scaleType===UR.Linear){const e=VO().domain(this.domain).range([0,1]);return this.scale(e(t))}{if("function"==typeof this.customColors)return this.customColors(t);const e=t.toString();let n;return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(t=>t.name.toLowerCase()===e.toLowerCase())),n?n.value:this.scale(t)}}getLinearGradientStops(t,e){void 0===e&&(e=this.domain[0]);const n=VO().domain(this.domain).range([0,1]),i=$O().domain(this.colorDomain).range([0,1]),r=this.getColor(t),s=n(e),o=this.getColor(e),a=n(t);let l=1,c=s;const u=[];for(u.push({color:o,offset:s,originalOffset:s,opacity:1});c<a&&l<this.colorDomain.length;){const t=this.colorDomain[l],e=i(t);if(e<=s)l++;else{if(e.toFixed(4)>=(a-i.bandwidth()).toFixed(4))break;u.push({color:t,offset:e,opacity:1}),c=e,l++}}if(u[u.length-1].offset<100&&u.push({color:r,offset:a,opacity:1}),a===s)u[0].offset=0,u[1].offset=100;else if(100!==u[u.length-1].offset)for(const h of u)h.offset=(h.offset-s)/(a-s)*100;return u}}let EP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),TP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),kP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),AP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),OP=(()=>{class t{constructor(t){this.element=t,this.fill="none",this.animations=!0,this.initialized=!1}ngOnChanges(t){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const t=cS(this.element.nativeElement).select(".line");this.animations?t.transition().duration(750).attr("d",this.path):t.attr("d",this.path)}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-line",""]],inputs:{fill:"fill",animations:"animations",path:"path",stroke:"stroke",data:"data"},features:[ae],attrs:yR,decls:1,vars:4,consts:[["stroke-width","1.5px",1,"line"]],template:function(t,e){1&t&&(an(),Ro(0,"path",0)),2&t&&(ko("@animationState","active"),xo("d",e.initialPath)("fill",e.fill)("stroke",e.stroke))},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({strokeDasharray:2e3,strokeDashoffset:2e3}),Tp(1e3,Ap({strokeDashoffset:0}))])])]},changeDetection:0}),t})(),DP=(()=>{class t extends BR{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=IR.Right,this.showGridLines=!0,this.curve=YO,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new bc,this.deactivate=new bc,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10}update(){super.update(),this.dims=function({width:t,height:e,margins:n,showXAxis:i=!1,showYAxis:r=!1,xAxisHeight:s=0,yAxisWidth:o=0,showXLabel:a=!1,showYLabel:l=!1,showLegend:c=!1,legendType:u=UR.Ordinal,legendPosition:h=IR.Right,columns:d=12}){let f=n[3],p=t,g=e-n[0]-n[2];if(c&&h===IR.Right&&(d-=u===UR.Ordinal?2:1),p=p*d/12,p=p-n[1]-n[3],i&&(g-=5,g-=s,a)&&(g-=30),r&&(p-=5,p-=o,f+=o,f+=10,l)){const t=30;p-=t,f+=t}return p=Math.max(0,p),g=Math.max(0,g),{width:Math.floor(p),height:Math.floor(g),xOffset:Math.floor(f)}}({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+oP().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let t=function(t){const e=new Set;for(const n of t)for(const t of n.series)e.add(t.name);return Array.from(e)}(this.results);this.scaleType=function(t,e=!0){return e&&t.every(t=>t instanceof Date)?UR.Time:t.every(t=>"number"==typeof t)?UR.Linear:UR.Ordinal}(t);let e,n,i=[];return this.scaleType===UR.Linear&&(t=t.map(t=>Number(t))),this.scaleType!==UR.Time&&this.scaleType!==UR.Linear||(e=this.xScaleMin?this.xScaleMin:Math.min(...t),n=this.xScaleMax?this.xScaleMax:Math.max(...t)),this.scaleType===UR.Time?(i=[new Date(e),new Date(n)],this.xSet=[...t].sort((t,e)=>{const n=t.getTime(),i=e.getTime();return n>i?1:i>n?-1:0})):this.scaleType===UR.Linear?(i=[e,n],this.xSet=[...t].sort((t,e)=>t-e)):(i=t,this.xSet=t),i}getYDomain(){const t=[];for(const n of this.results)for(const e of n.series)t.indexOf(e.value)<0&&t.push(e.value),void 0!==e.min&&(this.hasRange=!0,t.indexOf(e.min)<0&&t.push(e.min)),void 0!==e.max&&(this.hasRange=!0,t.indexOf(e.max)<0&&t.push(e.max));const e=[...t];return this.autoScale||e.push(0),[this.yScaleMin?this.yScaleMin:Math.min(...e),this.yScaleMax?this.yScaleMax:Math.max(...e)]}getSeriesDomain(){return this.results.map(t=>t.name)}getXScale(t,e){let n;return this.scaleType===UR.Time?n=xO().range([0,e]).domain(t):this.scaleType===UR.Linear?(n=VO().range([0,e]).domain(t),this.roundDomains&&(n=n.nice())):this.scaleType===UR.Ordinal&&(n=BO().range([0,e]).padding(.1).domain(t)),n}getYScale(t,e){const n=VO().range([e,0]).domain(t);return this.roundDomains?n.nice():n}updateDomain(t){this.filteredDomain=t,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(t){this.hoveredVertical=t.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(t){this.select.emit(t)}trackBy(t,e){return e.name}setColors(){let t;t=this.schemeType===UR.Ordinal?this.seriesDomain:this.yDomain,this.colors=new SP(this.scheme,this.schemeType,t,this.customColors)}getLegendOptions(){const t={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return t.scaleType===UR.Ordinal?(t.domain=this.seriesDomain,t.colors=this.colors,t.title=this.legendTitle):(t.domain=this.yDomain,t.colors=this.colors.scale),t}updateYAxisWidth({width:t}){this.yAxisWidth=t,this.update()}updateXAxisHeight({height:t}){this.xAxisHeight=t,this.update()}onActivate(t){this.deactivateAll(),this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value)>-1||(this.activeEntries=[t],this.activate.emit({value:t,entries:this.activeEntries}))}onDeactivate(t){const e=this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value);this.activeEntries.splice(e,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:t,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const t of this.activeEntries)this.deactivate.emit({value:t,entries:[]});this.activeEntries=[]}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-line-chart"]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,pR,5),Fc(n,gR,5)),2&t){let t;Mc(t=Ic())&&(e.tooltipTemplate=t.first),Mc(t=Ic())&&(e.seriesTooltipTemplate=t.first)}},hostBindings:function(t,e){1&t&&Fo("mouseleave",function(){return e.hideCircles()})},inputs:{legendTitle:"legendTitle",legendPosition:"legendPosition",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",showRefLabels:"showRefLabels",legend:"legend",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",referenceLines:"referenceLines",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[lo],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(t,e){1&t&&(Oo(0,"ngx-charts-chart",0),Fo("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)}),an(),Oo(1,"defs"),Oo(2,"clipPath"),Ro(3,"rect"),Do(),Do(),Oo(4,"g",1),So(5,vR,1,10,"g",2),So(6,_R,1,12,"g",3),Oo(7,"g"),So(8,wR,2,11,"g",4),So(9,xR,3,9,"g",5),Do(),Do(),So(10,SR,2,13,"g",6),Do()),2&t&&(ko("view",dc(17,mR,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions)("activeEntries",e.activeEntries)("animations",e.animations),Zr(2),xo("id",e.clipPathId),Zr(1),xo("width",e.dims.width+10)("height",e.dims.height+10)("transform","translate(-5, -5)"),Zr(1),xo("transform",e.transform),Zr(1),ko("ngIf",e.xAxis),Zr(1),ko("ngIf",e.yAxis),Zr(1),xo("clip-path",e.clipPath),Zr(1),ko("ngForOf",e.results)("ngForTrackBy",e.trackBy),Zr(1),ko("ngIf",!e.tooltipDisabled),Zr(1),ko("ngIf",e.timeline&&"ordinal"!=e.scaleType))},directives:function(){return[HR,$h,Uh,QR,ZR,RP,mP,lP,vP]},styles:[".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"],encapsulation:2,data:{animation:[Ep("animationState",[Op(":leave",[Ap({opacity:1}),Tp(500,Ap({opacity:0}))])])]},changeDetection:0}),t})(),RP=(()=>{class t{constructor(){this.animations=!0}ngOnChanges(t){this.update()}update(){this.updateGradients();const t=this.sortData(this.data.series),e=this.getLineGenerator();this.path=e(t)||"";const n=this.getAreaGenerator();if(this.areaPath=n(t)||"",this.hasRange){const e=this.getRangeGenerator();this.outerPath=e(t)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const t=this.data.series.map(t=>t.value),e=Math.max(...t);e===Math.min(...t)&&(this.stroke=this.colors.getColor(e))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return oD().x(t=>{const e=t.name;let n;return n=this.xScale(this.scaleType===UR.Time?e:this.scaleType===UR.Linear?Number(e):e),n}).y(t=>this.yScale(t.value)).curve(this.curve)}getRangeGenerator(){return aD().x(t=>{const e=t.name;let n;return n=this.xScale(this.scaleType===UR.Time?e:this.scaleType===UR.Linear?Number(e):e),n}).y0(t=>this.yScale("number"==typeof t.min?t.min:t.value)).y1(t=>this.yScale("number"==typeof t.max?t.max:t.value)).curve(this.curve)}getAreaGenerator(){return aD().x(t=>this.xScale(t.name)).y0(()=>this.yScale.range()[0]).y1(t=>this.yScale(t.value)).curve(this.curve)}sortData(t){return this.scaleType===UR.Linear?function(t,e,n="asc"){return t.sort((t,i)=>"asc"===n?t[e]-i[e]:i[e]-t[e])}(t,"name"):this.scaleType===UR.Time?function(t,e,n="asc"){return t.sort((t,i)=>{const r=t[e].getTime(),s=i[e].getTime();return"asc"===n?r>s?1:s>r?-1:0:r>s?-1:s>r?1:0})}(t,"name"):function(t,e,n="asc",i){return t.sort((t,r)=>{const s=r[e],o=i.indexOf(t[e]),a=i.indexOf(s);return"asc"===n?o-a:a-o})}(t,"name","asc",this.xScale.domain())}updateGradients(){if(this.colors.scaleType===UR.Linear){this.hasGradient=!0,this.gradientId="grad"+oP().toString(),this.gradientUrl=`url(#${this.gradientId})`;const t=this.data.series.map(t=>t.value),e=Math.max(...t),n=Math.min(...t);this.gradientStops=this.colors.getLinearGradientStops(e,n),this.areaGradientStops=this.colors.getLinearGradientStops(e)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.name===e.name)}isInactive(t){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(e=>t.name===e.name)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-line-series",""]],inputs:{animations:"animations",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange"},features:[ae],attrs:ER,decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),Oo(1,"defs"),So(2,TR,1,2,"g",0),Do(),Ro(3,"g",1),Ro(4,"g",2),So(5,kR,1,9,"g",3),Do()),2&t&&(Zr(2),ko("ngIf",e.hasGradient),Zr(1),Qo("active",e.isActive(e.data))("inactive",e.isInactive(e.data)),ko("data",e.data)("path",e.areaPath)("fill",e.hasGradient?e.gradientUrl:e.colors.getColor(e.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",e.areaGradientStops)("animations",e.animations),Zr(1),Qo("active",e.isActive(e.data))("inactive",e.isInactive(e.data)),ko("data",e.data)("path",e.path)("stroke",e.stroke)("animations",e.animations),Zr(1),ko("ngIf",e.hasRange))},directives:[$h,fP,OP,dP],encapsulation:2,changeDetection:0}),t})(),PP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})();Math;let MP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),LP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP,MP,PP]]}),t})(),FP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),IP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),NP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP,MP,TP]]}),t})(),VP=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[xP,EP,TP,kP,AP,PP,LP,FP,MP,IP,NP]}),t})(),jP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"router-outlet")},directives:[kw],styles:[""]}),t})();const UP={production:!1,name:"prod",apiUrl:"/api/v2/",headers:new Vd({"Content-Type":"application/json"})};class HP{constructor(t,e,n,i,r,s,o,a,l,c,u,h){this.id=t,this.uuid=e,this.name=n,this.date=i,this.description=r,this.muscles=[],this.musclesIds=[],this.musclesSecondary=[],this.musclesSecondaryIds=[],this.equipment=[],this.equipmentIds=[],this.images=[],this.categoryId=s,this.musclesIds=o,this.musclesSecondaryIds=a,this.equipmentIds=l,this.license=c,this.licenseAuthor=u,this.variations=h}}let $P=(()=>{class t{fromJson(t){return new HP(t.id,t.uuid,t.name,new Date(t.creation_date),t.description,t.category,t.muscles,t.muscles_secondary,t.equipment,t.license,t.license_author,t.variations)}toJson(t){return{id:t.id,name:t.name,description:t.description,category:t.categoryId,muscles:t.musclesIds,muscles_secondary:t.musclesSecondaryIds,equipment:t.equipmentIds}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class zP{constructor(t,e){this.id=t,this.name=e}}let BP=(()=>{class t{fromJson(t){return new zP(t.id,t.name)}toJson(t){return{id:t.id,name:t.name}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class qP{constructor(t,e,n){this.id=t,this.name=e,this.isFront=n}}let WP=(()=>{class t{fromJson(t){return new qP(t.id,t.name,t.is_front)}toJson(t){return{id:t.id,name:t.name,is_front:t.isFront}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class GP{constructor(t,e){this.id=t,this.name=e}}let YP=(()=>{class t{fromJson(t){return new GP(t.id,t.name)}toJson(t){return{id:t.id,name:t.name}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class QP{constructor(t,e,n,i){this.id=t,this.uuid=e,this.url=n,this.isMain=i}}let KP=(()=>{class t{fromJson(t){return new QP(t.id,t.uuid,t.image,t.is_main)}toJson(t){return{id:t.id,image:t.url,is_front:t.isMain}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ZP=(()=>{class t{constructor(t,e,n,i,r,s){this.http=t,this.exerciseAdapter=e,this.categoryAdapter=n,this.muscleAdapter=i,this.equipmentAdapter=r,this.exerciseImageAdapter=s,this.exerciseUrl=UP.apiUrl+"exercise",this.exerciseInfoUrl=UP.apiUrl+"exerciseinfo",this.categoryUrl=UP.apiUrl+"exercisecategory",this.muscleUrl=UP.apiUrl+"muscle",this.equipmentUrl=UP.apiUrl+"equipment",this.exercises=[],this.categories=[],this.muscles=[],this.equipment=[],this.loadBaseData()}loadBaseData(){this.http.get(this.categoryUrl).subscribe(t=>{for(const e of t.results)this.categories.push(this.categoryAdapter.fromJson(e))}),this.http.get(this.muscleUrl).subscribe(t=>{for(const e of t.results)this.muscles.push(this.muscleAdapter.fromJson(e))}),this.http.get(this.equipmentUrl).subscribe(t=>{for(const e of t.results)this.equipment.push(this.equipmentAdapter.fromJson(e))})}loadExercises(){return t=this,void 0,n=function*(){const t=yield this.http.get(this.exerciseInfoUrl,{params:{limit:10}}).toPromise();for(const e of t.results){const t=this.exerciseAdapter.fromJson(e);t.category=this.categoryAdapter.fromJson(e.category);for(const n of e.muscles)t.muscles.push(this.muscleAdapter.fromJson(n));for(const n of e.muscles_secondary)t.musclesSecondary.push(this.muscleAdapter.fromJson(n));for(const n of e.equipment)t.equipment.push(this.equipmentAdapter.fromJson(n));for(const n of e.images)t.images.push(this.exerciseImageAdapter.fromJson(n));this.exercises.push(t)}return this.exercises},new((e=void 0)||(e=Promise))(function(i,r){function s(t){try{a(n.next(t))}catch(e){r(e)}}function o(t){try{a(n.throw(t))}catch(e){r(e)}}function a(t){t.done?i(t.value):function(t){return t instanceof e?t:new e(function(e){e(t)})}(t.value).then(s,o)}a((n=n.apply(t,[])).next())});var t,e,n}getExercise(t){return this.exercises.find(e=>e.id===t)}getCategoryById(t){return this.categories.find(e=>e.id===t)}getMuscleById(t){return this.muscles.find(e=>e.id===t)}getEquipmentById(t){return this.equipment.find(e=>e.id===t)}updateExercise(t){}addExercise(t){}}return t.\u0275fac=function(e){return new(e||t)(di(tf),di($P),di(BP),di(WP),di(YP),di(KP))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class XP{constructor(t,e,n){this.date=t,this.weight=e,this.id=n}}let JP=(()=>{class t{fromJson(t){return new XP(new Date(t.date),parseFloat(t.weight),t.id)}toJson(t){return{id:t.id,name:t.date,weight:t.weight}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tM=(()=>{class t{constructor(){this.DJANGO_CSRF_COOKIE="csrftoken"}getCookie(t){let e=null;if(document.cookie&&""!==document.cookie){const n=document.cookie.split(";");for(let i=0;i<n.length;i++){const r=n[i].trim();if(r.substring(0,t.length+1)===t+"="){e=decodeURIComponent(r.substring(t.length+1));break}}}return e}get headers(){const t=this.getCookie(this.DJANGO_CSRF_COOKIE);let e=UP.headers;return null!=t&&(e=e.set("X-CSRFToken",t)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),eM=(()=>{class t{constructor(t,e,n){this.http=t,this.weightAdapter=e,this.authService=n,this.weightEntryUrl=UP.apiUrl+"weightentry/",this.weightChanged=new C,this.entries=[],this.loadWeightEntries()}get weightEntries(){return this.entries.slice()}sortEntries(){this.entries.sort((t,e)=>t.date>e.date?-1:1)}loadWeightEntries(){return this.http.get(this.weightEntryUrl,{params:{limit:500},headers:this.authService.headers}).subscribe(t=>{for(const e of t.results)this.entries.push(this.weightAdapter.fromJson(e));this.sortEntries(),this.weightChanged.next(this.weightEntries)}),this.weightEntries}updateWeightEntry(t,e){this.http.patch(this.weightEntryUrl+e+"/",t,{headers:this.authService.headers}).subscribe(t=>{const n=this.findIndexById(e);this.entries[n]=this.weightAdapter.fromJson(t),this.sortEntries(),this.weightChanged.next(this.weightEntries)})}addWeightEntry(t){this.http.post(this.weightEntryUrl,t,{headers:this.authService.headers}).subscribe(t=>{this.entries.push(this.weightAdapter.fromJson(t)),this.sortEntries(),this.weightChanged.next(this.weightEntries)})}deleteWeightEntry(t){this.http.delete(this.weightEntryUrl+t+"/",{headers:this.authService.headers}).subscribe(e=>{this.entries.forEach((e,n)=>{e.id==t&&this.entries.splice(n,1)}),this.weightChanged.next(this.weightEntries)})}findById(t){return this.entries.find(e=>e.id==t)}findIndexById(t){return this.entries.findIndex(e=>e.id==t)}}return t.\u0275fac=function(e){return new(e||t)(di(tf),di(JP),di(tM))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nM=(()=>{class t{constructor(t,e){this.service=t,this.formBuilder=e,this.closeEdit=new bc}ngOnInit(){this.weight||(console.log("this weight is not defined"),this.weight=new XP(new Date,0)),this.initForm()}initForm(){this.group=this.formBuilder.group({date:[this.weight.date.toISOString().split("T")[0],kf.required],weight:[this.weight.weight,[kf.required,kf.min(30),kf.max(300)]]})}onSubmit(){var t;this.group.invalid||((null===(t=this.weight)||void 0===t?void 0:t.id)?(console.log("editing weight entry "+this.weight.id),this.service.updateWeightEntry(this.group.value,this.weight.id)):(console.log("adding new weight entry"),this.service.addWeightEntry(this.group.value)),this.closeEdit.emit(),this.group.reset())}}return t.\u0275fac=function(e){return new(e||t)(To(eM),To(xp))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-edit"]],inputs:{weight:"weight"},outputs:{closeEdit:"closeEdit"},decls:14,vars:2,consts:function(){let t,e,n,i;return t="Datum",e="Gewicht",n="Speichern",i="Cancel",[[3,"formGroup","ngSubmit"],[1,"form-row"],[1,"col"],["for","date"],t,["type","date","id","date","formControlName","date",1,"form-control"],["for","weight"],e,["type","text","id","weight","formControlName","weight",1,"form-control"],["type","submit",1,"btn","btn-success","mt-2",3,"disabled"],n,["type","submit",1,"btn","btn-secondary","mt-2","ml-2",3,"click"],i]},template:function(t,e){1&t&&(Oo(0,"form",0),Fo("ngSubmit",function(){return e.onSubmit()}),Oo(1,"div",1),Oo(2,"div",2),Oo(3,"label",3),Za(4,4),Do(),Ro(5,"input",5),Do(),Oo(6,"div",2),Oo(7,"label",6),Za(8,7),Do(),Ro(9,"input",8),Do(),Do(),Oo(10,"button",9),Za(11,10),Do(),Oo(12,"button",11),Fo("click",function(){return e.closeEdit.emit()}),Za(13,12),Do(),Do()),2&t&&(ko("formGroup",e.group),Zr(10),ko("disabled",e.group.invalid))},directives:[fp,Wf,yp,bf,qf,_p],styles:[""]}),t})();const iM=["content"],rM=function(t){return[t,250]};function sM(t,e){if(1&t){const t=Po();Oo(0,"ngx-charts-line-chart",3),Fo("select",function(e){return Pe(t),Vo().onSelect(e)})("activate",function(e){return Pe(t),Vo().onActivate(e)})("deactivate",function(e){return Pe(t),Vo().onDeactivate(e)}),Do()}if(2&t){const t=Vo(),e=Eo(1);ko("view",hc(10,rM,e.offsetWidth))("scheme",t.colorScheme)("legend",t.legend)("showXAxisLabel",t.showXAxisLabel)("showYAxisLabel",t.showYAxisLabel)("xAxis",t.xAxis)("yAxis",t.yAxis)("timeline",t.timeline)("results",t.data)("autoScale",t.autoScale)}}function oM(t,e){if(1&t){const t=Po();Oo(0,"div",4),Oo(1,"h4",5),Za(2,6),Do(),Oo(3,"button",7),Fo("click",function(){return Pe(t).$implicit.dismiss()}),Oo(4,"span",8),la(5,"\xd7"),Do(),Do(),Do(),Oo(6,"div",9),Oo(7,"app-weight-edit",10),Fo("closeEdit",function(){return Pe(t),Vo().onFormCancelled()}),Do(),Do(),Oo(8,"div",11),Oo(9,"button",12),Fo("click",function(){return Pe(t).$implicit.close("Save click")}),Za(10,13),Do(),Do()}if(2&t){const t=Vo();Zr(7),ko("weight",t.selectedEntry)}}let aM=(()=>{class t{constructor(t,e){this.service=t,this.modalService=e,this.view=[700,300],this.legend=!1,this.showLabels=!0,this.animations=!0,this.xAxis=!0,this.yAxis=!0,this.showYAxisLabel=!1,this.showXAxisLabel=!1,this.timeline=!0,this.autoScale=!0,this.colorScheme={domain:["#266dd3"]},this.weightEntries=[]}ngOnInit(){this.subscription=this.service.weightChanged.subscribe(t=>{this.weightEntries=t,this.processData()})}ngOnDestroy(){this.subscription.unsubscribe()}processData(){const t=this.weightEntries.map(t=>({name:t.date,value:t.weight,id:t.id}));this.data=[{name:"Gewicht",series:t}]}onSelect(t){const e=this.service.findById(t.id);void 0!==e&&(this.selectedEntry=e,console.log(`Loaded entry ${e.id}`),this.openModal(this.input))}onActivate(t){console.log("Activate",JSON.parse(JSON.stringify(t)))}onDeactivate(t){console.log("Deactivate",JSON.parse(JSON.stringify(t)))}openModal(t){this.modalService.open(t,{ariaLabelledBy:"modal-basic-title"}).result.then(t=>{console.log(`Closed with: ${t}`)},t=>{console.log("Dismissed")})}onFormCancelled(){this.modalService.dismissAll()}}return t.\u0275fac=function(e){return new(e||t)(To(eM),To(Ox))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-chart"]],viewQuery:function(t,e){if(1&t&&Lc(iM,5),2&t){let t;Mc(t=Ic())&&(e.input=t.first)}},decls:5,vars:1,consts:function(){let t,e;return t="Eintrag hinzuf\xFCgen",e="Close",[["containerRef",""],[3,"view","scheme","legend","showXAxisLabel","showYAxisLabel","xAxis","yAxis","timeline","results","autoScale","select","activate","deactivate",4,"ngIf"],["content",""],[3,"view","scheme","legend","showXAxisLabel","showYAxisLabel","xAxis","yAxis","timeline","results","autoScale","select","activate","deactivate"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],t,["type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"weight","closeEdit"],[1,"modal-footer"],["type","button",1,"btn","btn-outline-dark",3,"click"],e]},template:function(t,e){1&t&&(Oo(0,"div",null,0),So(2,sM,1,12,"ngx-charts-line-chart",1),So(3,oM,11,1,"ng-template",null,2,Uc),Do()),2&t&&(Zr(2),ko("ngIf",null!==e.data))},directives:[$h,DP,nM],styles:[""]}),t})();function lM(t,e){if(1&t&&(Oo(0,"div"),la(1),Do()),2&t){const t=Vo();Zr(1),ua(" ",t.weightDiff," ")}}function cM(t,e){if(1&t&&(Oo(0,"div"),la(1),Do()),2&t){const t=Vo();Zr(1),ua(" ",t.dayDiff," ")}}function uM(t,e){if(1&t){const t=Po();Oo(0,"app-weight-edit",13),Fo("closeEdit",function(){return Pe(t),Vo().onFormCancelled()}),Do()}2&t&&ko("weight",Vo().entry)}let hM=(()=>{class t{constructor(t){this.weightService=t,this.showForm=!1}ngOnInit(){}toggleForm(){this.showForm=!this.showForm}onFormCancelled(){this.showForm=!1}deleteEntry(){this.weightService.deleteWeightEntry(this.entry.id)}}return t.\u0275fac=function(e){return new(e||t)(To(eM))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-detail"]],inputs:{entry:"entry",weightDiff:"weightDiff",dayDiff:"dayDiff"},decls:20,vars:8,consts:function(){let t,e;return t="Bearbeiten",e="L\xF6schen",[[1,"list-group-item"],[1,"row"],[1,"col-3"],[4,"ngIf"],[1,"col-2"],[1,"col-1"],["ngbDropdown","",1,"text-right"],["id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-link"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1"],["ngbDropdownItem","",3,"click"],t,e,[3,"weight","closeEdit",4,"ngIf"],[3,"weight","closeEdit"]]},template:function(t,e){1&t&&(Oo(0,"li",0),Oo(1,"div",1),Oo(2,"div",2),la(3),yc(4,"date"),Do(),Oo(5,"div",2),la(6),Do(),Oo(7,"div",2),So(8,lM,2,1,"div",3),Do(),Oo(9,"div",4),So(10,cM,2,1,"div",3),Do(),Oo(11,"div",5),Oo(12,"div",6),Ro(13,"button",7),Oo(14,"div",8),Oo(15,"button",9),Fo("click",function(){return e.toggleForm()}),Za(16,10),Do(),Oo(17,"button",9),Fo("click",function(){return e.deleteEntry()}),Za(18,11),Do(),Do(),Do(),Do(),Do(),So(19,uM,1,1,"app-weight-edit",12),Do()),2&t&&(Zr(3),ua(" ",function(t,e,n,i){const r=De(),s=be(r,24);return _c(r,vc(r,24)?gc(r,He(),5,s.transform,n,i,s):s.transform(n,i))}(0,0,e.entry.date,"shortDate")," "),Zr(3),ua(" ",e.entry.weight," "),Zr(2),ko("ngIf",null!==e.weightDiff),Zr(2),ko("ngIf",null!==e.dayDiff),Zr(9),ko("ngIf",e.showForm))},directives:[$h,yx,mx,px,fx,nM],pipes:[Gh],styles:[""]}),t})();function dM(t,e){if(1&t&&Ro(0,"app-weight-detail",13),2&t){const t=e.$implicit;ko("entry",t.entry)("dayDiff",t.dayDiff)("weightDiff",t.weightDiff)}}let fM=(()=>{class t{constructor(t){this.service=t,this.weightEntriesProcessed=[],this.page=1,this.pageSize=10,this.maxPageShown=7}ngOnInit(){this.subscription=this.service.weightChanged.subscribe(t=>{this.processWeightEntries(t)})}ngOnDestroy(){this.subscription.unsubscribe()}processWeightEntries(t){this.weightEntriesProcessed=[];const e=t.length;t.forEach((n,i)=>{const r=i+1,s=r<e?n.weight-t[r].weight:0,o=r<e?(n.date.getTime()-t[r].date.getTime())/864e5:0;this.weightEntriesProcessed.push({entry:n,weightDiff:s,dayDiff:o})})}}return t.\u0275fac=function(e){return new(e||t)(To(eM))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-list"]],decls:20,vars:11,consts:function(){let t,e,n,i;return t="Datum",e="Gewicht",n="Change",i="Days",[[1,"row"],[1,"col-12"],[1,"list-group"],[1,"list-group-item"],[1,"col-3","font-weight-bold"],t,e,n,[1,"col-2","font-weight-bold"],i,[1,"col-1"],[3,"entry","dayDiff","weightDiff",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","mt-2",3,"collectionSize","pageSize","page","boundaryLinks","ellipses","maxSize","pageChange"],[3,"entry","dayDiff","weightDiff"]]},template:function(t,e){1&t&&(Oo(0,"div",0),Oo(1,"div",1),Ro(2,"app-weight-chart"),Do(),Do(),Oo(3,"div",0),Oo(4,"div",1),Oo(5,"ul",2),Oo(6,"li",3),Oo(7,"div",0),Oo(8,"div",4),Za(9,5),Do(),Oo(10,"div",4),Za(11,6),Do(),Oo(12,"div",4),Za(13,7),Do(),Oo(14,"div",8),Za(15,9),Do(),Ro(16,"div",10),Do(),Do(),So(17,dM,1,3,"app-weight-detail",11),yc(18,"slice"),Do(),Oo(19,"ngb-pagination",12),Fo("pageChange",function(t){return e.page=t}),Do(),Do(),Do()),2&t&&(Zr(17),ko("ngForOf",function(t,e,n,i,r){const s=De(),o=be(s,38);return _c(s,vc(s,38)?mc(s,He(),7,o.transform,n,i,r,o):o.transform(n,i,r))}(0,0,e.weightEntriesProcessed,(e.page-1)*e.pageSize,e.page*e.pageSize)),Zr(2),ko("collectionSize",e.weightEntriesProcessed.length)("pageSize",e.pageSize)("page",e.page)("boundaryLinks",!0)("ellipses",!0)("maxSize",e.maxPageShown))},directives:[aM,Uh,jx,hM],pipes:[Yh],styles:[""]}),t})();const pM=[{path:"",component:fM},{path:":lang/dashboard",component:aM},{path:":lang/weight/overview",component:fM}];let gM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t,bootstrap:[jP]}),t.\u0275inj=ht({providers:[ZP,eM,{provide:Xu,useValue:"/"}],imports:[[ly,Dd,pf,vx,Dx,Ux,VP,bp,Nw.forRoot(pM)]]}),t})();UP.production&&function(){if(bu)throw new Error("Cannot enable prod mode after platform setup.");wu=!1}(),Ad().bootstrapModule(gM).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=178)}]);
\ No newline at end of file
diff --git a/wger/core/static/angular/de/polyfills.js b/wger/core/static/angular/de/polyfills.js
deleted file mode 100644
index 32373f10d..000000000
--- a/wger/core/static/angular/de/polyfills.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkwger_angular=self.webpackChunkwger_angular||[]).push([[429],{277:()=>{"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 s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let i=(()=>{class t{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.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=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(r,s,i=!1){if(O.hasOwnProperty(r)){if(!i&&a)throw Error("Already loaded patch: "+r)}else if(!e["__Zone_disable_"+r]){const a="Zone:"+r;n(a),O[r]=s(e,t,C),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){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.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||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,b),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=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(T,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,T,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==T&&e._transitionTo(b,T),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,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||y).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}return t.__symbol__=s,t})();const c={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{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:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(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!=S)throw new Error("Task is missing scheduleFn.");k(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,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,T)}_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==v&&(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=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){C.onUnhandledError(e)}}}C.microtaskDrainDone(),_=!1}}const y={name:"NO ZONE"},v="notScheduled",T="scheduling",b="scheduled",E="running",w="canceling",Z="unknown",S="microTask",D="macroTask",P="eventTask",O={},C={symbol:s,currentZoneFrame:()=>z,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s="addEventListener",a="removeEventListener",i=Zone.__symbol__(s),c=Zone.__symbol__(a),l="true",u="false",h=Zone.__symbol__("");function p(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const d=Zone.__symbol__,g="undefined"!=typeof window,_=g?window:void 0,k=g&&_||"object"==typeof self&&self||global,m=[null];function y(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function v(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in k)&&void 0!==k.process&&"[object process]"==={}.toString.call(k.process),E=!b&&!T&&!(!g||!_.HTMLElement),w=void 0!==k.process&&"[object process]"==={}.toString.call(k.process)&&!T&&!(!g||!_.HTMLElement),Z={},S=function(e){if(!(e=e||k.event))return;let t=Z[e.type];t||(t=Z[e.type]=d("ON_PROPERTY"+e.type));const n=this||e.target||k,o=n[t];let r;if(E&&n===_&&"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 D(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=d("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let u=Z[l];u||(u=Z[l]=d("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==k||(t=k),t&&(t[u]&&t.removeEventListener(l,S),c&&c.apply(t,m),"function"==typeof e?(t[u]=e,t.addEventListener(l,S,!1)):t[u]=null)},s.get=function(){let e=this;if(e||n!==k||(e=k),!e)return null;const t=e[u];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function P(e,t,n){if(t)for(let o=0;o<t.length;o++)D(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)D(e,t[o],n)}}const O=d("originalInstance");function C(e){const n=k[e];if(!n)return;k[d(e)]=n,k[e]=function(){const t=y(arguments,e);switch(t.length){case 0:this[O]=new n;break;case 1:this[O]=new n(t[0]);break;case 2:this[O]=new n(t[0],t[1]);break;case 3:this[O]=new n(t[0],t[1],t[2]);break;case 4:this[O]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},I(k[e],n);const o=new n(function(){});let r;for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?k[e].prototype[n]=function(){return this[O][n].apply(this[O],arguments)}:t(k[e].prototype,n,{set:function(t){"function"==typeof t?(this[O][n]=p(t,e+"."+n),I(this[O][n],t)):this[O][n]=t},get:function(){return this[O][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(k[e][r]=n[r])}function z(t,o,r){let s=t;for(;s&&!s.hasOwnProperty(o);)s=n(s);!s&&t[o]&&(s=t);const a=d(o);let i=null;if(s&&(!(i=s[a])||!s.hasOwnProperty(a))&&(i=s[a]=s[o],v(s&&e(s,o)))){const e=r(i,a,o);s[o]=function(){return e(this,arguments)},I(s[o],i)}return i}function j(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=z(e,t,e=>function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?f(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function I(e,t){e[d("OriginalDelegate")]=t}let R=!1,M=!1;function N(){try{const e=_.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function x(){if(R)return M;R=!0;try{const e=_.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(M=!0)}catch(e){}return M}Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("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(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{if(t.throwOriginal)throw t.rejection;throw t})}catch(e){h(e)}}};const u=s("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 g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState"),v=null,T=!0,b=!1;function E(e,t){return n=>{try{Z(e,t,n)}catch(o){Z(e,!1,o)}}}const w=s("currentTaskTrace");function Z(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{Z(e,!1,u)})(),e}if(o!==b&&s instanceof C&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)D(s),Z(e,s[g],s[_]);else if(o!==b&&"function"==typeof h)try{h.call(s,c(E(e,o)),c(E(e,!1)))}catch(u){c(()=>{Z(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&o===T&&(e[g]=e[y],e[_]=e[m]),o===b&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)P(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&o==b){e[g]=0;let o=s;try{throw new Error("Uncaught (in promise): "+((l=s)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(s&&s.stack?"\n"+s.stack:""))}catch(u){o=u}i&&(o.throwOriginal=!0),o.rejection=s,o.promise=e,o.zone=t.current,o.task=t.currentTask,a.push(o),n.scheduleMicroTask()}}}var l;return e}const S=s("rejectionHandledHandler");function D(e){if(0===e[g]){try{const n=t[S];n&&"function"==typeof n&&n.call(this,{rejection:e[_],promise:e})}catch(n){}e[g]=b;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function P(e,t,n,o,r){D(e);const s=e[g],a=s?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);Z(n,!0,i)}catch(o){Z(n,!1,o)}},n)}const O=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return Z(new this(null),T,e)}static reject(e){return Z(new this(null),b,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);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}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(E(t,T),E(t,b))}catch(n){Z(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(O),s=t.current;return this[g]==v?this[_].push(s,r,e,n):P(this,s,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(O);o[k]=k;const r=t.current;return this[g]==v?this[_].push(r,o,e,e):P(this,r,o,e,e),o}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const j=e[c]=e.Promise;e.Promise=C;const I=s("thenPatched");function R(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new C((e,t)=>{r.call(this,e,t)}).then(e,t)},e[I]=!0}return n.patchThen=R,j&&(R(j),z(e,"fetch",e=>{return t=e,function(e,n){let o=t.apply(e,n);if(o instanceof C)return o;let r=o.constructor;return r[I]||R(r),o};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=a,C}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=d("OriginalDelegate"),o=d("Promise"),r=d("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);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)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});let L=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){L=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(he){L=!1}const A={useG:!0},H={},F={},q=new RegExp("^"+h+"(\\w+)(true|false)$"),G=d("propagationStopped");function B(e,t){const n=(t?t(e):e)+u,o=(t?t(e):e)+l,r=h+n,s=h+o;H[e]={},H[e].false=r,H[e].true=s}function W(e,t,o){const r=o&&o.add||s,i=o&&o.rm||a,c=o&&o.listeners||"eventListeners",p=o&&o.rmAll||"removeAllListeners",f=d(r),g="."+r+":",_=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[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},k=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[H[t.type].false];if(o)if(1===o.length)_(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[G]);o++)_(e[o],n,t)}},m=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[H[t.type].true];if(o)if(1===o.length)_(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[G]);o++)_(e[o],n,t)}};function y(t,o){if(!t)return!1;let s=!0;o&&void 0!==o.useG&&(s=o.useG);const a=o&&o.vh;let _=!0;o&&void 0!==o.chkDup&&(_=o.chkDup);let y=!1;o&&void 0!==o.rt&&(y=o.rt);let v=t;for(;v&&!v.hasOwnProperty(r);)v=n(v);if(!v&&t[r]&&(v=t),!v)return!1;if(v[f])return!1;const T=o&&o.eventNameToString,E={},w=v[f]=v[r],Z=v[d(i)]=v[i],S=v[d(c)]=v[c],D=v[d(p)]=v[p];let P;function O(e,t){return!L&&"object"==typeof e&&e?!!e.capture:L&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}o&&o.prepend&&(P=v[d(o.prepend)]=v[o.prepend]);const C=s?function(e){if(!E.isExisting)return w.call(E.target,E.eventName,E.capture?m:k,E.options)}:function(e){return w.call(E.target,E.eventName,e.invoke,E.options)},z=s?function(e){if(!e.isRemoved){const t=H[e.eventName];let n;t&&(n=t[e.capture?l:u]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return Z.call(e.target,e.eventName,e.capture?m:k,e.options)}:function(e){return Z.call(e.target,e.eventName,e.invoke,e.options)},j=o&&o.diff?o.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},R=Zone[d("UNPATCHED_EVENTS")],M=e[d("PASSIVE_EVENTS")],N=function(t,n,r,i,c=!1,h=!1){return function(){const p=this||e;let f=arguments[0];o&&o.transferEventName&&(f=o.transferEventName(f));let d=arguments[1];if(!d)return t.apply(this,arguments);if(b&&"uncaughtException"===f)return t.apply(this,arguments);let g=!1;if("function"!=typeof d){if(!d.handleEvent)return t.apply(this,arguments);g=!0}if(a&&!a(t,d,p,arguments))return;const k=L&&!!M&&-1!==M.indexOf(f),m=O(arguments[2],k);if(R)for(let e=0;e<R.length;e++)if(f===R[e])return k?t.call(p,f,d,m):t.apply(this,arguments);const y=!!m&&("boolean"==typeof m||m.capture),v=!(!m||"object"!=typeof m)&&m.once,w=Zone.current;let Z=H[f];Z||(B(f,T),Z=H[f]);const S=Z[y?l:u];let D,P=p[S],C=!1;if(P){if(C=!0,_)for(let e=0;e<P.length;e++)if(j(P[e],d))return}else P=p[S]=[];const z=p.constructor.name,I=F[z];I&&(D=I[f]),D||(D=z+n+(T?T(f):f)),E.options=m,v&&(E.options.once=!1),E.target=p,E.capture=y,E.eventName=f,E.isExisting=C;const N=s?A:void 0;N&&(N.taskData=E);const x=w.scheduleEventTask(D,d,N,r,i);return E.target=null,N&&(N.taskData=null),v&&(m.once=!0),(L||"boolean"!=typeof x.options)&&(x.options=m),x.target=p,x.capture=y,x.eventName=f,g&&(x.originalDelegate=d),h?P.unshift(x):P.push(x),c?p:void 0}};return v[r]=N(w,g,C,z,y),P&&(v.prependListener=N(P,".prependListener:",function(e){return P.call(E.target,E.eventName,e.invoke,E.options)},z,y,!0)),v[i]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],s=!!r&&("boolean"==typeof r||r.capture),i=arguments[1];if(!i)return Z.apply(this,arguments);if(a&&!a(Z,i,t,arguments))return;const c=H[n];let p;c&&(p=c[s?l:u]);const f=p&&t[p];if(f)for(let e=0;e<f.length;e++){const o=f[e];if(j(o,i))return f.splice(e,1),o.isRemoved=!0,0===f.length&&(o.allRemoved=!0,t[p]=null,"string"==typeof n)&&(t[h+"ON_PROPERTY"+n]=null),o.zone.cancelTask(o),y?t:void 0}return Z.apply(this,arguments)},v[c]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],s=U(t,T?T(n):n);for(let e=0;e<s.length;e++){const t=s[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},v[p]=function(){const t=this||e;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const e=H[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=q.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[p].call(this,o)}this[p].call(this,"removeListener")}if(y)return this},I(v[r],w),I(v[i],Z),D&&I(v[p],D),S&&I(v[c],S),!0}let v=[];for(let n=0;n<t.length;n++)v[n]=y(t[n],o);return v}function U(e,t){if(!t){const n=[];for(let o in e){const r=q.exec(o);let s=r&&r[1];if(s&&(!t||s===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=H[t];n||(B(t),n=H[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function V(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[G]=!0,e&&e.apply(t,n)})}function $(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const X=["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"],Y=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],J=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],ee=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],te=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ne=["close","error","open","message"],oe=["error","message"],re=["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"],X,["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 se(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 ae(e,t,n,o){e&&P(e,se(e,t,n),o)}function ie(e,t){if(b&&!w)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(E){const e=window,t=N()?[{target:e,ignoreProperties:["error"]}]:[];ae(e,re.concat(["messageerror"]),r?r.concat(t):r,n(e)),ae(Document.prototype,re,r),void 0!==e.SVGElement&&ae(e.SVGElement.prototype,re,r),ae(Element.prototype,re,r),ae(HTMLElement.prototype,re,r),ae(HTMLMediaElement.prototype,Y,r),ae(HTMLFrameSetElement.prototype,X.concat(K),r),ae(HTMLBodyElement.prototype,X.concat(K),r),ae(HTMLFrameElement.prototype,J,r),ae(HTMLIFrameElement.prototype,J,r);const o=e.HTMLMarqueeElement;o&&ae(o.prototype,Q,r);const s=e.Worker;s&&ae(s.prototype,oe,r)}const s=t.XMLHttpRequest;s&&ae(s.prototype,ee,r);const a=t.XMLHttpRequestEventTarget;a&&ae(a&&a.prototype,ee,r),"undefined"!=typeof IDBIndex&&(ae(IDBIndex.prototype,te,r),ae(IDBRequest.prototype,te,r),ae(IDBOpenDBRequest.prototype,te,r),ae(IDBDatabase.prototype,te,r),ae(IDBTransaction.prototype,te,r),ae(IDBCursor.prototype,te,r)),o&&ae(WebSocket.prototype,ne,r)}Zone.__load_patch("util",(n,i,c)=>{c.patchOnProperties=P,c.patchMethod=z,c.bindArguments=y,c.patchMacroTask=j;const f=i.__symbol__("BLACK_LISTED_EVENTS"),d=i.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[f]=n[d]),n[f]&&(i[f]=i[d]=n[f]),c.patchEventPrototype=V,c.patchEventTarget=W,c.isIEOrEdge=x,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=o,c.ArraySlice=r,c.patchClass=C,c.wrapWithCurrentZone=p,c.filterProperties=se,c.attachOriginToPatched=I,c._redefineProperty=Object.defineProperty,c.patchCallbacks=$,c.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:H,eventNames:re,isBrowser:E,isMix:w,isNode:b,TRUE_STR:l,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:s,REMOVE_EVENT_LISTENER_STR:a})});const ce=d("zoneTask");function le(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=r.apply(e,n.args),t}function c(t){return s.call(e,t.data.handleId)}r=z(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},n=s[0];s[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete a[e.handleId]:e.handleId&&(e.handleId[ce]=null))}};const r=f(t,s[0],e,i,c);if(!r)return r;const l=r.data.handleId;return"number"==typeof l?a[l]=r:l&&(l[ce]=r),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(r.ref=l.ref.bind(l),r.unref=l.unref.bind(l)),"number"==typeof l||l?l:r}return n.apply(e,s)}),s=z(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[ce],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[ce]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ue(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=a+(e+s),i=a+(e+r);o[e]={},o[e][s]=t,o[e][r]=i}const i=e.EventTarget;return i&&i.prototype?(t.patchEventTarget(e,[i&&i.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",(e,t,n)=>{n.patchMethod(e,"queueMicrotask",e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",e=>{const t="set",n="clear";le(e,t,n,"Timeout"),le(e,t,n,"Interval"),le(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{le(e,"request","cancel","AnimationFrame"),le(e,"mozRequest","mozCancel","AnimationFrame"),le(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)z(e,n[o],(n,o,r)=>function(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ue(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,t,n)=>{C("MutationObserver"),C("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,n)=>{C("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,n)=>{C("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ie(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 u=e.XMLHttpRequest;if(!u)return;const h=u.prototype;let p=h[i],g=h[c];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[i],g=e[c]}}const _="readystatechange",k="scheduled";function m(e){const o=e.data,a=o.target;a[s]=!1,a[l]=!1;const u=a[r];p||(p=a[i],g=a[c]),u&&g.call(a,_,u);const h=a[r]=()=>{if(a.readyState===a.DONE)if(!o.aborted&&a[s]&&e.state===k){const n=a[t.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=a[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||e.state!==k||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==a[s]||(a[l]=!0)};return p.call(a,_,h),a[n]||(a[n]=e),w.apply(a,o.args),a[s]=!0,e}function y(){}function v(e){const t=e.data;return t.aborted=!0,Z.apply(t.target,t.args)}const T=z(h,"open",()=>function(e,t){return e[o]=0==t[2],e[a]=t[1],T.apply(e,t)}),b=d("fetchTaskAborting"),E=d("fetchTaskScheduling"),w=z(h,"send",()=>function(e,n){if(!0===t.current[E])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},o=f("XMLHttpRequest.send",y,t,m,v);e&&!0===e[l]&&!t.aborted&&o.state===k&&o.invoke()}}),Z=z(h,"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[b])return Z.apply(e,o)})}(e);const n=d("xhrTask"),o=d("xhrSync"),r=d("xhrListener"),s=d("xhrScheduled"),a=d("xhrURL"),l=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r<n.length;r++){const s=n[r],a=t[s];if(a){if(!v(e(t,s)))continue;t[s]=(e=>{const t=function(){return e.apply(this,y(arguments,o+"."+s))};return I(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){U(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[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})},435:(e,t,n)=>{"use strict";n(277)}},e=>{"use strict";e(e.s=435)}]);
\ No newline at end of file
diff --git a/wger/core/static/angular/de/runtime.js b/wger/core/static/angular/de/runtime.js
deleted file mode 100644
index 90cbc0843..000000000
--- a/wger/core/static/angular/de/runtime.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var r,e={},n={};function t(r){var a=n[r];if(void 0!==a)return a.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.m=e,r=[],t.O=(e,n,a,o)=>{if(!n){var l=1/0;for(s=0;s<r.length;s++){for(var[n,a,o]=r[s],u=!0,f=0;f<n.length;f++)(!1&o||l>=o)&&Object.keys(t.O).every(r=>t.O[r](n[f]))?n.splice(f--,1):(u=!1,o<l&&(l=o));u&&(r.splice(s--,1),e=a())}return e}o=o||0;for(var s=r.length;s>0&&r[s-1][2]>o;s--)r[s]=r[s-1];r[s]=[n,a,o]},t.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return t.d(e,{a:e}),e},t.d=(r,e)=>{for(var n in e)t.o(e,n)&&!t.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})},t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={666:0};t.O.j=e=>0===r[e];var e=(e,n)=>{var a,o,[l,u,f]=n,s=0;for(a in u)t.o(u,a)&&(t.m[a]=u[a]);if(f)var i=f(t);for(e&&e(n);s<l.length;s++)t.o(r,o=l[s])&&r[o]&&r[o][0](),r[l[s]]=0;return t.O(i)},n=self.webpackChunkwger_angular=self.webpackChunkwger_angular||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})()})();
\ No newline at end of file
diff --git a/wger/core/static/angular/de/styles.css b/wger/core/static/angular/de/styles.css
deleted file mode 100644
index dd1402e66..000000000
--- a/wger/core/static/angular/de/styles.css
+++ /dev/null
@@ -1,6 +0,0 @@
-/*!
- * Bootstrap v4.6.0 (https://getbootstrap.com/)
- * Copyright 2011-2021 The Bootstrap Authors
- * Copyright 2011-2021 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:initial;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:initial}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:initial}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #0000001a}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer:before{content:"\2014\00A0"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 8.333333%;max-width:8.333333%}.col-2{flex:0 0 16.666667%;max-width:16.666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.333333%;max-width:33.333333%}.col-5{flex:0 0 41.666667%;max-width:41.666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.333333%;max-width:58.333333%}.col-8{flex:0 0 66.666667%;max-width:66.666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.333333%;max-width:83.333333%}.col-11{flex:0 0 91.666667%;max-width:91.666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:#0000000d}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:#ffffff0d}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:initial;border:0}.form-control:-moz-focusring{color:#0000;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:initial;border:solid #0000;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:#28a745e6;border-radius:.25rem}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #28a74540}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:#dc3545e6;border-radius:.25rem}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #dc354540}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{display:flex;align-items:center;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:flex;align-items:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:initial;border:1px solid #0000;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem #007bff40}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem #268fff80}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #268fff80}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem #828a9180}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #828a9180}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success.focus,.btn-success:focus,.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem #48b46180}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #48b46180}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info.focus,.btn-info:focus,.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem #3ab0c380}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #3ab0c380}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem #deaa0c80}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #deaa0c80}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem #e1536180}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #e1536180}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light.focus,.btn-light:focus,.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem #d8d9db80}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d8d9db80}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem #52585d80}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #52585d80}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem #007bff80}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:initial}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #007bff80}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem #6c757d80}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:initial}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #6c757d80}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem #28a74580}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:initial}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #28a74580}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem #17a2b880}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:initial}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #17a2b880}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem #ffc10780}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:initial}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffc10780}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem #dc354580}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:initial}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #dc354580}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem #f8f9fa80}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:initial}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f8f9fa80}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem #343a4080}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:initial}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #343a4080}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid #0000;border-bottom:0;border-left:.3em solid #0000}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #00000026;border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid #0000;border-bottom:.3em solid;border-left:.3em solid #0000}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid #0000;border-right:0;border-bottom:.3em solid #0000;border-left:.3em solid}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropleft .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid #0000;border-right:.3em solid;border-bottom:.3em solid #0000}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:initial;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:initial}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio],.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:flex;align-items:center}.input-group>.custom-file:not(:first-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label:before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #007bff40}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label:before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label:before{pointer-events:none;background-color:#fff;border:1px solid #adb5bd}.custom-control-label:after,.custom-control-label:before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:""}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before,.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:#007bff80}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:#007bff80}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label:after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#fff;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:#007bff80}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:#0000;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{position:relative;width:100%;height:calc(1.5em + .75rem + 2px)}.custom-file-input{z-index:2;margin:0;overflow:hidden;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{left:0;z-index:1;height:calc(1.5em + .75rem + 2px);overflow:hidden;font-weight:400;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label,.custom-file-label:after{position:absolute;top:0;right:0;padding:.375rem .75rem;line-height:1.5;color:#495057}.custom-file-label:after{bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:initial;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:#dee2e6;border-color:#0000;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:#dee2e6;border-color:#0000;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:initial;border-color:#0000;border-width:.5rem}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;border:1px solid #0000;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:initial;border-color:#0000}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;padding:.5rem 1rem}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:initial;border:1px solid #0000;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:50%/100% 100% no-repeat}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:#000000e6}.navbar-light .navbar-nav .nav-link{color:#00000080}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:#000000b3}.navbar-light .navbar-nav .nav-link.disabled{color:#0000004d}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:#000000e6}.navbar-light .navbar-toggler{color:#00000080;border-color:#0000001a}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:#00000080}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:#000000e6}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:#ffffff80}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:#ffffffbf}.navbar-dark .navbar-nav .nav-link.disabled{color:#ffffff40}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:#ffffff80;border-color:#ffffff1a}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:#ffffff80}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:initial;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#00000008;border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#00000008;border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;grid-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:flex;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem #007bff40}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:initial;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem #007bff80}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem #6c757d80}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem #28a74580}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem #17a2b880}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem #ffc10780}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem #dc354580}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem #f8f9fa80}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem #343a4080}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid #0000;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{height:1rem;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,#ffffff26 25%,#0000 0,#0000 50%,#ffffff26 0,#ffffff26 75%,#0000 0,#0000);background-size:1rem 1rem}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.media{display:flex;align-items:flex-start}.media-body{flex:1}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:initial;border:0}a.close.disabled{pointer-events:none}.toast{flex-basis:350px;max-width:350px;font-size:.875rem;background-color:#ffffffd9;background-clip:padding-box;border:1px solid #0000001a;box-shadow:0 .25rem .75rem #0000001a;opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:flex;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:#ffffffd9;background-clip:padding-box;border-bottom:1px solid #0000000d;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid #0003;border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow:before{position:absolute;content:"";border-color:#0000;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{top:0;left:0;z-index:1060;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid #0003;border-radius:.3rem}.popover,.popover .arrow{position:absolute;display:block}.popover .arrow{width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow:after,.popover .arrow:before{position:absolute;display:block;content:"";border-color:#0000;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:#00000040}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:#00000040}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{top:0;border-width:0 .5rem .5rem;border-bottom-color:#00000040}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{top:1px;border-width:0 .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:#00000040}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:50%/100% 100% no-repeat}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:initial;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid #0000;border-bottom:10px solid #0000;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid;border-right:.25em solid #0000;border-radius:50%;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{animation-duration:1.5s}}.align-baseline{vertical-align:initial!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:initial!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive:before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9:before{padding-top:42.857143%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media (min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media (min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}@supports (position:sticky){.sticky-top{position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:#0000}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:#00000080!important}.text-white-50{color:#ffffff80!important}.text-hide{font:0/0 a;color:#0000;text-shadow:none;background-color:initial;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;word-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}}
\ No newline at end of file
diff --git a/wger/core/static/angular/en/3rdpartylicenses.txt b/wger/core/static/angular/en/3rdpartylicenses.txt
deleted file mode 100644
index 943cb37f0..000000000
--- a/wger/core/static/angular/en/3rdpartylicenses.txt
+++ /dev/null
@@ -1,921 +0,0 @@
-@angular/animations
-MIT
-
-@angular/cdk
-MIT
-The MIT License
-
-Copyright (c) 2021 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/forms
-MIT
-
-@angular/platform-browser
-MIT
-
-@angular/router
-MIT
-
-@ng-bootstrap/ng-bootstrap
-MIT
-The MIT License (MIT)
-
-Copyright (c) 2015-2018 Angular ng-bootstrap team
-
-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.
-
-
-@swimlane/ngx-charts
-MIT
-MIT License
-
-Copyright (c) 2017 Swimlane
-
-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.
-
-
-bootstrap
-MIT
-The MIT License (MIT)
-
-Copyright (c) 2011-2021 Twitter, Inc.
-Copyright (c) 2011-2021 The Bootstrap Authors
-
-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-array
-BSD-3-Clause
-Copyright 2010-2020 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-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-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-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-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-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-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-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.
-
-
-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.
-
-
-
-tslib
-0BSD
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
-zone.js
-MIT
-The MIT License
-
-Copyright (c) 2010-2020 Google LLC. https://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.
diff --git a/wger/core/static/angular/en/favicon.ico b/wger/core/static/angular/en/favicon.ico
deleted file mode 100644
index 997406ad2..000000000
Binary files a/wger/core/static/angular/en/favicon.ico and /dev/null differ
diff --git a/wger/core/static/angular/en/index.html b/wger/core/static/angular/en/index.html
deleted file mode 100644
index 64404eb0d..000000000
--- a/wger/core/static/angular/en/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html><html lang="en"><head>
- <meta charset="utf-8">
- <title>Angular</title>
- <base href="/en/">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" type="image/x-icon" href="favicon.ico">
-<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}*,:after,:before{box-sizing:border-box;}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff;}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;}@media (min-width:576px){.container{max-width:540px;}}@media (min-width:768px){.container{max-width:720px;}}@media (min-width:992px){.container{max-width:960px;}}@media (min-width:1200px){.container{max-width:1140px;}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px;}.col-12{position:relative;width:100%;padding-right:15px;padding-left:15px;}.col-12{flex:0 0 100%;max-width:100%;}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important;}@page {size:a3;}.container,body{min-width:992px!important;}}</style><link rel="stylesheet" href="styles.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.css"></noscript></head>
-<body>
- <div class="container">
- <div class="row">
- <div class="col-12">
-
- <app-root></app-root>
- </div>
- </div>
- </div>
-<script src="runtime.js" defer></script><script src="polyfills.js" defer></script><script src="main.js" defer></script>
-
-</body></html>
\ No newline at end of file
diff --git a/wger/core/static/angular/en/main.js b/wger/core/static/angular/en/main.js
deleted file mode 100644
index c781e38e2..000000000
--- a/wger/core/static/angular/en/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"en"});
-"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);;
-(self.webpackChunkwger_angular=self.webpackChunkwger_angular||[]).push([[179],{255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},178:(t,e,n)=>{"use strict";function i(t){return"function"==typeof t}let r=!1;const s={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}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=Array.isArray||(t=>t&&"number"==typeof t.length);function c(t){return null!==t&&"object"==typeof t}const u=(()=>{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})();class h{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof h)e.remove(this);else if(null!==e)for(let i=0;i<e.length;++i)e[i].remove(this);if(i(r)){n&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){t=o instanceof u?d(o.errors):[o]}}if(l(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(c(n))try{n.unsubscribe()}catch(o){t=t||[],o instanceof u?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new u(t)}add(t){let e=t;if(!t)return h.EMPTY;switch(typeof t){case"function":e=new h(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof h)){const t=e;e=new h,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof h){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[e]:i.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}h.EMPTY=function(t){return t.closed=!0,t}(new h);const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[f](){return this}static create(t,e,n){const i=new p(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends p{constructor(t,e,n,r){let s;super(),this._parentSubscriber=t;let o=this;i(e)?s=e:e&&(s=e.next,n=e.error,r=e.complete,e!==a&&(o=Object.create(e),i(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(o(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(t){return t}let v=(()=>{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:i}=this,r=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(a)}(t,e,n);if(r.add(i?i.call(r,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.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 p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=_(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b extends h{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)}}class x extends p{constructor(t){super(t),this.destination=t}}let C=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new b(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new S(t,e),t})();class S extends C{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):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}function T(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 k(t,e))}}class k{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 p{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)}}const O=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()},D="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",R=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function P(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(R(t))return O(t);if(P(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[D])return e=t,t=>{const n=e[D]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}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=c(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};function L(t,e){return new v(n=>{const i=new h;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new v(n=>{const i=new h;return i.add(e.schedule(()=>{const r=t[m]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(P(t))return function(t,e){return new v(n=>{const i=new h;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(R(t))return L(t,e);if(function(t){return t&&"function"==typeof t[D]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const i=new h;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[D](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}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 v?t:new v(M(t))}class I extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class N extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function V(t,e){if(e.closed)return;if(t instanceof v)return t.subscribe(e);let n;try{n=M(t)(e)}catch(i){e.error(i)}return n}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(j((n,i)=>F(t(n,i)).pipe(T((t,r)=>e(n,t,i,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new U(t,n)))}class U{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new H(t,this.project,this.concurrent))}}class H extends N{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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new I(this),n=this.destination;n.add(e);const i=V(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t=Number.POSITIVE_INFINITY){return j(y,t)}function z(t,e){return e?L(t,e):new v(O(t))}function B(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new W(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class W extends p{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,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class G extends v{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 h,t.add(this.source.subscribe(new Q(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Y=(()=>{const t=G.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 Q extends x{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 K(){return new C}function Z(t){for(let e in t)if(t[e]===Z)return e;throw Error("Could not find renamed property on target object.")}function X(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function J(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(J).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 tt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const et=Z({__forward_ref__:Z});function nt(t){return t.__forward_ref__=nt,t.toString=function(){return J(this())},t}function it(t){return rt(t)?t():t}function rt(t){return"function"==typeof t&&t.hasOwnProperty(et)&&t.__forward_ref__===nt}class st extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ot(t){return"string"==typeof t?t:null==t?"":String(t)}function at(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ot(t)}function lt(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${at(t)} found${n}`)}function ct(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function dt(t){return ft(t,gt)||ft(t,yt)}function ft(t,e){return t.hasOwnProperty(e)?t[e]:null}function pt(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(vt))?t[mt]:null}const gt=Z({"\u0275prov":Z}),mt=Z({"\u0275inj":Z}),yt=Z({ngInjectableDef:Z}),vt=Z({ngInjectorDef:Z});var _t=(()=>((_t=_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))();let wt;function bt(t){const e=wt;return wt=t,e}function xt(t,e,n){const i=dt(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&_t.Optional?null:void 0!==e?e:void lt(J(t),"Injector")}function Ct(t){return{toString:t}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),Et=(()=>((Et=Et||{})[Et.Emulated=0]="Emulated",Et[Et.None=2]="None",Et[Et.ShadowDom=3]="ShadowDom",Et))();const Tt="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,At="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ot="undefined"!=typeof global&&global,Dt=Tt||Ot||kt||At,Rt={},Pt=[],Mt=Z({"\u0275cmp":Z}),Lt=Z({"\u0275dir":Z}),Ft=Z({"\u0275pipe":Z}),It=Z({"\u0275mod":Z}),Nt=Z({"\u0275loc":Z}),Vt=Z({"\u0275fac":Z}),jt=Z({__NG_ELEMENT_ID__:Z});let Ut=0;function Ht(t){return Ct(()=>{const e={},n={type:t.type,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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Et.Emulated,id:"c",styles:t.styles||Pt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=Ut++,n.inputs=Wt(t.inputs,e),n.outputs=Wt(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map($t):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(zt):null,n})}function $t(t){return Qt(t)||function(t){return t[Lt]||null}(t)}function zt(t){return function(t){return t[Ft]||null}(t)}const Bt={};function qt(t){return Ct(()=>{const e={type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Bt[t.id]=t.type),e})}function Wt(t,e){if(null==t)return Rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const Gt=Ht;function Yt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qt(t){return t[Mt]||null}function Kt(t,e){const n=t[It]||null;if(!n&&!0===e)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return n}const Zt=20,Xt=10;function Jt(t){return Array.isArray(t)&&"object"==typeof t[1]}function te(t){return Array.isArray(t)&&!0===t[1]}function ee(t){return 0!=(8&t.flags)}function ne(t){return 2==(2&t.flags)}function ie(t){return 1==(1&t.flags)}function re(t){return null!==t.template}function se(t,e){return t.hasOwnProperty(Vt)?t[Vt]:null}class oe{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ae(){return le}function le(t){return t.type.prototype.ngOnChanges&&(t.setInput=ue),ce}function ce(){const t=he(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ue(t,e,n,i){const r=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Rt,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new oe(l&&l.currentValue,e,o===Rt),t[i]=e}function he(t){return t.__ngSimpleChanges__||null}ae.ngInherit=!0;const de="http://www.w3.org/2000/svg";let fe;function pe(){return void 0!==fe?fe:"undefined"!=typeof document?document:void 0}function ge(t){return!!t.listen}const me={createRenderer:(t,e)=>pe()};function ye(t){for(;Array.isArray(t);)t=t[0];return t}function ve(t,e){return ye(e[t])}function _e(t,e){return ye(e[t.index])}function we(t,e){return t.data[e]}function be(t,e){return t[e]}function xe(t,e){const n=e[t];return Jt(n)?n:n[0]}function Ce(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Ee(t,e){return null==e?null:t[e]}function Te(t){t[18]=0}function ke(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ae={lFrame:Je(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Oe(){return Ae.bindingsEnabled}function De(){return Ae.lFrame.lView}function Re(){return Ae.lFrame.tView}function Pe(t){return Ae.lFrame.contextLView=t,t[8]}function Me(){let t=Le();for(;null!==t&&64===t.type;)t=t.parent;return t}function Le(){return Ae.lFrame.currentTNode}function Fe(){const t=Ae.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ie(t,e){const n=Ae.lFrame;n.currentTNode=t,n.isParent=e}function Ne(){return Ae.lFrame.isParent}function Ve(){Ae.lFrame.isParent=!1}function je(){return Ae.isInCheckNoChangesMode}function Ue(t){Ae.isInCheckNoChangesMode=t}function He(){const t=Ae.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function $e(){return Ae.lFrame.bindingIndex++}function ze(t){const e=Ae.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Be(t){Ae.lFrame.inI18n=t}function qe(t,e){const n=Ae.lFrame;n.bindingIndex=n.bindingRootIndex=t,We(e)}function We(t){Ae.lFrame.currentDirectiveIndex=t}function Ge(){return Ae.lFrame.currentQueryIndex}function Ye(t){Ae.lFrame.currentQueryIndex=t}function Qe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ke(t,e,n){if(n&_t.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&_t.Host||(i=Qe(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Ae.lFrame=Xe();return i.currentTNode=e,i.lView=t,!0}function Ze(t){const e=Xe(),n=t[1];Ae.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Xe(){const t=Ae.lFrame,e=null===t?null:t.child;return null===e?Je(t):e}function Je(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function tn(){const t=Ae.lFrame;return Ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const en=tn;function nn(){const t=tn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function rn(){return Ae.lFrame.selectedIndex}function sn(t){Ae.lFrame.selectedIndex=t}function on(){const t=Ae.lFrame;return we(t.tView,t.selectedIndex)}function an(){Ae.lFrame.currentNamespace=de}function ln(){Ae.lFrame.currentNamespace=null}function cn(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:r,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),r&&((t.contentHooks||(t.contentHooks=[])).push(n,r),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,r)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function un(t,e,n){fn(t,e,3,n)}function hn(t,e,n,i){(3&t[2])===n&&fn(t,e,n,i)}function dn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function fn(t,e,n,i){const r=null!=i?i:-1,s=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<s;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<r||-1==r)&&(pn(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function pn(t,e,n,i){const r=n[i]<0,s=n[i+1],o=t[r?-n[i]:n[i]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(o)}finally{}}}else try{s.call(o)}finally{}}const gn=-1;class mn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function yn(t,e,n){const i=ge(t);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],l=n[r++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++r];_n(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function vn(t){return 3===t||4===t||6===t}function _n(t){return 64===t.charCodeAt(0)}function wn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?n=r:0===n||bn(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function bn(t,e,n,i,r){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function xn(t){return t!==gn}function Cn(t){return 32767&t}function Sn(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let En=!0;function Tn(t){const e=En;return En=t,e}let kn=0;function An(t,e){const n=Dn(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,On(i.data,t),On(e,null),On(i.blueprint,null));const r=Rn(t,e),s=t.injectorIndex;if(xn(r)){const t=Cn(r),n=Sn(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function On(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Rn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return gn;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return gn}function Pn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(i=n[jt]),null==i&&(i=n[jt]=kn++);const r=255&i;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function Mn(t,e,n){if(n&_t.Optional)return t;lt(e,"NodeInjector")}function Ln(t,e,n,i){if(n&_t.Optional&&void 0===i&&(i=null),0==(n&(_t.Self|_t.Host))){const r=t[9],s=bt(void 0);try{return r?r.get(e,i,n&_t.Optional):xt(e,i,n&_t.Optional)}finally{bt(s)}}return Mn(i,e,n)}function Fn(t,e,n,i=_t.Default,r){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(jt)?t[jt]:void 0;return"number"==typeof e?e>=0?255&e:Nn:e}(n);if("function"==typeof s){if(!Ke(e,t,i))return i&_t.Host?Mn(r,n,i):Ln(e,n,i,r);try{const t=s(i);if(null!=t||i&_t.Optional)return t;lt(n)}finally{en()}}else if("number"==typeof s){let r=null,o=Dn(t,e),a=gn,l=i&_t.Host?e[16][6]:null;for((-1===o||i&_t.SkipSelf)&&(a=-1===o?Rn(t,e):e[o+8],a!==gn&&$n(i,!1)?(r=e[1],o=Cn(a),e=Sn(a,e)):o=-1);-1!==o;){const t=e[1];if(Hn(s,o,t.data)){const t=Vn(o,e,n,r,i,l);if(t!==In)return t}a=e[o+8],a!==gn&&$n(i,e[1].data[o+8]===l)&&Hn(s,o,e)?(r=t,o=Cn(a),e=Sn(a,e)):o=-1}}}return Ln(e,n,i,r)}const In={};function Nn(){return new zn(Me(),De())}function Vn(t,e,n,i,r,s){const o=e[1],a=o.data[t+8],l=jn(a,o,n,null==i?ne(a)&&En:i!=o&&0!=(3&a.type),r&_t.Host&&s===a);return null!==l?Un(e,o,l,a):In}function jn(t,e,n,i,r){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(r){const t=o[l];if(t&&re(t)&&t.type===n)return l}return null}function Un(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof mn){const o=r;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(at(s[n]));const a=Tn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?bt(o.injectImpl):null;Ke(t,i,_t.Default);try{r=t[n]=o.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=le(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&bt(l),Tn(a),o.resolving=!1,en()}}return r}function Hn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function $n(t,e){return!(t&_t.Self||t&_t.Host&&e)}class zn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Fn(this._tNode,this._lView,t,void 0,e)}}function Bn(t){return Ct(()=>{const e=t.prototype.constructor,n=e[Vt]||qn(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[Vt]||qn(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function qn(t){return rt(t)?()=>{const e=qn(it(t));return e&&e()}:se(t)}const Wn="__parameters__";function Gn(t,e,n){return Ct(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(Wn)?t[Wn]:Object.defineProperty(t,Wn,{value:[]})[Wn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class Yn{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=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Qn=new Yn("AnalyzeForEntryComponents"),Kn=Function;function Zn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),Zn(i,e)):e!==t&&e.push(i)}return e}function Xn(t,e){t.forEach(t=>Array.isArray(t)?Xn(t,e):e(t))}function Jn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ti(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ei(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function ni(t,e,n){let i=ri(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function ii(t,e){const n=ri(t,e);if(n>=0)return t[1|n]}function ri(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const si={},oi=/\n/gm,ai="__source",li=Z({provide:String,useValue:Z});let ci;function ui(t){const e=ci;return ci=t,e}function hi(t,e=_t.Default){if(void 0===ci)throw new Error("inject() must be called from an injection context");return null===ci?xt(t,void 0,e):ci.get(t,e&_t.Optional?null:void 0,e)}function di(t,e=_t.Default){return(wt||hi)(it(t),e)}function fi(t){const e=[];for(let n=0;n<t.length;n++){const i=it(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=_t.Default;for(let e=0;e<i.length;e++){const r=i[e],s=r.__NG_DI_FLAG__;"number"==typeof s?-1===s?t=r.token:n|=s:t=r}e.push(di(t,n))}else e.push(di(i))}return e}function pi(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const gi=pi(Gn("Inject",t=>({token:t})),-1),mi=pi(Gn("Optional"),8),yi=pi(Gn("SkipSelf"),4);let vi,_i;function wi(t){var e;return(null===(e=function(){if(void 0===vi&&(vi=null,Dt.trustedTypes))try{vi=Dt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return vi}())||void 0===e?void 0:e.createHTML(t))||t}function bi(t){var e;return(null===(e=function(){if(void 0===_i&&(_i=null,Dt.trustedTypes))try{_i=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return _i}())||void 0===e?void 0:e.createHTML(t))||t}class xi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ci(t){return t instanceof xi?t.changingThisBreaksApplicationSecurity:t}function Si(t){const e=new Ti(t);return function(){try{return!!(new window.DOMParser).parseFromString(wi(""),"text/html")}catch(t){return!1}}()?new Ei(e):e}class Ei{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(wi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Ti{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=wi(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=wi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ki=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Ai=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Oi(t){return(t=String(t)).match(ki)||t.match(Ai)?t:"unsafe:"+t}function Di(t){return(t=String(t)).split(",").map(t=>Oi(t.trim())).join(", ")}function Ri(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Pi(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Mi=Ri("area,br,col,hr,img,wbr"),Li=Ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fi=Ri("rp,rt"),Ii=Pi(Fi,Li),Ni=Pi(Mi,Pi(Li,Ri("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Pi(Fi,Ri("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ii),Vi=Ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ji=Ri("srcset"),Ui=Pi(Vi,ji,Ri("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ri("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Hi=Ri("script,style,template");class $i{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Ni.hasOwnProperty(e))return this.sanitizedSomething=!0,!Hi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!Ui.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;Vi[r]&&(s=Oi(s)),ji[r]&&(s=Di(s)),this.buf.push(" ",e,'="',qi(s),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ni.hasOwnProperty(e)&&!Mi.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(qi(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 zi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bi=/([^\#-~ |!])/g;function qi(t){return t.replace(/&/g,"&amp;").replace(zi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Bi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Wi;function Gi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Qi(t){const e=function(){const t=De();return t&&t[12]}();return e?bi(e.sanitize(Yi.HTML,t)||""):function(t,e){const n=function(t){return t instanceof xi&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"HTML")?bi(Ci(t)):function(t,e){let n=null;try{Wi=Wi||Si(t);let i=e?String(e):"";n=Wi.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Wi.getInertBodyElement(i)}while(i!==s);return wi((new $i).sanitizeChildren(Gi(n)||n))}finally{if(n){const t=Gi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(pe(),ot(t))}function Ki(t,e){t.__ngContext__=e}function Zi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Xi(t){return t.ngOriginalError}function Ji(t,...e){t.error(...e)}class tr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t&&t.ngErrorLogger||Ji}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(Xi(t)):null}_findOriginalError(t){let e=t&&Xi(t);for(;e&&Xi(e);)e=Xi(e);return e||null}}const er=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Dt))();function nr(t){return t.ownerDocument.defaultView}function ir(t){return t instanceof Function?t():t}var rr=(()=>((rr=rr||{})[rr.Important=1]="Important",rr[rr.DashCase=2]="DashCase",rr))();let sr;function or(t,e){return sr(t,e)}function ar(t){const e=t[3];return te(e)?e[3]:e}function lr(t){return ur(t[13])}function cr(t){return ur(t[4])}function ur(t){for(;null!==t&&!te(t);)t=t[4];return t}function hr(t,e,n,i,r){if(null!=i){let s,o=!1;te(i)?s=i:Jt(i)&&(o=!0,i=i[0]);const a=ye(i);0===t&&null!==n?null==r?br(e,n,a):wr(e,n,a,r||null,!0):1===t&&null!==n?wr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Cr(t,e);i&&function(t,e,n,i){ge(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,i,r){const s=n[7];s!==ye(n)&&hr(e,t,i,s,r);for(let o=Xt;o<n.length;o++){const r=n[o];Lr(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function dr(t,e){return ge(t)?t.createText(e):t.createTextNode(e)}function fr(t,e,n){return ge(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function pr(t,e){const n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,ke(r,-1)),n.splice(i,1)}function gr(t,e){if(t.length<=Xt)return;const n=Xt+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&pr(s,i),e>0&&(t[n-1][4]=i[4]);const o=ti(t,Xt+e);Lr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function mr(t,e){if(!(256&e[2])){const n=e[11];ge(n)&&n.destroyNode&&Lr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return yr(t[1],t);for(;e;){let n=null;if(Jt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Jt(e)&&yr(e[1],e),e=e[3];null===e&&(e=t),Jt(e)&&yr(e[1],e),n=e&&e[4]}e=n}}(e)}}function yr(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 i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof mn)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const i=t[e[n]],r=e[n+1];try{r.call(i)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let r=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const t=n[s+1],o="function"==typeof t?t(e):ye(e[t]),a=i[r=n[s+2]],l=n[s+3];"boolean"==typeof l?o.removeEventListener(n[s],a,l):l>=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const t=i[r=n[s+1]];n[s].call(t)}if(null!==i){for(let t=r+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&ge(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&te(e[3])){n!==e[3]&&pr(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function vr(t,e,n){return _r(t,e.parent,n)}function _r(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===Et.None||e===Et.Emulated)return null}return _e(i,n)}function wr(t,e,n,i,r){ge(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function br(t,e,n){ge(t)?t.appendChild(e,n):e.appendChild(n)}function xr(t,e,n,i,r){null!==i?wr(t,e,n,i,r):br(t,e,n)}function Cr(t,e){return ge(t)?t.parentNode(e):e.parentNode}function Sr(t,e,n){return kr(t,e,n)}function Er(t,e,n){return 40&t.type?_e(t,n):null}let Tr,kr=Er;function Ar(t,e){kr=t,Tr=e}function Or(t,e,n,i){const r=vr(t,i,e),s=e[11],o=Sr(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(let a=0;a<n.length;a++)xr(s,r,n[a],o,!1);else xr(s,r,n,o,!1);void 0!==Tr&&Tr(s,i,e,n,r)}function Dr(t,e){if(null!==e){const n=e.type;if(3&n)return _e(e,t);if(4&n)return Pr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Dr(t,n);{const n=t[e.index];return te(n)?Pr(-1,n):ye(n)}}if(32&n)return or(e,t)()||ye(t[e.index]);{const n=Rr(t,e);return null!==n?Array.isArray(n)?n[0]:Dr(ar(t[16]),n):Dr(t,e.next)}}return null}function Rr(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Pr(t,e){const n=Xt+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Dr(t,i)}return e[7]}function Mr(t,e,n,i,r,s,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===e&&(a&&Ki(ye(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Mr(t,e,n.child,i,r,s,!1),hr(e,t,r,a,s);else if(32&l){const o=or(n,i);let l;for(;l=o();)hr(e,t,r,l,s);hr(e,t,r,a,s)}else 16&l?Fr(t,e,i,n,r,s):hr(e,t,r,a,s);n=o?n.projectionNext:n.next}}function Lr(t,e,n,i,r,s){Mr(n,i,t.firstChild,e,r,s,!1)}function Fr(t,e,n,i,r,s){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)hr(e,t,r,a[l],s);else Mr(t,e,a,o[3],r,s,!0)}function Ir(t,e,n){ge(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Nr(t,e,n){ge(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Vr(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const jr="ng-template";function Ur(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&"class"===r){if(r=t[i],-1!==Vr(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Hr(t){return 4===t.type&&t.value!==jr}function $r(t,e,n){return e===(4!==t.type||n?t.value:jr)}function zr(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(vn(t[e]))return e;return t.length}(r);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!$r(t,l,n)||""===l&&1===e.length){if(Br(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!Ur(t.attrs,c,n)){if(Br(i))return!1;o=!0}continue}const u=qr(8&i?"class":l,r,Hr(t),n);if(-1===u){if(Br(i))return!1;o=!0;continue}if(""!==c){let t;t=u>s?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==Vr(e,c,0)||2&i&&c!==t){if(Br(i))return!1;o=!0}}}}else{if(!o&&!Br(i)&&!Br(l))return!1;if(o&&Br(l))continue;o=!1,i=l|1&i}}return Br(i)||o}function Br(t){return 0==(1&t)}function qr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Wr(t,e,n=!1){for(let i=0;i<e.length;i++)if(zr(t,e[i],n))return!0;return!1}function Gr(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Yr(t,e){return t?":not("+e.trim()+")":e}function Qr(t){let e=t[0],n=1,i=2,r="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Br(o)||(e+=Yr(s,r),r=""),i=o,s=s||!Br(i);n++}return""!==r&&(e+=Yr(s,r)),e}const Kr={};function Zr(t){Xr(Re(),De(),rn()+t,je())}function Xr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&un(e,i,n)}else{const i=t.preOrderHooks;null!==i&&hn(e,i,0,n)}sn(n)}function Jr(t,e){return t<<17|e<<2}function ts(t){return t>>17&32767}function es(t){return 2|t}function ns(t){return(131068&t)>>2}function is(t,e){return-131069&t|e<<2}function rs(t){return 1|t}function ss(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];Ye(r),n.contentQueries(2,e[s],s)}}}function os(t,e,n,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,Te(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function as(t,e,n,i,r){let s=t.data[e];if(null===s)s=ls(t,e,n,i,r),Ae.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const t=Fe();s.injectorIndex=null===t?-1:t.injectorIndex}return Ie(s,!0),s}function ls(t,e,n,i,r){const s=Le(),o=Ne(),a=t.data[e]=function(t,e,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}function cs(t,e,n,i){if(0===n)return-1;const r=e.length;for(let s=0;s<n;s++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function us(t,e,n){Ze(e);try{const i=t.viewQuery;null!==i&&Vs(1,i,n);const r=t.template;null!==r&&fs(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ss(t,e),t.staticViewQueries&&Vs(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ms(t,e[n])}(e,s)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,nn()}}function hs(t,e,n,i){const r=e[2];if(256==(256&r))return;Ze(e);const s=je();try{Te(e),function(t){Ae.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&fs(t,e,n,2,i);const o=3==(3&r);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&un(e,n,null)}else{const n=t.preOrderHooks;null!==n&&hn(e,n,0,null),dn(e,0)}if(function(t){for(let e=lr(t);null!==e;e=cr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&ke(i,1),n[2]|=1024}}}(e),function(t){for(let e=lr(t);null!==e;e=cr(e))for(let t=Xt;t<e.length;t++){const n=e[t],i=n[1];Se(n)&&hs(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&ss(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&un(e,n)}else{const n=t.contentHooks;null!==n&&hn(e,n,1),dn(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)sn(~i);else{const r=i,s=n[++t],o=n[++t];qe(s,r),o(2,e[r])}}}finally{sn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Rs(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Vs(2,l,i),!s)if(o){const n=t.viewCheckHooks;null!==n&&un(e,n)}else{const n=t.viewHooks;null!==n&&hn(e,n,2),dn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,ke(e[3],-1))}finally{nn()}}function ds(t,e,n,i){const r=e[10],s=!je(),o=Ce(e);try{s&&!o&&r.begin&&r.begin(),o&&us(t,e,i),hs(t,e,n,i)}finally{s&&!o&&r.end&&r.end()}}function fs(t,e,n,i,r){const s=rn(),o=2&i;try{sn(-1),o&&e.length>Zt&&Xr(t,e,Zt,je()),n(i,r)}finally{sn(s)}}function ps(t,e,n){Oe()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||An(n,e),Ki(i,e);const o=n.initialInputs;for(let a=r;a<s;a++){const i=t.data[a],s=re(i);s&&ks(e,n,i);const l=Un(e,t,a,n);Ki(l,e),null!==o&&As(0,a-r,l,i,0,o),s&&(xe(n.index,e)[8]=l)}}(t,e,n,_e(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=Ae.lFrame.currentDirectiveIndex;try{sn(s);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];We(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||xs(i,r)}}finally{sn(-1),We(o)}}(t,e,n))}function gs(t,e,n=_e){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(e,t):t[o];t[r++]=a}}}function ms(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ys(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function ys(t,e,n,i,r,s,o,a,l,c){const u=Zt+i,h=u+r,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Kr);return n}(u,h),f="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function vs(t,e,n,i){const r=Us(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&Hs(t).push(i,r.length-1))}function _s(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function ws(t,e,n,i){let r=!1;if(Oe()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];Wr(n,o.selectors,!1)&&(r||(r=[]),Pn(An(n,e),t,o.type),re(o)?(Cs(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==s){r=!0,Es(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,l=cs(t,e,s.length,null);for(let r=0;r<s.length;r++){const c=s[r];n.mergedAttrs=wn(n.mergedAttrs,c.hostAttrs),Ts(t,n,e,l,c),Ss(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===r||Hr(e)?null:Os(n,r);s.push(c),o=_s(n,l,o),a=_s(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new st("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,o)}return n.mergedAttrs=wn(n.mergedAttrs,n.attrs),r}function bs(t,e,n,i,r,s){const o=s.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,o)}}function xs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Cs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ss(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;re(e)&&(n[""]=t)}}function Es(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ts(t,e,n,i,r){t.data[i]=r;const s=r.factory||(r.factory=se(r.type)),o=new mn(s,re(r),null);t.blueprint[i]=o,n[i]=o,bs(t,e,0,i,cs(t,n,r.hostVars,Kr),r)}function ks(t,e,n){const i=_e(e,t),r=ms(n),s=t[10],o=Ls(t,os(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n),null,null));t[e.index]=o}function As(t,e,n,i,r,s){const o=s[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const r=o[e++],s=o[e++],a=o[e++];null!==t?i.setInput(n,a,r,s):n[s]=a}}}function Os(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Ds(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Rs(t,e){const n=xe(e,t);if(Se(n)){const t=n[1];80&n[2]?hs(t,n,t.template,n[8]):n[5]>0&&Ps(n)}}function Ps(t){for(let n=lr(t);null!==n;n=cr(n))for(let t=Xt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];hs(t,e,t.template,e[8])}else e[5]>0&&Ps(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=xe(e[n],t);Se(i)&&i[5]>0&&Ps(i)}}function Ms(t,e){const n=xe(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),us(i,n,n[8])}function Ls(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Fs(t){for(;t;){t[2]|=64;const e=ar(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Is(t,e,n){const i=e[10];i.begin&&i.begin();try{hs(t,e,t.template,n)}catch(r){throw $s(e,r),r}finally{i.end&&i.end()}}function Ns(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Zi(n),r=i[1];ds(r,i,r.template,n)}}(t[8])}function Vs(t,e,n){Ye(0),e(t,n)}const js=(()=>Promise.resolve(null))();function Us(t){return t[7]||(t[7]=[])}function Hs(t){return t.cleanup||(t.cleanup=[])}function $s(t,e){const n=t[9],i=n?n.get(tr,null):null;i&&i.handleError(e)}function zs(t,e,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Bs(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?r=tt(r,t):2==s&&(i=tt(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}const qs=new Yn("INJECTOR",-1);class Ws{get(t,e=si){if(e===si){const e=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw e.name="NullInjectorError",e}return e}}const Gs=new Yn("Set Injector scope."),Ys={},Qs={};let Ks;function Zs(){return void 0===Ks&&(Ks=new Ws),Ks}function Xs(t,e=null,n=null,i){return new Js(t,n,e||Zs(),i)}class Js{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&Xn(e,n=>this.processProvider(n,t,e)),Xn([t],t=>this.processInjectorType(t,[],r)),this.records.set(qs,no(void 0,this));const s=this.records.get(Gs);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:J(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=si,n=_t.Default){this.assertNotDestroyed();const i=ui(this),r=bt(void 0);try{if(!(n&_t.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof Yn}(t)&&dt(t);e=n&&this.injectableDefInScope(n)?no(to(t),Ys):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&_t.Self?Zs():this.parent).get(t,e=n&_t.Optional&&e===si?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(J(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e[ai]&&r.unshift(e[ai]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=J(e);if(Array.isArray(e))r=e.map(J).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):J(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(oi,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{bt(r),ui(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(J(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=it(t)))return!1;let i=pt(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=pt(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(s);try{Xn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];Xn(i,t=>this.processProvider(t,n,i||Pt))}}this.injectorDefTypes.add(s);const a=se(s)||(()=>new s);this.records.set(s,no(a,Ys));const l=i.providers;if(null!=l&&!o){const e=t;Xn(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=ro(t=it(t))?t:it(t&&t.provide);const r=function(t,e,n){return io(t)?no(void 0,t.useValue):no(eo(t),Ys)}(t);if(ro(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=no(void 0,Ys,!0),e.factory=()=>fi(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){return e.value===Ys&&(e.value=Qs,e.value=e.factory()),"object"==typeof e.value&&e.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=it(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function to(t){const e=dt(t),n=null!==e?e.factory:se(t);if(null!==n)return n;if(t instanceof Yn)throw new Error(`Token ${J(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ei(e,"?");throw new Error(`Can't resolve all parameters for ${J(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[gt]||t[yt]);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 a future version of Angular. 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 eo(t,e,n){let i;if(ro(t)){const e=it(t);return se(e)||to(e)}if(io(t))i=()=>it(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...fi(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>di(it(t.useExisting));else{const e=it(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return se(e)||to(e);i=()=>new e(...fi(t.deps))}return i}function no(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function io(t){return null!==t&&"object"==typeof t&&li in t}function ro(t){return"function"==typeof t}const so=function(t,e,n){return function(t,e=null,n=null,i){const r=Xs(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};class oo{static create(t,e){return Array.isArray(t)?so(t,e,""):so(t.providers,t.parent,t.name||"")}}function ao(t,e){cn(Zi(t)[1],Me())}function lo(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let r;if(re(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=co(t.inputs),e.declaredInputs=co(t.declaredInputs),e.outputs=co(t.outputs);const n=r.hostBindings;n&&fo(t,n);const s=r.viewQuery,o=r.contentQueries;if(s&&uo(t,s),o&&ho(t,o),X(t.inputs,r.inputs),X(t.declaredInputs,r.declaredInputs),X(t.outputs,r.outputs),re(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===lo&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=wn(r.hostAttrs,n=wn(n,r.hostAttrs))}}(i)}function co(t){return t===Rt?{}:t===Pt?[]:t}function uo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function ho(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function fo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}oo.THROW_IF_NOT_FOUND=si,oo.NULL=new Ws,oo.\u0275prov=ut({token:oo,providedIn:"any",factory:()=>di(qs)}),oo.__NG_ELEMENT_ID__=-1;let po=null;function go(){if(!po){const t=Dt.Symbol;if(t&&t.iterator)po=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(po=n)}}}return po}class mo{constructor(t){this.wrapped=t}static wrap(t){return new mo(t)}static unwrap(t){return mo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof mo}}function yo(t){return!!vo(t)&&(Array.isArray(t)||!(t instanceof Map)&&go()in t)}function vo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function _o(t,e,n){return t[e]=n}function wo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function bo(t,e,n,i){const r=wo(t,e,n);return wo(t,e+1,i)||r}function xo(t,e,n,i){const r=De();return wo(r,$e(),e)&&(Re(),function(t,e,n,i,r,s){const o=_e(t,e);!function(t,e,n,i,r,s,o){if(null==s)ge(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{const a=null==o?ot(s):o(s,i||"",r);ge(t)?t.setAttribute(e,r,a,n):n?e.setAttributeNS(n,r,a):e.setAttribute(r,a)}}(e[11],o,s,t.value,n,i,r)}(on(),r,t,e,n,i)),xo}function Co(t,e,n,i){return wo(t,$e(),n)?e+ot(n)+i:Kr}function So(t,e,n,i,r,s,o,a){const l=De(),c=Re(),u=t+Zt,h=c.firstCreatePass?function(t,e,n,i,r,s,o,a,l){const c=e.consts,u=as(e,t,4,o||null,Ee(c,a));ws(e,n,u,Ee(c,l)),cn(e,u);const h=u.tViews=ys(2,u,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,i,r,s,o):c.data[u];Ie(h,!1);const d=l[11].createComment("");Or(c,l,d,h),Ki(d,l),Ls(l,l[u]=Ds(d,l,d,h)),ie(h)&&ps(c,l,h),null!=o&&gs(l,h,a)}function Eo(t){return be(Ae.lFrame.contextLView,Zt+t)}function To(t,e=_t.Default){const n=De();return null===n?di(t,e):Fn(Me(),n,it(t),e)}function ko(t,e,n){const i=De();return wo(i,$e(),e)&&function(t,e,n,i,r,s,o,a){const l=_e(e,n);let c,u=e.inputs;var h;null!=u&&(c=u[i])?(zs(t,n,c,i,r),ne(e)&&function(t,e){const n=xe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(h=i)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,r=null!=o?o(r,e.value||"",i):r,ge(s)?s.setProperty(l,i,r):_n(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}(Re(),on(),i,t,e,i[11],n),ko}function Ao(t,e,n,i,r){const s=r?"class":"style";zs(t,n,e.inputs[s],s,i)}function Oo(t,e,n,i){const r=De(),s=Re(),o=Zt+t,a=r[11],l=r[o]=fr(a,e,Ae.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,i,r,s,o){const a=e.consts,l=as(e,t,2,r,Ee(a,s));return ws(e,n,l,Ee(a,o)),null!==l.attrs&&Bs(l,l.attrs,!1),null!==l.mergedAttrs&&Bs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,s,r,0,e,n,i):s.data[o];Ie(c,!0);const u=c.mergedAttrs;null!==u&&yn(a,l,u);const h=c.classes;null!==h&&Nr(a,l,h);const d=c.styles;null!==d&&Ir(a,l,d),64!=(64&c.flags)&&Or(s,r,l,c),0===Ae.lFrame.elementDepthCount&&Ki(l,r),Ae.lFrame.elementDepthCount++,ie(c)&&(ps(s,r,c),function(t,e,n){if(ee(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}(s,c,r)),null!==i&&gs(r,c)}function Do(){let t=Me();Ne()?Ve():(t=t.parent,Ie(t,!1));const e=t;Ae.lFrame.elementDepthCount--;const n=Re();n.firstCreatePass&&(cn(n,t),ee(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ao(n,e,De(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ao(n,e,De(),e.stylesWithoutHost,!1)}function Ro(t,e,n,i){Oo(t,e,n,i),Do()}function Po(){return De()}function Mo(t){return!!t&&"function"==typeof t.then}const Lo=function(t){return!!t&&"function"==typeof t.subscribe};function Fo(t,e,n,i){const r=De(),s=Re(),o=Me();return function(t,e,n,i,r,s,o,a){const l=ie(i),c=t.firstCreatePass&&Hs(t),u=Us(e);let h=!0;if(3&i.type||a){const d=_e(i,e),f=a?a(d):d,p=u.length,g=a?t=>a(ye(t[i.index])):i.index;if(ge(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=No(i,e,0,s,!1);const t=n.listen(f,r,s);u.push(s,t),c&&c.push(r,g,p,p+1)}}else s=No(i,e,0,s,!0),f.addEventListener(r,s,o),u.push(s),c&&c.push(r,g,p,o)}else s=No(i,e,0,s,!1);const d=i.outputs;let f;if(h&&null!==d&&(f=d[r])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(s),o=u.length;u.push(s,t),c&&c.push(r,i.index,o,-(o+1))}}}(s,r,r[11],o,t,e,!!n,i),Fo}function Io(t,e,n,i){try{return!1!==n(i)}catch(r){return $s(t,r),!1}}function No(t,e,n,i,r){return function n(s){if(s===Function)return i;const o=2&t.flags?xe(t.index,e):e;0==(32&e[2])&&Fs(o);let a=Io(e,0,i,s),l=n.__ngNextListenerFn__;for(;l;)a=Io(e,0,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Vo(t=1){return function(t){return(Ae.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ae.lFrame.contextLView))[8]}(t)}function jo(t,e){let n=null;const i=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 r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?Wr(t,s,!0):Gr(i,s))return r}else n=r}return n}function Uo(t){const e=De()[16][6];if(!e.projection){const n=e.projection=ei(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?jo(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function Ho(t,e=0,n){const i=De(),r=Re(),s=as(r,Zt+t,16,null,n||null);null===s.projection&&(s.projection=e),Ve(),64!=(64&s.flags)&&function(t,e,n){Fr(e[11],0,e,n,vr(t,n,e),Sr(n.parent||e[6],n,e))}(r,i,s)}function $o(t,e,n,i,r){const s=t[n+1],o=null===e;let a=i?ts(s):ns(s),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];zo(t[a],e)&&(l=!0,t[a+1]=i?rs(n):es(n)),a=i?ts(n):ns(n)}l&&(t[n+1]=i?es(s):rs(s))}function zo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ri(t,e)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qo(t){return t.substring(Bo.key,Bo.keyEnd)}function Wo(t,e){const n=Bo.textEnd;return n===e?-1:(e=Bo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Bo.key=e,n),Go(t,e,n))}function Go(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Yo(t,e,n){return Xo(t,e,n,!1),Yo}function Qo(t,e){return Xo(t,e,null,!0),Qo}function Ko(t){Jo(ni,Zo,t,!0)}function Zo(t,e){for(let n=function(t){return function(t){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=t.length}(t),Wo(t,Go(t,0,Bo.textEnd))}(e);n>=0;n=Wo(e,n))ni(t,qo(e),!0)}function Xo(t,e,n,i){const r=De(),s=Re(),o=ze(2);s.firstUpdatePass&&ea(s,t,o,i),e!==Kr&&wo(r,o,e)&&ra(s,s.data[rn()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=J(Ci(t)))),t}(e,n),i,o)}function Jo(t,e,n,i){const r=Re(),s=ze(2);r.firstUpdatePass&&ea(r,null,s,i);const o=De();if(n!==Kr&&wo(o,s,n)){const a=r.data[rn()];if(aa(a,i)&&!ta(r,s)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=tt(t,n||"")),Ao(r,a,o,n,i)}else!function(t,e,n,i,r,s,o,a){r===Kr&&(r=Pt);let l=0,c=0,u=0<r.length?r[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=l<r.length?r[l+1]:void 0,f=c<s.length?s[c+1]:void 0;let p,g=null;u===h?(l+=2,c+=2,d!==f&&(g=h,p=f)):null===h||null!==u&&u<h?(l+=2,g=u):(c+=2,g=h,p=f),null!==g&&ra(t,e,n,i,g,p,o,a),u=l<r.length?r[l]:null,h=c<s.length?s[c]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return Pt;const i=[],r=Ci(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function ta(t,e){return e>=t.expandoStartIndex}function ea(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[rn()],o=ta(t,n);aa(s,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=function(t){const e=Ae.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=ia(n=na(null,t,e,n,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=na(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ns(i))return t[ts(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=na(null,t,e,n[1],i),n=ia(n,e.attrs,i),function(t,e,n,i){t[ts(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=ia(i,t[s].hostAttrs,n);return ia(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let o=s?e.classBindings:e.styleBindings,a=ts(o),l=ns(o);t[i]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||ri(t,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=ts(t[a+1]);t[i+1]=Jr(e,a),0!==e&&(t[e+1]=is(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=Jr(a,0),0!==a&&(t[a+1]=is(t[a+1],i)),a=i;else t[i+1]=Jr(l,0),0===a?a=i:t[l+1]=is(t[l+1],i),l=i;u&&(t[i+1]=es(t[i+1])),$o(t,c,i,!0),$o(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&ri(s,e)>=0&&(n[i+1]=rs(n[i+1]))}(e,c,t,i,s),o=Jr(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,n,o,i)}}function na(t,e,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],i=ia(i,s.hostAttrs,r),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ia(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ni(t,o,!!n||e[++s]))}return void 0===t?null:t}function ra(t,e,n,i,r,s,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];oa(1==(1&c)?sa(l,e,n,r,ns(c),o):void 0)||(oa(s)||2==(2&c)&&(s=sa(l,null,n,r,a,o)),function(t,e,n,i,r){const s=ge(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:rr.DashCase;if(null==r)s?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof r&&r.endsWith("!important");o&&(r=r.slice(0,-10),e|=rr.Important),s?t.setStyle(n,i,r,e):n.style.setProperty(i,r,o?"important":"")}}}(i,o,ve(rn(),n),r,s))}function sa(t,e,n,i,r,s){const o=null===e;let a;for(;r>0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[r+1];u===Kr&&(u=c?Pt:void 0);let h=c?ii(u,i):l===i?u:void 0;if(s&&!oa(h)&&(h=ii(e,i)),oa(h)&&(a=h,o))return a;const d=t[r+1];r=o?ts(d):ns(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=ii(t,i))}return a}function oa(t){return void 0!==t}function aa(t,e){return 0!=(t.flags&(e?16:32))}function la(t,e=""){const n=De(),i=Re(),r=t+Zt,s=i.firstCreatePass?as(i,r,1,e,null):i.data[r],o=n[r]=dr(n[11],e);Or(i,n,o,s),Ie(s,!1)}function ca(t){return ua("",t,""),ca}function ua(t,e,n){const i=De(),r=Co(i,t,e,n);return r!==Kr&&function(t,e,n){const i=ve(e,t);!function(t,e,n){ge(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}(i,rn(),r),ua}const ha=void 0;var da=["en",[["a","p"],["AM","PM"],ha],[["AM","PM"],ha,ha],[["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"]],ha,[["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"]],ha,[["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}",ha,"{1} 'at' {0}",ha],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fa={};function pa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ga(e);if(n)return n;const i=e.split("-")[0];if(n=ga(i),n)return n;if("en"===i)return da;throw new Error(`Missing locale data for the locale "${t}".`)}function ga(t){return t in fa||(fa[t]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[t]),fa[t]}var ma=(()=>((ma=ma||{})[ma.LocaleId=0]="LocaleId",ma[ma.DayPeriodsFormat=1]="DayPeriodsFormat",ma[ma.DayPeriodsStandalone=2]="DayPeriodsStandalone",ma[ma.DaysFormat=3]="DaysFormat",ma[ma.DaysStandalone=4]="DaysStandalone",ma[ma.MonthsFormat=5]="MonthsFormat",ma[ma.MonthsStandalone=6]="MonthsStandalone",ma[ma.Eras=7]="Eras",ma[ma.FirstDayOfWeek=8]="FirstDayOfWeek",ma[ma.WeekendRange=9]="WeekendRange",ma[ma.DateFormat=10]="DateFormat",ma[ma.TimeFormat=11]="TimeFormat",ma[ma.DateTimeFormat=12]="DateTimeFormat",ma[ma.NumberSymbols=13]="NumberSymbols",ma[ma.NumberFormats=14]="NumberFormats",ma[ma.CurrencyCode=15]="CurrencyCode",ma[ma.CurrencySymbol=16]="CurrencySymbol",ma[ma.CurrencyName=17]="CurrencyName",ma[ma.Currencies=18]="Currencies",ma[ma.Directionality=19]="Directionality",ma[ma.PluralCase=20]="PluralCase",ma[ma.ExtraData=21]="ExtraData",ma))();const ya="en-US",va={marker:"element"},_a={marker:"ICU"};var wa=(()=>((wa=wa||{})[wa.SHIFT=2]="SHIFT",wa[wa.APPEND_EAGERLY=1]="APPEND_EAGERLY",wa[wa.COMMENT=2]="COMMENT",wa))();let ba=ya;function xa(t){var e;null==(e=t)&&ct("Expected localeId to be defined",e,null,"!="),"string"==typeof t&&(ba=t.toLowerCase().replace(/_/g,"-"))}function Ca(t,e,n){const i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?Er(t,0,n):ye(n[r])}function Sa(t,e,n,i,r){const s=e.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&e.type||(a=o,o=r),null!==o&&0==(2&e.flags))for(let e=1;e<s.length;e++)wr(t,o,n[s[e]],a,!1)}}function Ea(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const i=t[n];Ta(i)||ka(i,e)&&null===Aa(i)&&Oa(i,e.index)}}function Ta(t){return!(64&t.type)}function ka(t,e){return Ta(e)||t.index>e.index}function Aa(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Oa(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(Ar(Ca,Sa),t.insertBeforeIndex=e)}function Da(t,e,n){const i=ls(t,n,64,null,null);return Ea(e,i),i}const Ra=/\ufffd(\d+):?\d*\ufffd/gi,Pa=/\ufffd(\d+)\ufffd/,Ma=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,La=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Fa=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ia=/\uE500/g;function Na(t,e,n,i,r,s,o){const a=cs(t,i,1,null);let l=a<<wa.SHIFT,c=Fe();e===c&&(c=null),null===c&&(l|=wa.APPEND_EAGERLY),o&&(l|=wa.COMMENT,void 0===sr&&(sr=function(){const t=[];let e,n,i=-1;function r(t,e){i=0;const r=function(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(t,e);n=null!==r?t.remove[r]:Pt}function s(){if(i<n.length){const o=n[i++];return o>0?e[o]:(t.push(i,n),r(e[1].data[~o],e),s())}return 0===t.length?null:(n=t.pop(),i=t.pop(),s())}return function(n,i){for(e=i;t.length;)t.pop();return r(n.value,i),s}}())),r.push(l,null===s?"":s);const u=ls(t,a,o?32:1,null===s?"":s,null);Ea(n,u);const h=u.index;return Ie(u,!1),null!==c&&e!==c&&function(t,e){let n=t.insertBeforeIndex;var i;null===n?(Ar(Ca,Sa),n=t.insertBeforeIndex=[null,e]):("Expecting array here",(i=Array.isArray(n))!=!0&&ct("Expecting array here",i,true,"=="),n.push(e))}(c,h),u}function Va(t,e,n,i,r,s,o){const a=o.match(Ra),l=Na(t,e,n,s,i,a?null:o,!1);a&&ja(r,o,l.index,null,0,null)}function ja(t,e,n,i,r,s){const o=t.length,a=o+1;t.push(null,null);const l=o+2,c=e.split(Ra);let u=0;for(let h=0;h<c.length;h++){const e=c[h];if(1&h){const n=r+parseInt(e,10);t.push(-1-n),u|=Ua(n)}else""!==e&&t.push(e)}return t.push(n<<2|(i?1:0)),i&&t.push(i,s),t[o]=u,t[a]=t.length-l,u}function Ua(t){return 1<<Math.min(t,31)}function Ha(t){let e,n,i="",r=0,s=!1;for(;null!==(e=La.exec(t));)s?e[0]===`\ufffd/*${n}\ufffd`&&(r=e.index,s=!1):(i+=t.substring(r,e.index+e[0].length),n=e[1],s=!0);return i+=t.substr(r),i}function $a(t,e,n,i,r,s){let o=0;const a={type:r.type,currentCaseLViewIndex:cs(t,e,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(t,e,n){t.push(Ua(e.mainBinding),2,-1-e.mainBinding,n<<2|2)}(n,r,s),function(t,e,n){const i=t.data[e];null===i?t.data[e]=n:i.value=n}(t,s,a);const l=r.values;for(let c=0;c<l.length;c++){const s=l[c],u=[];for(let t=0;t<s.length;t++){const e=s[t];if("string"!=typeof e){const n=u.push(e)-1;s[t]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=qa(t,a,e,n,i,r.cases[c],s.join(""),u)|o}o&&function(t,e,n){t.push(e,1,n<<2|3)}(n,o,s)}function za(t){const e=[],n=[];let i=1,r=0;const s=Ba(t=t.replace(Ma,function(t,e,n){return i="select"===n?0:1,r=parseInt(e.substr(1),10),""}));for(let o=0;o<s.length;){let t=s[o++].trim();1===i&&(t=t.replace(/\s*(?:=)?(\w+)\s*/,"$1")),t.length&&e.push(t);const r=Ba(s[o++]);e.length>n.length&&n.push(r)}return{type:i,mainBinding:r,cases:e,values:n}}function Ba(t){if(!t)return[];let e=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(t);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=t.substring(e,r);Ma.test(n)?i.push(za(n)):i.push(n),e=r+1}}else{if(0==n.length){const n=t.substring(e,r);i.push(n),e=r+1}n.push("{")}}const o=t.substring(e);return i.push(o),i}function qa(t,e,n,i,r,s,o,a){const l=[],c=[],u=[];e.cases.push(s),e.create.push(l),e.remove.push(c),e.update.push(u);const h=Si(pe()).getInertBodyElement(o),d=Gi(h)||h;return d?Wa(t,e,n,i,l,c,u,d,r,a,0):0}function Wa(t,e,n,i,r,s,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=cs(t,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const f=d,p=f.tagName.toLowerCase();if(Ni.hasOwnProperty(p)){Qa(r,va,p,l,a),t.data[a]=p;const g=f.attributes;for(let t=0;t<g.length;t++){const e=g.item(t),n=e.name.toLowerCase();e.value.match(Ra)?Ui.hasOwnProperty(n)&&ja(o,e.value,a,e.name,0,Vi[n]?Oi:ji[n]?Di:null):Ka(r,a,e)}h=Wa(t,e,n,i,r,s,o,d,a,c,u+1)|h,Ga(s,a,u)}break;case Node.TEXT_NODE:const g=d.textContent||"",m=g.match(Ra);Qa(r,null,m?"":g,l,a),Ga(s,a,u),m&&(h=ja(o,g,a,null,0,null)|h);break;case Node.COMMENT_NODE:const y=Pa.exec(d.textContent||"");if(y){const e=c[parseInt(y[1],10)];Qa(r,_a,"",l,a),$a(t,n,i,l,e,a),Ya(s,a,u)}}d=d.nextSibling}return h}function Ga(t,e,n){0===n&&t.push(e)}function Ya(t,e,n){0===n&&(t.push(~e),t.push(e))}function Qa(t,e,n,i,r){null!==e&&t.push(e),t.push(n,r,0|i<<17|r<<1)}function Ka(t,e,n){t.push(e<<1|1,n.name,n.value)}function Za(t,e,n){(function(t,e,n=-1){const i=Re(),r=De(),s=Zt+t,o=Ee(i.consts,e),a=Fe();i.firstCreatePass&&function(t,e,n,i,r,s){const o=Fe(),a=[],l=[],c=[[]],u=function(t){return t.replace(Ia," ")}(r=function(t,e){if(function(t){return-1===t}(e))return Ha(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,i=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return Ha(t.substring(n,i))}}(r,s)).split(Fa);for(let h=0;h<u.length;h++){let i=u[h];if(0==(1&h)){const s=Ba(i);for(let i=0;i<s.length;i++){let u=s[i];if(0==(1&i)){const e=u;""!==e&&Va(t,o,c[0],a,l,n,e)}else{const i=u;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${r}" message.`);$a(t,n,l,e,i,Na(t,o,c[0],n,a,"",!0).index)}}}else{const e=47===i.charCodeAt(0),n=(i.charCodeAt(e?1:0),Zt+Number.parseInt(i.substring(e?2:1)));if(e)c.shift(),Ie(Fe(),!1);else{const e=Da(t,c[0],n);c.unshift([]),Ie(e,!0)}}}t.data[i]={create:a,update:l}}(i,null===a?0:a.index,r,s,o,n);const l=i.data[s],c=_r(i,a===r[6]?null:a,r);!function(t,e,n,i){const r=t[11];for(let s=0;s<e.length;s++){const o=e[s++],a=e[s],l=(o&wa.COMMENT)===wa.COMMENT,c=(o&wa.APPEND_EAGERLY)===wa.APPEND_EAGERLY,u=o>>>wa.SHIFT;let h=t[u];null===h&&(h=t[u]=l?r.createComment(a):dr(r,a)),c&&null!==n&&wr(r,n,h,i,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),Be(!0)})(t,e,n),Be(!1)}function Xa(t,e,n,i,r){if(t=it(t),Array.isArray(t))for(let s=0;s<t.length;s++)Xa(t[s],e,n,i,r);else{const s=Re(),o=De();let a=ro(t)?t:it(t.provide),l=eo(t);const c=Me(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(ro(t)||!t.multi){const i=new mn(l,r,To),f=el(a,e,r?u:u+d,h);-1===f?(Pn(An(c,o),s,a),Ja(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[f]=i,o[f]=i)}else{const f=el(a,e,u+d,h),p=el(a,e,u,u+d),g=f>=0&&n[f],m=p>=0&&n[p];if(r&&!m||!r&&!g){Pn(An(c,o),s,a);const u=function(t,e,n,i,r){const s=new mn(t,n,To);return s.multi=[],s.index=e,s.componentProviders=0,tl(s,r,i&&!n),s}(r?il:nl,n.length,r,i,l);!r&&m&&(n[p].providerFactory=u),Ja(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Ja(s,t,f>-1?f:p,tl(n[r?p:f],l,!r&&i));!r&&i&&m&&n[p].componentProviders++}}}function Ja(t,e,n,i){const r=ro(e);if(r||function(t){return!!t.useClass}(e)){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function tl(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function el(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function nl(t,e,n,i){return rl(this.multi,[])}function il(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Un(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),rl(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],rl(r,s);return s}function rl(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function sl(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Re();if(i.firstCreatePass){const r=re(t);Xa(n,i.data,i.blueprint,r,!0),Xa(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class ol{}class al{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${J(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class ll{}function cl(...t){}function ul(t,e){return new dl(_e(t,e))}ll.NULL=new al;const hl=function(){return ul(Me(),De())};let dl=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=hl,t})();function fl(t){return t instanceof dl?t.nativeElement:t}class pl{}let gl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ml(),t})();const ml=function(){const t=De(),e=xe(Me().index,t);return function(t){return t[11]}(Jt(e)?e:t)};let yl=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class vl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const _l=new vl("12.1.4");class wl{constructor(){}supports(t){return yo(t)}create(t){return new xl(t)}}const bl=(t,e)=>e;class xl{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||bl}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<Tl(n,i,r)?e:n,o=Tl(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!yo(t))throw new Error(`Error trying to diff '${J(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[go()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new Cl(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new El),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 El),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 Cl{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 Sl{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)&&Object.is(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 El{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Sl,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 Tl(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class kl{constructor(){}supports(t){return t instanceof Map||vo(t)}create(){return new Al}}class Al{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||vo(t)))throw new Error(`Error trying to diff '${J(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ol(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){Object.is(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 Ol{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}}function Dl(){return new Rl([new wl])}let Rl=(()=>{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=>t.create(e,n||Dl()),deps:[[t,new yi,new mi]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:Dl}),t})();function Pl(){return new Ml([new kl])}let Ml=(()=>{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=>t.create(e,n||Pl()),deps:[[t,new yi,new mi]]}}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=ut({token:t,providedIn:"root",factory:Pl}),t})();function Ll(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(ye(s)),te(s))for(let t=Xt;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Ll(e[1],e,n,i)}const o=n.type;if(8&o)Ll(t,e,n.child,i);else if(32&o){const t=or(n,e);let r;for(;r=t();)i.push(r)}else if(16&o){const t=Rr(e,n);if(Array.isArray(t))i.push(...t);else{const n=ar(e[16]);Ll(n[1],n,t,i,!0)}}n=r?n.projectionNext:n.next}return i}class Fl{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Ll(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(te(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(gr(t,n),ti(e,n))}this._attachedToViewContainer=!1}mr(this._lView[1],this._lView)}onDestroy(t){vs(this._lView[1],this._lView,null,t)}markForCheck(){Fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Is(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ue(!0);try{Is(t,e,n)}finally{Ue(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Lr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Il extends Fl{constructor(t){super(t),this._view=t}detectChanges(){Ns(this._view)}checkNoChanges(){!function(t){Ue(!0);try{Ns(t)}finally{Ue(!1)}}(this._view)}get context(){return null}}const Nl=function(t){return function(t,e,n){if(ne(t)&&!n){const n=xe(t.index,e);return new Fl(n,n)}return 47&t.type?new Fl(e[16],e):null}(Me(),De(),16==(16&t))};let Vl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Nl,t})();const jl=[new kl],Ul=new Rl([new wl]),Hl=new Ml(jl),$l=function(){return Wl(Me(),De())};let zl=(()=>{class t{}return t.__NG_ELEMENT_ID__=$l,t})();const Bl=zl,ql=class extends Bl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=os(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),us(e,n,t),new Fl(n)}};function Wl(t,e){return 4&t.type?new ql(e,t,ul(t,e)):null}class Gl{}class Yl{}const Ql=function(){return ec(Me(),De())};let Kl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ql,t})();const Zl=Kl,Xl=class extends Zl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ul(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Rn(this._hostTNode,this._hostLView);if(xn(t)){const e=Sn(t,this._hostLView),n=Cn(t);return new zn(e[1].data[n+8],e)}return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Jl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Gl,null);t&&(r=t)}const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(te(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Xl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=Xt+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-Xt?(e[4]=n[r],Jn(n,Xt+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,s,r);const o=Pr(r,s),a=n[11],l=Cr(a,s[7]);return null!==l&&function(t,e,n,i,r,s){i[0]=r,i[6]=e,Lr(t,i,n,1,r,s)}(i,s[6],a,n,l,o),t.attachToViewContainerRef(),Jn(tc(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Jl(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=gr(this._lContainer,e);n&&(ti(tc(this._lContainer),e),mr(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=gr(this._lContainer,e);return n&&null!=ti(tc(this._lContainer),e)?new Fl(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Jl(t){return t[8]}function tc(t){return t[8]||(t[8]=[])}function ec(t,e){let n;const i=e[t.index];if(te(i))n=i;else{let r;if(8&t.type)r=ye(i);else{const n=e[11];r=n.createComment("");const i=_e(t,e);wr(n,Cr(n,i),r,function(t,e){return ge(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=Ds(i,e,r,t),Ls(e,n)}return new Xl(n,t,e)}const nc={};class ic extends ll{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Qt(t);return new oc(e,this.ngModule)}}function rc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const sc=new Yn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>er});class oc extends ol{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Qr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return rc(this.componentDef.inputs)}get outputs(){return rc(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,nc,r);return s!==nc||i===nc?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(pl,me),o=r.get(yl,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(ge(t))return t.selectRootElement(e,n===Et.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):fr(s.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?de:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:er,clean:js,playerHandler:null,flags:0},d=ys(0,null,null,1,0,null,null,null,null,null),f=os(null,d,h,u,null,null,s,a,o,r);let p,g;Ze(f);try{const t=function(t,e,n,i,r,s){const o=n[1];n[20]=t;const a=as(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Bs(a,l,!0),null!==t&&(yn(r,t,l),null!==a.classes&&Nr(r,t,a.classes),null!==a.styles&&Ir(r,t,a.styles)));const c=i.createRenderer(t,e),u=os(n,ms(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(Pn(An(a,n),o,e.type),Cs(o,a),Es(a,n.length,1)),Ls(n,u),n[20]=u}(c,this.componentDef,f,s,a);if(c)if(n)yn(a,c,["ng-version",_l.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if("string"==typeof s)2===r?""!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!Br(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&yn(a,c,t),e&&e.length>0&&Nr(a,c,e.join(" "))}if(g=we(d,Zt),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}p=function(t,e,n,i,r){const s=n[1],o=function(t,e,n){const i=Me();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ts(t,i,e,cs(t,e,1,null),n));const r=Un(e,t,i.directiveStart,i);Ki(r,e);const s=_e(i,e);return s&&Ki(s,e),r}(s,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=Me();e.contentQueries(1,o,t.directiveStart)}const a=Me();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(sn(a.index),bs(n[1],a,0,a.directiveStart,a.directiveEnd,e),xs(e,o)),o}(t,this.componentDef,f,h,[ao]),us(d,f,null)}finally{nn()}return new ac(this.componentType,p,ul(g,f),f,g)}}class ac extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Il(i),this.componentType=t}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const lc=new Map;class cc extends Gl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ic(this);const n=Kt(t),i=function(t){return t[Nt]||null}(t);i&&xa(i),this._bootstrapComponents=ir(n.bootstrap),this._r3Injector=Xs(t,e,[{provide:Gl,useValue:this},{provide:ll,useValue:this.componentFactoryResolver}],J(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=oo.THROW_IF_NOT_FOUND,n=_t.Default){return t===oo||t===Gl||t===qs?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 uc extends Yl{constructor(t){super(),this.moduleType=t,null!==Kt(t)&&function(t){const e=new Set;!function t(n){const i=Kt(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${J(e)} vs ${J(e.name)}`)}(r,lc.get(r),n),lc.set(r,n));const s=ir(i.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new cc(this.moduleType,t)}}function hc(t,e,n,i){return function(t,e,n,i,r,s){const o=e+n;return wo(t,o,r)?_o(t,o+1,s?i.call(s,r):i(r)):pc(t,o+1)}(De(),He(),t,e,n,i)}function dc(t,e,n,i,r){return gc(De(),He(),t,e,n,i,r)}function fc(t,e,n,i,r,s){return mc(De(),He(),t,e,n,i,r,s)}function pc(t,e){const n=t[e];return n===Kr?void 0:n}function gc(t,e,n,i,r,s,o){const a=e+n;return bo(t,a,r,s)?_o(t,a+2,o?i.call(o,r,s):i(r,s)):pc(t,a+2)}function mc(t,e,n,i,r,s,o,a){const l=e+n;return function(t,e,n,i,r){const s=bo(t,e,n,i);return wo(t,e+2,r)||s}(t,l,r,s,o)?_o(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):pc(t,l+3)}function yc(t,e){const n=Re();let i;const r=t+Zt;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new st("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=se(i.type)),o=bt(To);try{const t=Tn(!1),e=s();return Tn(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,De(),r,e),e}finally{bt(o)}}function vc(t,e){return t[1].data[e].pure}function _c(t,e){return mo.isWrapped(e)&&(e=mo.unwrap(e),t[Ae.lFrame.bindingIndex]=Kr),e}function wc(t){return e=>{setTimeout(t,void 0,e)}}const bc=class extends C{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,s;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(i=e.next)||void 0===i?void 0:i.bind(e),a=null===(r=e.error)||void 0===r?void 0:r.bind(e),l=null===(s=e.complete)||void 0===s?void 0:s.bind(e)}this.__isAsync&&(a=wc(a),o&&(o=wc(o)),l&&(l=wc(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}};function xc(){return this._results[go()]()}class Cc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=go(),n=Cc.prototype;n[e]||(n[e]=xc)}get changes(){return this._changes||(this._changes=new bc)}get(t){return this._results[t]}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,e){const n=this;n.dirty=!1;const i=Zn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],s=e[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Sc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Sc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ec{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new Ec(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==jc(t,e).matches&&this.queries[e].setDirty()}}class Tc{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class kc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new kc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ac{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ac(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(t,e,Oc(e,r)),this.matchTNodeWithReadOption(t,e,jn(e,t,r,!1,!1))}else n===zl?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,jn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===dl||i===Kl||i===zl&&4&e.type)this.addMatch(e.index,-2);else{const n=jn(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Oc(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Dc(t,e,n,i){return-1===n?function(t,e){return 11&t.type?ul(t,e):4&t.type?Wl(t,e):null}(e,t):-2===n?function(t,e,n){return n===dl?ul(e,t):n===zl?Wl(e,t):n===Kl?ec(e,t):void 0}(t,e,i):Un(t,t[1],n,e)}function Rc(t,e,n,i){const r=e[19].queries[i];if(null===r.matches){const i=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const r=s[t];o.push(r<0?null:Dc(e,i[r],s[t+1],n.metadata.read))}r.matches=o}return r.matches}function Pc(t,e,n,i){const r=t.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Rc(t,e,r,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)i.push(o[t/2]);else{const r=s[t+1],o=e[-n];for(let t=Xt;t<o.length;t++){const e=o[t];e[17]===e[3]&&Pc(e[1],e,r,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Pc(n[1],n,r,i)}}}}}return i}function Mc(t){const e=De(),n=Re(),i=Ge();Ye(i+1);const r=jc(n,i);if(t.dirty&&Ce(e)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?Pc(n,e,i,[]):Rc(n,e,r,i);t.reset(s,fl),t.notifyOnChanges()}return!0}return!1}function Lc(t,e,n){const i=Re();i.firstCreatePass&&(Vc(i,new Tc(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Nc(i,De(),e)}function Fc(t,e,n,i){const r=Re();if(r.firstCreatePass){const s=Me();Vc(r,new Tc(e,n,i),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(r,t),2==(2&n)&&(r.staticContentQueries=!0)}Nc(r,De(),n)}function Ic(){return t=De(),e=Ge(),t[19].queries[e].queryList;var t,e}function Nc(t,e,n){const i=new Cc(4==(4&n));vs(t,e,i,i.destroy),null===e[19]&&(e[19]=new Ec),e[19].queries.push(new Sc(i))}function Vc(t,e,n){null===t.queries&&(t.queries=new kc),t.queries.track(new Ac(e,n))}function jc(t,e){return t.queries.getByIndex(e)}function Uc(t,e){return Wl(t,e)}const Hc=new Yn("Application Initializer");let $c=(()=>{class t{constructor(t){this.appInits=t,this.resolve=cl,this.reject=cl,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<this.appInits.length;n++){const e=this.appInits[n]();if(Mo(e))t.push(e);else if(Lo(e)){const n=new Promise((t,n)=>{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(di(Hc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const zc=new Yn("AppId"),Bc={provide:zc,useFactory:function(){return`${qc()}${qc()}${qc()}`},deps:[]};function qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wc=new Yn("Platform Initializer"),Gc=new Yn("Platform ID"),Yc=new Yn("appBootstrapListener");let Qc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Kc=new Yn("LocaleId"),Zc=new Yn("DefaultCurrencyCode");class Xc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Jc=function(t){return new uc(t)},tu=Jc,eu=function(t){return Promise.resolve(Jc(t))},nu=function(t){const e=Jc(t),n=ir(Kt(t).declarations).reduce((t,e)=>{const n=Qt(e);return n&&t.push(new oc(n)),t},[]);return new Xc(e,n)},iu=nu,ru=function(t){return Promise.resolve(nu(t))};let su=(()=>{class t{constructor(){this.compileModuleSync=tu,this.compileModuleAsync=eu,this.compileModuleAndAllComponentsSync=iu,this.compileModuleAndAllComponentsAsync=ru}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ou=(()=>Promise.resolve(0))();function au(t){"undefined"==typeof Zone?ou.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class lu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bc(!1),this.onMicrotaskEmpty=new bc(!1),this.onStable=new bc(!1),this.onError=new bc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=Dt.requestAnimationFrame,e=Dt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Dt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,hu(t),t.isCheckStableRunning=!0,uu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),hu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return du(t),n.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),fu(t)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return du(t),n.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),fu(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,hu(t),uu(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(lu.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,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,cu,cl,cl);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const cu={};function uu(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 hu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function du(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fu(t){t._nesting--,uu(t)}class pu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bc,this.onMicrotaskEmpty=new bc,this.onStable=new bc,this.onError=new bc}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,i){return t.apply(e,n)}}let gu=(()=>{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:()=>{lu.assertNotInAngularZone(),au(()=>{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())au(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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/plugins/task-tracking" 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)(di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),mu=(()=>{class t{constructor(){this._applications=new Map,_u.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 _u.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class yu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let vu,_u=new yu,wu=!0,bu=!1;const xu=new Yn("AllowMultipleToken");class Cu{constructor(t,e){this.name=t,this.token=e}}function Su(t,e,n=[]){const i=`Platform: ${e}`,r=new Yn(i);return(e=[])=>{let s=Eu();if(!s||s.injector.get(xu,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:Gs,useValue:"platform"});!function(t){if(vu&&!vu.destroyed&&!vu.injector.get(xu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vu=t.get(Tu);const e=t.get(Wc,null);e&&e.forEach(t=>t())}(oo.create({providers:t,name:i}))}return function(t){const e=Eu();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}(r)}}function Eu(){return vu&&!vu.destroyed?vu:null}let Tu=(()=>{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 pu:("zone.js"===t?void 0:t)||new lu({enableLongStackTrace:(bu=!0,wu),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:lu,useValue:n}];return n.run(()=>{const e=oo.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(tr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{Ou(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Mo(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get($c);return t.runInitializers(),t.donePromise.then(()=>(xa(r.injector.get(Kc,ya)||ya),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=ku({},e);return function(t,e,n){const i=new uc(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Au);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${J(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)(di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function ku(t,e){return Array.isArray(e)?e.reduce(ku,t):Object.assign(Object.assign({},t),e)}let Au=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{lu.assertNotInAngularZone(),au(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{lu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return E(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:$(e)(z(t,n))}(s,o.pipe(t=>{return B()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,Y);return i.source=t,i.subjectFactory=n,i})(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 ol?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Gl),r=n.create(oo.NULL,[],e||n.selector,i),s=r.location.nativeElement,o=r.injector.get(gu,null),a=o&&r.injector.get(mu);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),Ou(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;Ou(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(di(lu),di(oo),di(tr),di(ll),di($c))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Ou(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Du{}class Ru{}const Pu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Mu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Pu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(255)(e).then(t=>t[i]).then(t=>Lu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n(255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Lu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(di(su),di(Ru,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Lu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Fu=Su(null,"core",[{provide:Gc,useValue:"unknown"},{provide:Tu,deps:[oo]},{provide:mu,deps:[]},{provide:Qc,deps:[]}]),Iu=[{provide:Au,useClass:Au,deps:[lu,oo,tr,ll,$c]},{provide:sc,deps:[lu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:$c,useClass:$c,deps:[[new mi,Hc]]},{provide:su,useClass:su,deps:[]},Bc,{provide:Rl,useFactory:function(){return Ul},deps:[]},{provide:Ml,useFactory:function(){return Hl},deps:[]},{provide:Kc,useFactory:function(t){return xa(t=t||"undefined"!=typeof $localize&&$localize.locale||ya),t},deps:[[new gi(Kc),new mi,new yi]]},{provide:Zc,useValue:"USD"}];let Nu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(di(Au))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:Iu}),t})(),Vu=null;function ju(){return Vu}const Uu=new Yn("DocumentToken");let Hu=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:$u,token:t,providedIn:"platform"}),t})();function $u(){return di(Bu)}const zu=new Yn("Location Initialized");let Bu=(()=>{class t extends Hu{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ju().getBaseHref(this._doc)}onPopState(t){const e=ju().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=ju().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){qu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){qu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({factory:Wu,token:t,providedIn:"platform"}),t})();function qu(){return!!window.history.pushState}function Wu(){return new Bu(di(Uu))}function Gu(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 Yu(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 Qu(t){return t&&"?"!==t[0]?"?"+t:t}let Ku=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:Zu,token:t,providedIn:"root"}),t})();function Zu(t){const e=di(Uu).location;return new Ju(di(Hu),e&&e.origin||"")}const Xu=new Yn("appBaseHref");let Ju=(()=>{class t extends Ku{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Gu(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Qu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+Qu(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+Qu(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(di(Hu),di(Xu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),th=(()=>{class t extends Ku{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(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=Gu(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+Qu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+Qu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(di(Hu),di(Xu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),eh=(()=>{class t{constructor(t,e){this._subject=new bc,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Yu(ih(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+Qu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ih(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+Qu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qu(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=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)(di(Ku),di(Hu))},t.normalizeQueryParams=Qu,t.joinWithSlash=Gu,t.stripTrailingSlash=Yu,t.\u0275prov=ut({factory:nh,token:t,providedIn:"root"}),t})();function nh(){return new eh(di(Ku),di(Hu))}function ih(t){return t.replace(/\/index.html$/,"")}var rh=(()=>((rh=rh||{})[rh.Zero=0]="Zero",rh[rh.One=1]="One",rh[rh.Two=2]="Two",rh[rh.Few=3]="Few",rh[rh.Many=4]="Many",rh[rh.Other=5]="Other",rh))(),sh=(()=>((sh=sh||{})[sh.Format=0]="Format",sh[sh.Standalone=1]="Standalone",sh))(),oh=(()=>((oh=oh||{})[oh.Narrow=0]="Narrow",oh[oh.Abbreviated=1]="Abbreviated",oh[oh.Wide=2]="Wide",oh[oh.Short=3]="Short",oh))(),ah=(()=>((ah=ah||{})[ah.Short=0]="Short",ah[ah.Medium=1]="Medium",ah[ah.Long=2]="Long",ah[ah.Full=3]="Full",ah))(),lh=(()=>((lh=lh||{})[lh.Decimal=0]="Decimal",lh[lh.Group=1]="Group",lh[lh.List=2]="List",lh[lh.PercentSign=3]="PercentSign",lh[lh.PlusSign=4]="PlusSign",lh[lh.MinusSign=5]="MinusSign",lh[lh.Exponential=6]="Exponential",lh[lh.SuperscriptingExponent=7]="SuperscriptingExponent",lh[lh.PerMille=8]="PerMille",lh[lh[1/0]=9]="Infinity",lh[lh.NaN=10]="NaN",lh[lh.TimeSeparator=11]="TimeSeparator",lh[lh.CurrencyDecimal=12]="CurrencyDecimal",lh[lh.CurrencyGroup=13]="CurrencyGroup",lh))();function ch(t,e){return ph(pa(t)[ma.DateFormat],e)}function uh(t,e){return ph(pa(t)[ma.TimeFormat],e)}function hh(t,e){return ph(pa(t)[ma.DateTimeFormat],e)}function dh(t,e){const n=pa(t),i=n[ma.NumberSymbols][e];if(void 0===i){if(e===lh.CurrencyDecimal)return n[ma.NumberSymbols][lh.Decimal];if(e===lh.CurrencyGroup)return n[ma.NumberSymbols][lh.Group]}return i}function fh(t){if(!t[ma.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ma.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ph(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function gh(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const mh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yh={},vh=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var _h=(()=>((_h=_h||{})[_h.Short=0]="Short",_h[_h.ShortGMT=1]="ShortGMT",_h[_h.Long=2]="Long",_h[_h.Extended=3]="Extended",_h))(),wh=(()=>((wh=wh||{})[wh.FullYear=0]="FullYear",wh[wh.Month=1]="Month",wh[wh.Date=2]="Date",wh[wh.Hours=3]="Hours",wh[wh.Minutes=4]="Minutes",wh[wh.Seconds=5]="Seconds",wh[wh.FractionalSeconds=6]="FractionalSeconds",wh[wh.Day=7]="Day",wh))(),bh=(()=>((bh=bh||{})[bh.DayPeriods=0]="DayPeriods",bh[bh.Days=1]="Days",bh[bh.Months=2]="Months",bh[bh.Eras=3]="Eras",bh))();function xh(t,e,n,i){let r=function(t){if(Fh(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return Ch(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(mh))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!Fh(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Sh(n,e)||e;let s,o=[];for(;e;){if(s=vh.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();i&&(a=Lh(i,a),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Lh(e,i)-i))}(r,i));let l="";return o.forEach(t=>{const e=function(t){if(Mh[t])return Mh[t];let e;switch(t){case"G":case"GG":case"GGG":e=Ah(bh.Eras,oh.Abbreviated);break;case"GGGG":e=Ah(bh.Eras,oh.Wide);break;case"GGGGG":e=Ah(bh.Eras,oh.Narrow);break;case"y":e=kh(wh.FullYear,1,0,!1,!0);break;case"yy":e=kh(wh.FullYear,2,0,!0,!0);break;case"yyy":e=kh(wh.FullYear,3,0,!1,!0);break;case"yyyy":e=kh(wh.FullYear,4,0,!1,!0);break;case"Y":e=Ph(1);break;case"YY":e=Ph(2,!0);break;case"YYY":e=Ph(3);break;case"YYYY":e=Ph(4);break;case"M":case"L":e=kh(wh.Month,1,1);break;case"MM":case"LL":e=kh(wh.Month,2,1);break;case"MMM":e=Ah(bh.Months,oh.Abbreviated);break;case"MMMM":e=Ah(bh.Months,oh.Wide);break;case"MMMMM":e=Ah(bh.Months,oh.Narrow);break;case"LLL":e=Ah(bh.Months,oh.Abbreviated,sh.Standalone);break;case"LLLL":e=Ah(bh.Months,oh.Wide,sh.Standalone);break;case"LLLLL":e=Ah(bh.Months,oh.Narrow,sh.Standalone);break;case"w":e=Rh(1);break;case"ww":e=Rh(2);break;case"W":e=Rh(1,!0);break;case"d":e=kh(wh.Date,1);break;case"dd":e=kh(wh.Date,2);break;case"c":case"cc":e=kh(wh.Day,1);break;case"ccc":e=Ah(bh.Days,oh.Abbreviated,sh.Standalone);break;case"cccc":e=Ah(bh.Days,oh.Wide,sh.Standalone);break;case"ccccc":e=Ah(bh.Days,oh.Narrow,sh.Standalone);break;case"cccccc":e=Ah(bh.Days,oh.Short,sh.Standalone);break;case"E":case"EE":case"EEE":e=Ah(bh.Days,oh.Abbreviated);break;case"EEEE":e=Ah(bh.Days,oh.Wide);break;case"EEEEE":e=Ah(bh.Days,oh.Narrow);break;case"EEEEEE":e=Ah(bh.Days,oh.Short);break;case"a":case"aa":case"aaa":e=Ah(bh.DayPeriods,oh.Abbreviated);break;case"aaaa":e=Ah(bh.DayPeriods,oh.Wide);break;case"aaaaa":e=Ah(bh.DayPeriods,oh.Narrow);break;case"b":case"bb":case"bbb":e=Ah(bh.DayPeriods,oh.Abbreviated,sh.Standalone,!0);break;case"bbbb":e=Ah(bh.DayPeriods,oh.Wide,sh.Standalone,!0);break;case"bbbbb":e=Ah(bh.DayPeriods,oh.Narrow,sh.Standalone,!0);break;case"B":case"BB":case"BBB":e=Ah(bh.DayPeriods,oh.Abbreviated,sh.Format,!0);break;case"BBBB":e=Ah(bh.DayPeriods,oh.Wide,sh.Format,!0);break;case"BBBBB":e=Ah(bh.DayPeriods,oh.Narrow,sh.Format,!0);break;case"h":e=kh(wh.Hours,1,-12);break;case"hh":e=kh(wh.Hours,2,-12);break;case"H":e=kh(wh.Hours,1);break;case"HH":e=kh(wh.Hours,2);break;case"m":e=kh(wh.Minutes,1);break;case"mm":e=kh(wh.Minutes,2);break;case"s":e=kh(wh.Seconds,1);break;case"ss":e=kh(wh.Seconds,2);break;case"S":e=kh(wh.FractionalSeconds,1);break;case"SS":e=kh(wh.FractionalSeconds,2);break;case"SSS":e=kh(wh.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Oh(_h.Short);break;case"ZZZZZ":e=Oh(_h.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Oh(_h.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Oh(_h.Long);break;default:return null}return Mh[t]=e,e}(t);l+=e?e(r,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Ch(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function Sh(t,e){const n=function(t){return pa(t)[ma.LocaleId]}(t);if(yh[n]=yh[n]||{},yh[n][e])return yh[n][e];let i="";switch(e){case"shortDate":i=ch(t,ah.Short);break;case"mediumDate":i=ch(t,ah.Medium);break;case"longDate":i=ch(t,ah.Long);break;case"fullDate":i=ch(t,ah.Full);break;case"shortTime":i=uh(t,ah.Short);break;case"mediumTime":i=uh(t,ah.Medium);break;case"longTime":i=uh(t,ah.Long);break;case"fullTime":i=uh(t,ah.Full);break;case"short":const e=Sh(t,"shortTime"),n=Sh(t,"shortDate");i=Eh(hh(t,ah.Short),[e,n]);break;case"medium":const r=Sh(t,"mediumTime"),s=Sh(t,"mediumDate");i=Eh(hh(t,ah.Medium),[r,s]);break;case"long":const o=Sh(t,"longTime"),a=Sh(t,"longDate");i=Eh(hh(t,ah.Long),[o,a]);break;case"full":const l=Sh(t,"fullTime"),c=Sh(t,"fullDate");i=Eh(hh(t,ah.Full),[l,c])}return i&&(yh[n][e]=i),i}function Eh(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function Th(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),s+o}function kh(t,e,n=0,i=!1,r=!1){return function(s,o){let a=function(t,e){switch(t){case wh.FullYear:return e.getFullYear();case wh.Month:return e.getMonth();case wh.Date:return e.getDate();case wh.Hours:return e.getHours();case wh.Minutes:return e.getMinutes();case wh.Seconds:return e.getSeconds();case wh.FractionalSeconds:return e.getMilliseconds();case wh.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===wh.Hours)0===a&&-12===n&&(a=12);else if(t===wh.FractionalSeconds)return l=e,Th(a,3).substr(0,l);var l;const c=dh(o,lh.MinusSign);return Th(a,e,c,i,r)}}function Ah(t,e,n=sh.Format,i=!1){return function(r,s){return function(t,e,n,i,r,s){switch(n){case bh.Months:return function(t,e,n){const i=pa(t),r=ph([i[ma.MonthsFormat],i[ma.MonthsStandalone]],e);return ph(r,n)}(e,r,i)[t.getMonth()];case bh.Days:return function(t,e,n){const i=pa(t),r=ph([i[ma.DaysFormat],i[ma.DaysStandalone]],e);return ph(r,n)}(e,r,i)[t.getDay()];case bh.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=function(t){const e=pa(t);return fh(e),(e[ma.ExtraData][2]||[]).map(t=>"string"==typeof t?gh(t):[gh(t[0]),gh(t[1])])}(e),n=function(t,e,n){const i=pa(t);fh(i);const r=ph([i[ma.ExtraData][0],i[ma.ExtraData][1]],e)||[];return ph(r,n)||[]}(e,r,i),s=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=o>=e.hours&&a>=e.minutes,r=o<n.hours||o===n.hours&&a<n.minutes;if(e.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(t.hours===o&&t.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(t,e,n){const i=pa(t),r=ph([i[ma.DayPeriodsFormat],i[ma.DayPeriodsStandalone]],e);return ph(r,n)}(e,r,i)[o<12?0:1];case bh.Eras:return function(t,e){return ph(pa(t)[ma.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,s,t,e,n,i)}}function Oh(t){return function(e,n,i){const r=-1*i,s=dh(n,lh.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case _h.Short:return(r>=0?"+":"")+Th(o,2,s)+Th(Math.abs(r%60),2,s);case _h.ShortGMT:return"GMT"+(r>=0?"+":"")+Th(o,1,s);case _h.Long:return"GMT"+(r>=0?"+":"")+Th(o,2,s)+":"+Th(Math.abs(r%60),2,s);case _h.Extended:return 0===i?"Z":(r>=0?"+":"")+Th(o,2,s)+":"+Th(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function Dh(t){return Ch(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Rh(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=Dh(n),e=function(t){const e=Ch(t,0,1).getDay();return Ch(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return Th(r,t,dh(i,lh.MinusSign))}}function Ph(t,e=!1){return function(n,i){return Th(Dh(n).getFullYear(),t,dh(i,lh.MinusSign),e)}}const Mh={};function Lh(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Fh(t){return t instanceof Date&&!isNaN(t.valueOf())}class Ih{}let Nh=(()=>{class t extends Ih{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return pa(t)[ma.PluralCase]}(e||this.locale)(t)){case rh.Zero:return"zero";case rh.One:return"one";case rh.Two:return"two";case rh.Few:return"few";case rh.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(di(Kc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Vh(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}class jh{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 Uh=(()=>{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){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new jh(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Hh(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new Hh(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{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)(To(Kl),To(zl),To(Rl))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Hh{constructor(t,e){this.record=t,this.view=e}}let $h=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new zh,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){Bh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Bh("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)(To(Kl),To(zl))},t.\u0275dir=Gt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class zh{constructor(){this.$implicit=null,this.ngIf=null}}function Bh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${J(e)}'.`)}let qh=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){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&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(To(Kl))},t.\u0275dir=Gt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ae]}),t})();function Wh(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${J(t)}'`)}let Gh=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return xh(e,n,r||this.locale,i)}catch(s){throw Wh(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(To(Kc,16))},t.\u0275pipe=Yt({name:"date",type:t,pure:!0}),t})(),Yh=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw Wh(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Yt({name:"slice",type:t,pure:!1}),t})(),Qh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[{provide:Ih,useClass:Nh}]}),t})();function Kh(t){return"browser"===t}let Zh=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Xh(di(Uu),window)}),t})();class Xh{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(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,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Jh(this.window.history)||Jh(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Jh(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class td{}class ed extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new ed,Vu||(Vu=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(id=id||document.querySelector("base"),id?id.getAttribute("href"):null);return null==e?null:function(t){nd=nd||document.createElement("a"),nd.setAttribute("href",t);const e=nd.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){id=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Vh(document.cookie,t)}}let nd,id=null;const rd=new Yn("TRANSITION_ID"),sd=[{provide:Hc,useFactory:function(t,e,n){return()=>{n.get($c).donePromise.then(()=>{const n=ju();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[rd,Uu,oo],multi:!0}];class od{static init(){var t;t=new od,_u=t}addToWindow(t){Dt.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Dt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Dt.getAllAngularRootElements=()=>t.getAllRootElements(),Dt.frameworkStabilizers||(Dt.frameworkStabilizers=[]),Dt.frameworkStabilizers.push(t=>{const e=Dt.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?ju().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let ad=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ld=new Yn("EventManagerPlugins");let cd=(()=>{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 i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(di(ld),di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ud{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=ju().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let hd=(()=>{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=ut({token:t,factory:t.\u0275fac}),t})(),dd=(()=>{class t extends hd{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(fd),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(fd))}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function fd(t){ju().remove(t)}const pd={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/"},gd=/%COMP%/g;function md(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?md(t,r,n):(r=r.replace(gd,t),n.push(r))}return n}function yd(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let vd=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new _d(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Et.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new wd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Et.ShadowDom:return new bd(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=md(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)(di(cd),di(dd),di(zc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class _d{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(pd[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,i){if(i){e=i+":"+e;const r=pd[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=pd[n];i?t.removeAttributeNS(i,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,i){i&(rr.DashCase|rr.Important)?t.style.setProperty(e,n,i&rr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&rr.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,yd(n)):this.eventManager.addEventListener(t,e,yd(n))}}class wd extends _d{constructor(t,e,n,i){super(t),this.component=n;const r=md(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(gd,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(gd,i+"-"+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 bd extends _d{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=md(i.id,i.styles,[]);for(let s=0;s<r.length;s++){const t=document.createElement("style");t.textContent=r[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let xd=(()=>{class t extends ud{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)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Cd=["alt","control","meta","shift"],Sd={"\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"},Ed={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"},Td={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let kd=(()=>{class t extends ud{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),s=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ju().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(Cd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=s,o}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&&Ed.hasOwnProperty(e)&&(e=Ed[e]))}return Sd[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Cd.forEach(i=>{i!=n&&(0,Td[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Ad=Su(Fu,"browser",[{provide:Gc,useValue:"browser"},{provide:Wc,useValue:function(){ed.makeCurrent(),od.init()},multi:!0},{provide:Uu,useFactory:function(){return function(t){fe=t}(document),document},deps:[]}]),Od=[[],{provide:Gs,useValue:"root"},{provide:tr,useFactory:function(){return new tr},deps:[]},{provide:ld,useClass:xd,multi:!0,deps:[Uu,lu,Gc]},{provide:ld,useClass:kd,multi:!0,deps:[Uu]},[],{provide:vd,useClass:vd,deps:[cd,dd,zc]},{provide:pl,useExisting:vd},{provide:hd,useExisting:dd},{provide:dd,useClass:dd,deps:[Uu]},{provide:gu,useClass:gu,deps:[lu]},{provide:cd,useClass:cd,deps:[ld,lu]},{provide:td,useClass:ad,deps:[]},[]];let Dd=(()=>{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:zc,useValue:e.appId},{provide:rd,useExisting:zc},sd]}}}return t.\u0275fac=function(e){return new(e||t)(di(t,12))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:Od,imports:[Qh,Nu]}),t})();function Rd(...t){let e=t[t.length-1];return E(e)?(t.pop(),L(t,e)):z(t)}function Pd(t,e){return j(t,e,1)}function Md(t,e){return function(n){return n.lift(new Ld(t,e))}}"undefined"!=typeof window&&window;class Ld{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Fd(t,this.predicate,this.thisArg))}}class Fd extends p{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)}}class Id{}class Nd{}class Vd{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Vd?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Vd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Vd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class jd{encodeKey(t){return Ud(t)}encodeValue(t){return Ud(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Ud(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Hd(t){return`${t}`}class $d{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new jd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new $d({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Hd(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(Hd(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class zd{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Bd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function qd(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Wd(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Gd{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Vd),this.context||(this.context=new zd),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new $d,this.urlWithParams=e}serializeBody(){return null===this.body?null:Bd(this.body)||qd(this.body)||Wd(this.body)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $d?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Wd(this.body)?null:qd(this.body)?this.body.type||null:Bd(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $d?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new Gd(n,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var Yd=(()=>((Yd=Yd||{})[Yd.Sent=0]="Sent",Yd[Yd.UploadProgress=1]="UploadProgress",Yd[Yd.ResponseHeader=2]="ResponseHeader",Yd[Yd.DownloadProgress=3]="DownloadProgress",Yd[Yd.Response=4]="Response",Yd[Yd.User=5]="User",Yd))();class Qd{constructor(t,e=200,n="OK"){this.headers=t.headers||new Vd,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Kd extends Qd{constructor(t={}){super(t),this.type=Yd.ResponseHeader}clone(t={}){return new Kd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Zd extends Qd{constructor(t={}){super(t),this.type=Yd.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Zd({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Xd extends Qd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Jd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let tf=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof Gd)i=t;else{let r,s;r=n.headers instanceof Vd?n.headers:new Vd(n.headers),n.params&&(s=n.params instanceof $d?n.params:new $d({fromObject:n.params})),i=new Gd(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Rd(i).pipe(Pd(t=>this.handler.handle(t)));if(t instanceof Gd||"events"===n.observe)return r;const s=r.pipe(Md(t=>t instanceof Zd));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(T(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(T(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(T(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new $d).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Jd(n,e))}post(t,e,n={}){return this.request("POST",t,Jd(n,e))}put(t,e,n={}){return this.request("PUT",t,Jd(n,e))}}return t.\u0275fac=function(e){return new(e||t)(di(Id))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ef{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const nf=new Yn("HTTP_INTERCEPTORS");let rf=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const sf=/^\)\]\}',?\n/;let of=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=new Vd(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new Kd({headers:s,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(sf,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Zd({body:l,headers:i,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new Xd({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=s(),r=new Xd({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:Yd.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:Yd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:Yd.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(di(td))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const af=new Yn("XSRF_COOKIE_NAME"),lf=new Yn("XSRF_HEADER_NAME");class cf{}let uf=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(di(Uu),di(Gc),di(af))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),hf=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(di(cf),di(lf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),df=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(nf,[]);this.chain=t.reduceRight((t,e)=>new ef(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(di(Nd),di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ff=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:hf,useClass:rf}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:af,useValue:e.cookieName}:[],e.headerName?{provide:lf,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[hf,{provide:nf,useExisting:hf,multi:!0},{provide:cf,useClass:uf},{provide:af,useValue:"XSRF-TOKEN"},{provide:lf,useValue:"X-XSRF-TOKEN"}]}),t})(),pf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[tf,{provide:Id,useClass:df},of,{provide:Nd,useExisting:of}],imports:[[ff.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();function gf(t,e){return new v(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a<i;a++){const l=F(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),r[a]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&c||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}let mf=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(To(gl),To(dl))},t.\u0275dir=Gt({type:t}),t})(),yf=(()=>{class t extends mf{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275dir=Gt({type:t,features:[lo]}),t})();const vf=new Yn("NgValueAccessor"),_f={provide:vf,useExisting:nt(()=>bf),multi:!0},wf=new Yn("CompositionEventMode");let bf=(()=>{class t extends mf{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=ju()?ju().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":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)(To(gl),To(dl),To(wf,8))},t.\u0275dir=Gt({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&&Fo("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:[sl([_f]),lo]}),t})();function xf(t){return null==t||0===t.length}function Cf(t){return null!=t&&"number"==typeof t.length}const Sf=new Yn("NgValidators"),Ef=new Yn("NgAsyncValidators"),Tf=/^(?=.{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 kf{static min(t){return function(t){return e=>{if(xf(e.value)||xf(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}(t)}static max(t){return function(t){return e=>{if(xf(e.value)||xf(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return xf(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return xf(t.value)||Tf.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>xf(e.value)||!Cf(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static maxLength(t){return function(t){return e=>Cf(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return Af;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(xf(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return Lf(t)}static composeAsync(t){return If(t)}}function Af(t){return null}function Of(t){return null!=t}function Df(t){const e=Mo(t)?F(t):t;return Lo(e),e}function Rf(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 Pf(t,e){return e.map(e=>e(t))}function Mf(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Lf(t){if(!t)return null;const e=t.filter(Of);return 0==e.length?null:function(t){return Rf(Pf(t,e))}}function Ff(t){return null!=t?Lf(Mf(t)):null}function If(t){if(!t)return null;const e=t.filter(Of);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return gf(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return gf(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return gf(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(T(t=>e(...t)))}return gf(t,null)}(Pf(t,e).map(Df)).pipe(T(Rf))}}function Nf(t){return null!=t?If(Mf(t)):null}function Vf(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function jf(t){return t._rawValidators}function Uf(t){return t._rawAsyncValidators}let Hf=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ff(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}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=Gt({type:t}),t})(),$f=(()=>{class t extends Hf{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275dir=Gt({type:t,features:[lo]}),t})();class zf extends Hf{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bf{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let qf=(()=>{class t extends Bf{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(To(zf,2))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Qo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[lo]}),t})(),Wf=(()=>{class t extends Bf{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(To($f,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&Qo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[lo]}),t})();function Gf(t,e){Kf(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Xf(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Xf(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Yf(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Zf(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Qf(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Kf(t,e){const n=jf(t);null!==e.validator?t.setValidators(Vf(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=Uf(t);null!==e.asyncValidator?t.setAsyncValidators(Vf(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Qf(e._rawValidators,r),Qf(e._rawAsyncValidators,r)}function Zf(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=jf(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.validator);r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=Uf(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.asyncValidator);r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return Qf(e._rawValidators,i),Qf(e._rawAsyncValidators,i),n}function Xf(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Jf(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const tp="VALID",ep="INVALID",np="PENDING",ip="DISABLED";function rp(t){return(lp(t)?t.validators:t)||null}function sp(t){return Array.isArray(t)?Ff(t):t||null}function op(t,e){return(lp(e)?e.asyncValidators:t)||null}function ap(t){return Array.isArray(t)?Nf(t):t||null}function lp(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class cp{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=sp(this._rawValidators),this._composedAsyncValidatorFn=ap(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===tp}get invalid(){return this.status===ep}get pending(){return this.status==np}get disabled(){return this.status===ip}get enabled(){return this.status!==ip}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._rawValidators=t,this._composedValidatorFn=sp(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ap(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=np,!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=ip,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=tp,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(),this.status!==tp&&this.status!==np||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()?ip:tp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=np,this._hasOwnPendingAsyncValidator=!0;const e=Df(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}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 i=t;return e.forEach(t=>{i=i instanceof hp?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof dp&&i.at(t)||null}),i}(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 bc,this.statusChanges=new bc}_calculateStatus(){return this._allControlsDisabled()?ip:this.errors?ep:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(np)?np:this._anyControlsHaveStatus(ep)?ep:tp}_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){lp(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class up extends cp{constructor(t=null,e,n){super(rp(e),op(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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)}_unregisterOnChange(t){Jf(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Jf(this._onDisabledChange,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 hp extends cp{constructor(t,e,n){super(rp(e),op(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=t&&(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,i)=>{n.reset(t[i],{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 up?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=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_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,i)=>{n=e(n,t,i)}),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 dp extends cp{constructor(t,e,n){super(rp(e),op(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),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={}){null!=t&&(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,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof up?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_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)}}let fp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),pp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})();const gp=new Yn("NgModelWithFormControlWarning"),mp={provide:$f,useExisting:nt(()=>yp)};let yp=(()=>{class t extends $f{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new bc,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Gf(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Yf(t.control||null,t,!1),Jf(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}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}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(Yf(e||null,t),n instanceof up&&(Gf(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Kf(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Zf(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kf(this.form,this),this._oldForm&&Zf(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(To(Sf,10),To(Ef,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Fo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[sl([mp]),lo,ae]}),t})();const vp={provide:zf,useExisting:nt(()=>_p)};let _p=(()=>{class t extends zf{constructor(t,e,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new bc,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===bf?n=t:Object.getPrototypeOf(t.constructor)===yf?i=t:r=t}),r||i||n||null}(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return t=null==this.name?this.name:this.name.toString(),[...this._parent.path,t];var t}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(To($f,13),To(Sf,10),To(Ef,10),To(vf,10),To(gp,8))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[sl([vp]),lo,ae]}),t._ngModelWarningSentOnce=!1,t})(),wp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[pp]]}),t})(),bp=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:gp,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[wp]}),t})(),xp=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,r=null,s=null;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,s=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new hp(n,{asyncValidators:s,updateOn:i,validators:r})}control(t,e,n){return new up(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new dp(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof up||t instanceof hp||t instanceof dp?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=ut({factory:function(){return new t},token:t,providedIn:bp}),t})();class Cp{}const Sp="*";function Ep(t,e){return{type:7,name:t,definitions:e,options:{}}}function Tp(t,e=null){return{type:4,styles:e,timings:t}}function kp(t,e=null){return{type:2,steps:t,options:e}}function Ap(t){return{type:6,styles:t,offset:null}}function Op(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function Dp(t){Promise.resolve(null).then(t)}class Rp{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Dp(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Pp{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?Dp(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Mp(){return"undefined"!=typeof window&&void 0!==window.document}function Lp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Fp(t){switch(t.length){case 0:return new Rp;case 1:return t[0];default:return new Pp(t)}}function Ip(t,e,n,i,r={},s={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==l,u=i&&c||{};Object.keys(t).forEach(n=>{let i=n,a=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),a){case"!":a=r[n];break;case Sp:a=s[n];break;default:a=e.normalizeStyleValue(n,i,a,o)}u[i]=a}),i||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function Np(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&Vp(n,"start",t)));break;case"done":t.onDone(()=>i(n&&Vp(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&Vp(n,"destroy",t)))}}function Vp(t,e,n){const i=n.totalTime,r=jp(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function jp(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function Up(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function Hp(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let $p=(t,e)=>!1,zp=(t,e)=>!1,Bp=(t,e,n)=>[];const qp=Lp();(qp||"undefined"!=typeof Element)&&($p=Mp()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),zp=(()=>{if(qp||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]):zp}})(),Bp=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let Wp=null,Gp=!1;function Yp(t){Wp||(Wp=("undefined"!=typeof document?document.body:null)||{},Gp=!!Wp.style&&"WebkitAppearance"in Wp.style);let e=!0;return Wp.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Wp.style,!e&&Gp)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Wp.style),e}const Qp=zp,Kp=$p,Zp=Bp;function Xp(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let Jp=(()=>{class t{validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,s=[],o){return new Rp(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class tg{}tg.NOOP=new Jp;const eg="ng-enter",ng="ng-leave",ig="ng-trigger",rg=".ng-trigger",sg="ng-animating",og=".ng-animating";function ag(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:lg(parseFloat(e[1]),e[2])}function lg(t,e){switch(e){case"s":return 1e3*t;default:return t}}function cg(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=lg(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=lg(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function ug(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function hg(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else ug(t,n);return n}function dg(t,e,n){return n?e+":"+n+";":""}function fg(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=dg(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=dg(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function pg(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=xg(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),Lp()&&fg(t))}function gg(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=xg(e);t.style[n]=""}),Lp()&&fg(t))}function mg(t){return Array.isArray(t)?1==t.length?t[0]:kp(t):t}const yg=new RegExp("{{\\s*(.+?)\\s*}}","g");function vg(t){let e=[];if("string"==typeof t){let n;for(;n=yg.exec(t);)e.push(n[1]);yg.lastIndex=0}return e}function _g(t,e,n){const i=t.toString(),r=i.replace(yg,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function wg(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const bg=/-+([a-z0-9])/g;function xg(t){return t.replace(bg,(...t)=>t[1].toUpperCase())}function Cg(t,e){return 0===t||0===e}function Sg(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r<e.length;r++){let n=e[r];o.forEach(function(e){n[e]=Tg(t,e)})}}return e}function Eg(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function Tg(t,e){return window.getComputedStyle(t)[e]}const kg="*";function Ag(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(Rg(r,o)),"<"!=s[0]||r==kg&&o==kg||e.push(Rg(o,r))}(t,n,e)):n.push(t),n}const Og=new Set(["true","1"]),Dg=new Set(["false","0"]);function Rg(t,e){const n=Og.has(t)||Dg.has(t),i=Og.has(e)||Dg.has(e);return(r,s)=>{let o=t==kg||t==r,a=e==kg||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?Og.has(t):Dg.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?Og.has(e):Dg.has(e)),o&&a}}const Pg=new RegExp("s*:selfs*,?","g");function Mg(t,e,n){return new Lg(t).build(e,n)}class Lg{constructor(t){this._driver=t}build(t,e){const n=new Fg(e);return this._resetContextStyleTimingState(n),Eg(this,mg(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(Ig(t)){const e=t;Object.keys(e).forEach(t=>{vg(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=wg(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Eg(this,mg(t.animation),e);return{type:1,matchers:Ag(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Ng(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Eg(this,t,e)),options:Ng(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Eg(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:Ng(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Vg(cg(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Vg(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||cg(i,e),Vg(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Ap({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,s=!1;if(!r){s=!0;const t={};n.easing&&(t.easing=n.easing),r=Ap(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,e);o.isEmptyStep=s,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Sp?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(Ig(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=vg(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Ig(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Ig(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,r.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return l.forEach((t,i)=>{const s=u>0?i==h?1:u*i:r[i],o=s*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Eg(this,mg(t.animation),e),options:Ng(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Ng(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Ng(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Pg,"")),[t=t.replace(/@\*/g,rg).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,og),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,Up(e.collectedStyles,e.currentQuerySelector,{});const o=Eg(this,mg(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:Ng(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:cg(t.timings,e.errors,!0);return{type:12,animation:Eg(this,mg(t.animation),e),timings:n,options:null}}}class Fg{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Ig(t){return!Array.isArray(t)&&"object"==typeof t}function Ng(t){var e;return t?(t=ug(t)).params&&(t.params=(e=t.params)?ug(e):null):t={},t}function Vg(t,e,n){return{duration:t,delay:e,easing:n}}function jg(t,e,n,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class Ug{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Hg=new RegExp(":enter","g"),$g=new RegExp(":leave","g");function zg(t,e,n,i,r,s={},o={},a,l,c=[]){return(new Bg).buildKeyframes(t,e,n,i,r,s,o,a,l,c)}class Bg{buildKeyframes(t,e,n,i,r,s,o,a,l,c=[]){l=l||new Ug;const u=new Wg(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),Eg(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[jg(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?ag(n.duration):null,s=null!=n.delay?ag(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Eg(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=qg);const t=ag(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Eg(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ag(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Eg(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return cg(e.params?_g(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?ag(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=qg);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),Eg(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Eg(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const qg={};class Wg{constructor(t,e,n,i,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Gg(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=ag(n.duration)),null!=n.delay&&(i.delay=ag(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=_g(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new Wg(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=qg,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new Yg(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(Hg,"."+this._enterClassName)).replace($g,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Gg{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Gg(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Sp,this._currentKeyframe[t]=Sp}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},s=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=Sp})):hg(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=_g(s[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Sp),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const o=hg(r,!0);Object.keys(o).forEach(n=>{const i=o[n];"!"==i?t.add(n):i==Sp&&e.add(n)}),n||(o.offset=s/this.duration),i.push(o)});const r=t.size?wg(t.values()):[],s=e.size?wg(e.values()):[];if(n){const t=i[0],e=ug(t);t.offset=0,e.offset=1,i=[t,e]}return jg(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class Yg extends Gg{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,a=hg(t[0],!1);a.offset=0,r.push(a);const l=hg(t[0],!1);l.offset=Qg(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=hg(t[i],!1);o.offset=Qg((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return jg(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Qg(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Kg{}class Zg extends Kg{normalizePropertyName(t,e){return xg(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Xg[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const Xg=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Jg(t,e,n,i,r,s,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const tm={};class em{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||tm,d=this.buildStyles(n,o&&o.params||tm,u),f=a&&a.params||tm,p=this.buildStyles(i,f,u),g=new Set,m=new Map,y=new Map,v="void"===i,_={params:Object.assign(Object.assign({},h),f)},w=c?[]:zg(t,e,this.ast.animation,r,s,d,p,_,l,u);let b=0;if(w.forEach(t=>{b=Math.max(t.duration+t.delay,b)}),u.length)return Jg(e,this._triggerName,n,i,v,d,p,[],[],m,y,b,u);w.forEach(t=>{const n=t.element,i=Up(m,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=Up(y,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const x=wg(g.values());return Jg(e,this._triggerName,n,i,v,d,p,w,x,m,y,b)}}class nm{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=ug(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=_g(s,i,e));const o=this.normalizer.normalizePropertyName(t,e);s=this.normalizer.normalizeStyleValue(t,o,s,e),n[o]=s})}}),n}}class im{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new nm(t.style,t.options&&t.options.params||{},n)}),rm(this.states,"true","1"),rm(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new em(t,e,this.states))}),this.fallbackTransition=new em(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function rm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const sm=new Ug;class om{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Mg(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=Ip(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let s;const o=new Map;if(r?(s=zg(this._driver,e,r,eg,ng,{},{},n,sm,i),s.forEach(t=>{const e=Up(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Sp)})});const a=Fp(s.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=jp(e,"","","");return Np(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const am="ng-animate-queued",lm="ng-animate-disabled",cm=".ng-animate-disabled",um=[],hm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class fm{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=ug(t);delete e.value,this.options=e}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const pm="void",gm=new fm(pm);class mm{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Cm(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=Up(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const a=Up(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Cm(t,ig),Cm(t,"ng-trigger-"+e),a[e]=gm),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new vm(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Cm(t,ig),Cm(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new fm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=gm),l.value!==pm&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=r.matchStyles(a.value,a.params,e),i=r.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{gg(t,n),pg(t,i)})}return}const c=Up(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Cm(t,am),s.onStart(()=>{Sm(t,am)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,rg,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,pm,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Fp(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const s=this._triggers[r].fallbackTransition,o=n[r]||gm,a=new fm(pm),l=new vm(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==hm||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Cm(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=jp(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,Np(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class ym{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new mm(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(_m(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!_m(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Cm(t,lm)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Sm(t,lm))}removeNode(t,e,n,i){if(_m(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return _m(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,rg,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,og,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Fp(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=hm,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,cm)&&this.markElementAsDisabled(t,!1),this.driver.query(t,cm,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Cm(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Fp(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new Ug,i=[],r=new Map,s=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=xm(h,this.collectedEnterElements),f=new Map;let p=0;d.forEach((t,e)=>{const n=eg+p++;f.set(e,n),t.forEach(t=>Cm(t,n))});const g=[],m=new Set,y=new Set;for(let D=0;D<this.collectedLeaveElements.length;D++){const t=this.collectedLeaveElements[D],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):y.add(t))}const v=new Map,_=xm(h,Array.from(m));_.forEach((t,e)=>{const n=ng+p++;v.set(e,n),t.forEach(t=>Cm(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=f.get(e);t.forEach(t=>Sm(t,n))}),_.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Sm(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const w=[],b=[];for(let D=this._namespaceList.length-1;D>=0;D--)this._namespaceList[D].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(w.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,r),h=v.get(r),d=f.get(r),p=this._buildInstruction(t,n,d,h,c);if(p.errors&&p.errors.length)b.push(p);else{if(c)return e.onStart(()=>gg(r,p.fromStyles)),e.onDestroy(()=>pg(r,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>gg(r,p.fromStyles)),e.onDestroy(()=>pg(r,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,p.timelines),s.push({instruction:p,player:e,element:r}),p.queriedElements.forEach(t=>Up(o,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=l.get(e);i||l.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(b.length){const t=[];b.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,C=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(C.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Up(x,e,[]).push(t),t.destroy()})});const S=g.filter(t=>km(t,a,l)),E=new Map;bm(E,this.driver,y,l,Sp).forEach(t=>{km(t,a,l)&&S.push(t)});const T=new Map;d.forEach((t,e)=>{bm(T,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=E.get(t),n=T.get(t);E.set(t,Object.assign(Object.assign({},e),n))});const k=[],A=[],O={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(c.has(e))return s.onDestroy(()=>pg(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let t=O;if(C.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=C.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>C.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,x,r,T,E);if(s.setRealPlayer(n),t===O)k.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=Fp(e)),i.push(s)}}else gg(e,o.fromStyles),s.onDestroy(()=>pg(e,o.toStyles)),A.push(s),c.has(e)&&i.push(s)}),A.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=Fp(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let D=0;D<g.length;D++){const t=g[D],e=t.__ng_removed;if(Sm(t,ng),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,og,!0);for(let t=0;t<i.length;t++){let e=o.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Em(this,t,i):this.processLeaveNode(t)}return g.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==pm;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=Up(n,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}gg(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,s){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Rp(e.duration,e.delay);const f=h!==a,p=function(t){const e=[];return Tm(t,e),e}((n.get(h)||um).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=r.get(h),m=s.get(h),y=Ip(0,this._normalizer,0,e.keyframes,g,m),v=this._buildPlayer(e,y,p);if(e.subTimeline&&i&&u.add(h),f){const e=new vm(t,o,h);e.setRealPlayer(v),l.push(e)}return v});l.forEach(t=>{Up(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Cm(t,sg));const d=Fp(h);return d.onDestroy(()=>{c.forEach(t=>Sm(t,sg)),pg(a,e.toStyles)}),u.forEach(t=>{Up(i,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Rp(t.duration,t.delay)}}class vm{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Rp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>Np(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Up(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function _m(t){return t&&1===t.nodeType}function wm(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function bm(t,e,n,i,r){const s=[];n.forEach(t=>s.push(wm(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=dm,o.push(i))}),t.set(i,s)});let a=0;return n.forEach(t=>wm(t,s[a++])),o}function xm(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:s(o),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function Cm(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Sm(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Em(t,e,n){Fp(n).onDone(()=>t.processLeaveNode(e))}function Tm(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof Pp?Tm(i.players,e):e.push(i)}}function km(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class Am{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new ym(t,e,n),this._timelineEngine=new om(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=Mg(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new im(t,e,n)}(i,e,this._normalizer),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=Hp(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=Hp(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Om(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Rm(e[0]),e.length>1&&(i=Rm(e[e.length-1]))):e&&(n=Rm(e)),n||i?new Dm(t,n,i):null}class Dm{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=Dm.initialStylesByElement.get(t);i||Dm.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&pg(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pg(this._element,this._initialStyles),this._endStyles&&(pg(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Dm.initialStylesByElement.delete(this._element),this._startStyles&&(gg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gg(this._element,this._endStyles),this._endStyles=null),pg(this._element,this._initialStyles),this._state=3)}}function Rm(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];Pm(r)&&(e=e||{},e[r]=t[r])}return e}function Pm(t){return"display"===t||"position"===t}Dm.initialStylesByElement=new WeakMap;const Mm="animation",Lm="animationend";class Fm{constructor(t,e,n,i,r,s,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Hm(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Um(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),jm(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Im(this._element,this._name,"paused")}resume(){Im(this._element,this._name,"running")}setPosition(t){const e=Nm(this._element,this._name);this._position=t*this._duration,Um(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),jm(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Hm(t,"").split(","),i=Vm(n,e);i>=0&&(n.splice(i,1),Um(t,"",n.join(",")))}(this._element,this._name))}}function Im(t,e,n){Um(t,"PlayState",n,Nm(t,e))}function Nm(t,e){const n=Hm(t,"");return n.indexOf(",")>0?Vm(n.split(","),e):Vm([n],e)}function Vm(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function jm(t,e,n){n?t.removeEventListener(Lm,e):t.addEventListener(Lm,e)}function Um(t,e,n,i){const r=Mm+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function Hm(t,e){return t.style[Mm+e]||""}class $m{constructor(t,e,n,i,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Fm(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Tg(this.element,n))})}this.currentSnapshot=t}}class zm extends Rp{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Xp(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Bm{constructor(){this._count=0}validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>Xp(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],o){const a=s.filter(t=>t instanceof $m),l={};Cg(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Sg(t,e,l));if(0==n)return new zm(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=Om(t,e),f=new $m(t,e,u,n,i,r,c,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}}class qm{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Tg(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Wm{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Gm().toString()),this._cssKeyframesDriver=new Bm}validateStyleProperty(t){return Yp(t)}matchesElement(t,e){return Qp(t,e)}containsElement(t,e){return Kp(t,e)}query(t,e,n){return Zp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(t=>t instanceof qm);Cg(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Om(t,e=Sg(t,e=e.map(t=>hg(t,!1)),l));return new qm(t,e,a,u)}}function Gm(){return Mp()&&Element.prototype.animate||{}}let Ym=(()=>{class t extends Cp{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Et.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?kp(t):t;return Zm(this._renderer,null,e,"register",[n]),new Qm(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(di(pl),di(Uu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Qm extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Km(this._id,t,e||{},this._renderer)}}class Km{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Zm(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Zm(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const Xm="@",Jm="@.disabled";let ty=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new ey("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new ny(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(di(pl),di(Am),di(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ey{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Xm&&e==Jm?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class ny extends ey{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Xm?"."==e.charAt(1)&&e==Jm?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Xm){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=Xm&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let iy=(()=>{class t extends Am{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(di(Uu),di(tg),di(Kg))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ry=new Yn("AnimationModuleType"),sy=[{provide:Cp,useClass:Ym},{provide:Kg,useFactory:function(){return new Zg}},{provide:Am,useClass:iy},{provide:pl,useFactory:function(t,e,n){return new ty(t,e,n)},deps:[vd,Am,lu]}],oy=[{provide:tg,useFactory:function(){return"function"==typeof Gm()?new Wm:new Bm}},{provide:ry,useValue:"BrowserAnimations"},...sy],ay=[{provide:tg,useClass:Jp},{provide:ry,useValue:"NoopAnimations"},...sy];let ly=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ay:oy}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:oy,imports:[Dd]}),t})();class cy extends C{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 w;return this._value}next(t){super.next(this._value=t)}}class uy extends p{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class hy extends p{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()}}function dy(t,e,n,i,r=new hy(t,n,i)){if(!r.closed)return e instanceof v?e.subscribe(r):M(e)(r)}const fy={};class py{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new gy(t,this.resultSelector))}}class gy extends uy{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(fy),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<e;n++)this.add(dy(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,r=this.toRespond?i[n]===fy?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const my=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function yy(...t){return $(1)(Rd(...t))}const vy=new v(t=>t.complete());function _y(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):vy}function wy(t){return new v(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?F(n):_y()).subscribe(e)})}function by(t,e){return"function"==typeof e?n=>n.pipe(by((n,i)=>F(t(n,i)).pipe(T((t,r)=>e(n,t,i,r))))):e=>e.lift(new xy(t))}class xy{constructor(t){this.project=t}call(t,e){return e.subscribe(new Cy(t,this.project))}}class Cy extends N{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(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new I(this),i=this.destination;i.add(n),this.innerSubscription=V(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Sy=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Ey(t){return e=>0===t?_y():e.lift(new Ty(t))}class Ty{constructor(t){if(this.total=t,this.total<0)throw new Sy}call(t,e){return e.subscribe(new ky(t,this.total))}}class ky extends p{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()))}}function Ay(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Oy(t,e,n))}}class Oy{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Dy(t,this.accumulator,this.seed,this.hasSeed))}}class Dy extends p{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,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(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function Ry(t){return function(e){const n=new Py(t),i=e.lift(n);return n.caught=i}}class Py{constructor(t){this.selector=t}call(t,e){return e.subscribe(new My(t,this.selector,this.caught))}}class My extends N{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 i=new I(this);this.add(i);const r=V(n,i);r!==i&&this.add(r)}}}function Ly(t){return function(e){return 0===t?_y():e.lift(new Fy(t))}}class Fy{constructor(t){if(this.total=t,this.total<0)throw new Sy}call(t,e){return e.subscribe(new Iy(t,this.total))}}class Iy extends p{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}function Ny(t=Uy){return e=>e.lift(new Vy(t))}class Vy{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new jy(t,this.errorFactory))}}class jy extends p{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 Uy(){return new my}function Hy(t=null){return e=>e.lift(new $y(t))}class $y{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new zy(t,this.defaultValue))}}class zy extends p{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()}}function By(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Md((e,n)=>t(e,n,i)):y,Ey(1),n?Hy(e):Ny(()=>new my))}function qy(){}function Wy(t,e,n){return function(i){return i.lift(new Gy(t,e,n))}}class Gy{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Yy(t,this.nextOrObserver,this.error,this.complete))}}class Yy extends p{constructor(t,e,n,r){super(t),this._tapNext=qy,this._tapError=qy,this._tapComplete=qy,this._tapError=n||qy,this._tapComplete=r||qy,i(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||qy,this._tapError=e.error||qy,this._tapComplete=e.complete||qy)}_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()}}class Qy{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Ky(t,this.callback))}}class Ky extends p{constructor(t,e){super(t),this.add(new h(e))}}class Zy{constructor(t,e){this.id=t,this.url=e}}class Xy extends Zy{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jy extends Zy{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tv extends Zy{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ev extends Zy{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class nv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rv extends Zy{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class sv extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ov extends Zy{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class av{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cv{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uv{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hv{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dv{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fv{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}')`}}const pv="primary";class gv{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,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 mv(t){return new gv(t)}function yv(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function vv(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(":"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function _v(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!wv(t[r],e[r]))return!1;return!0}function wv(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function bv(t){return Array.prototype.concat.apply([],t)}function xv(t){return t.length>0?t[t.length-1]:null}function Cv(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Sv(t){return Lo(t)?t:Mo(t)?F(Promise.resolve(t)):Rd(t)}const Ev={exact:function t(e,n,i){if(!Lv(e.segments,n.segments))return!1;if(!Dv(e.segments,n.segments,i))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],i))return!1}return!0},subset:Av},Tv={exact:function(t,e){return _v(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>wv(t[n],e[n]))},ignored:()=>!0};function kv(t,e,n){return Ev[n.paths](t.root,e.root,n.matrixParams)&&Tv[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Av(t,e,n){return Ov(t,e,e.segments,n)}function Ov(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!Lv(r,n)&&!e.hasChildren()&&!!Dv(r,n,i)}if(t.segments.length===n.length){if(!Lv(t.segments,n))return!1;if(!Dv(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Av(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!Lv(t.segments,r)&&!!Dv(t.segments,r,i)&&!!t.children.primary&&Ov(t.children.primary,e,s,i)}}function Dv(t,e,n){return e.every((e,i)=>Tv[n](t[i].parameters,e.parameters))}class Rv{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return Nv.serialize(this)}}class Pv{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Cv(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vv(this)}}class Mv{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=mv(this.parameters)),this._parameterMap}toString(){return qv(this)}}function Lv(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Fv{}class Iv{parse(t){const e=new Kv(t);return new Rv(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${jv(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Hv(e)}=${Hv(t)}`).join("&"):`${Hv(e)}=${Hv(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Nv=new Iv;function Vv(t){return t.segments.map(t=>qv(t)).join("/")}function jv(t,e){if(!t.hasChildren())return Vv(t);if(e){const e=t.children.primary?jv(t.children.primary,!1):"",n=[];return Cv(t.children,(t,e)=>{e!==pv&&n.push(`${e}:${jv(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Cv(t.children,(t,i)=>{i===pv&&(n=n.concat(e(t,i)))}),Cv(t.children,(t,i)=>{i!==pv&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===pv?[jv(t.children.primary,!1)]:[`${n}:${jv(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Vv(t)}/${e[0]}`:`${Vv(t)}/(${e.join("//")})`}}function Uv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hv(t){return Uv(t).replace(/%3B/gi,";")}function $v(t){return Uv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zv(t){return decodeURIComponent(t)}function Bv(t){return zv(t.replace(/\+/g,"%20"))}function qv(t){return`${$v(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${$v(t)}=${$v(e[t])}`).join("")}`;var e}const Wv=/^[^\/()?;=#]+/;function Gv(t){const e=t.match(Wv);return e?e[0]:""}const Yv=/^[^=?&#]+/,Qv=/^[^?&#]+/;class Kv{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pv([],{}):new Pv([],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 Pv(t,e)),n}parseSegment(){const t=Gv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Mv(zv(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Gv(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Gv(this.remaining);t&&(n=t,this.capture(n))}t[zv(e)]=zv(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yv);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(Qv);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Bv(e),r=Bv(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Gv(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=pv);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new Pv([],s),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 Zv{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=Xv(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xv(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Jv(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Jv(t,this._root).map(t=>t.value)}}function Xv(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xv(t,n);if(e)return e}return null}function Jv(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Jv(t,n);if(i.length)return i.unshift(e),i}return[]}class t_{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function e_(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class n_ extends Zv{constructor(t,e){super(t),this.snapshot=e,l_(this,t)}toString(){return this.snapshot.toString()}}function i_(t,e){const n=function(t,e){const n=new o_([],{},{},"",{},pv,e,null,t.root,-1,{});return new a_("",new t_(n,[]))}(t,e),i=new cy([new Mv("",{})]),r=new cy({}),s=new cy({}),o=new cy({}),a=new cy(""),l=new r_(i,r,o,a,s,pv,e,n.root);return l.snapshot=n.root,new n_(new t_(l,[]),n)}class r_{constructor(t,e,n,i,r,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}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(T(t=>mv(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>mv(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function s_(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}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(i))}class o_{constructor(t,e,n,i,r,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,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=mv(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class a_ extends Zv{constructor(t,e){super(e),this.url=t,l_(this,e)}toString(){return c_(this._root)}}function l_(t,e){e.value._routerState=t,e.children.forEach(e=>l_(t,e))}function c_(t){const e=t.children.length>0?` { ${t.children.map(c_).join(", ")} } `:"";return`${t.value}${e}`}function u_(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,_v(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),_v(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!_v(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),_v(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function h_(t,e){var n,i;return _v(t.params,e.params)&&Lv(n=t.url,i=e.url)&&n.every((t,e)=>_v(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||h_(t.parent,e.parent))}function d_(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return d_(t,e,i);return d_(t,e)})}(t,e,n);return new t_(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return f_(e,t),t}}const n=new r_(new cy((i=e.value).url),new cy(i.params),new cy(i.queryParams),new cy(i.fragment),new cy(i.data),i.outlet,i.component,i),r=e.children.map(e=>d_(t,e));return new t_(n,r)}var i}function f_(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)f_(t.children[n],e.children[n])}function p_(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function g_(t){return"object"==typeof t&&null!=t&&t.outlets}function m_(t,e,n,i,r){let s={};return i&&Cv(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Rv(n.root===t?e:y_(n.root,t,e),s,r)}function y_(t,e,n){const i={};return Cv(t.children,(t,r)=>{i[r]=t===e?n:y_(t,e,n)}),new Pv(t.segments,i)}class v_{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&p_(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(g_);if(i&&i!==xv(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class __{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function w_(t,e,n){if(t||(t=new Pv([],{})),0===t.segments.length&&t.hasChildren())return b_(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],o=n[i];if(g_(o))break;const a=`${o}`,l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!E_(a,l,e))return s;i+=2}else{if(!E_(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Pv(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Pv(t.segments.slice(i.pathIndex),t.children),b_(e,0,r)}return i.match&&0===r.length?new Pv(t.segments,{}):i.match&&!t.hasChildren()?x_(t,e,n):i.match?b_(t,0,r):x_(t,e,n)}function b_(t,e,n){if(0===n.length)return new Pv(t.segments,{});{const i=function(t){return g_(t[0])?t[0].outlets:{[pv]:t}}(n),r={};return Cv(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=w_(t.children[i],e,n))}),Cv(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Pv(t.segments,r)}}function x_(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){const s=n[r];if(g_(s)){const t=C_(s.outlets);return new Pv(i,t)}if(0===r&&p_(n[0])){i.push(new Mv(t.segments[e].path,S_(n[0]))),r++;continue}const o=g_(s)?s.outlets.primary:`${s}`,a=r<n.length-1?n[r+1]:null;o&&a&&p_(a)?(i.push(new Mv(o,S_(a))),r+=2):(i.push(new Mv(o,{})),r++)}return new Pv(i,{})}function C_(t){const e={};return Cv(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=x_(new Pv([],{}),0,t))}),e}function S_(t){const e={};return Cv(t,(t,n)=>e[n]=`${t}`),e}function E_(t,e,n){return t==n.path&&_v(e,n.parameters)}class T_{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),u_(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=e_(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),Cv(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&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(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=e_(t);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=e_(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new dv(t.value.snapshot))}),t.children.length&&this.forwardEvent(new uv(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(u_(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),k_(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}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function k_(t){u_(t.value),t.children.forEach(k_)}class A_{constructor(t,e){this.routes=t,this.module=e}}function O_(t){return"function"==typeof t}function D_(t){return t instanceof Rv}const R_=Symbol("INITIAL_VALUE");function P_(){return by(t=>function(...t){let e,n;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),z(t,n).lift(new py(e))}(t.map(t=>t.pipe(Ey(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>yy(t,n,e)):e=>yy(t,e)}(R_)))).pipe(Ay((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==R_)return t;if(i===R_&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||D_(i))return i}return t},t)},R_),Md(t=>t!==R_),T(t=>D_(t)?t:!0===t),Ey(1)))}let M_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"router-outlet")},directives:function(){return[kw]},encapsulation:2}),t})();function L_(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];F_(i,I_(e,i))}}function F_(t,e){t.children&&L_(t.children,e)}function I_(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function N_(t){const e=t.children&&t.children.map(N_),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==pv&&(n.component=M_),n}function V_(t){return t.outlet||pv}function j_(t,e){const n=t.filter(t=>V_(t)===e);return n.push(...t.filter(t=>V_(t)!==e)),n}const U_={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function H_(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},U_):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||vv)(n,t,e);if(!r)return Object.assign({},U_);const s={};Cv(r.posParams,(t,e)=>{s[e]=t.path});const o=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function $_(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>z_(t,e,n)&&V_(n)!==pv)}(t,n,i)){const r=new Pv(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&V_(s)!==pv){const n=new Pv([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[V_(s)]=n}return r}(t,e,i,new Pv(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>z_(t,e,n))}(t,n,i)){const s=new Pv(t.segments,function(t,e,n,i,r,s){const o={};for(const a of i)if(z_(t,n,a)&&!r[V_(a)]){const n=new Pv([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[V_(a)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Pv(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function z_(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function B_(t,e,n,i){return!!(V_(t)===i||i!==pv&&z_(e,n,t))&&("**"===t.path||H_(e,t,n).matched)}function q_(t,e,n){return 0===e.length&&!t.children[n]}class W_{constructor(t){this.segmentGroup=t||null}}class G_{constructor(t){this.urlTree=t}}function Y_(t){return new v(e=>e.error(new W_(t)))}function Q_(t){return new v(e=>e.error(new G_(t)))}function K_(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Z_{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(Gl)}apply(){const t=$_(this.urlTree.root,[],[],this.config).segmentGroup,e=new Pv(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,pv).pipe(T(t=>this.createUrlTree(X_(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ry(t=>{if(t instanceof G_)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof W_)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,pv).pipe(T(e=>this.createUrlTree(X_(e),t.queryParams,t.fragment))).pipe(Ry(t=>{if(t instanceof W_)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pv([],{[pv]:t}):t;return new Rv(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new Pv([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return F(i).pipe(Pd(i=>{const r=n.children[i],s=j_(e,i);return this.expandSegmentGroup(t,s,r,i).pipe(T(t=>({segment:t,outlet:i})))}),Ay((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Md((e,n)=>t(e,n,i)):y,Ly(1),n?Hy(e):Ny(()=>new my))}())}expandSegment(t,e,n,i,r,s){return F(n).pipe(Pd(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,s).pipe(Ry(t=>{if(t instanceof W_)return Rd(null);throw t}))),By(t=>!!t),Ry((t,n)=>{if(t instanceof my||"EmptyError"===t.name){if(q_(e,i,r))return Rd(new Pv([],{}));throw new W_(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return B_(i,e,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Y_(e):Y_(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Q_(r):this.lineralizeSegments(n,r).pipe(j(n=>{const r=new Pv(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=H_(e,i,r);if(!o)return Y_(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Q_(u):this.lineralizeSegments(i,u).pipe(j(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Rd(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(T(t=>(n._loadedConfig=t,new Pv(i,{})))):Rd(new Pv(i,{}));const{matched:s,consumedSegments:o,lastChild:a}=H_(e,n,i);if(!s)return Y_(e);const l=i.slice(a);return this.getChildConfig(t,n,i).pipe(j(t=>{const i=t.module,s=t.routes,{segmentGroup:a,slicedSegments:c}=$_(e,o,l,s),u=new Pv(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(i,s,u).pipe(T(t=>new Pv(o,t)));if(0===s.length&&0===c.length)return Rd(new Pv(o,{}));const h=V_(n)===r;return this.expandSegment(i,u,s,c,h?pv:r,!0).pipe(T(t=>new Pv(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Rd(new A_(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Rd(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(j(n=>n?this.configLoader.load(t.injector,e).pipe(T(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(yv(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Rd(new A_([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;return i&&0!==i.length?Rd(i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&O_(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!O_(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return Sv(s)})).pipe(P_(),Wy(t=>{if(!D_(t))return;const e=yv(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Rd(!0)}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Rd(n);if(i.numberOfChildren>1||!i.children.primary)return K_(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new Rv(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Cv(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return Cv(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new Pv(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function X_(t){const e={};for(const n of Object.keys(t.children)){const i=X_(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pv(t.segments.concat(e.segments),e.children)}return t}(new Pv(t.segments,e))}class J_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class tw{constructor(t,e){this.component=t,this.route=e}}function ew(t,e,n){const i=t._root;return iw(i,e?e._root:null,n,[i.value])}function nw(t,e,n){const i=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(i?i.module.injector:n).get(t)}function iw(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e_(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Lv(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Lv(t.url,e.url)||!_v(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!h_(t,e)||!_v(t.queryParams,e.queryParams);case"paramsChange":default:return!h_(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new J_(i)):(s.data=o.data,s._resolvedData=o._resolvedData),iw(t,e,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new tw(a.outlet.component,o))}else o&&rw(e,a,r),r.canActivateChecks.push(new J_(i)),iw(t,null,s.component?a?a.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),Cv(s,(t,e)=>rw(t,n.getContext(e),r)),r}function rw(t,e,n){const i=e_(t),r=t.value;Cv(i,(t,i)=>{rw(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new tw(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class sw{}function ow(t){return new v(e=>e.error(t))}class aw{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const t=$_(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,pv);if(null===e)return null;const n=new o_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},pv,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new t_(n,e),r=new a_(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=s_(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=[];for(const r of Object.keys(e.children)){const i=e.children[r],s=j_(t,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=cw(n);return i.sort((t,e)=>t.value.outlet===pv?-1:e.value.outlet===pv?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return q_(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!B_(t,e,n,i))return null;let r,s=[],o=[];if("**"===t.path){const i=n.length>0?xv(n).parameters:{};r=new o_(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dw(t),V_(t),t.component,t,uw(e),hw(e)+n.length,fw(t))}else{const i=H_(e,t,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new o_(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dw(t),V_(t),t.component,t,uw(e),hw(e)+s.length,fw(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=$_(e,s,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new t_(r,t)]}if(0===a.length&&0===c.length)return[new t_(r,[])];const u=V_(t)===i,h=this.processSegment(a,l,c,u?pv:i);return null===h?null:[new t_(r,h)]}}function lw(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function cw(t){const e=[],n=new Set;for(const i of t){if(!lw(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=cw(i.children);e.push(new t_(i.value,t))}return e.filter(t=>!n.has(t))}function uw(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function hw(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 dw(t){return t.data||{}}function fw(t){return t.resolve||{}}function pw(t){return by(e=>{const n=t(e);return n?F(n).pipe(T(()=>e)):Rd(e)})}class gw extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const mw=new Yn("ROUTES");class yw{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(T(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new A_(bv(i.injector.get(mw,void 0,_t.Self|_t.Optional)).map(N_),i)}),Ry(t=>{throw e._loader$=void 0,t}));return e._loader$=new G(n,()=>new C).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):Sv(t()).pipe(j(t=>t instanceof Yl?Rd(t):F(this.compiler.compileModuleAsync(t))))}}class vw{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new _w,this.attachRef=null}}class _w{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 vw,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class ww{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function bw(t){throw t}function xw(t,e,n){return e.parse("/")}function Cw(t,e){return Rd(null)}const Sw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ew={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Tw=(()=>{class t{constructor(t,e,n,i,r,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=bw,this.malformedUriErrorHandler=xw,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Cw,afterPreactivation:Cw},this.urlHandlingStrategy=new ww,this.routeReuseStrategy=new gw,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(Gl),this.console=r.get(Qc);const l=r.get(lu);this.isNgZoneEnabled=l instanceof lu&&lu.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new Rv(new Pv([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yw(s,o,t=>this.triggerEvent(new av(t)),t=>this.triggerEvent(new lv(t))),this.routerState=i_(this.currentUrlTree,this.rootComponentType),this.transitions=new cy({id:0,targetPageId: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()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe(Md(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),by(t=>{let n=!1,i=!1;return Rd(t).pipe(Wy(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}}),by(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Rd(t).pipe(by(t=>{const n=this.transitions.getValue();return e.next(new Xy(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?vy:Promise.resolve(t)}),function(t,e,n,i){return by(r=>function(t,e,n,i,r){return new Z_(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe(T(t=>Object.assign(Object.assign({},r),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Wy(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return j(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){try{const o=new aw(t,e,n,i,r,s).recognize();return null===o?ow(new sw):Rd(o)}catch(o){return ow(o)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(T(t=>Object.assign(Object.assign({},s),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Wy(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new nv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:o}=t,a=new Xy(n,this.serializeUrl(i),r,s);e.next(a);const l=i_(i,this.rootComponentType).snapshot;return Rd(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),vy}),pw(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Wy(t=>{const e=new iv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:ew(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return j(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Rd(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return F(t).pipe(j(t=>function(t,e,n,i,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Rd(s.map(s=>{const o=nw(s,e,r);let a;if(function(t){return t&&O_(t.canDeactivate)}(o))a=Sv(o.canDeactivate(t,e,n,i));else{if(!O_(o))throw new Error("Invalid CanDeactivate guard");a=Sv(o(t,e,n,i))}return a.pipe(By())})).pipe(P_()):Rd(!0)}(t.component,t.route,n,e,i)),By(t=>!0!==t,!0))}(o,i,r,t).pipe(j(n=>n&&"boolean"==typeof n?function(t,e,n,i){return F(e).pipe(Pd(e=>yy(function(t,e){return null!==t&&e&&e(new cv(t)),Rd(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new hv(t)),Rd(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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=>wy(()=>Rd(e.guards.map(r=>{const s=nw(r,e.node,n);let o;if(function(t){return t&&O_(t.canActivateChild)}(s))o=Sv(s.canActivateChild(i,t));else{if(!O_(s))throw new Error("Invalid CanActivateChild guard");o=Sv(s(i,t))}return o.pipe(By())})).pipe(P_())));return Rd(r).pipe(P_())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Rd(i.map(i=>wy(()=>{const r=nw(i,e,n);let s;if(function(t){return t&&O_(t.canActivate)}(r))s=Sv(r.canActivate(e,t));else{if(!O_(r))throw new Error("Invalid CanActivate guard");s=Sv(r(e,t))}return s.pipe(By())}))).pipe(P_()):Rd(!0)}(t,e.route,n))),By(t=>!0!==t,!0))}(i,s,t,e):Rd(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Wy(t=>{if(D_(t.guardsResult)){const e=yv(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new rv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Md(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),pw(t=>{if(t.guards.canActivateChecks.length)return Rd(t).pipe(Wy(t=>{const e=new sv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),by(t=>{let e=!1;return Rd(t).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,j(t=>{const{targetSnapshot:e,guards:{canActivateChecks:r}}=t;if(!r.length)return Rd(t);let s=0;return F(r).pipe(Pd(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Rd({});const s={};return F(r).pipe(j(r=>function(t,e,n,i){const r=nw(t,e,i);return Sv(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Wy(t=>{s[r]=t}))),Ly(1),j(()=>Object.keys(s).length===r.length?Rd(s):vy))}(t._resolve,t,e,i).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),s_(t,n).resolve),null)))}(t.route,e,n,i)),Wy(()=>s++),Ly(1),j(e=>s===r.length?Rd(t):vy))})),Wy({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}));var n,i}),Wy(t=>{const e=new ov(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),pw(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),T(t=>{const e=function(t,e,n){const i=d_(t,e._root,n?n._root:void 0);return new n_(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Wy(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),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),T(t=>(new T_(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Wy({next(){n=!0},complete(){n=!0}}),(r=()=>{if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}this.currentNavigation=null},t=>t.lift(new Qy(r))),Ry(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=D_(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const r=new tv(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);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.restoreHistory(t,!0);const i=new ev(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return vy}));var r,s,o,a}))}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=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){L_(t),this.config=t.map(N_),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return m_(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new v_(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Cv(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new v_(n,e,i)}(n);if(s.toRoot())return m_(e.root,new Pv([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new __(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new __(t,t===e.root,0)}const i=p_(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new __(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?b_(o.segmentGroup,o.index,s.commands):w_(o.segmentGroup,o.index,s.commands);return m_(o.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=D_(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},Sw):!1===e?Object.assign({},Ew):e,D_(t))return kv(this.currentUrlTree,t,n);const i=this.parseUrl(t);return kv(this.currentUrlTree,i,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Jy(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){var s,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l="imperative"!==e&&"imperative"===(null==a?void 0:a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;r?(u=r.resolve,h=r.reject,d=r.promise):d=new Promise((t,e)=>{u=t,h=e});const f=++this.navigationId;let p;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),p=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(s=this.browserPageId)&&void 0!==s?s:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):p=0,this.setTransition({id:f,targetPageId:p,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new tv(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(di(Kn),di(Fv),di(_w),di(eh),di(oo),di(Du),di(su),di(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),kw=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new bc,this.deactivateEvents=new bc,this.name=i||pv,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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Aw(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(To(_w),To(Kl),To(ll),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(vn(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(Me(),"name")),To(Vl))},t.\u0275dir=Gt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Aw{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===r_?this.route:t===_w?this.childContexts:this.parent.get(t,e)}}class Ow{}class Dw{preload(t,e){return Rd(null)}}let Rw=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new yw(e,n,e=>t.triggerEvent(new av(e)),e=>t.triggerEvent(new lv(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Md(t=>t instanceof Jy),Pd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Gl);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return F(n).pipe($(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Rd(e._loadedConfig):this.loader.load(t.injector,e)).pipe(j(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(di(Tw),di(Du),di(su),di(oo),di(Ow))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Pw=(()=>{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 Xy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Jy&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof fv&&(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 fv(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(e){return new(e||t)(di(Tw),di(Zh),di(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Mw=new Yn("ROUTER_CONFIGURATION"),Lw=new Yn("ROUTER_FORROOT_GUARD"),Fw=[eh,{provide:Fv,useClass:Iv},{provide:Tw,useFactory:function(t,e,n,i,r,s,o,a={},l,c){const u=new Tw(null,t,e,n,i,r,s,bv(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Fv,_w,eh,oo,Du,su,mw,Mw,[class{},new mi],[class{},new mi]]},_w,{provide:r_,useFactory:function(t){return t.routerState.root},deps:[Tw]},{provide:Du,useClass:Mu},Rw,Dw,class{preload(t,e){return e().pipe(Ry(()=>Rd(null)))}},{provide:Mw,useValue:{enableTracing:!1}}];function Iw(){return new Cu("Router",Tw)}let Nw=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Fw,Hw(e),{provide:Lw,useFactory:Uw,deps:[[Tw,new mi,new yi]]},{provide:Mw,useValue:n||{}},{provide:Ku,useFactory:jw,deps:[Hu,[new gi(Xu),new mi],Mw]},{provide:Pw,useFactory:Vw,deps:[Tw,Zh,Mw]},{provide:Ow,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Dw},{provide:Cu,multi:!0,useFactory:Iw},[$w,{provide:Hc,multi:!0,useFactory:zw,deps:[$w]},{provide:qw,useFactory:Bw,deps:[$w]},{provide:Yc,multi:!0,useExisting:qw}]]}}static forChild(e){return{ngModule:t,providers:[Hw(e)]}}}return t.\u0275fac=function(e){return new(e||t)(di(Lw,8),di(Tw,8))},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})();function Vw(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pw(t,e,n)}function jw(t,e,n={}){return n.useHash?new th(t,e):new Ju(t,e)}function Uw(t){return"guarded"}function Hw(t){return[{provide:Qn,multi:!0,useValue:t},{provide:mw,multi:!0,useValue:t}]}let $w=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new C}appInitializer(){return this.injector.get(zu,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Tw),i=this.injector.get(Mw);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Rd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Mw),n=this.injector.get(Rw),i=this.injector.get(Pw),r=this.injector.get(Tw),s=this.injector.get(Au);t===s.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function zw(t){return t.appInitializer.bind(t)}function Bw(t){return t.bootstrapListener.bind(t)}const qw=new Yn("Router Initializer");function Ww(t,e,n,r){return i(n)&&(r=n,n=void 0),r?Ww(t,e,n).pipe(T(t=>l(t)?r(...t):r(t))):new v(i=>{Gw(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function Gw(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;s<o;s++)Gw(t[s],e,n,i,r)}i.add(s)}class Yw extends h{constructor(t,e){super()}schedule(t,e=0){return this}}let Qw=(()=>{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})();class Kw extends Qw{constructor(t,e=Qw.now){super(t,()=>Kw.delegate&&Kw.delegate!==this?Kw.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Kw.delegate&&Kw.delegate!==this?Kw.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}}}const Zw=new Kw(class extends Yw{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}});function Xw(t){return!l(t)&&t-parseFloat(t)+1>=0}function Jw(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function tb(...t){if(1===t.length){if(!l(t[0]))return t[0];t=t[0]}return z(t,void 0).lift(new eb)}class eb{call(t,e){return e.subscribe(new nb(t))}}class nb extends uy{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){const e=dy(this,t[n],void 0,n);this.subscriptions&&this.subscriptions.push(e),this.add(e)}this.observables=null}}notifyNext(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}function ib(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),z(t,void 0).lift(new rb(e))}new v(qy);class rb{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new sb(t,this.resultSelector))}}class sb extends p{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;l(t)?e.push(new ab(t)):e.push("function"==typeof t[D]?new ob(t[D]()):new lb(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let s=0;s<e;s++){let e=t[s];if("function"==typeof e.hasValue&&!e.hasValue())return}let i=!1;const r=[];for(let s=0;s<e;s++){let e=t[s],o=e.next();if(e.hasCompleted()&&(i=!0),o.done)return void n.complete();r.push(o.value)}this.resultSelector?this._tryresultSelector(r):n.next(r),i&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class ob{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class ab{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[D](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class lb extends N{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[D](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return V(this.observable,new I(this))}}function cb(t){return e=>e.lift(new ub(t))}class ub{constructor(t){this.notifier=t}call(t,e){const n=new hb(t),i=V(this.notifier,new I(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class hb extends N{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function db(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new fb(t,n))}}class fb{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new pb(t,this.observables,this.project))}}class pb extends uy{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r<i;r++)this.toRespond.push(r);for(let r=0;r<i;r++)this.add(dy(this,e[r],void 0,r))}notifyNext(t,e,n){this.values[n]=e;const i=this.toRespond;if(i.length>0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class gb{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Rd(this.value);case"E":return t=this.error,new v(e=>e.error(t));case"C":return _y()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new gb("N",t):gb.undefinedValueNotification}static createError(t){return new gb("E",void 0,t)}static createComplete(){return gb.completeNotification}}gb.completeNotification=new gb("C"),gb.undefinedValueNotification=new gb("N",void 0);class mb{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new yb(t,this.delay,this.scheduler))}}class yb extends p{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(yb.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new vb(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(gb.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(gb.createComplete()),this.unsubscribe()}}class vb{constructor(t,e){this.time=t,this.notification=e}}const _b=["*"],wb=["dialog"];function bb(t,e){1&t&&(Oo(0,"span",9),Za(1,10),Do())}function xb(t,e){1&t&&(Oo(0,"span",9),Za(1,11),Do())}function Cb(t,e){1&t&&(Oo(0,"span",9),Za(1,12),Do())}function Sb(t,e){1&t&&(Oo(0,"span",9),Za(1,13),Do())}function Eb(t,e){1&t&&la(0,"...")}function Tb(t,e){1&t&&(Oo(0,"span",15),la(1,"(current)"),Do())}function kb(t,e){if(1&t&&(la(0),So(1,Tb,2,0,"span",14)),2&t){const t=e.$implicit,n=e.currentPage;ua(" ",t," "),Zr(1),ko("ngIf",t===n)}}function Ab(t,e){}const Ob=function(t){return{disabled:!0,currentPage:t}};function Db(t,e){if(1&t&&(Oo(0,"a",20),So(1,Ab,0,0,"ng-template",8),Do()),2&t){const t=Vo(2).$implicit,e=Vo(),n=Eo(9);Zr(1),ko("ngTemplateOutlet",(null==e.tplEllipsis?null:e.tplEllipsis.templateRef)||n)("ngTemplateOutletContext",hc(2,Ob,t))}}function Rb(t,e){}const Pb=function(t,e,n){return{disabled:t,$implicit:e,currentPage:n}};function Mb(t,e){if(1&t){const t=Po();Oo(0,"a",21),Fo("click",function(e){Pe(t);const n=Vo().$implicit;return Vo(2).selectPage(n),e.preventDefault()}),So(1,Rb,0,0,"ng-template",8),Do()}if(2&t){const t=Vo().$implicit,e=Vo(),n=e.disabled,i=e.$implicit,r=Vo(),s=Eo(11);xo("tabindex",n?"-1":null)("aria-disabled",n?"true":null),Zr(1),ko("ngTemplateOutlet",(null==r.tplNumber?null:r.tplNumber.templateRef)||s)("ngTemplateOutletContext",fc(4,Pb,n,t,i))}}function Lb(t,e){if(1&t&&(Oo(0,"li",17),So(1,Db,2,4,"a",18),So(2,Mb,2,8,"a",19),Do()),2&t){const t=e.$implicit,n=Vo(),i=n.$implicit,r=n.disabled,s=Vo();Qo("active",t===i)("disabled",s.isEllipsis(t)||r),xo("aria-current",t===i?"page":null),Zr(1),ko("ngIf",s.isEllipsis(t)),Zr(1),ko("ngIf",!s.isEllipsis(t))}}function Fb(t,e){1&t&&So(0,Lb,3,7,"li",16),2&t&&ko("ngForOf",e.pages)}function Ib(t,e){}const Nb=function(t,e){return{disabled:t,currentPage:e}};function Vb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",22),Fo("click",function(e){return Pe(t),Vo().selectPage(1),e.preventDefault()}),So(2,Ib,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(1);Qo("disabled",t.previousDisabled()),Zr(1),xo("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplFirst?null:t.tplFirst.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.previousDisabled(),t.page))}}function jb(t,e){}const Ub=function(t){return{disabled:t}};function Hb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",23),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.page-1),e.preventDefault()}),So(2,jb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(3);Qo("disabled",t.previousDisabled()),Zr(1),xo("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplPrevious?null:t.tplPrevious.templateRef)||e)("ngTemplateOutletContext",hc(6,Ub,t.previousDisabled()))}}function $b(t,e){}function zb(t,e){}function Bb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",24),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.page+1),e.preventDefault()}),So(2,zb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(5);Qo("disabled",t.nextDisabled()),Zr(1),xo("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplNext?null:t.tplNext.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.nextDisabled(),t.page))}}function qb(t,e){}function Wb(t,e){if(1&t){const t=Po();Oo(0,"li",17),Oo(1,"a",25),Fo("click",function(e){Pe(t);const n=Vo();return n.selectPage(n.pageCount),e.preventDefault()}),So(2,qb,0,0,"ng-template",8),Do(),Do()}if(2&t){const t=Vo(),e=Eo(7);Qo("disabled",t.nextDisabled()),Zr(1),xo("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),Zr(1),ko("ngTemplateOutlet",(null==t.tplLast?null:t.tplLast.templateRef)||e)("ngTemplateOutletContext",dc(6,Nb,t.nextDisabled(),t.page))}}const Gb=function(t,e,n){return{$implicit:t,pages:e,disabled:n}};function Yb(t){return!isNaN(function(t){return parseInt(`${t}`,10)}(t))}function Qb(t){return null!=t}function Kb(t){return(t||document.body).getBoundingClientRect()}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){let e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});const Zb={animation:!0,transitionTimerDelayMs:5};let Xb=(()=>{class t{constructor(){this.animation=Zb.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Jb=()=>{},{transitionTimerDelayMs:tx}=Zb,ex=new Map,nx=(t,e,n,i)=>{let r=i.context||{};const s=ex.get(e);if(s)switch(i.runningTransition){case"continue":return vy;case"stop":t.run(()=>s.transition$.complete()),r=Object.assign(s.context,r),ex.delete(e)}const o=n(e,i.animation,r)||Jb;if(!i.animation||"none"===window.getComputedStyle(e).transitionProperty)return t.run(()=>o()),Rd(void 0).pipe(function(t){return e=>new v(n=>e.subscribe(e=>t.run(()=>n.next(e)),e=>t.run(()=>n.error(e)),()=>t.run(()=>n.complete())))}(t));const a=new C,l=new C,c=a.pipe(function(...t){return e=>yy(e,Rd(...t))}(!0));ex.set(e,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});const u=function(t){const{transitionDelay:e,transitionDuration:n}=window.getComputedStyle(t);return 1e3*(parseFloat(e)+parseFloat(n))}(e);return t.runOutsideAngular(()=>{const n=Ww(e,"transitionend").pipe(cb(c),Md(({target:t})=>t===e));tb(function(t=0,e,n){let i=-1;return Xw(e)?i=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=Zw),new v(e=>{const r=Xw(t)?t:+t-n.now();return n.schedule(Jw,r,{index:0,period:i,subscriber:e})})}(u+tx).pipe(cb(c)),n,l).pipe(cb(c)).subscribe(()=>{ex.delete(e),t.run(()=>{o(),a.next(),a.complete()})})}),a.asObservable()};var ix=(()=>(function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(ix||(ix={})),ix))();const rx=(t,e)=>!!e&&e.some(e=>e.contains(t)),sx=(t,e)=>!e||null!=function(t,e){return e?void 0===t.closest?null:t.closest(e):null}(t,e),ox="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const ax=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function lx(t){const e=Array.from(t.querySelectorAll(ax)).filter(t=>-1!==t.tabIndex);return[e[0],e[e.length-1]]}const cx=/\s+/,ux=new class{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let n,i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const e=this.offsetParent(t);n=this.offset(t,!1),e!==document.documentElement&&(i=this.offset(e,!1)),i.top+=e.clientTop,i.left+=e.clientLeft}return n.top-=i.top,n.bottom-=i.top,n.left-=i.left,n.right-=i.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(t,e=!0){const n=t.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+r,right:n.right+r};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(t,e,n,i){const[r="top",s="center"]=n.split("-"),o=i?this.offset(t,!1):this.position(t,!1),a=this.getAllStyles(e),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,f=0;switch(r){case"top":d=o.top-(e.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":f=o.left-(e.offsetWidth+u+h);break;case"right":f=o.left+o.width}switch(s){case"top":d=o.top;break;case"bottom":d=o.top+o.height-e.offsetHeight;break;case"left":f=o.left;break;case"right":f=o.left+o.width-e.offsetWidth;break;case"center":"top"===r||"bottom"===r?f=o.left+o.width/2-e.offsetWidth/2:d=o.top+o.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(f)}px, ${Math.round(d)}px)`;const p=e.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,y=window.innerWidth||g.clientWidth;return p.left>=0&&p.top>=0&&p.right<=y&&p.bottom<=m}};new Date(1882,10,12),new Date(2174,10,25);let hx=(()=>{class t{constructor(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),dx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["",8,"navbar"]]}),t})(),fx=(()=>{class t{constructor(t){this.elementRef=t,this._disabled=!1}set disabled(t){this._disabled=""===t||!0===t}get disabled(){return this._disabled}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(t,e){2&t&&Qo("disabled",e.disabled)},inputs:{disabled:"disabled"}}),t})(),px=(()=>{class t{constructor(t,e){this.dropdown=t,this.placement="bottom",this.isOpen=!1,this.nativeElement=e.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(t,e,n){if(1&t&&Fc(n,fx,4),2&t){let t;Mc(t=Ic())&&(e.menuItems=t)}},hostVars:5,hostBindings:function(t,e){1&t&&Fo("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Enter",function(t){return e.dropdown.onKeyDown(t)})("keydown.Space",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&(xo("x-placement",e.placement),Qo("dropdown-menu",!0)("show",e.dropdown.isOpen()))}}),t})(),gx=(()=>{class t{constructor(t,e){this.dropdown=t,this.nativeElement=e.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){2&t&&xo("aria-expanded",e.dropdown.isOpen())}}),t})(),mx=(()=>{class t extends gx{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(To(nt(()=>yx)),To(dl))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){1&t&&Fo("click",function(){return e.dropdown.toggle()})("keydown.ArrowUp",function(t){return e.dropdown.onKeyDown(t)})("keydown.ArrowDown",function(t){return e.dropdown.onKeyDown(t)})("keydown.Home",function(t){return e.dropdown.onKeyDown(t)})("keydown.End",function(t){return e.dropdown.onKeyDown(t)})("keydown.Tab",function(t){return e.dropdown.onKeyDown(t)})("keydown.Shift.Tab",function(t){return e.dropdown.onKeyDown(t)}),2&t&&xo("aria-expanded",e.dropdown.isOpen())},features:[sl([{provide:gx,useExisting:nt(()=>t)}]),lo]}),t})(),yx=(()=>{class t{constructor(t,e,n,i,r,s,o){this._changeDetector=t,this._document=n,this._ngZone=i,this._elementRef=r,this._renderer=s,this._closed$=new C,this._bodyContainer=null,this._open=!1,this.openChange=new bc,this.placement=e.placement,this.container=e.container,this.autoClose=e.autoClose,this.display=o?"static":"dynamic",this._zoneSubscription=i.onStable.subscribe(()=>{this._positionMenu()})}ngAfterContentInit(){this._ngZone.onStable.pipe(Ey(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(t){if(t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses(),t.dropdownClass){const{currentValue:e,previousValue:n}=t.dropdownClass;this._applyCustomDropdownClass(e,n)}}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}_setCloseHandlers(){!function(t,e,n,i,r,s,o,a){var l;n&&t.runOutsideAngular((l=()=>{const l=Ww(e,"keydown").pipe(cb(r),Md(t=>t.which===ix.Escape),Wy(t=>t.preventDefault())),c=Ww(e,"mousedown").pipe(T(t=>{const e=t.target;return 2!==t.button&&!rx(e,o)&&("inside"===n?rx(e,s)&&sx(e,a):"outside"===n?!rx(e,s):sx(e,a)||!rx(e,s))}),cb(r)),u=Ww(e,"mouseup").pipe(db(c),Md(([t,e])=>e),function(t,e=Zw){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new mb(n,e))}(0),cb(r));tb([l.pipe(T(t=>0)),u.pipe(T(t=>1))]).subscribe(e=>t.run(()=>i(e)))},ox?()=>setTimeout(()=>l(),100):l))}(this._ngZone,this._document,this.autoClose,t=>{this.close(),0===t&&this._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}onKeyDown(t){const e=t.which,n=this._getMenuElements();let i=-1,r=null;const s=this._isEventFromToggle(t);if(!s&&n.length&&n.forEach((e,n)=>{e.contains(t.target)&&(r=e),e===this._document.activeElement&&(i=n)}),e!==ix.Space&&e!==ix.Enter){if(e!==ix.Tab){if(s||r){if(this.open(),n.length){switch(e){case ix.ArrowDown:i=Math.min(i+1,n.length-1);break;case ix.ArrowUp:if(this._isDropup()&&-1===i){i=n.length-1;break}i=Math.max(i-1,0);break;case ix.Home:i=0;break;case ix.End:i=n.length-1}n[i].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const e=this._menu.nativeElement.querySelectorAll(ax);t.shiftKey&&t.target===e[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(this._anchor.nativeElement.focus(),this.close())}else Ww(t.target,"focusout").pipe(Ey(1)).subscribe(({relatedTarget:t})=>{this._elementRef.nativeElement.contains(t)||this.close()})}}else!r||!0!==this.autoClose&&"inside"!==this.autoClose||Ww(r,"click").pipe(Ey(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(t){return this._anchor.nativeElement.contains(t.target)}_getMenuElements(){const t=this._menu;return null==t?[]:t.menuItems.filter(t=>!t.disabled).map(t=>t.elementRef.nativeElement)}_positionMenu(){const t=this._menu;this.isOpen()&&t&&this._applyPlacementClasses("dynamic"===this.display?function(t,e,n,i,r){let s=Array.isArray(n)?n:n.split(cx);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t=>{const[e,n]=t.split("-"),i=[];return i};let l=s.findIndex(t=>"auto"===t);l>=0&&o.forEach(function(t){null==s.find(e=>-1!==e.search("^"+t))&&s.splice(l++,1,t)});const c=e.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";let u=null,h=!1;for(u of s){a(u);if(ux.positionElements(t,e,u,i)){h=!0;break}}return h||(u=s[0],a(u),ux.positionElements(t,e,u,i)),u}(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}_getFirstPlacement(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}_resetContainer(){const t=this._renderer;if(this._menu){const e=this._menu.nativeElement;t.appendChild(this._elementRef.nativeElement,e),t.removeStyle(e,"position"),t.removeStyle(e,"transform")}this._bodyContainer&&(t.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(t=null){if(this._resetContainer(),"body"===t){const t=this._renderer,e=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||t.createElement("div");t.setStyle(n,"position","absolute"),t.setStyle(e,"position","static"),t.setStyle(n,"z-index","1050"),t.appendChild(n,e),t.appendChild(this._document.body,n)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(t,e){const n="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;n&&(e&&this._renderer.removeClass(n,e),t&&this._renderer.addClass(n,t))}_applyPlacementClasses(t){const e=this._menu;if(e){t||(t=this._getFirstPlacement(this.placement));const n=this._renderer,i=this._elementRef.nativeElement;n.removeClass(i,"dropup"),n.removeClass(i,"dropdown"),e.placement="static"===this.display?null:t;const r=-1!==t.search("^top")?"dropup":"dropdown";n.addClass(i,r);const s=this._bodyContainer;s&&(n.removeClass(s,"dropup"),n.removeClass(s,"dropdown"),n.addClass(s,r))}}}return t.\u0275fac=function(e){return new(e||t)(To(Vl),To(hx),To(Uu),To(lu),To(dl),To(gl),To(dx,8))},t.\u0275dir=Gt({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,px,5),Fc(n,gx,5)),2&t){let t;Mc(t=Ic())&&(e._menu=t.first),Mc(t=Ic())&&(e._anchor=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&Qo("show",e.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display",dropdownClass:"dropdownClass"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[ae]}),t})(),vx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({}),t})(),_x=(()=>{class t{constructor(t){this._ngbConfig=t,this.backdrop=!0,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return t.\u0275fac=function(e){return new(e||t)(di(Xb))},t.\u0275prov=ut({factory:function(){return new t(di(Xb))},token:t,providedIn:"root"}),t})();class wx{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}const bx=()=>{};let xx=(()=>{class t{constructor(t){this._document=t}compensate(){const t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):bx}_adjustBody(t){const e=this._document.body,n=e.style.paddingRight,i=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=`${i+t}px`,()=>e.style["padding-right"]=n}_isPresent(t){const e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}_getWidth(){const t=this._document.createElement("div");t.className="modal-scrollbar-measure";const e=this._document.body;e.appendChild(t);const n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}}return t.\u0275fac=function(e){return new(e||t)(di(Uu))},t.\u0275prov=ut({factory:function(){return new t(di(Uu))},token:t,providedIn:"root"}),t})(),Cx=(()=>{class t{constructor(t,e){this._el=t,this._zone=e}ngOnInit(){this._zone.onStable.asObservable().pipe(Ey(1)).subscribe(()=>{nx(this._zone,this._el.nativeElement,(t,e)=>{e&&Kb(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return nx(this._zone,this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(t,e){2&t&&(Ko("modal-backdrop"+(e.backdropClass?" "+e.backdropClass:"")),Qo("show",!e.animation)("fade",e.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();class Sx{close(t){}dismiss(t){}}class Ex{constructor(t,e,n,i){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=i,this._closed=new C,this._dismissed=new C,this._hidden=new C,t.instance.dismissEvent.subscribe(t=>{this.dismiss(t)}),this.result=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(cb(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(cb(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();e&&e.then?e.then(e=>{!1!==e&&this._dismiss(t)},()=>{}):!1!==e&&this._dismiss(t)}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Rd(void 0);t.subscribe(()=>{const{nativeElement:t}=this._windowCmptRef.location;t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:t}=this._backdropCmptRef.location;t.parentNode.removeChild(t),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),ib(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tx=(()=>(function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(Tx||(Tx={})),Tx))();let kx=(()=>{class t{constructor(t,e,n){this._document=t,this._elRef=e,this._zone=n,this._closed$=new C,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new bc,this.shown=new C,this.hidden=new C}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(Ey(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,e={animation:this.animation,runningTransition:"stop"},n=ib(nx(this._zone,t,()=>t.classList.remove("show"),e),nx(this._zone,this._dialogEl.nativeElement,()=>{},e));return n.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),n}_show(){const t={animation:this.animation,runningTransition:"continue"};ib(nx(this._zone,this._elRef.nativeElement,(t,e)=>{e&&Kb(t),t.classList.add("show")},t),nx(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{Ww(t,"keydown").pipe(cb(this._closed$),Md(t=>t.which===ix.Escape)).subscribe(t=>{this.keyboard?requestAnimationFrame(()=>{t.defaultPrevented||this._zone.run(()=>this.dismiss(Tx.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let e=!1;Ww(this._dialogEl.nativeElement,"mousedown").pipe(cb(this._closed$),Wy(()=>e=!1),by(()=>Ww(t,"mouseup").pipe(cb(this._closed$),Ey(1))),Md(({target:e})=>t===e)).subscribe(()=>{e=!0}),Ww(t,"click").pipe(cb(this._closed$)).subscribe(({target:n})=>{t===n&&("static"===this.backdrop?this._bumpBackdrop():!0!==this.backdrop||e||this._zone.run(()=>this.dismiss(Tx.BACKDROP_CLICK))),e=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),n=lx(t)[0];(e||n||t).focus()}}_restoreFocus(){const t=this._document.body,e=this._elWithFocus;let n;n=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&nx(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(To(Uu),To(dl),To(lu))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){if(1&t&&Lc(wb,7),2&t){let t;Mc(t=Ic())&&(e._dialogEl=t.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,e){2&t&&(xo("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),Ko("modal d-block"+(e.windowClass?" "+e.windowClass:"")),Qo("fade",e.animation))},inputs:{backdrop:"backdrop",keyboard:"keyboard",animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:_b,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(Uo(),Oo(0,"div",0,1),Oo(2,"div",2),Ho(3),Do(),Do()),2&t&&Ko("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":"")+(e.modalDialogClass?" "+e.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}"],encapsulation:2}),t})(),Ax=(()=>{class t{constructor(t,e,n,i,r,s){this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=i,this._rendererFactory=r,this._ngZone=s,this._activeWindowCmptHasChanged=new C,this._ariaHiddenValues=new Map,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new bc,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const t=this._windowCmpts[this._windowCmpts.length-1];((t,e,n,i=!1)=>{this._ngZone.runOutsideAngular(()=>{const t=Ww(e,"focusin").pipe(cb(n),T(t=>t.target));Ww(e,"keydown").pipe(cb(n),Md(t=>t.which===ix.Tab),db(t)).subscribe(([t,n])=>{const[i,r]=lx(e);n!==i&&n!==e||!t.shiftKey||(r.focus(),t.preventDefault()),n!==r||t.shiftKey||(i.focus(),t.preventDefault())}),i&&Ww(e,"click").pipe(cb(n),db(t),T(t=>t[1])).subscribe(t=>t.focus())})})(0,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}open(t,e,n,i){const r=i.container instanceof HTMLElement?i.container:Qb(i.container)?this._document.querySelector(i.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!r)throw new Error(`The specified modal container "${i.container||"body"}" was not found in the DOM.`);const l=new Sx,c=this._getContentRef(t,i.injector||e,n,l,i);let u=!1!==i.backdrop?this._attachBackdrop(t,r):void 0,h=this._attachWindowComponent(t,r,c),d=new Ex(h,c,u,i.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),l.close=t=>{d.close(t)},l.dismiss=t=>{d.dismiss(t)},this._applyWindowOptions(h.instance,i),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,i),u.changeDetectorRef.detectChanges()),h.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let n=t.resolveComponentFactory(Cx).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(t,e,n){let i=t.resolveComponentFactory(kx).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_applyWindowOptions(t,e){this._windowAttributes.forEach(n=>{Qb(e[n])&&(t[n]=e[n])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(n=>{Qb(e[n])&&(t[n]=e[n])})}_getContentRef(t,e,n,i,r){return n?n instanceof zl?this._createFromTemplateRef(n,i):function(t){return"string"==typeof t}(n)?this._createFromString(n):this._createFromComponent(t,e,n,i,r):new wx([])}_createFromTemplateRef(t,e){const n=t.createEmbeddedView({$implicit:e,close(t){e.close(t)},dismiss(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new wx([n.rootNodes],n)}_createFromString(t){const e=this._document.createTextNode(`${t}`);return new wx([[e]])}_createFromComponent(t,e,n,i,r){const s=t.resolveComponentFactory(n),o=oo.create({providers:[{provide:Sx,useValue:i}],parent:e}),a=s.create(o),l=a.location.nativeElement;return r.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new wx([[l]],a.hostView,a)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(e=>{e!==t&&"SCRIPT"!==e.nodeName&&(this._ariaHiddenValues.set(e,e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const e=this._modalRefs.indexOf(t);e>-1&&(this._modalRefs.splice(e,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(di(Au),di(oo),di(Uu),di(xx),di(pl),di(lu))},t.\u0275prov=ut({factory:function(){return new t(di(Au),di(qs),di(Uu),di(xx),di(pl),di(lu))},token:t,providedIn:"root"}),t})(),Ox=(()=>{class t{constructor(t,e,n,i){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=i}open(t,e={}){const n=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(di(ll),di(oo),di(Ax),di(_x))},t.\u0275prov=ut({factory:function(){return new t(di(ll),di(qs),di(Ax),di(_x))},token:t,providedIn:"root"}),t})(),Dx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[Ox]}),t})(),Rx=(()=>{class t{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Px=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),t})(),Mx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationFirst",""]]}),t})(),Lx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationLast",""]]}),t})(),Fx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationNext",""]]}),t})(),Ix=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationNumber",""]]}),t})(),Nx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationPrevious",""]]}),t})(),Vx=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(To(zl))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","ngbPaginationPages",""]]}),t})(),jx=(()=>{class t{constructor(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new bc(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,e){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-2?this.pages.push(-1):e===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,e=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+(this.maxSize%2==0?n-1:n)),[t,e]}_applyPagination(){let t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]}_setPageInRange(t){const e=this.page;this.page=function(t,e,n=0){return Math.max(Math.min(t,e),n)}(t,this.pageCount,1),this.page!==e&&Yb(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Yb(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let t=0,e=this.pageCount;[t,e]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(t,e),this._applyEllipses(t,e)}}}return t.\u0275fac=function(e){return new(e||t)(To(Rx))},t.\u0275cmp=Ht({type:t,selectors:[["ngb-pagination"]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,Px,5),Fc(n,Mx,5),Fc(n,Lx,5),Fc(n,Fx,5),Fc(n,Ix,5),Fc(n,Nx,5),Fc(n,Vx,5)),2&t){let t;Mc(t=Ic())&&(e.tplEllipsis=t.first),Mc(t=Ic())&&(e.tplFirst=t.first),Mc(t=Ic())&&(e.tplLast=t.first),Mc(t=Ic())&&(e.tplNext=t.first),Mc(t=Ic())&&(e.tplNumber=t.first),Mc(t=Ic())&&(e.tplPrevious=t.first),Mc(t=Ic())&&(e.tplPages=t.first)}},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[ae],decls:20,vars:12,consts:function(){let t,e,n,i,r,s,o,a;return t="\xAB\xAB",e="\xAB",n="\xBB",i="\xBB\xBB",r="First",s="Previous",o="Next",a="Last",[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],t,e,n,i,["class","sr-only",4,"ngIf"],[1,"sr-only"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",r,"href","",1,"page-link",3,"click"],["aria-label",s,"href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"]]},template:function(t,e){if(1&t&&(So(0,bb,2,0,"ng-template",null,0,Uc),So(2,xb,2,0,"ng-template",null,1,Uc),So(4,Cb,2,0,"ng-template",null,2,Uc),So(6,Sb,2,0,"ng-template",null,3,Uc),So(8,Eb,1,0,"ng-template",null,4,Uc),So(10,kb,2,2,"ng-template",null,5,Uc),So(12,Fb,1,1,"ng-template",null,6,Uc),Oo(14,"ul"),So(15,Vb,3,9,"li",7),So(16,Hb,3,8,"li",7),So(17,$b,0,0,"ng-template",8),So(18,Bb,3,9,"li",7),So(19,Wb,3,9,"li",7),Do()),2&t){const t=Eo(13);Zr(14),Ko("pagination"+(e.size?" pagination-"+e.size:"")),Zr(1),ko("ngIf",e.boundaryLinks),Zr(1),ko("ngIf",e.directionLinks),Zr(1),ko("ngTemplateOutlet",(null==e.tplPages?null:e.tplPages.templateRef)||t)("ngTemplateOutletContext",fc(8,Gb,e.page,e.pages,e.disabled)),Zr(1),ko("ngIf",e.directionLinks),Zr(1),ko("ngIf",e.boundaryLinks)}},directives:[$h,qh,Uh],encapsulation:2,changeDetection:0}),t})(),Ux=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh]]}),t})();new Yn("live announcer delay",{providedIn:"root",factory:function(){return 100}});class Hx{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class $x extends Hx{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class zx extends Hx{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Bx extends Hx{constructor(t){super(),this.element=t instanceof dl?t.nativeElement:t}}class qx extends class extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof $x?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof zx?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Bx?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}{}class Wx{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Gx(t,this.dueTime,this.scheduler))}}class Gx extends p{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(Yx,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 Yx(t){t.debouncedNext()}function Qx(){}function Kx(t){return null==t?Qx:function(){return this.querySelector(t)}}function Zx(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Xx(){return[]}function Jx(t){return null==t?Xx:function(){return this.querySelectorAll(t)}}function tC(t){return function(){return this.matches(t)}}function eC(t){return function(e){return e.matches(t)}}var nC=Array.prototype.find;function iC(){return this.firstElementChild}var rC=Array.prototype.filter;function sC(){return this.children}function oC(t){return new Array(t.length)}function aC(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function lC(t){return function(){return t}}function cC(t,e,n,i,r,s){for(var o,a=0,l=e.length,c=s.length;a<c;++a)(o=e[a])?(o.__data__=s[a],i[a]=o):n[a]=new aC(t,s[a]);for(;a<l;++a)(o=e[a])&&(r[a]=o)}function uC(t,e,n,i,r,s,o){var a,l,c,u=new Map,h=e.length,d=s.length,f=new Array(h);for(a=0;a<h;++a)(l=e[a])&&(f[a]=c=o.call(l,l.__data__,a,e)+"",u.has(c)?r[a]=l:u.set(c,l));for(a=0;a<d;++a)c=o.call(t,s[a],a,s)+"",(l=u.get(c))?(i[a]=l,l.__data__=s[a],u.delete(c)):n[a]=new aC(t,s[a]);for(a=0;a<h;++a)(l=e[a])&&u.get(f[a])===l&&(r[a]=l)}function hC(t){return t.__data__}function dC(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}aC.prototype={constructor:aC,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 fC="http://www.w3.org/1999/xhtml";const pC={svg:"http://www.w3.org/2000/svg",xhtml:fC,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function gC(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pC.hasOwnProperty(e)?{space:pC[e],local:t}:t}function mC(t){return function(){this.removeAttribute(t)}}function yC(t){return function(){this.removeAttributeNS(t.space,t.local)}}function vC(t,e){return function(){this.setAttribute(t,e)}}function _C(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function wC(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function bC(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)}}function xC(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function CC(t){return function(){this.style.removeProperty(t)}}function SC(t,e,n){return function(){this.style.setProperty(t,e,n)}}function EC(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function TC(t,e){return t.style.getPropertyValue(e)||xC(t).getComputedStyle(t,null).getPropertyValue(e)}function kC(t){return function(){delete this[t]}}function AC(t,e){return function(){this[t]=e}}function OC(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function DC(t){return t.trim().split(/^|\s+/)}function RC(t){return t.classList||new PC(t)}function PC(t){this._node=t,this._names=DC(t.getAttribute("class")||"")}function MC(t,e){for(var n=RC(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function LC(t,e){for(var n=RC(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function FC(t){return function(){MC(this,t)}}function IC(t){return function(){LC(this,t)}}function NC(t,e){return function(){(e.apply(this,arguments)?MC:LC)(this,t)}}function VC(){this.textContent=""}function jC(t){return function(){this.textContent=t}}function UC(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function HC(){this.innerHTML=""}function $C(t){return function(){this.innerHTML=t}}function zC(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function BC(){this.nextSibling&&this.parentNode.appendChild(this)}function qC(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function WC(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===fC&&e.documentElement.namespaceURI===fC?e.createElement(t):e.createElementNS(n,t)}}function GC(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function YC(t){var e=gC(t);return(e.local?GC:WC)(e)}function QC(){return null}function KC(){var t=this.parentNode;t&&t.removeChild(this)}function ZC(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function XC(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function JC(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 tS(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,s=e.length;i<s;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function eS(t,e,n){return function(){var i,r=this.__on,s=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(r)for(var o=0,a=r.length;o<a;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),void(i.value=e);this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function nS(t,e,n){var i=xC(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function iS(t,e){return function(){return nS(this,t,e)}}function rS(t,e){return function(){return nS(this,t,e.apply(this,arguments))}}PC.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var sS=[null];function oS(t,e){this._groups=t,this._parents=e}function aS(){return new oS([[document.documentElement]],sS)}oS.prototype=aS.prototype={constructor:oS,select:function(t){"function"!=typeof t&&(t=Kx(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o,a=e[r],l=a.length,c=i[r]=new Array(l),u=0;u<l;++u)(s=a[u])&&(o=t.call(s,s.__data__,u,a))&&("__data__"in s&&(o.__data__=s.__data__),c[u]=o);return new oS(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:Zx(e)}}(t):Jx(t);for(var e=this._groups,n=e.length,i=[],r=[],s=0;s<n;++s)for(var o,a=e[s],l=a.length,c=0;c<l;++c)(o=a[c])&&(i.push(t.call(o,o.__data__,c,a)),r.push(o));return new oS(i,r)},selectChild:function(t){return this.select(null==t?iC:function(t){return function(){return nC.call(this.children,t)}}("function"==typeof t?t:eC(t)))},selectChildren:function(t){return this.selectAll(null==t?sC:function(t){return function(){return rC.call(this.children,t)}}("function"==typeof t?t:eC(t)))},filter:function(t){"function"!=typeof t&&(t=tC(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,l=i[r]=[],c=0;c<a;++c)(s=o[c])&&t.call(s,s.__data__,c,o)&&l.push(s);return new oS(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,hC);var n=e?uC:cC,i=this._parents,r=this._groups;"function"!=typeof t&&(t=lC(t));for(var s=r.length,o=new Array(s),a=new Array(s),l=new Array(s),c=0;c<s;++c){var u=i[c],h=r[c],d=h.length,f=Zx(t.call(u,u&&u.__data__,c,i)),p=f.length,g=a[c]=new Array(p),m=o[c]=new Array(p),y=l[c]=new Array(d);n(u,h,g,m,y,f,e);for(var v,_,w=0,b=0;w<p;++w)if(v=g[w]){for(w>=b&&(b=w+1);!(_=m[b])&&++b<p;);v._next=_||null}}return(o=new oS(o,i))._enter=a,o._exit=l,o},enter:function(){return new oS(this._enter||this._groups.map(oC),this._parents)},exit:function(){return new oS(this._exit||this._groups.map(oC),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,s=this.exit();return i="function"==typeof t?t(i):i.append(t+""),null!=e&&(r=e(r)),null==n?s.remove():n(s),i&&r?i.merge(r).order():r},merge:function(t){if(!(t instanceof oS))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,l=e[o],c=n[o],u=l.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)s[o]=e[o];return new oS(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],s=r.length-1,o=r[s];--s>=0;)(i=r[s])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=dC);for(var n=this._groups,i=n.length,r=new Array(i),s=0;s<i;++s){for(var o,a=n[s],l=a.length,c=r[s]=new Array(l),u=0;u<l;++u)(o=a[u])&&(c[u]=o);c.sort(e)}return new oS(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,s=i.length;r<s;++r){var o=i[r];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,s=e[n],o=0,a=s.length;o<a;++o)(r=s[o])&&t.call(r,r.__data__,o,s);return this},attr:function(t,e){var n=gC(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?yC:mC:"function"==typeof e?n.local?bC:wC:n.local?_C:vC)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?CC:"function"==typeof e?EC:SC)(t,e,null==n?"":n)):TC(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?kC:"function"==typeof e?OC:AC)(t,e)):this.node()[t]},classed:function(t,e){var n=DC(t+"");if(arguments.length<2){for(var i=RC(this.node()),r=-1,s=n.length;++r<s;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?NC:e?FC:IC)(n,e))},text:function(t){return arguments.length?this.each(null==t?VC:("function"==typeof t?UC:jC)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?HC:("function"==typeof t?zC:$C)(t)):this.node().innerHTML},raise:function(){return this.each(BC)},lower:function(){return this.each(qC)},append:function(t){var e="function"==typeof t?t:YC(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:YC(t),i=null==e?QC:"function"==typeof e?e:Kx(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(KC)},clone:function(t){return this.select(t?XC:ZC)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,r,s=JC(t+""),o=s.length;if(!(arguments.length<2)){for(a=e?eS:tS,i=0;i<o;++i)this.each(a(s[i],e,n));return this}var a=this.node().__on;if(a)for(var l,c=0,u=a.length;c<u;++c)for(i=0,l=a[c];i<o;++i)if((r=s[i]).type===l.type&&r.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?rS:iS)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],s=0,o=r.length;s<o;++s)(i=r[s])&&(yield i)}};const lS=aS;function cS(t){return"string"==typeof t?new oS([[document.querySelector(t)]],[document.documentElement]):new oS([[t]],sS)}var uS={value:()=>{}};function hS(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new dS(i)}function dS(t){this._=t}function fS(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function pS(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function gS(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=uS,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}dS.prototype=hS.prototype={constructor:dS,on:function(t,e){var n,i=this._,r=fS(t+"",i),s=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<o;)if(n=(t=r[s]).type)i[n]=gS(i[n],t.name,e);else if(null==e)for(n in i)i[n]=gS(i[n],t.name,null);return this}for(;++s<o;)if((n=(t=r[s]).type)&&(n=pS(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new dS(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),s=0;s<n;++s)r[s]=arguments[s+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=0,n=(i=this._[t]).length;s<n;++s)i[s].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,s=i.length;r<s;++r)i[r].value.apply(e,n)}};const mS=hS;function yS(t){t.preventDefault(),t.stopImmediatePropagation()}function vS(t){var e=t.document.documentElement,n=cS(t).on("dragstart.drag",yS,!0);"onselectstart"in e?n.on("selectstart.drag",yS,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function _S(t,e){var n=t.document.documentElement,i=cS(t).on("dragstart.drag",null);e&&(i.on("click.drag",yS,!0),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function wS(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function bS(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function xS(){}var CS=.7,SS=1/CS,ES="\\s*([+-]?\\d+)\\s*",TS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",kS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",AS=/^#([0-9a-f]{3,8})$/,OS=new RegExp("^rgb\\("+[ES,ES,ES]+"\\)$"),DS=new RegExp("^rgb\\("+[kS,kS,kS]+"\\)$"),RS=new RegExp("^rgba\\("+[ES,ES,ES,TS]+"\\)$"),PS=new RegExp("^rgba\\("+[kS,kS,kS,TS]+"\\)$"),MS=new RegExp("^hsl\\("+[TS,kS,kS]+"\\)$"),LS=new RegExp("^hsla\\("+[TS,kS,kS,TS]+"\\)$"),FS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function IS(){return this.rgb().formatHex()}function NS(){return this.rgb().formatRgb()}function VS(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=AS.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?jS(e):3===n?new zS(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?US(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?US(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=OS.exec(t))?new zS(e[1],e[2],e[3],1):(e=DS.exec(t))?new zS(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=RS.exec(t))?US(e[1],e[2],e[3],e[4]):(e=PS.exec(t))?US(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=MS.exec(t))?GS(e[1],e[2]/100,e[3]/100,1):(e=LS.exec(t))?GS(e[1],e[2]/100,e[3]/100,e[4]):FS.hasOwnProperty(t)?jS(FS[t]):"transparent"===t?new zS(NaN,NaN,NaN,0):null}function jS(t){return new zS(t>>16&255,t>>8&255,255&t,1)}function US(t,e,n,i){return i<=0&&(t=e=n=NaN),new zS(t,e,n,i)}function HS(t){return t instanceof xS||(t=VS(t)),t?new zS((t=t.rgb()).r,t.g,t.b,t.opacity):new zS}function $S(t,e,n,i){return 1===arguments.length?HS(t):new zS(t,e,n,null==i?1:i)}function zS(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function BS(){return"#"+WS(this.r)+WS(this.g)+WS(this.b)}function qS(){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 WS(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function GS(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new QS(t,e,n,i)}function YS(t){if(t instanceof QS)return new QS(t.h,t.s,t.l,t.opacity);if(t instanceof xS||(t=VS(t)),!t)return new QS;if(t instanceof QS)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),s=Math.max(e,n,i),o=NaN,a=s-r,l=(s+r)/2;return a?(o=e===s?(n-i)/a+6*(n<i):n===s?(i-e)/a+2:(e-n)/a+4,a/=l<.5?s+r:2-s-r,o*=60):a=l>0&&l<1?0:o,new QS(o,a,l,t.opacity)}function QS(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function KS(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 ZS(t,e,n,i,r){var s=t*t,o=s*t;return((1-3*t+3*s-o)*e+(4-6*s+3*o)*n+(1+3*t+3*s-3*o)*i+o*r)/6}wS(xS,VS,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:IS,formatHex:IS,formatHsl:function(){return YS(this).formatHsl()},formatRgb:NS,toString:NS}),wS(zS,$S,bS(xS,{brighter:function(t){return t=null==t?SS:Math.pow(SS,t),new zS(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?CS:Math.pow(CS,t),new zS(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:BS,formatHex:BS,formatRgb:qS,toString:qS})),wS(QS,function(t,e,n,i){return 1===arguments.length?YS(t):new QS(t,e,n,null==i?1:i)},bS(xS,{brighter:function(t){return t=null==t?SS:Math.pow(SS,t),new QS(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?CS:Math.pow(CS,t),new QS(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,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new zS(KS(t>=240?t-240:t+120,r,i),KS(t,r,i),KS(t<120?t+240:t-120,r,i),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+")")}}));const XS=t=>()=>t;function JS(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):XS(isNaN(t)?e:t)}const tE=function t(e){var n=function(t){return 1==(t=+t)?JS: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(i){return Math.pow(t+i*e,n)}}(e,n,t):XS(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=$S(t)).r,(e=$S(e)).r),r=n(t.g,e.g),s=n(t.b,e.b),o=JS(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=s(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function eE(t){return function(e){var n,i,r=e.length,s=new Array(r),o=new Array(r),a=new Array(r);for(n=0;n<r;++n)i=$S(e[n]),s[n]=i.r||0,o[n]=i.g||0,a[n]=i.b||0;return s=t(s),o=t(o),a=t(a),i.opacity=1,function(t){return i.r=s(t),i.g=o(t),i.b=a(t),i+""}}}function nE(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,s=new Array(r),o=new Array(i);for(n=0;n<r;++n)s[n]=uE(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=s[n](t);return o}}function iE(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function rE(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function sE(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=uE(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}eE(function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],s=t[i+1];return ZS((n-i/e)*e,i>0?t[i-1]:2*r-s,r,s,i<e-1?t[i+2]:2*s-r)}}),eE(function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e);return ZS((n-i/e)*e,t[(i+e-1)%e],t[i%e],t[(i+1)%e],t[(i+2)%e])}});var oE=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,aE=new RegExp(oE.source,"g");function lE(t,e){var n,i,r,s=oE.lastIndex=aE.lastIndex=0,o=-1,a=[],l=[];for(t+="",e+="";(n=oE.exec(t))&&(i=aE.exec(e));)(r=i.index)>s&&(r=e.slice(s,r),a[o]?a[o]+=r:a[++o]=r),(n=n[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,l.push({i:o,x:rE(n,i)})),s=aE.lastIndex;return s<e.length&&(r=e.slice(s),a[o]?a[o]+=r:a[++o]=r),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,i=0;i<e;++i)a[(n=l[i]).i]=n.x(t);return a.join("")})}function cE(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(s){for(n=0;n<i;++n)r[n]=t[n]*(1-s)+e[n]*s;return r}}function uE(t,e){var n,i,r=typeof e;return null==e||"boolean"===r?XS(e):("number"===r?rE:"string"===r?(n=VS(e))?(e=n,tE):lE:e instanceof VS?tE:e instanceof Date?iE:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?nE:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?sE:rE:cE))(t,e)}function hE(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}var dE,fE,pE=0,gE=0,mE=0,yE=0,vE=0,_E=0,wE="object"==typeof performance&&performance.now?performance:Date,bE="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function xE(){return vE||(bE(CE),vE=wE.now()+_E)}function CE(){vE=0}function SE(){this._call=this._time=this._next=null}function EE(t,e,n){var i=new SE;return i.restart(t,e,n),i}function TE(){vE=(yE=wE.now())+_E,pE=gE=0;try{!function(){xE(),++pE;for(var t,e=dE;e;)(t=vE-e._time)>=0&&e._call.call(null,t),e=e._next;--pE}()}finally{pE=0,function(){for(var t,e,n=dE,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:dE=e);fE=t,AE(i)}(),vE=0}}function kE(){var t=wE.now(),e=t-yE;e>1e3&&(_E-=e,yE=t)}function AE(t){pE||(gE&&(gE=clearTimeout(gE)),t-vE>24?(t<1/0&&(gE=setTimeout(TE,t-wE.now()-_E)),mE&&(mE=clearInterval(mE))):(mE||(yE=wE.now(),mE=setInterval(kE,1e3)),pE=1,bE(TE)))}function OE(t,e,n){var i=new SE;return i.restart(n=>{i.stop(),t(n+e)},e=null==e?0:+e,n),i}SE.prototype=EE.prototype={constructor:SE,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?xE():+n)+(null==e?0:+e),this._next||fE===this||(fE?fE._next=this:dE=this,fE=this),this._call=t,this._time=n,AE()},stop:function(){this._call&&(this._call=null,this._time=1/0,AE())}};var DE=mS("start","end","cancel","interrupt"),RE=[];function PE(t,e,n,i,r,s){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,r=t.__transition;function s(l){var c,u,h,d;if(1!==n.state)return a();for(c in r)if((d=r[c]).name===n.name){if(3===d.state)return OE(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[c])}if(OE(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(l))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,i=new Array(h=n.tween.length),c=0,u=-1;c<h;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(i[++u]=d);i.length=u+1}}function o(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(a),n.state=5,1),s=-1,o=i.length;++s<o;)i[s].call(t,r);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){for(var i in n.state=6,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=EE(function(t){n.state=1,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)},0,n.time)}(t,n,{name:e,index:i,group:r,on:DE,tween:RE,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:0})}function ME(t,e){var n=FE(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function LE(t,e){var n=FE(t,e);if(n.state>3)throw new Error("too late; already running");return n}function FE(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function IE(t,e){var n,i,r,s=t.__transition,o=!0;if(s){for(r in e=null==e?null:e+"",s)(n=s[r]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete s[r]):o=!1;o&&delete t.__transition}}var NE,VE=180/Math.PI,jE={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function UE(t,e,n,i,r,s){var o,a,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,o=-o),{translateX:r,translateY:s,rotate:Math.atan2(e,t)*VE,skewX:Math.atan(l)*VE,scaleX:o,scaleY:a}}function HE(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}return function(s,o){var a=[],l=[];return s=t(s),o=t(o),function(t,i,r,s,o,a){if(t!==r||i!==s){var l=o.push("translate(",null,e,null,n);a.push({i:l-4,x:rE(t,r)},{i:l-2,x:rE(i,s)})}else(r||s)&&o.push("translate("+r+e+s+n)}(s.translateX,s.translateY,o.translateX,o.translateY,a,l),function(t,e,n,s){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),s.push({i:n.push(r(n)+"rotate(",null,i)-2,x:rE(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}(s.rotate,o.rotate,a,l),function(t,e,n,s){t!==e?s.push({i:n.push(r(n)+"skewX(",null,i)-2,x:rE(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}(s.skewX,o.skewX,a,l),function(t,e,n,i,s,o){if(t!==n||e!==i){var a=s.push(r(s)+"scale(",null,",",null,")");o.push({i:a-4,x:rE(t,n)},{i:a-2,x:rE(e,i)})}else 1===n&&1===i||s.push(r(s)+"scale("+n+","+i+")")}(s.scaleX,s.scaleY,o.scaleX,o.scaleY,a,l),s=o=null,function(t){for(var e,n=-1,i=l.length;++n<i;)a[(e=l[n]).i]=e.x(t);return a.join("")}}}var $E=HE(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?jE:UE(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),zE=HE(function(t){return null==t?jE:(NE||(NE=document.createElementNS("http://www.w3.org/2000/svg","g")),NE.setAttribute("transform",t),(t=NE.transform.baseVal.consolidate())?UE((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):jE)},", ",")",")");function BE(t,e){var n,i;return function(){var r=LE(this,t),s=r.tween;if(s!==n)for(var o=0,a=(i=n=s).length;o<a;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function qE(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var s=LE(this,t),o=s.tween;if(o!==i){r=(i=o).slice();for(var a={name:e,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===e){r[l]=a;break}l===c&&r.push(a)}s.tween=r}}function WE(t,e,n){var i=t._id;return t.each(function(){var t=LE(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return FE(t,i).value[e]}}function GE(t,e){var n;return("number"==typeof e?rE:e instanceof VS?tE:(n=VS(e))?(e=n,tE):lE)(t,e)}function YE(t){return function(){this.removeAttribute(t)}}function QE(t){return function(){this.removeAttributeNS(t.space,t.local)}}function KE(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttribute(t);return o===s?null:o===i?r:r=e(i=o,n)}}function ZE(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===s?null:o===i?r:r=e(i=o,n)}}function XE(t,e,n){var i,r,s;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttribute(t))===(a=l+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,l));this.removeAttribute(t)}}function JE(t,e,n){var i,r,s;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,l));this.removeAttributeNS(t.space,t.local)}}function tT(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function eT(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function nT(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&eT(t,r)),n}return r._value=e,r}function iT(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&tT(t,r)),n}return r._value=e,r}function rT(t,e){return function(){ME(this,t).delay=+e.apply(this,arguments)}}function sT(t,e){return e=+e,function(){ME(this,t).delay=e}}function oT(t,e){return function(){LE(this,t).duration=+e.apply(this,arguments)}}function aT(t,e){return e=+e,function(){LE(this,t).duration=e}}function lT(t,e){if("function"!=typeof e)throw new Error;return function(){LE(this,t).ease=e}}function cT(t,e,n){var i,r,s=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?ME:LE;return function(){var o=s(this,t),a=o.on;a!==i&&(r=(i=a).copy()).on(e,n),o.on=r}}var uT=lS.prototype.constructor;function hT(t){return function(){this.style.removeProperty(t)}}function dT(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function fT(t,e,n){var i,r;function s(){var s=e.apply(this,arguments);return s!==r&&(i=(r=s)&&dT(t,s,n)),i}return s._value=e,s}function pT(t){return function(e){this.textContent=t.call(this,e)}}function gT(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&pT(i)),e}return i._value=t,i}var mT=0;function yT(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function vT(){return++mT}var _T=lS.prototype;yT.prototype=(function(t){return lS().transition(t)}).prototype={constructor:yT,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Kx(t));for(var i=this._groups,r=i.length,s=new Array(r),o=0;o<r;++o)for(var a,l,c=i[o],u=c.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=c[d])&&(l=t.call(a,a.__data__,d,c))&&("__data__"in a&&(l.__data__=a.__data__),h[d]=l,PE(h[d],e,n,d,h,FE(a,n)));return new yT(s,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Jx(t));for(var i=this._groups,r=i.length,s=[],o=[],a=0;a<r;++a)for(var l,c=i[a],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,f=t.call(l,l.__data__,h,c),p=FE(l,n),g=0,m=f.length;g<m;++g)(d=f[g])&&PE(d,e,n,g,f,p);s.push(f),o.push(l)}return new yT(s,o,e,n)},filter:function(t){"function"!=typeof t&&(t=tC(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,l=i[r]=[],c=0;c<a;++c)(s=o[c])&&t.call(s,s.__data__,c,o)&&l.push(s);return new yT(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,l=e[o],c=n[o],u=l.length,h=s[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)s[o]=e[o];return new yT(s,this._parents,this._name,this._id)},selection:function(){return new uT(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=vT(),i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],l=a.length,c=0;c<l;++c)if(o=a[c]){var u=FE(o,e);PE(o,t,n,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new yT(i,this._parents,t,n)},call:_T.call,nodes:_T.nodes,node:_T.node,size:_T.size,empty:_T.empty,each:_T.each,on:function(t,e){var n=this._id;return arguments.length<2?FE(this.node(),n).on.on(t):this.each(cT(n,t,e))},attr:function(t,e){var n=gC(t),i="transform"===n?zE:GE;return this.attrTween(t,"function"==typeof e?(n.local?JE:XE)(n,i,WE(this,"attr."+t,e)):null==e?(n.local?QE:YE)(n):(n.local?ZE:KE)(n,i,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=gC(t);return this.tween(n,(i.local?nT:iT)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?$E:GE;return null==e?this.styleTween(t,function(t,e){var n,i,r;return function(){var s=TC(this,t),o=(this.style.removeProperty(t),TC(this,t));return s===o?null:s===n&&o===i?r:r=e(n=s,i=o)}}(t,i)).on("end.style."+t,hT(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,r,s;return function(){var o=TC(this,t),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=TC(this,t)),o===l?null:o===i&&l===r?s:(r=l,s=e(i=o,a))}}(t,i,WE(this,"style."+t,e))).each(function(t,e){var n,i,r,s,o="style."+e,a="end."+o;return function(){var l=LE(this,t),c=l.on,u=null==l.value[o]?s||(s=hT(e)):void 0;c===n&&r===u||(i=(n=c).copy()).on(a,r=u),l.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,r,s=n+"";return function(){var o=TC(this,t);return o===s?null:o===i?r:r=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,fT(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(WE(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,gT(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=FE(this.node(),n).tween,s=0,o=r.length;s<o;++s)if((i=r[s]).name===t)return i.value;return null}return this.each((null==e?BE:qE)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?rT:sT)(e,t)):FE(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?oT:aT)(e,t)):FE(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(lT(e,t)):FE(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;LE(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(s,o){var a={value:o},l={value:function(){0==--r&&s()}};n.each(function(){var n=LE(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e}),0===r&&s()})},[Symbol.iterator]:_T[Symbol.iterator]};var wT={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function bT(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}lS.prototype.interrupt=function(t){return this.each(function(){IE(this,t)})},lS.prototype.transition=function(t){var e,n;t instanceof yT?(e=t._id,t=t._name):(e=vT(),(n=wT).time=xE(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],l=a.length,c=0;c<l;++c)(o=a[c])&&PE(o,t,e,c,a,n||bT(o,e));return new yT(i,this._parents,t,e)};const xT=t=>()=>t;function CT(t,{sourceEvent:e,target:n,selection:i,mode:r,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:r,enumerable:!0,configurable:!0},_:{value:s}})}function ST(t){t.stopImmediatePropagation()}function ET(t){t.preventDefault(),t.stopImmediatePropagation()}var TT={name:"drag"},kT={name:"space"},AT={name:"handle"},OT={name:"center"};const{abs:DT,max:RT,min:PT}=Math;function MT(t){return[+t[0],+t[1]]}function LT(t){return[MT(t[0]),MT(t[1])]}var FT={name:"x",handles:["w","e"].map($T),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]]}},IT={name:"y",handles:["n","s"].map($T),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]]}},NT=(["n","w","e","s","nw","ne","sw","se"].map($T),{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"}),VT={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},jT={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},UT={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},HT={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function $T(t){return{type:t}}function zT(t){return!t.ctrlKey&&!t.button}function BT(){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 qT(){return navigator.maxTouchPoints||"ontouchstart"in this}function WT(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function GT(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function YT(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function QT(t){let e=t,n=t;function i(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)<0?i=s+1:r=s}return i}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>YT(t(e),n)}(t)),{left:i,center:function(t,n,r,s){null==r&&(r=0),null==s&&(s=t.length);const o=i(t,n,r,s-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)>0?r=s:i=s+1}return i}}}var KT=Math.sqrt(50),ZT=Math.sqrt(10),XT=Math.sqrt(2);function JT(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),s=i/Math.pow(10,r);return r>=0?(s>=KT?10:s>=ZT?5:s>=XT?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(s>=KT?10:s>=ZT?5:s>=XT?2:1)}function tk(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),s=i/r;return s>=KT?r*=10:s>=ZT?r*=5:s>=XT&&(r*=2),e<t?-r:r}const ek=1e3,nk=6e4,ik=36e5,rk=864e5,sk=6048e5,ok=31536e6;var ak=new Date,lk=new Date;function ck(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,s){var o,a=[];if(n=r.ceil(n),s=null==s?1:Math.floor(s),!(n<i&&s>0))return a;do{a.push(o=new Date(+n)),e(n,s),t(n)}while(o<n&&n<i);return a},r.filter=function(n){return ck(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return ak.setTime(+e),lk.setTime(+i),t(ak),t(lk),Math.floor(n(ak,lk))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var uk=ck(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});uk.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ck(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):uk:null};const hk=uk,dk=ck(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*ek)},function(t,e){return(e-t)/ek},function(t){return t.getUTCSeconds()}),fk=ck(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ek)},function(t,e){t.setTime(+t+e*nk)},function(t,e){return(e-t)/nk},function(t){return t.getMinutes()}),pk=ck(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ek-t.getMinutes()*nk)},function(t,e){t.setTime(+t+e*ik)},function(t,e){return(e-t)/ik},function(t){return t.getHours()}),gk=ck(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nk)/rk,t=>t.getDate()-1);function mk(t){return ck(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-(e.getTimezoneOffset()-t.getTimezoneOffset())*nk)/sk})}var yk=mk(0),vk=mk(1),_k=(mk(2),mk(3),mk(4));const wk=(mk(5),mk(6),ck(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()}));var bk=ck(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()});bk.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ck(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};const xk=bk,Ck=ck(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*nk)},function(t,e){return(e-t)/nk},function(t){return t.getUTCMinutes()}),Sk=ck(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*ik)},function(t,e){return(e-t)/ik},function(t){return t.getUTCHours()}),Ek=ck(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/rk},function(t){return t.getUTCDate()-1});function Tk(t){return ck(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)/sk})}var kk=Tk(0),Ak=Tk(1),Ok=(Tk(2),Tk(3),Tk(4));const Dk=(Tk(5),Tk(6),ck(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}));var Rk=ck(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()});Rk.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ck(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};const Pk=Rk;function Mk(t,e,n,i,r,s){const o=[[dk,1,ek],[dk,5,5e3],[dk,15,15e3],[dk,30,3e4],[s,1,nk],[s,5,3e5],[s,15,9e5],[s,30,18e5],[r,1,ik],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,rk],[i,2,1728e5],[n,1,sk],[e,1,2592e6],[e,3,7776e6],[t,1,ok]];function a(e,n,i){const r=Math.abs(n-e)/i,s=QT(([,,t])=>t).right(o,r);if(s===o.length)return t.every(tk(e/ok,n/ok,i));if(0===s)return hk.every(Math.max(tk(e,n,i),1));const[a,l]=o[r/o[s-1][2]<o[s][2]/r?s-1:s];return a.every(l)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:a(t,e,n),s=r?r.range(t,+e+1):[];return i?s.reverse():s},a]}const[Lk,Fk]=Mk(Pk,Dk,kk,Ek,Sk,Ck),[Ik,Nk]=Mk(xk,wk,yk,gk,pk,fk);function Vk(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 jk(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 Uk(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Hk,$k,zk={"-":"",_:" ",0:"0"},Bk=/^\s*\d+/,qk=/^%/,Wk=/[\\^$*+?|[\]().{}]/g;function Gk(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",s=r.length;return i+(s<n?new Array(n-s+1).join(e)+r:r)}function Yk(t){return t.replace(Wk,"\\$&")}function Qk(t){return new RegExp("^(?:"+t.map(Yk).join("|")+")","i")}function Kk(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function Zk(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function Xk(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function Jk(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function tA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function eA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function nA(t,e,n){var i=Bk.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function iA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function rA(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function sA(t,e,n){var i=Bk.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function oA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function aA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function lA(t,e,n){var i=Bk.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function cA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function uA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function hA(t,e,n){var i=Bk.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function dA(t,e,n){var i=Bk.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function fA(t,e,n){var i=Bk.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function pA(t,e,n){var i=qk.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function gA(t,e,n){var i=Bk.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function mA(t,e,n){var i=Bk.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function yA(t,e){return Gk(t.getDate(),e,2)}function vA(t,e){return Gk(t.getHours(),e,2)}function _A(t,e){return Gk(t.getHours()%12||12,e,2)}function wA(t,e){return Gk(1+gk.count(xk(t),t),e,3)}function bA(t,e){return Gk(t.getMilliseconds(),e,3)}function xA(t,e){return bA(t,e)+"000"}function CA(t,e){return Gk(t.getMonth()+1,e,2)}function SA(t,e){return Gk(t.getMinutes(),e,2)}function EA(t,e){return Gk(t.getSeconds(),e,2)}function TA(t){var e=t.getDay();return 0===e?7:e}function kA(t,e){return Gk(yk.count(xk(t)-1,t),e,2)}function AA(t){var e=t.getDay();return e>=4||0===e?_k(t):_k.ceil(t)}function OA(t,e){return t=AA(t),Gk(_k.count(xk(t),t)+(4===xk(t).getDay()),e,2)}function DA(t){return t.getDay()}function RA(t,e){return Gk(vk.count(xk(t)-1,t),e,2)}function PA(t,e){return Gk(t.getFullYear()%100,e,2)}function MA(t,e){return Gk((t=AA(t)).getFullYear()%100,e,2)}function LA(t,e){return Gk(t.getFullYear()%1e4,e,4)}function FA(t,e){var n=t.getDay();return Gk((t=n>=4||0===n?_k(t):_k.ceil(t)).getFullYear()%1e4,e,4)}function IA(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Gk(e/60|0,"0",2)+Gk(e%60,"0",2)}function NA(t,e){return Gk(t.getUTCDate(),e,2)}function VA(t,e){return Gk(t.getUTCHours(),e,2)}function jA(t,e){return Gk(t.getUTCHours()%12||12,e,2)}function UA(t,e){return Gk(1+Ek.count(Pk(t),t),e,3)}function HA(t,e){return Gk(t.getUTCMilliseconds(),e,3)}function $A(t,e){return HA(t,e)+"000"}function zA(t,e){return Gk(t.getUTCMonth()+1,e,2)}function BA(t,e){return Gk(t.getUTCMinutes(),e,2)}function qA(t,e){return Gk(t.getUTCSeconds(),e,2)}function WA(t){var e=t.getUTCDay();return 0===e?7:e}function GA(t,e){return Gk(kk.count(Pk(t)-1,t),e,2)}function YA(t){var e=t.getUTCDay();return e>=4||0===e?Ok(t):Ok.ceil(t)}function QA(t,e){return t=YA(t),Gk(Ok.count(Pk(t),t)+(4===Pk(t).getUTCDay()),e,2)}function KA(t){return t.getUTCDay()}function ZA(t,e){return Gk(Ak.count(Pk(t)-1,t),e,2)}function XA(t,e){return Gk(t.getUTCFullYear()%100,e,2)}function JA(t,e){return Gk((t=YA(t)).getUTCFullYear()%100,e,2)}function tO(t,e){return Gk(t.getUTCFullYear()%1e4,e,4)}function eO(t,e){var n=t.getUTCDay();return Gk((t=n>=4||0===n?Ok(t):Ok.ceil(t)).getUTCFullYear()%1e4,e,4)}function nO(){return"+0000"}function iO(){return"%"}function rO(t){return+t}function sO(t){return Math.floor(+t/1e3)}function oO(t){return null===t?NaN:+t}Hk=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,s=t.days,o=t.shortDays,a=t.months,l=t.shortMonths,c=Qk(r),u=Kk(r),h=Qk(s),d=Kk(s),f=Qk(o),p=Kk(o),g=Qk(a),m=Kk(a),y=Qk(l),v=Kk(l),_={a:function(t){return o[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:yA,e:yA,f:xA,g:MA,G:FA,H:vA,I:_A,j:wA,L:bA,m:CA,M:SA,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rO,s:sO,S:EA,u:TA,U:kA,V:OA,w:DA,W:RA,x:null,X:null,y:PA,Y:LA,Z:IA,"%":iO},w={a:function(t){return o[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:NA,e:NA,f:$A,g:JA,G:eO,H:VA,I:jA,j:UA,L:HA,m:zA,M:BA,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rO,s:sO,S:qA,u:WA,U:GA,V:QA,w:KA,W:ZA,x:null,X:null,y:XA,Y:tO,Z:nO,"%":iO},b={a:function(t,e,n){var i=f.exec(e.slice(n));return i?(t.w=p.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=d.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=y.exec(e.slice(n));return i?(t.m=v.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=g.exec(e.slice(n));return i?(t.m=m.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return S(t,e,n,i)},d:aA,e:aA,f:fA,g:iA,G:nA,H:cA,I:cA,j:lA,L:dA,m:oA,M:uA,p:function(t,e,n){var i=c.exec(e.slice(n));return i?(t.p=u.get(i[0].toLowerCase()),n+i[0].length):-1},q:sA,Q:gA,s:mA,S:hA,u:Xk,U:Jk,V:tA,w:Zk,W:eA,x:function(t,e,i){return S(t,n,e,i)},X:function(t,e,n){return S(t,i,e,n)},y:iA,Y:nA,Z:rA,"%":pA};function x(t,e){return function(n){var i,r,s,o=[],a=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(o.push(t.slice(l,a)),null!=(r=zk[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(s=e[i])&&(i=s(n,r)),o.push(i),l=a+1);return o.push(t.slice(l,a)),o.join("")}}function C(t,e){return function(n){var i,r,s=Uk(1900,void 0,1);if(S(s,t,n+="",0)!=n.length)return null;if("Q"in s)return new Date(s.Q);if("s"in s)return new Date(1e3*s.s+("L"in s?s.L:0));if(e&&!("Z"in s)&&(s.Z=0),"p"in s&&(s.H=s.H%12+12*s.p),void 0===s.m&&(s.m="q"in s?s.q:0),"V"in s){if(s.V<1||s.V>53)return null;"w"in s||(s.w=1),"Z"in s?(r=(i=jk(Uk(s.y,0,1))).getUTCDay(),i=r>4||0===r?Ak.ceil(i):Ak(i),i=Ek.offset(i,7*(s.V-1)),s.y=i.getUTCFullYear(),s.m=i.getUTCMonth(),s.d=i.getUTCDate()+(s.w+6)%7):(r=(i=Vk(Uk(s.y,0,1))).getDay(),i=r>4||0===r?vk.ceil(i):vk(i),i=gk.offset(i,7*(s.V-1)),s.y=i.getFullYear(),s.m=i.getMonth(),s.d=i.getDate()+(s.w+6)%7)}else("W"in s||"U"in s)&&("w"in s||(s.w="u"in s?s.u%7:"W"in s?1:0),r="Z"in s?jk(Uk(s.y,0,1)).getUTCDay():Vk(Uk(s.y,0,1)).getDay(),s.m=0,s.d="W"in s?(s.w+6)%7+7*s.W-(r+5)%7:s.w+7*s.U-(r+6)%7);return"Z"in s?(s.H+=s.Z/100|0,s.M+=s.Z%100,jk(s)):Vk(s)}}function S(t,e,n,i){for(var r,s,o=0,a=e.length,l=n.length;o<a;){if(i>=l)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(s=b[r in zk?e.charAt(o++):r])||(i=s(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return _.x=x(n,_),_.X=x(i,_),_.c=x(e,_),w.x=x(n,w),w.X=x(i,w),w.c=x(e,w),{format:function(t){var e=x(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=C(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=C(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),$k=Hk.format;const aO=QT(YT).right,lO=(QT(oO),aO);function cO(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function uO(t){return+t}var hO=[0,1];function dO(t){return t}function fO(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function pO(t,e,n){var i=t[0],r=t[1],s=e[0],o=e[1];return r<i?(i=fO(r,i),s=n(o,s)):(i=fO(i,r),s=n(s,o)),function(t){return s(i(t))}}function gO(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),s=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=fO(t[o],t[o+1]),s[o]=n(e[o],e[o+1]);return function(e){var n=lO(t,e,1,i)-1;return s[n](r[n](e))}}function mO(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function yO(){return function(){var t,e,n,i,r,s,o=hO,a=hO,l=uE,c=dO;function u(){var t,e,n,l=Math.min(o.length,a.length);return c!==dO&&((t=o[0])>(e=o[l-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),i=l>2?gO:pO,r=s=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),a,l)))(t(c(e)))}return h.invert=function(n){return c(e((s||(s=i(a,o.map(t),rE)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,uO),u()):o.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),u()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),l=cO,u()},h.clamp=function(t){return arguments.length?(c=!!t||dO,u()):c!==dO},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,u()}}()(dO,dO)}function vO(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function _O(t){return new Date(t)}function wO(t){return t instanceof Date?+t:+new Date(+t)}function bO(t,e,n,i,r,s,o,a,l,c){var u=yO(),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),_=c("%B"),w=c("%Y");function b(t){return(l(t)<t?f:a(t)<t?p:o(t)<t?g:s(t)<t?m:i(t)<t?r(t)<t?y:v:n(t)<t?_:w)(t)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){return arguments.length?d(Array.from(t,wO)):d().map(_O)},u.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},u.tickFormat=function(t,e){return null==e?b:c(e)},u.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(function(t,e){var n,i=0,r=(t=t.slice()).length-1,s=t[i],o=t[r];return o<s&&(n=i,i=r,r=n,n=s,s=o,o=n),t[i]=e.floor(s),t[r]=e.ceil(o),t}(n,t)):u},u.copy=function(){return mO(u,bO(t,e,n,i,r,s,o,a,l,c))},u}function xO(){return vO.apply(bO(Ik,Nk,xk,wk,yk,gk,pk,fk,dk,$k).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var CO,SO=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function EO(t){if(!(e=SO.exec(t)))throw new Error("invalid format: "+t);var e;return new TO({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 TO(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+""}function kO(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function AO(t){return(t=kO(Math.abs(t)))?t[1]:NaN}function OO(t,e){var n=kO(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}EO.prototype=TO.prototype,TO.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};const DO={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>OO(100*t,e),r:OO,s:function(t,e){var n=kO(t,e);if(!n)return t+"";var i=n[0],r=n[1],s=r-(CO=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return s===o?i:s>o?i+new Array(s-o+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+kO(t,Math.max(0,e+s-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function RO(t){return t}var PO,MO,LO,FO=Array.prototype.map,IO=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function NO(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var i,r,s,o,a=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(o=JT(t,e,n))||!isFinite(o))return[];if(o>0){let n=Math.round(t/o),i=Math.round(e/o);for(n*o<t&&++n,i*o>e&&--i,s=new Array(r=i-n+1);++a<r;)s[a]=(n+a)*o}else{o=-o;let n=Math.round(t*o),i=Math.round(e*o);for(n/o<t&&++n,i/o>e&&--i,s=new Array(r=i-n+1);++a<r;)s[a]=(n+a)/o}return i&&s.reverse(),s}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var r,s=tk(t,e,n);switch((i=EO(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(AO(e)/3)))-AO(Math.abs(t)))}(s,o))||(i.precision=r),LO(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,AO(e)-AO(t))+1}(s,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-AO(Math.abs(t)))}(s))||(i.precision=r-2*("%"===i.type))}return MO(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,s=e(),o=0,a=s.length-1,l=s[o],c=s[a],u=10;for(c<l&&(r=l,l=c,c=r,r=o,o=a,a=r);u-- >0;){if((r=JT(l,c,n))===i)return s[o]=l,s[a]=c,e(s);if(r>0)l=Math.floor(l/r)*r,c=Math.ceil(c/r)*r;else{if(!(r<0))break;l=Math.ceil(l*r)/r,c=Math.floor(c*r)/r}i=r}return t},t}function VO(){var t=yO();return t.copy=function(){return mO(t,VO())},vO.apply(t,arguments),NO(t)}function jO(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),s=new Array(r);++i<r;)s[i]=t+i*n;return s}PO=function(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?RO:(e=FO.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,s=[],o=0,a=e[0],l=0;r>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),s.push(t.substring(r-=a,r+a)),!((l+=a+1)>i));)a=e[o=(o+1)%e.length];return s.reverse().join(n)}),r=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?RO:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(FO.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=EO(t)).fill,n=t.align,h=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):DO[v]||(void 0===m&&(m=12),y=!0,v="g"),(f||"0"===e&&"="===n)&&(f=!0,e="0",n="=");var _="$"===d?r:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===d?s:/[%p]/.test(v)?l:"",b=DO[v],x=/[defgprs%]/.test(v);function C(t){var r,s,l,d=_,C=w;if("c"===v)C=b(t)+C,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:b(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),d=(S?"("===h?h:c:"-"===h||"("===h?"":h)+d,C=("s"===v?IO[8+CO/3]:"")+C+(S&&"("===h?")":""),x)for(r=-1,s=t.length;++r<s;)if(48>(l=t.charCodeAt(r))||l>57){C=(46===l?o+t.slice(r+1):t.slice(r))+C,t=t.slice(0,r);break}}g&&!f&&(t=i(t,1/0));var E=d.length+t.length+C.length,T=E<p?new Array(p-E+1).join(e):"";switch(g&&f&&(t=i(T+t,T.length?p-C.length:1/0),T=""),n){case"<":t=d+t+C+T;break;case"=":t=d+T+t+C;break;case"^":t=T.slice(0,E=T.length>>1)+d+t+C+T.slice(E);break;default:t=T+d+t+C}return a(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return t+""},C}return{format:h,formatPrefix:function(t,e){var n=h(((t=EO(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(AO(e)/3))),r=Math.pow(10,-i),s=IO[8+i/3];return function(t){return n(r*t)+s}}}}({thousands:",",grouping:[3],currency:["$",""]}),MO=PO.format,LO=PO.formatPrefix;const UO=Symbol("implicit");function HO(){var t=new Map,e=[],n=[],i=UO;function r(r){var s=r+"",o=t.get(s);if(!o){if(i!==UO)return i;t.set(s,o=e.push(r))}return n[(o-1)%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const i of n){const n=i+"";t.has(n)||t.set(n,e.push(i))}return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return HO(e,n).unknown(i)},vO.apply(r,arguments),r}function $O(){var t,e,n=HO().unknown(void 0),i=n.domain,r=n.range,s=0,o=1,a=!1,l=0,c=0,u=.5;function h(){var n=i().length,h=o<s,d=h?o:s,f=h?s:o;t=(f-d)/Math.max(1,n-l+2*c),a&&(t=Math.floor(t)),d+=(f-d-t*(n-l))*u,e=t*(1-l),a&&(d=Math.round(d),e=Math.round(e));var p=jO(n).map(function(e){return d+t*e});return r(h?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),h()):i()},n.range=function(t){return arguments.length?([s,o]=t,s=+s,o=+o,h()):[s,o]},n.rangeRound=function(t){return[s,o]=t,s=+s,o=+o,a=!0,h()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,h()):a},n.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),h()):l},n.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),h()):l},n.paddingOuter=function(t){return arguments.length?(c=+t,h()):c},n.align=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),h()):u},n.copy=function(){return $O(i(),[s,o]).round(a).paddingInner(l).paddingOuter(c).align(u)},vO.apply(h(),arguments)}function zO(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return zO(e())},t}function BO(){return zO($O.apply(null,arguments).paddingInner(1))}function qO(t,e,n=oO){if(i=t.length){if((e=+e)<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,s=Math.floor(r),o=+n(t[s],s,t);return o+(+n(t[s+1],s+1,t)-o)*(r-s)}}function WO(){var t,e=[],n=[],i=[];function r(){var t=0,r=Math.max(1,n.length);for(i=new Array(r-1);++t<r;)i[t-1]=qO(e,t/r);return s}function s(e){return null==e||isNaN(e=+e)?t:n[lO(i,e)]}return s.invertExtent=function(t){var r=n.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:e[0],r<i.length?i[r]:e[e.length-1]]},s.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(YT),r()},s.range=function(t){return arguments.length?(n=Array.from(t),r()):n.slice()},s.unknown=function(e){return arguments.length?(t=e,s):t},s.quantiles=function(){return i.slice()},s.copy=function(){return WO().domain(e).range(n).unknown(t)},vO.apply(s,arguments)}function GO(t){this._context=t}function YO(t){return new GO(t)}GO.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(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;default:this._context.lineTo(t,e)}}};const QO=Math.PI,KO=2*QO,ZO=1e-6,XO=KO-ZO;function JO(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tD(){return new JO}JO.prototype=tD.prototype={constructor:JO,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){var s=this._x1,o=this._y1,a=(n=+n)-(t=+t),l=(i=+i)-(e=+e),c=s-t,u=o-e,h=c*c+u*u;if((r=+r)<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>ZO)if(Math.abs(u*a-l*c)>ZO&&r){var d=n-s,f=i-o,p=a*a+l*l,g=d*d+f*f,m=Math.sqrt(p),y=Math.sqrt(h),v=r*Math.tan((QO-Math.acos((p+h-g)/(2*m*y)))/2),_=v/y,w=v/m;Math.abs(_-1)>ZO&&(this._+="L"+(t+_*c)+","+(e+_*u)),this._+="A"+r+","+r+",0,0,"+ +(u*d>c*f)+","+(this._x1=t+w*a)+","+(this._y1=e+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,s){t=+t,e=+e,s=!!s;var o=(n=+n)*Math.cos(i),a=n*Math.sin(i),l=t+o,c=e+a,u=1^s,h=s?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>ZO||Math.abs(this._y1-c)>ZO)&&(this._+="L"+l+","+c),n&&(h<0&&(h=h%KO+KO),h>XO?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-a)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>ZO&&(this._+="A"+n+","+n+",0,"+ +(h>=QO)+","+u+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};const eD=tD;function nD(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function iD(t){return function(){return t}}function rD(t){return t[0]}function sD(t){return t[1]}function oD(t,e){var n=iD(!0),i=null,r=YO,s=null;function o(o){var a,l,c,u=(o=nD(o)).length,h=!1;for(null==i&&(s=r(c=eD())),a=0;a<=u;++a)!(a<u&&n(l=o[a],a,o))===h&&((h=!h)?s.lineStart():s.lineEnd()),h&&s.point(+t(l,a,o),+e(l,a,o));if(c)return s=null,c+""||null}return t="function"==typeof t?t:void 0===t?rD:iD(t),e="function"==typeof e?e:void 0===e?sD:iD(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:iD(!!t),o):n},o.curve=function(t){return arguments.length?(r=t,null!=i&&(s=r(i)),o):r},o.context=function(t){return arguments.length?(null==t?i=s=null:s=r(i=t),o):i},o}function aD(t,e,n){var i=null,r=iD(!0),s=null,o=YO,a=null;function l(l){var c,u,h,d,f,p=(l=nD(l)).length,g=!1,m=new Array(p),y=new Array(p);for(null==s&&(a=o(f=eD())),c=0;c<=p;++c){if(!(c<p&&r(d=l[c],c,l))===g)if(g=!g)u=c,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),h=c-1;h>=u;--h)a.point(m[h],y[h]);a.lineEnd(),a.areaEnd()}g&&(m[c]=+t(d,c,l),y[c]=+e(d,c,l),a.point(i?+i(d,c,l):m[c],n?+n(d,c,l):y[c]))}if(f)return a=null,f+""||null}function c(){return oD().defined(r).curve(o).context(s)}return t="function"==typeof t?t:void 0===t?rD:iD(+t),e="function"==typeof e?e:iD(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?sD:iD(+n),l.x=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),i=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:iD(+e),l):t},l.x1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:iD(+t),l):i},l.y=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),n=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:iD(+t),l):e},l.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:iD(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(e)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(i).y(e)},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:iD(!!t),l):r},l.curve=function(t){return arguments.length?(o=t,null!=s&&(a=o(s)),l):o},l.context=function(t){return arguments.length?(null==t?s=a=null:a=o(s=t),l):s},l}function lD(){}function cD(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 uD(t,e){this._context=t,this._k=(1-e)/6}function hD(t,e){this._context=t,this._k=(1-e)/6}function dD(t){this._curve=t}function fD(t,e,n,i,r){for(var s,o=t.children,a=-1,l=o.length,c=t.value&&(i-e)/t.value;++a<l;)(s=o[a]).y0=n,s.y1=r,s.x0=e,s.x1=e+=s.value*c}function pD(t,e,n,i,r){for(var s,o=t.children,a=-1,l=o.length,c=t.value&&(r-n)/t.value;++a<l;)(s=o[a]).x0=e,s.x1=i,s.y0=n,s.y1=n+=s.value*c}function gD(t){var e=0,n=t.children,i=n&&n.length;if(i)for(;--i>=0;)e+=n[i].value;else e=1;t.value=e}function mD(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=vD)):void 0===e&&(e=yD);for(var n,i,r,s,o,a=new bD(t),l=[a];n=l.pop();)if((r=e(n.data))&&(o=(r=Array.from(r)).length))for(n.children=r,s=o-1;s>=0;--s)l.push(i=r[s]=new bD(r[s])),i.parent=n,i.depth=n.depth+1;return a.eachBefore(wD)}function yD(t){return t.children}function vD(t){return Array.isArray(t)?t[1]:null}function _D(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function wD(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function bD(t){this.data=t,this.depth=this.height=0,this.parent=null}uD.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:cD(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:cD(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}},function t(e){function n(t){return new uD(t,e)}return n.tension=function(e){return t(+e)},n}(0),hD.prototype={areaStart:lD,areaEnd:lD,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:cD(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}},function t(e){function n(t){return new hD(t,e)}return n.tension=function(e){return t(+e)},n}(0),dD.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))}},Math,Math,Math,Math,Math,Math,Math,Math,function t(e){function n(t,n,i,r,s){!function(t,e,n,i,r,s){for(var o,a,l,c,u,h,d,f,p,g,m,y=[],v=e.children,_=0,w=0,b=v.length,x=e.value;_<b;){l=r-n,c=s-i;do{u=v[w++].value}while(!u&&w<b);for(h=d=u,m=u*u*(g=Math.max(c/l,l/c)/(x*t)),p=Math.max(d/m,m/h);w<b;++w){if(u+=a=v[w].value,a<h&&(h=a),a>d&&(d=a),m=u*u*g,(f=Math.max(d/m,m/h))>p){u-=a;break}p=f}y.push(o={value:u,dice:l<c,children:v.slice(_,w)}),o.dice?fD(o,n,i,r,x?i+=c*u/x:s):pD(o,n,i,x?n+=l*u/x:r,s),x-=u,_=w}}(e,t,n,i,r,s)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2),bD.prototype=mD.prototype={constructor:bD,count:function(){return this.eachAfter(gD)},each:function(t,e){let n=-1;for(const i of this)t.call(e,i,++n,this);return this},eachAfter:function(t,e){for(var n,i,r,s=this,o=[s],a=[],l=-1;s=o.pop();)if(a.push(s),n=s.children)for(i=0,r=n.length;i<r;++i)o.push(n[i]);for(;s=a.pop();)t.call(e,s,++l,this);return this},eachBefore:function(t,e){for(var n,i,r=this,s=[r],o=-1;r=s.pop();)if(t.call(e,r,++o,this),n=r.children)for(i=n.length-1;i>=0;--i)s.push(n[i]);return this},find:function(t,e){let n=-1;for(const i of this)if(t.call(e,i,++n,this))return i},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,i=e.children,r=i&&i.length;--r>=0;)n+=i[r].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(),i=e.ancestors(),r=null;for(t=n.pop(),e=i.pop();t===e;)r=t,t=n.pop(),e=i.pop();return r}(e,t),i=[e];e!==n;)i.push(e=e.parent);for(var r=i.length;t!==n;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},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 mD(this).eachBefore(_D)},[Symbol.iterator]:function*(){var t,e,n,i,r=this,s=[r];do{for(t=s.reverse(),s=[];r=t.pop();)if(yield r,e=r.children)for(n=0,i=e.length;n<i;++n)s.push(e[n])}while(s.length)}};const xD=["caretElm"];function CD(t,e){}const SD=function(t){return{model:t}};function ED(t,e){if(1&t&&(Oo(0,"span"),So(1,CD,0,0,"ng-template",5),Do()),2&t){const t=Vo();Zr(1),ko("ngTemplateOutlet",t.template)("ngTemplateOutletContext",hc(2,SD,t.context))}}function TD(t,e){1&t&&Ro(0,"span",6),2&t&&ko("innerHTML",Vo().title,Qi)}function kD(t,e){if(1&t&&(an(),ln(),Ro(0,"ngx-charts-scale-legend",4)),2&t){const t=Vo();ko("horizontal",t.legendOptions&&t.legendOptions.position===t.LegendPosition.Below)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function AD(t,e){if(1&t){const t=Po();an(),ln(),Oo(0,"ngx-charts-legend",5),Fo("labelClick",function(e){return Pe(t),Vo().legendLabelClick.emit(e)})("labelActivate",function(e){return Pe(t),Vo().legendLabelActivate.emit(e)})("labelDeactivate",function(e){return Pe(t),Vo().legendLabelDeactivate.emit(e)}),Do()}if(2&t){const t=Vo();ko("horizontal",t.legendOptions&&t.legendOptions.position===t.LegendPosition.Below)("data",t.legendOptions.domain)("title",t.legendOptions.title)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)("activeEntries",t.activeEntries)}}const OD=["*"],DD=["ngx-charts-axis-label",""],RD=["ticksel"],PD=["ngx-charts-x-axis-ticks",""];function MD(t,e){if(1&t&&(an(),Oo(0,"g",3),Oo(1,"title"),la(2),Do(),Oo(3,"text",4),la(4),Do(),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.tickTransform(t)),Zr(2),ca(n.tickFormat(t)),Zr(1),Yo("font-size","12px"),xo("text-anchor",n.textAnchor)("transform",n.textTransform),Zr(1),ua(" ",n.tickTrim(n.tickFormat(t))," ")}}function LD(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"line",6),Do()),2&t){const t=Vo(2);xo("transform",t.gridLineTransform()),Zr(1),xo("y1",-t.gridLineHeight)}}function FD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,LD,2,2,"g",5),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.tickTransform(t)),Zr(1),ko("ngIf",n.showGridLines)}}const ID=["ngx-charts-x-axis",""];function ND(t,e){if(1&t){const t=Po();an(),Oo(0,"g",2),Fo("dimensionsChanged",function(e){return Pe(t),Vo().emitTicksHeight(e)}),Do()}if(2&t){const t=Vo();ko("trimTicks",t.trimTicks)("rotateTicks",t.rotateTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickStroke",t.tickStroke)("scale",t.xScale)("orient",t.xOrient)("showGridLines",t.showGridLines)("gridLineHeight",t.dims.height)("width",t.dims.width)("tickValues",t.ticks)}}function VD(t,e){if(1&t&&(an(),Ro(0,"g",3)),2&t){const t=Vo();ko("label",t.labelText)("offset",t.labelOffset)("orient",t.Orientation.Bottom)("height",t.dims.height)("width",t.dims.width)}}const jD=["ngx-charts-y-axis-ticks",""];function UD(t,e){if(1&t&&(an(),Oo(0,"g",4),Oo(1,"title"),la(2),Do(),Oo(3,"text",5),la(4),Do(),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.transform(t)),Zr(2),ca(n.tickFormat(t)),Zr(1),Yo("font-size","12px"),xo("dy",n.dy)("x",n.x1)("y",n.y1)("text-anchor",n.textAnchor),Zr(1),ua(" ",n.tickTrim(n.tickFormat(t))," ")}}function HD(t,e){if(1&t&&(an(),Ro(0,"path",6)),2&t){const t=Vo();xo("d",t.referenceAreaPath)("transform",t.gridLineTransform())}}function $D(t,e){1&t&&(an(),Ro(0,"line",9)),2&t&&xo("x2",Vo(3).gridLineWidth)}function zD(t,e){1&t&&(an(),Ro(0,"line",9)),2&t&&xo("x2",-Vo(3).gridLineWidth)}function BD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,$D,1,1,"line",8),So(2,zD,1,1,"line",8),Do()),2&t){const t=Vo(2);xo("transform",t.gridLineTransform()),Zr(1),ko("ngIf",t.orient===t.Orientation.Left),Zr(1),ko("ngIf",t.orient===t.Orientation.Right)}}function qD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,BD,3,3,"g",7),Do()),2&t){const t=e.$implicit,n=Vo();xo("transform",n.transform(t)),Zr(1),ko("ngIf",n.showGridLines)}}function WD(t,e){if(1&t&&(an(),Oo(0,"g"),Oo(1,"title"),la(2),Do(),Oo(3,"text",11),la(4),Do(),Do()),2&t){const t=Vo(2).$implicit,e=Vo();Zr(2),ca(e.tickTrim(e.tickFormat(t.value))),Zr(1),xo("dy",e.dy)("y",-6)("x",e.gridLineWidth)("text-anchor",e.textAnchor),Zr(1),ua(" ",t.name," ")}}function GD(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"line",10),So(2,WD,5,6,"g",7),Do()),2&t){const t=Vo().$implicit,e=Vo();xo("transform",e.transform(t.value)),Zr(1),xo("x2",e.gridLineWidth)("transform",e.gridLineTransform()),Zr(1),ko("ngIf",e.showRefLabels)}}function YD(t,e){if(1&t&&(an(),Oo(0,"g"),So(1,GD,3,4,"g",7),Do()),2&t){const t=Vo();Zr(1),ko("ngIf",t.showRefLines)}}const QD=["ngx-charts-y-axis",""];function KD(t,e){if(1&t){const t=Po();an(),Oo(0,"g",2),Fo("dimensionsChanged",function(e){return Pe(t),Vo().emitTicksWidth(e)}),Do()}if(2&t){const t=Vo();ko("trimTicks",t.trimTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickValues",t.ticks)("tickStroke",t.tickStroke)("scale",t.yScale)("orient",t.yOrient)("showGridLines",t.showGridLines)("gridLineWidth",t.dims.width)("referenceLines",t.referenceLines)("showRefLines",t.showRefLines)("showRefLabels",t.showRefLabels)("height",t.dims.height)}}function ZD(t,e){if(1&t&&(an(),Ro(0,"g",3)),2&t){const t=Vo();ko("label",t.labelText)("offset",t.labelOffset)("orient",t.yOrient)("height",t.dims.height)("width",t.dims.width)}}const XD=["ngx-charts-circle-series",""];function JD(t,e){if(1&t&&(an(),Ro(0,"rect",4)),2&t){const t=Vo(2);ko("@animationState","active"),xo("x",t.circle.cx-t.circle.radius)("y",t.circle.cy)("width",2*t.circle.radius)("height",t.circle.height)("fill",t.gradientFill)}}const tR=function(t){return{name:t}};function eR(t,e){if(1&t){const t=Po();an(),Oo(0,"g"),Oo(1,"defs"),Ro(2,"g",1),Do(),So(3,JD,1,6,"rect",2),Oo(4,"g",3),Fo("select",function(){Pe(t);const e=Vo();return e.onClick(e.circle.data)})("activate",function(){return Pe(t),Vo().activateCircle()})("deactivate",function(){return Pe(t),Vo().deactivateCircle()}),Do(),Do()}if(2&t){const t=Vo();Zr(2),ko("name",t.gradientId)("stops",t.circle.gradientStops),Zr(1),ko("ngIf",t.barVisible&&"standard"===t.type),Zr(1),Qo("active",t.isActive(hc(18,tR,t.circle.seriesName))),ko("cx",t.circle.cx)("cy",t.circle.cy)("r",t.circle.radius)("fill",t.circle.color)("pointerEvents",0===t.circle.value?"none":"all")("data",t.circle.value)("classNames",t.circle.classNames)("tooltipDisabled",t.tooltipDisabled)("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",t.tooltipTemplate?void 0:t.getTooltipText(t.circle))("tooltipTemplate",t.tooltipTemplate)("tooltipContext",t.circle.data)}}const nR=["ngx-charts-circle",""],iR=["ngx-charts-svg-linear-gradient",""];function rR(t,e){if(1&t&&(an(),Ro(0,"stop")),2&t){const t=e.$implicit;Yo("stop-color",t.color)("stop-opacity",t.opacity),xo("offset",t.offset+"%")}}const sR=["ngx-charts-area",""];function oR(t,e){if(1&t&&(an(),Oo(0,"defs"),Ro(1,"g",2),Do()),2&t){const t=Vo();Zr(1),ko("name",t.gradientId)("stops",t.gradientStops)}}const aR=["tooltipAnchor"],lR=["ngx-charts-tooltip-area",""];function cR(t,e){if(1&t&&(Oo(0,"div",6),Ro(1,"span",7),la(2),Do()),2&t){const t=e.$implicit,n=Vo(2);Zr(1),Yo("background-color",t.color),Zr(1),ua(" ",n.getToolTipText(t)," ")}}function uR(t,e){if(1&t&&(an(),ln(),Oo(0,"div",4),So(1,cR,3,3,"div",5),Do()),2&t){const t=e.model;Zr(1),ko("ngForOf",t)}}const hR=["ngx-charts-timeline",""];function dR(t,e){if(1&t&&(Oo(0,"header",4),Oo(1,"span",5),la(2),Do(),Do()),2&t){const t=Vo();Zr(2),ca(t.title)}}function fR(t,e){if(1&t){const t=Po();Oo(0,"li",6),Oo(1,"ngx-charts-legend-entry",7),Fo("select",function(e){return Pe(t),Vo().labelClick.emit(e)})("activate",function(e){return Pe(t),Vo().activate(e)})("deactivate",function(e){return Pe(t),Vo().deactivate(e)}),Do(),Do()}if(2&t){const t=e.$implicit,n=Vo();Zr(1),ko("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}const pR=["tooltipTemplate"],gR=["seriesTooltipTemplate"],mR=function(t,e){return[t,e]},yR=["ngx-charts-line",""];function vR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",7),Fo("dimensionsChanged",function(e){return Pe(t),Vo().updateXAxisHeight(e)}),Do()}if(2&t){const t=Vo();ko("xScale",t.xScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showXAxisLabel)("labelText",t.xAxisLabel)("trimTicks",t.trimXAxisTicks)("rotateTicks",t.rotateXAxisTicks)("maxTickLength",t.maxXAxisTickLength)("tickFormatting",t.xAxisTickFormatting)("ticks",t.xAxisTicks)}}function _R(t,e){if(1&t){const t=Po();an(),Oo(0,"g",8),Fo("dimensionsChanged",function(e){return Pe(t),Vo().updateYAxisWidth(e)}),Do()}if(2&t){const t=Vo();ko("yScale",t.yScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showYAxisLabel)("labelText",t.yAxisLabel)("trimTicks",t.trimYAxisTicks)("maxTickLength",t.maxYAxisTickLength)("tickFormatting",t.yAxisTickFormatting)("ticks",t.yAxisTicks)("referenceLines",t.referenceLines)("showRefLines",t.showRefLines)("showRefLabels",t.showRefLabels)}}function wR(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"g",9),Do()),2&t){const t=e.$implicit,n=Vo();ko("@animationState","active"),Zr(1),ko("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",t)("activeEntries",n.activeEntries)("scaleType",n.scaleType)("curve",n.curve)("rangeFillOpacity",n.rangeFillOpacity)("hasRange",n.hasRange)("animations",n.animations)}}function bR(t,e){if(1&t){const t=Po();an(),Oo(0,"g"),Oo(1,"g",13),Fo("select",function(e){return Pe(t),Vo(2).onClick(e)})("activate",function(e){return Pe(t),Vo(2).onActivate(e)})("deactivate",function(e){return Pe(t),Vo(2).onDeactivate(e)}),Do(),Do()}if(2&t){const t=e.$implicit,n=Vo(2);Zr(1),ko("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",t)("scaleType",n.scaleType)("visibleValue",n.hoveredVertical)("activeEntries",n.activeEntries)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)}}function xR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",10),Fo("mouseleave",function(){return Pe(t),Vo().hideCircles()}),Oo(1,"g",11),Fo("hover",function(e){return Pe(t),Vo().updateHoveredVertical(e)}),Do(),So(2,bR,2,9,"g",12),Do()}if(2&t){const t=Vo();Zr(1),ko("dims",t.dims)("xSet",t.xSet)("xScale",t.xScale)("yScale",t.yScale)("results",t.results)("colors",t.colors)("tooltipDisabled",t.tooltipDisabled)("tooltipTemplate",t.seriesTooltipTemplate),Zr(1),ko("ngForOf",t.results)}}function CR(t,e){if(1&t&&(an(),Oo(0,"g"),Ro(1,"g",15),Do()),2&t){const t=e.$implicit,n=Vo(2);Zr(1),ko("xScale",n.timelineXScale)("yScale",n.timelineYScale)("colors",n.colors)("data",t)("scaleType",n.scaleType)("curve",n.curve)("hasRange",n.hasRange)("animations",n.animations)}}function SR(t,e){if(1&t){const t=Po();an(),Oo(0,"g",14),Fo("onDomainChange",function(e){return Pe(t),Vo().updateDomain(e)}),So(1,CR,2,8,"g",4),Do()}if(2&t){const t=Vo();ko("results",t.results)("view",dc(10,mR,t.timelineWidth,t.height))("height",t.timelineHeight)("scheme",t.scheme)("customColors",t.customColors)("scaleType",t.scaleType)("legend",t.legend),xo("transform",t.timelineTransform),Zr(1),ko("ngForOf",t.results)("ngForTrackBy",t.trackBy)}}const ER=["ngx-charts-line-series",""];function TR(t,e){if(1&t&&(an(),Ro(0,"g",4)),2&t){const t=Vo();ko("name",t.gradientId)("stops",t.gradientStops)}}function kR(t,e){if(1&t&&(an(),Ro(0,"g",5)),2&t){const t=Vo();Qo("active",t.isActive(t.data))("inactive",t.isInactive(t.data)),ko("data",t.data)("path",t.outerPath)("fill",t.hasGradient?t.gradientUrl:t.colors.getColor(t.data.name))("opacity",t.rangeFillOpacity)("animations",t.animations)}}let AR=(()=>{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const i of n)t.instance[i]=e.inputs[i]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const i of n)t.instance[i]=e.outputs[i]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const i=this.getComponentRootNode(n),r=new qx(i,this.componentFactoryResolver,this.applicationRef,this.injector),s=new $x(t),o=r.attach(s);return this.projectComponentBindings(o,e),o}}return t.\u0275fac=function(e){return new(e||t)(di(Au),di(ll),di(oo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function OR(t,e,n){let i,r,s;n=n||{};let o=null,a=0;function l(){a=!1===n.leading?0:+new Date,o=null,s=t.apply(i,r)}return function(){const c=+new Date;a||!1!==n.leading||(a=c);const u=e-(c-a);return i=this,r=arguments,u<=0?(clearTimeout(o),o=null,a=c,s=t.apply(i,r)):o||!1===n.trailing||(o=setTimeout(l,u)),s}}var DR=(()=>(function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t.Center="center"}(DR||(DR={})),DR))();function RR(t,e,n){return n===DR.Top?t.top-7:n===DR.Bottom?t.top+t.height-e.height+7:n===DR.Center?t.top+t.height/2-e.height/2:void 0}function PR(t,e,n){return n===DR.Left?t.left-7:n===DR.Right?t.left+t.width-e.width+7:n===DR.Center?t.left+t.width/2-e.width/2:void 0}class MR{static calculateVerticalAlignment(t,e,n){let i=RR(t,e,n);return i+e.height>window.innerHeight&&(i=window.innerHeight-e.height),i}static calculateVerticalCaret(t,e,n,i){let r;i===DR.Top&&(r=t.height/2-n.height/2+7),i===DR.Bottom&&(r=e.height-t.height/2-n.height/2-7),i===DR.Center&&(r=e.height/2-n.height/2);const s=RR(t,e,i);return s+e.height>window.innerHeight&&(r+=s+e.height-window.innerHeight),r}static calculateHorizontalAlignment(t,e,n){let i=PR(t,e,n);return i+e.width>window.innerWidth&&(i=window.innerWidth-e.width),i}static calculateHorizontalCaret(t,e,n,i){let r;i===DR.Left&&(r=t.width/2-n.width/2+7),i===DR.Right&&(r=e.width-t.width/2-n.width/2-7),i===DR.Center&&(r=e.width/2-n.width/2);const s=PR(t,e,i);return s+e.width>window.innerWidth&&(r+=s+e.width-window.innerWidth),r}static shouldFlip(t,e,n,i){let r=!1;return n===DR.Right&&t.left+t.width+e.width+i>window.innerWidth&&(r=!0),n===DR.Left&&t.left-e.width-i<0&&(r=!0),n===DR.Top&&t.top-e.height-i<0&&(r=!0),n===DR.Bottom&&t.top+t.height+e.height+i>window.innerHeight&&(r=!0),r}static positionCaret(t,e,n,i,r){let s=0,o=0;return t===DR.Right?(o=-7,s=MR.calculateVerticalCaret(n,e,i,r)):t===DR.Left?(o=e.width,s=MR.calculateVerticalCaret(n,e,i,r)):t===DR.Top?(s=e.height,o=MR.calculateHorizontalCaret(n,e,i,r)):t===DR.Bottom&&(s=-7,o=MR.calculateHorizontalCaret(n,e,i,r)),{top:s,left:o}}static positionContent(t,e,n,i,r){let s=0,o=0;return t===DR.Right?(o=n.left+n.width+i,s=MR.calculateVerticalAlignment(n,e,r)):t===DR.Left?(o=n.left-e.width-i,s=MR.calculateVerticalAlignment(n,e,r)):t===DR.Top?(s=n.top-e.height-i,o=MR.calculateHorizontalAlignment(n,e,r)):t===DR.Bottom&&(s=n.top+n.height+i,o=MR.calculateHorizontalAlignment(n,e,r)),{top:s,left:o}}static determinePlacement(t,e,n,i){if(MR.shouldFlip(n,e,t,i)){if(t===DR.Right)return DR.Left;if(t===DR.Left)return DR.Right;if(t===DR.Top)return DR.Bottom;if(t===DR.Bottom)return DR.Top}return t}}let LR=(()=>{class t{constructor(t,e,n){this.element=t,this.renderer=e,this.platformId=n}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!Kh(this.platformId))return;const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:i,left:r}=MR.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${i}px`),this.renderer.setStyle(t,"left",`${r}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,i=n.getBoundingClientRect(),{top:r,left:s}=MR.positionCaret(this.placement,e,t,i,this.alignment);this.renderer.setStyle(n,"top",`${r}px`),this.renderer.setStyle(n,"left",`${s}px`)}checkFlip(t,e){this.placement=MR.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(gl),To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&Lc(xD,5),2&t){let t;Mc(t=Ic())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&Fo("resize",function(){return e.onWindowResize()},!1,nr),2&t&&Ko(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){var n;1&t&&(Oo(0,"div"),Ro(1,"span",0,1),Oo(3,"div",2),So(4,ED,2,4,"span",3),So(5,TD,1,1,"span",4),Do(),Do()),2&t&&(Zr(1),"tooltip-caret position-",n=e.placement,"",Jo(ni,Zo,Co(De(),"tooltip-caret position-",n,""),!0),ko("hidden",!e.showCaret),Zr(3),ko("ngIf",!e.title),Zr(1),ko("ngIf",e.title))},directives:[$h,qh],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);s>3&&o&&Object.defineProperty(e,n,o)}([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:OR(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),FR=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=LR}}return t.\u0275fac=function(e){return new(e||t)(di(AR))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();var IR=(()=>(function(t){t.Right="right",t.Below="below"}(IR||(IR={})),IR))(),NR=(()=>(function(t){t.ScaleLegend="scaleLegend",t.Legend="legend"}(NR||(NR={})),NR))(),VR=(()=>(function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right"}(VR||(VR={})),VR))(),jR=(()=>(function(t){t.Start="start",t.Middle="middle",t.End="end"}(jR||(jR={})),jR))(),UR=(()=>(function(t){t.Time="time",t.Linear="linear",t.Ordinal="ordinal",t.Quantile="quantile"}(UR||(UR={})),UR))();let HR=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new bc,this.legendLabelActivate=new bc,this.legendLabelDeactivate=new bc,this.LegendPosition=IR,this.LegendType=NR}ngOnChanges(t){this.update()}update(){let t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&this.legendOptions.position!==IR.Right||(t=this.legendType===NR.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==IR.Right?this.chartWidth:Math.floor(this.view[0]*t/12)}getLegendType(){return this.legendOptions.scaleType===UR.Linear?NR.ScaleLegend:NR.Legend}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[sl([FR]),ae],ngContentSelectors:OD,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(Uo(),Oo(0,"div",0),an(),Oo(1,"svg",1),Ho(2),Do(),So(3,kD,1,5,"ngx-charts-scale-legend",2),So(4,AD,1,7,"ngx-charts-legend",3),Do()),2&t&&(Yo("width",e.view[0],"px"),ko("@animationState","active")("@.disabled",!e.animations),Zr(1),xo("width",e.chartWidth)("height",e.view[1]),Zr(2),ko("ngIf",e.showLegend&&e.legendType===e.LegendType.ScaleLegend),Zr(1),ko("ngIf",e.showLegend&&e.legendType===e.LegendType.Legend))},directives:function(){return[$h,bP,_P]},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({opacity:0}),Tp("500ms 100ms",Ap({opacity:1}))])])]},changeDetection:0}),t})(),$R=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new bc,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const t=()=>{if(!this.element)return;const{offsetHeight:e,offsetWidth:n}=this.element.nativeElement;e&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t())})}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu))},t.\u0275dir=Gt({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})();function zR(t){return"[object Date]"===toString.call(t)}let BR=(()=>{class t{constructor(t,e,n,i){this.chartElement=t,this.zone=e,this.cd=n,this.platformId=i,this.scheme="cool",this.schemeType=UR.Ordinal,this.animations=!0,this.select=new bc}ngOnInit(){"server"===this.platformId&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new $R(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(t){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let t,e;const n=this.chartElement.nativeElement;if(Kh(this.platformId)&&null!==n.parentNode){const i=n.parentNode.getBoundingClientRect();t=i.width,e=i.height}return t&&e?{width:t,height:e}:null}formatDates(){for(let t=0;t<this.results.length;t++){const e=this.results[t];if(e.label=e.name,zR(e.label)&&(e.label=e.label.toLocaleDateString()),e.series)for(let t=0;t<e.series.length;t++){const n=e.series[t];n.label=n.name,zR(n.label)&&(n.label=n.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!Kh(this.platformId))return;const t=Ww(window,"resize").pipe(function(t,e=Zw){return n=>n.lift(new Wx(t,e))}(200)).subscribe(t=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=t}cloneData(t){const e=[];for(const n of t){const t={name:n.name};if(void 0!==n.value&&(t.value=n.value),void 0!==n.series){t.series=[];for(const e of n.series){const n=Object.assign({},e);t.series.push(n)}}void 0!==n.extra&&(t.extra=JSON.parse(JSON.stringify(n.extra))),e.push(t)}return e}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(lu),To(Vl),To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[ae],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"div")},encapsulation:2}),t})(),qR=(()=>{class t{constructor(t){this.textHeight=25,this.margin=5,this.element=t.nativeElement}ngOnChanges(t){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case VR.Top:case VR.Bottom:this.y=this.offset,this.x=this.width/2;break;case VR.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case VR.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[ae],attrs:DD,decls:2,vars:6,template:function(t,e){1&t&&(an(),Oo(0,"text"),la(1),Do()),2&t&&(xo("stroke-width",e.strokeWidth)("x",e.x)("y",e.y)("text-anchor",e.textAnchor)("transform",e.transform),Zr(1),ua(" ",e.label," "))},encapsulation:2,changeDetection:0}),t})();function WR(t,e=16){return"string"!=typeof t?"number"==typeof t?t+"":"":(t=t.trim()).length<=e?t:`${t.slice(0,e)}...`}function GR(t,e){if(t.length>e){const n=[],i=Math.floor(t.length/e);for(let e=0;e<t.length;e++)e%i==0&&n.push(t[e]);t=n}return t}let YR=(()=>{class t{constructor(t){this.platformId=t,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new bc,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=jR.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!Kh(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);t!==this.height&&(this.height=t,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const t=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()};const e=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(t){return this.scale(t)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",e&&0!==e?(this.textTransform=`rotate(${e})`,this.textAnchor=jR.End,this.verticalSpacing=10):this.textAnchor=jR.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(t){let e=0;this.maxTicksLength=0;for(let s=0;s<t.length;s++){const e=this.tickFormat(t[s]).toString();let n=e.length;this.trimTicks&&(n=this.tickTrim(e).length),n>this.maxTicksLength&&(this.maxTicksLength=n)}const n=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let i=n;const r=Math.floor(this.width/t.length);for(;i>r&&e>-90;)e-=30,i=Math.cos(e*(Math.PI/180))*n;return this.approxHeight=Math.max(Math.abs(Math.sin(e*(Math.PI/180))*n),10),e}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(100);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=GR(t,e)),t}getMaxTicks(t){return Math.floor(this.width/t)}tickTransform(t){return"translate("+this.adjustedScale(t)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(t){return this.trimTicks?WR(t,this.maxTickLength):t}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&Lc(RD,5),2&t){let t;Mc(t=Ic())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",rotateTicks:"rotateTicks",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineHeight:"gridLineHeight",width:"width"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:PD,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(t,e){1&t&&(an(),Oo(0,"g",null,0),So(2,MD,5,7,"g",1),Do(),So(3,FD,2,2,"g",2)),2&t&&(Zr(2),ko("ngForOf",e.ticks),Zr(1),ko("ngForOf",e.ticks))},directives:[Uh,$h],encapsulation:2,changeDetection:0}),t})(),QR=(()=>{class t{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=VR.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new bc,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.Orientation=VR}ngOnChanges(t){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:t}){const e=t+25+5;e!==this.labelOffset&&(this.labelOffset=e,setTimeout(()=>{this.dimensionsChanged.emit({height:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(t,e){if(1&t&&Lc(YR,5),2&t){let t;Mc(t=Ic())&&(e.ticksComponent=t.first)}},inputs:{rotateTicks:"rotateTicks",showGridLines:"showGridLines",xOrient:"xOrient",xAxisOffset:"xAxisOffset",xScale:"xScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:ID,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),So(1,ND,1,12,"g",0),So(2,VD,1,5,"g",1),Do()),2&t&&(xo("class",e.xAxisClassName)("transform",e.transform),Zr(1),ko("ngIf",e.xScale),Zr(1),ko("ngIf",e.showLabel))},directives:[$h,YR,qR],encapsulation:2,changeDetection:0}),t})(),KR=(()=>{class t{constructor(t){this.platformId=t,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new bc,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=jR.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=VR}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!Kh(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);t!==this.width&&(this.width=t,this.dimensionsChanged.emit({width:t}),setTimeout(()=>this.updateDims()))}update(){let t;const e=this.orient===VR.Top||this.orient===VR.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,t=this.scale,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()},this.adjustedScale=t.bandwidth?function(e){return t(e)+.5*t.bandwidth()}:t,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case VR.Top:case VR.Bottom:this.transform=function(t){return"translate("+this.adjustedScale(t)+",0)"},this.textAnchor=jR.Middle,this.y2=this.innerTickSize*e,this.y1=this.tickSpacing*e,this.dy=e<0?"0em":".71em";break;case VR.Left:this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor=jR.End,this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em";break;case VR.Right:this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor=jR.Start,this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(t=>t.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(t=>t.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=function(t,e,n,i,r,[s,o,a,l]){let c="";return c=`M${[t+r,e]}`,c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=o?`a${[r,r]} 0 0 1 ${[r,r]}`:`h${r}v${r}`,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=l?`a${[r,r]} 0 0 1 ${[-r,r]}`:`v${r}h${-r}`,c+="h"+(2*r-n),c+=a?`a${[r,r]} 0 0 1 ${[-r,-r]}`:`h${-r}v${-r}`,c+="v"+(2*r-i),c+=s?`a${[r,r]} 0 0 1 ${[r,-r]}`:`v${-r}h${r}`,c+="z",c}(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(50);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=GR(t,e)),t}getMaxTicks(t){return Math.floor(this.height/t)}tickTransform(t){return`translate(${this.adjustedScale(t)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(t){return this.trimTicks?WR(t,this.maxTickLength):t}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(t=>this.tickTrim(this.tickFormat(t)).length))}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&Lc(RD,5),2&t){let t;Mc(t=Ic())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:jD,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(t,e){1&t&&(an(),Oo(0,"g",null,0),So(2,UD,5,9,"g",1),Do(),So(3,HD,1,2,"path",2),So(4,qD,2,2,"g",3),So(5,YD,2,1,"g",3)),2&t&&(Zr(2),ko("ngForOf",e.ticks),Zr(1),ko("ngIf",e.referenceLineLength>1&&e.refMax&&e.refMin&&e.showRefLines),Zr(1),ko("ngForOf",e.ticks),Zr(1),ko("ngForOf",e.referenceLines))},directives:[Uh,$h],encapsulation:2,changeDetection:0}),t})(),ZR=(()=>{class t{constructor(){this.showGridLines=!1,this.yOrient=VR.Left,this.yAxisOffset=0,this.dimensionsChanged=new bc,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(t){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===VR.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):(this.offset=this.offset,this.transform=`translate(${this.offset} , 0)`),void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:t}){t!==this.labelOffset&&this.yOrient===VR.Right?(this.labelOffset=t+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0)):t!==this.labelOffset&&(this.labelOffset=t,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(t,e){if(1&t&&Lc(KR,5),2&t){let t;Mc(t=Ic())&&(e.ticksComponent=t.first)}},inputs:{showGridLines:"showGridLines",yOrient:"yOrient",yAxisOffset:"yAxisOffset",yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[ae],attrs:QD,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),So(1,KD,1,14,"g",0),So(2,ZD,1,5,"g",1),Do()),2&t&&(xo("class",e.yAxisClassName)("transform",e.transform),Zr(1),ko("ngIf",e.yScale),Zr(1),ko("ngIf",e.showLabel))},directives:[$h,KR,qR],encapsulation:2,changeDetection:0}),t})(),XR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh]]}),t})();var JR=(()=>(function(t){t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip"}(JR||(JR={})),JR))(),tP=(()=>(function(t){t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover"}(tP||(tP={})),tP))();let eP=(()=>{class t{constructor(t,e,n){this.tooltipService=t,this.viewContainerRef=e,this.renderer=n,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=DR.Top,this.tooltipAlignment=DR.Center,this.tooltipType=JR.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=tP.all,this.tooltipImmediateExit=!1,this.show=new bc,this.hide=new bc}get listensForFocus(){return this.tooltipShowEvent===tP.all||this.tooltipShowEvent===tP.focus}get listensForHover(){return this.tooltipShowEvent===tP.all||this.tooltipShowEvent===tP.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(t){if(this.component||this.tooltipDisabled)return;const e=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const t=this.createBoundOptions();this.component=this.tooltipService.create(t),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},e)}addHideListeners(t){this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",e=>{t.contains(e.target)||this.hideTooltip()}))}hideTooltip(t=!1){if(!this.component)return;const e=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return t.\u0275fac=function(e){return new(e||t)(To(FR),To(Kl),To(gl))},t.\u0275dir=Gt({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&Fo("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),t})(),nP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({providers:[AR,FR],imports:[[Qh]]}),t})();function iP(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}function rP(t){return t.toLocaleString().replace(/[&'`"<>]/g,t=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[t]))}const sP={};function oP(){let t=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return t=`a${t}`,sP[t]?oP():(sP[t]=!0,t)}var aP=(()=>(function(t){t.Standard="standard",t.Stacked="stacked"}(aP||(aP={})),aP))();let lP=(()=>{class t{constructor(){this.type=aP.Standard,this.tooltipDisabled=!1,this.select=new bc,this.activate=new bc,this.deactivate=new bc,this.barVisible=!1}ngOnInit(){this.gradientId="grad"+oP().toString(),this.gradientFill=`url(#${this.gradientId})`}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const t=this.data.series.findIndex(t=>{const e=t.name;return e&&this.visibleValue&&e.toString()===this.visibleValue.toString()&&void 0!==t.value});if(-1!==t)return this.mapDataPointToCircle(this.data.series[t],t)}mapDataPointToCircle(t,e){const n=this.data.name,i=t.value,r=t.name,s=iP(r);let o;o=this.xScale(this.scaleType===UR.Time?r:this.scaleType===UR.Linear?Number(r):r);const a=this.yScale(this.type===aP.Standard?i:t.d1),l=this.yScale.range()[0]-a;let c;return c=this.colors.getColor(this.colors.scaleType===UR.Linear?this.type===aP.Standard?i:t.d1:n),{classNames:[`circle-data-${e}`],value:i,label:r,data:Object.assign({},t,{series:n,value:i,name:r}),cx:o,cy:a,radius:5,height:l,tooltipLabel:s,color:c,opacity:1,seriesName:n,gradientStops:this.getGradientStops(c),min:t.min,max:t.max}}getTooltipText({tooltipLabel:t,value:e,seriesName:n,min:i,max:r}){return`\n <span class="tooltip-label">${rP(n)} \u2022 ${rP(t)}</span>\n <span class="tooltip-val">${e.toLocaleString()}${this.getTooltipMinMaxText(i,r)}</span>\n `}getTooltipMinMaxText(t,e){if(void 0!==t||void 0!==e){let n=" (";return void 0!==t?(void 0===e&&(n+="\u2265"),n+=t.toLocaleString(),void 0!==e&&(n+=" - ")):void 0!==e&&(n+="\u2264"),void 0!==e&&(n+=e.toLocaleString()),n+=")",n}return""}getGradientStops(t){return[{offset:0,color:t,opacity:.2},{offset:100,color:t,opacity:1}]}onClick(t){this.select.emit(t)}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.name===e.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-circle-series",""]],inputs:{type:"type",tooltipDisabled:"tooltipDisabled",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[ae],attrs:XD,decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(t,e){1&t&&So(0,eR,5,20,"g",0),2&t&&ko("ngIf",e.circle)},directives:function(){return[$h,dP,cP,eP]},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({opacity:0}),Tp(250,Ap({opacity:1}))])])]},changeDetection:0}),t})(),cP=(()=>{class t{constructor(){this.select=new bc,this.activate=new bc,this.deactivate=new bc}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(t){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(t,e){1&t&&Fo("click",function(){return e.onClick()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{classNames:"classNames",cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[ae],attrs:nR,decls:1,vars:8,template:function(t,e){1&t&&(an(),Ro(0,"circle")),2&t&&xo("cx",e.cx)("cy",e.cy)("r",e.r)("fill",e.fill)("stroke",e.stroke)("opacity",e.circleOpacity)("class",e.classNames)("pointer-events",e.pointerEvents)},encapsulation:2,changeDetection:0}),t})();var uP=(()=>(function(t){t.Vertical="vertical",t.Horizontal="horizontal"}(uP||(uP={})),uP))();let hP,dP=(()=>{class t{constructor(){this.orientation=uP.Vertical}ngOnChanges(t){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===uP.Horizontal?this.x2="100%":this.orientation===uP.Vertical&&(this.y1="100%")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[ae],attrs:iR,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(an(),Oo(0,"linearGradient",0),So(1,rR,1,5,"stop",1),Do()),2&t&&(ko("id",e.name),xo("x1",e.x1)("y1",e.y1)("x2",e.x2)("y2",e.y2),Zr(1),ko("ngForOf",e.stops))},directives:[Uh],encapsulation:2,changeDetection:0}),t})(),fP=(()=>{class t{constructor(t){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new bc,this.initialized=!1,this.hasGradient=!1,this.element=t.nativeElement}ngOnChanges(){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)}update(){this.gradientId="grad"+oP().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.update.bind(this),100)}updatePathEl(){const t=cS(this.element).select(".area");this.animations?t.transition().duration(750).attr("d",this.path):t.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-area",""]],inputs:{opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",animations:"animations",data:"data",path:"path",startingPath:"startingPath",fill:"fill",stops:"stops"},outputs:{select:"select"},features:[ae],attrs:sR,decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"]],template:function(t,e){1&t&&(So(0,oR,2,2,"defs",0),an(),Ro(1,"path",1)),2&t&&(ko("ngIf",e.gradient),Zr(1),Yo("opacity",e.opacity),xo("d",e.areaPath)("fill",e.gradient?e.gradientFill:e.fill))},directives:[$h,dP],encapsulation:2,changeDetection:0}),t})();"undefined"!=typeof window?hP=window:"undefined"!=typeof global&&(hP=global);const pP=hP.MouseEvent;function gP(t,e=!1,n=!0){if("function"==typeof pP)return new pP(t,{bubbles:e,cancelable:n});{const i=document.createEvent("MouseEvent");return i.initEvent(t,e,n),i}}let mP=(()=>{class t{constructor(t){this.platformId=t,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new bc}getValues(t){const e=[];for(const n of this.results){const i=n.series.find(e=>e.name.toString()===t.toString());let r=n.name;if(r instanceof Date&&(r=r.toLocaleDateString()),i){const t=i.name;let s,o=i.value;if(this.showPercentage&&(o=(i.d1-i.d0).toFixed(2)+"%"),this.colors.scaleType===UR.Linear){let t=o;i.d1&&(t=i.d1),s=this.colors.getColor(t)}else s=this.colors.getColor(n.name);const a=Object.assign({},i,{value:o,name:t,series:r,min:i.min,max:i.max,color:s});e.push(a)}}return e}mouseMove(t){if(!Kh(this.platformId))return;const e=t.pageX-t.target.getBoundingClientRect().left,n=this.findClosestPointIndex(e),i=this.xSet[n];if(this.anchorPos=this.xScale(i),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(i),this.anchorPos!==this.lastAnchorPos){const t=gP("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(t),this.anchorOpacity=.7,this.hover.emit({value:i}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(t){let e=0,n=this.xSet.length-1,i=Number.MAX_VALUE,r=0;for(;e<=n;){const s=(e+n)/2|0,o=this.xScale(this.xSet[s]),a=Math.abs(o-t);if(a<i&&(i=a,r=s),o<t)e=s+1;else{if(!(o>t)){i=0,r=s;break}n=s-1}}return r}showTooltip(){const t=gP("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(t)}hideTooltip(){const t=gP("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(t),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(t){let e="";return e+=void 0!==t.series?t.series:"???",e+=": ",void 0!==t.value&&(e+=t.value.toLocaleString()),void 0===t.min&&void 0===t.max||(e+=" (",void 0!==t.min?(void 0===t.max&&(e+="\u2265"),e+=t.min.toLocaleString(),void 0!==t.max&&(e+=" - ")):void 0!==t.max&&(e+="\u2264"),void 0!==t.max&&(e+=t.max.toLocaleString()),e+=")"),e}}return t.\u0275fac=function(e){return new(e||t)(To(Gc))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(t,e){if(1&t&&Lc(aR,5),2&t){let t;Mc(t=Ic())&&(e.tooltipAnchor=t.first)}},inputs:{showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:lR,decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(t,e){if(1&t&&(an(),Oo(0,"g"),Oo(1,"rect",0),Fo("mousemove",function(t){return e.mouseMove(t)})("mouseleave",function(){return e.hideTooltip()}),Do(),So(2,uR,2,1,"ng-template",null,1,Uc),Ro(4,"rect",2,3),Do()),2&t){const t=Eo(3);Zr(1),xo("x",0)("width",e.dims.width)("height",e.dims.height),Zr(3),Yo("opacity",e.anchorOpacity)("pointer-events","none"),ko("@animationState",0!==e.anchorOpacity?"active":"inactive")("tooltipDisabled",e.tooltipDisabled)("tooltipPlacement","right")("tooltipType","tooltip")("tooltipSpacing",15)("tooltipTemplate",e.tooltipTemplate?e.tooltipTemplate:t)("tooltipContext",e.anchorValues)("tooltipImmediateExit",!0),xo("x",e.anchorPos)("width",1)("height",e.dims.height)}},directives:[eP,Uh],encapsulation:2,data:{animation:[Ep("animationState",[Op("inactive => active",[Ap({opacity:0}),Tp(250,Ap({opacity:.7}))]),Op("active => inactive",[Ap({opacity:.7}),Tp(250,Ap({opacity:0}))])])]},changeDetection:0}),t})();var yP=(()=>(function(t){t.Time="time",t.Linear="linear",t.Ordinal="ordinal"}(yP||(yP={})),yP))();let vP=(()=>{class t{constructor(t,e){this.cd=e,this.height=50,this.select=new bc,this.onDomainChange=new bc,this.initialized=!1,this.element=t.nativeElement}ngOnChanges(t){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const t=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${t})`,this.filterId="filter"+oP().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let t=[];for(const n of this.results)for(const e of n.series)t.includes(e.name)||t.push(e.name);let e=[];return this.scaleType===yP.Time?e=[Math.min(...t),Math.max(...t)]:this.scaleType===yP.Linear?(t=t.map(t=>Number(t)),e=[Math.min(...t),Math.max(...t)]):e=t,e}getXScale(){let t;return this.scaleType===yP.Time?t=xO().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===yP.Linear?t=VO().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===yP.Ordinal&&(t=BO().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),t}addBrush(){if(this.brush)return;const t=this.height,e=this.view[0];this.brush=function(t){var e,n=BT,i=zT,r=qT,s=!0,o=mS("start","brush","end"),a=6;function l(e){var n=e.property("__brush",g).selectAll(".overlay").data([$T("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",NT.overlay).merge(n).each(function(){var t=WT(this).extent;cS(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([$T("selection")]).enter().append("rect").attr("class","selection").attr("cursor",NT.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=e.selectAll(".handle").data(t.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return NT[t.type]}),e.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(r).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=cS(this),e=WT(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]-a/2:e[0][0]-a/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-a/2:e[0][1]-a/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+a:a}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+a:a})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(t,e,n){var i=t.__brush.emitter;return!i||n&&i.clean?new h(t,e,n):i}function h(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function d(n){if((!e||n.touches)&&i.apply(this,arguments)){var r,o,a,l,h,d,f,p,g,m,y,v=this,_=n.target.__data__.type,w="selection"===(s&&n.metaKey?_="overlay":_)?TT:s&&n.altKey?OT:AT,b=t===IT?null:UT[_],x=t===FT?null:HT[_],C=WT(v),S=C.extent,E=C.selection,T=S[0][0],k=S[0][1],A=S[1][0],O=S[1][1],D=0,R=0,P=b&&x&&s&&n.shiftKey,M=Array.from(n.touches||[n],t=>{const e=t.identifier;return(t=hE(t,v)).point0=t.slice(),t.identifier=e,t});if("overlay"===_){E&&(g=!0);const e=[M[0],M[1]||M[0]];C.selection=E=[[r=t===IT?T:PT(e[0][0],e[1][0]),a=t===FT?k:PT(e[0][1],e[1][1])],[h=t===IT?A:RT(e[0][0],e[1][0]),f=t===FT?O:RT(e[0][1],e[1][1])]],M.length>1&&j()}else r=E[0][0],a=E[0][1],h=E[1][0],f=E[1][1];o=r,l=a,d=h,p=f;var L=cS(v).attr("pointer-events","none"),F=L.selectAll(".overlay").attr("cursor",NT[_]);IE(v);var I=u(v,arguments,!0).beforestart();if(n.touches)I.moved=V,I.ended=U;else{var N=cS(n.view).on("mousemove.brush",V,!0).on("mouseup.brush",U,!0);s&&N.on("keydown.brush",H,!0).on("keyup.brush",$,!0),vS(n.view)}c.call(v),I.start(n,w.name)}function V(t){for(const e of t.changedTouches||[t])for(const t of M)t.identifier===e.identifier&&(t.cur=hE(e,v));if(P&&!m&&!y&&1===M.length){const t=M[0];DT(t.cur[0]-t[0])>DT(t.cur[1]-t[1])?y=!0:m=!0}for(const e of M)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);g=!0,ET(t),j(t)}function j(t){const e=M[0],n=e.point0;var i;switch(D=e[0]-n[0],R=e[1]-n[1],w){case kT:case TT:b&&(D=RT(T-r,PT(A-h,D)),o=r+D,d=h+D),x&&(R=RT(k-a,PT(O-f,R)),l=a+R,p=f+R);break;case AT:M[1]?(b&&(o=RT(T,PT(A,M[0][0])),d=RT(T,PT(A,M[1][0])),b=1),x&&(l=RT(k,PT(O,M[0][1])),p=RT(k,PT(O,M[1][1])),x=1)):(b<0?(D=RT(T-r,PT(A-r,D)),o=r+D,d=h):b>0&&(D=RT(T-h,PT(A-h,D)),o=r,d=h+D),x<0?(R=RT(k-a,PT(O-a,R)),l=a+R,p=f):x>0&&(R=RT(k-f,PT(O-f,R)),l=a,p=f+R));break;case OT:b&&(o=RT(T,PT(A,r-D*b)),d=RT(T,PT(A,h+D*b))),x&&(l=RT(k,PT(O,a-R*x)),p=RT(k,PT(O,f+R*x)))}d<o&&(b*=-1,i=r,r=h,h=i,i=o,o=d,d=i,_ in VT&&F.attr("cursor",NT[_=VT[_]])),p<l&&(x*=-1,i=a,a=f,f=i,i=l,l=p,p=i,_ in jT&&F.attr("cursor",NT[_=jT[_]])),C.selection&&(E=C.selection),m&&(o=E[0][0],d=E[1][0]),y&&(l=E[0][1],p=E[1][1]),E[0][0]===o&&E[0][1]===l&&E[1][0]===d&&E[1][1]===p||(C.selection=[[o,l],[d,p]],c.call(v),I.brush(t,w.name))}function U(t){if(ST(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500)}else _S(t.view,g),N.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);L.attr("pointer-events","all"),F.attr("cursor",NT.overlay),C.selection&&(E=C.selection),GT(E)&&(C.selection=null,c.call(v)),I.end(t,w.name)}function H(t){switch(t.keyCode){case 16:P=b&&x;break;case 18:w===AT&&(b&&(h=d-D*b,r=o+D*b),x&&(f=p-R*x,a=l+R*x),w=OT,j());break;case 32:w!==AT&&w!==OT||(b<0?h=d-D:b>0&&(r=o-D),x<0?f=p-R:x>0&&(a=l-R),w=kT,F.attr("cursor",NT.selection),j());break;default:return}ET(t)}function $(t){switch(t.keyCode){case 16:P&&(m=y=P=!1,j());break;case 18:w===OT&&(b<0?h=d:b>0&&(r=o),x<0?f=p:x>0&&(a=l),w=AT,j());break;case 32:w===kT&&(t.altKey?(b&&(h=d-D*b,r=o+D*b),x&&(f=p-R*x,a=l+R*x),w=OT):(b<0?h=d:b>0&&(r=o),x<0?f=p:x>0&&(a=l),w=AT),F.attr("cursor",NT[_]),j());break;default:return}ET(t)}}function f(t){u(this,arguments).moved(t)}function p(t){u(this,arguments).ended(t)}function g(){var e=this.__brush||{selection:null};return e.extent=LT(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.tween?e.on("start.brush",function(t){u(this,arguments).beforestart().start(t)}).on("interrupt.brush end.brush",function(t){u(this,arguments).end(t)}).tween("brush",function(){var e=this,i=e.__brush,r=u(e,arguments),s=i.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,i.extent),a=uE(s,o);function l(t){i.selection=1===t&&null===o?null:a(t),c.call(e),r.brush()}return null!==s&&null!==o?l:l(1)}):e.each(function(){var e=this,i=arguments,r=e.__brush,s=t.input("function"==typeof n?n.apply(e,i):n,r.extent),o=u(e,i).beforestart();IE(e),r.selection=null===s?null:s,c.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(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0==--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,i){var r=cS(this.that).datum();o.call(e,this.that,new CT(e,{sourceEvent:n,target:l,selection:t.output(this.state.selection),mode:i,dispatch:o}),r)}},l.extent=function(t){return arguments.length?(n="function"==typeof t?t:xT(LT(t)),l):n},l.filter=function(t){return arguments.length?(i="function"==typeof t?t:xT(!!t),l):i},l.touchable=function(t){return arguments.length?(r="function"==typeof t?t:xT(!!t),l):r},l.handleSize=function(t){return arguments.length?(a=+t,l):a},l.keyModifiers=function(t){return arguments.length?(s=!!t,l):s},l.on=function(){var t=o.on.apply(o,arguments);return t===o?l:t},l}(FT).extent([[0,0],[e,t]]).on("brush end",({selection:t})=>{const e=(t||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(e),this.cd.markForCheck()}),cS(this.element).select(".brush").call(this.brush)}updateBrush(){this.brush&&(this.brush.extent([[0,0],[this.view[0],this.height]]),cS(this.element).select(".brush").call(this.brush),cS(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck())}getDims(){return{width:this.view[0],height:this.height}}}return t.\u0275fac=function(e){return new(e||t)(To(dl),To(Vl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-timeline",""]],inputs:{height:"height",view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[ae],attrs:hR,ngContentSelectors:OD,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(t,e){1&t&&(Uo(),an(),Oo(0,"g",0),Oo(1,"filter"),Ro(2,"feColorMatrix",1),Do(),Oo(3,"g",2),Ho(4),Do(),Ro(5,"rect",3),Ro(6,"g",4),Do()),2&t&&(xo("transform",e.transform),Zr(1),xo("id",e.filterId),Zr(4),xo("width",e.view[0])("height",e.height))},styles:[".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"],encapsulation:2,changeDetection:0}),t})(),_P=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new bc,this.labelActivate=new bc,this.labelDeactivate=new bc,this.legendEntries=[]}ngOnChanges(t){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const t=[];for(const e of this.data){const n=iP(e);-1===t.findIndex(t=>t.label===n)&&t.push({label:e,formattedLabel:n,color:this.colors.getColor(e)})}return t}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.label===e.name)}activate(t){this.labelActivate.emit(t)}deactivate(t){this.labelDeactivate.emit(t)}trackBy(t,e){return e.label}}return t.\u0275fac=function(e){return new(e||t)(To(Vl))},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-legend"]],inputs:{horizontal:"horizontal",data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[ae],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(t,e){1&t&&(Oo(0,"div"),So(1,dR,3,1,"header",0),Oo(2,"div",1),Oo(3,"ul",2),So(4,fR,2,4,"li",3),Do(),Do(),Do()),2&t&&(Yo("width",e.width,"px"),Zr(1),ko("ngIf",(null==e.title?null:e.title.length)>0),Zr(2),Yo("max-height",e.height-45,"px"),Qo("horizontal-legend",e.horizontal),Zr(1),ko("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[$h,Uh,wP]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t})(),wP=(()=>{class t{constructor(){this.isActive=!1,this.select=new bc,this.activate=new bc,this.deactivate=new bc,this.toggle=new bc}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&Fo("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(Oo(0,"span",0),Fo("click",function(){return e.select.emit(e.formattedLabel)}),Oo(1,"span",1),Fo("click",function(){return e.toggle.emit(e.formattedLabel)}),Do(),Oo(2,"span",2),la(3),Do(),Do()),2&t&&(Qo("active",e.isActive),ko("title",e.formattedLabel),Zr(1),Yo("background-color",e.color),Zr(2),ua(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),bP=(()=>{class t{constructor(){this.horizontal=!1}ngOnChanges(t){const e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${e})`}gradientString(t,e){e.push(1);const n=[];return t.reverse().forEach((t,i)=>{n.push(`${t} ${Math.round(100*e[i])}%`)}),n.join(", ")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[ae],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(Oo(0,"div",0),Oo(1,"div",1),Oo(2,"span"),la(3),Do(),Do(),Ro(4,"div",2),Oo(5,"div",1),Oo(6,"span"),la(7),Do(),Do(),Do()),2&t&&(Yo("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),Qo("horizontal-legend",e.horizontal),Zr(3),ca(e.valueRange[1].toLocaleString()),Zr(1),Yo("background",e.gradient),Zr(3),ca(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t})(),xP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[Qh,XR,nP],Qh,XR,nP]}),t})(),CP=[{name:"vivid",selectable:!0,group:UR.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:UR.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:UR.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:UR.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:UR.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:UR.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:UR.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:UR.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:UR.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:UR.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:UR.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:UR.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:UR.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:UR.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:UR.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class SP{constructor(t,e,n,i){"string"==typeof t&&(t=CP.find(e=>e.name===t)),this.colorDomain=t.domain,this.scaleType=e,this.domain=n,this.customColors=i,this.scale=this.generateColorScheme(t,e,this.domain)}generateColorScheme(t,e,n){let i;if("string"==typeof t&&(t=CP.find(e=>e.name===t)),e===UR.Quantile)i=WO().range(t.domain).domain(n);else if(e===UR.Ordinal)i=HO().range(t.domain).domain(n);else if(e===UR.Linear){const e=[...t.domain];1===e.length&&(e.push(e[0]),this.colorDomain=e);const n=jO(0,1,1/e.length);i=VO().domain(n).range(e)}return i}getColor(t){if(null==t)throw new Error("Value can not be null");if(this.scaleType===UR.Linear){const e=VO().domain(this.domain).range([0,1]);return this.scale(e(t))}{if("function"==typeof this.customColors)return this.customColors(t);const e=t.toString();let n;return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(t=>t.name.toLowerCase()===e.toLowerCase())),n?n.value:this.scale(t)}}getLinearGradientStops(t,e){void 0===e&&(e=this.domain[0]);const n=VO().domain(this.domain).range([0,1]),i=$O().domain(this.colorDomain).range([0,1]),r=this.getColor(t),s=n(e),o=this.getColor(e),a=n(t);let l=1,c=s;const u=[];for(u.push({color:o,offset:s,originalOffset:s,opacity:1});c<a&&l<this.colorDomain.length;){const t=this.colorDomain[l],e=i(t);if(e<=s)l++;else{if(e.toFixed(4)>=(a-i.bandwidth()).toFixed(4))break;u.push({color:t,offset:e,opacity:1}),c=e,l++}}if(u[u.length-1].offset<100&&u.push({color:r,offset:a,opacity:1}),a===s)u[0].offset=0,u[1].offset=100;else if(100!==u[u.length-1].offset)for(const h of u)h.offset=(h.offset-s)/(a-s)*100;return u}}let EP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),TP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),kP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),AP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),OP=(()=>{class t{constructor(t){this.element=t,this.fill="none",this.animations=!0,this.initialized=!1}ngOnChanges(t){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const t=cS(this.element.nativeElement).select(".line");this.animations?t.transition().duration(750).attr("d",this.path):t.attr("d",this.path)}}return t.\u0275fac=function(e){return new(e||t)(To(dl))},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-line",""]],inputs:{fill:"fill",animations:"animations",path:"path",stroke:"stroke",data:"data"},features:[ae],attrs:yR,decls:1,vars:4,consts:[["stroke-width","1.5px",1,"line"]],template:function(t,e){1&t&&(an(),Ro(0,"path",0)),2&t&&(ko("@animationState","active"),xo("d",e.initialPath)("fill",e.fill)("stroke",e.stroke))},encapsulation:2,data:{animation:[Ep("animationState",[Op(":enter",[Ap({strokeDasharray:2e3,strokeDashoffset:2e3}),Tp(1e3,Ap({strokeDashoffset:0}))])])]},changeDetection:0}),t})(),DP=(()=>{class t extends BR{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=IR.Right,this.showGridLines=!0,this.curve=YO,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new bc,this.deactivate=new bc,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10}update(){super.update(),this.dims=function({width:t,height:e,margins:n,showXAxis:i=!1,showYAxis:r=!1,xAxisHeight:s=0,yAxisWidth:o=0,showXLabel:a=!1,showYLabel:l=!1,showLegend:c=!1,legendType:u=UR.Ordinal,legendPosition:h=IR.Right,columns:d=12}){let f=n[3],p=t,g=e-n[0]-n[2];if(c&&h===IR.Right&&(d-=u===UR.Ordinal?2:1),p=p*d/12,p=p-n[1]-n[3],i&&(g-=5,g-=s,a)&&(g-=30),r&&(p-=5,p-=o,f+=o,f+=10,l)){const t=30;p-=t,f+=t}return p=Math.max(0,p),g=Math.max(0,g),{width:Math.floor(p),height:Math.floor(g),xOffset:Math.floor(f)}}({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+oP().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let t=function(t){const e=new Set;for(const n of t)for(const t of n.series)e.add(t.name);return Array.from(e)}(this.results);this.scaleType=function(t,e=!0){return e&&t.every(t=>t instanceof Date)?UR.Time:t.every(t=>"number"==typeof t)?UR.Linear:UR.Ordinal}(t);let e,n,i=[];return this.scaleType===UR.Linear&&(t=t.map(t=>Number(t))),this.scaleType!==UR.Time&&this.scaleType!==UR.Linear||(e=this.xScaleMin?this.xScaleMin:Math.min(...t),n=this.xScaleMax?this.xScaleMax:Math.max(...t)),this.scaleType===UR.Time?(i=[new Date(e),new Date(n)],this.xSet=[...t].sort((t,e)=>{const n=t.getTime(),i=e.getTime();return n>i?1:i>n?-1:0})):this.scaleType===UR.Linear?(i=[e,n],this.xSet=[...t].sort((t,e)=>t-e)):(i=t,this.xSet=t),i}getYDomain(){const t=[];for(const n of this.results)for(const e of n.series)t.indexOf(e.value)<0&&t.push(e.value),void 0!==e.min&&(this.hasRange=!0,t.indexOf(e.min)<0&&t.push(e.min)),void 0!==e.max&&(this.hasRange=!0,t.indexOf(e.max)<0&&t.push(e.max));const e=[...t];return this.autoScale||e.push(0),[this.yScaleMin?this.yScaleMin:Math.min(...e),this.yScaleMax?this.yScaleMax:Math.max(...e)]}getSeriesDomain(){return this.results.map(t=>t.name)}getXScale(t,e){let n;return this.scaleType===UR.Time?n=xO().range([0,e]).domain(t):this.scaleType===UR.Linear?(n=VO().range([0,e]).domain(t),this.roundDomains&&(n=n.nice())):this.scaleType===UR.Ordinal&&(n=BO().range([0,e]).padding(.1).domain(t)),n}getYScale(t,e){const n=VO().range([e,0]).domain(t);return this.roundDomains?n.nice():n}updateDomain(t){this.filteredDomain=t,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(t){this.hoveredVertical=t.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(t){this.select.emit(t)}trackBy(t,e){return e.name}setColors(){let t;t=this.schemeType===UR.Ordinal?this.seriesDomain:this.yDomain,this.colors=new SP(this.scheme,this.schemeType,t,this.customColors)}getLegendOptions(){const t={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return t.scaleType===UR.Ordinal?(t.domain=this.seriesDomain,t.colors=this.colors,t.title=this.legendTitle):(t.domain=this.yDomain,t.colors=this.colors.scale),t}updateYAxisWidth({width:t}){this.yAxisWidth=t,this.update()}updateXAxisHeight({height:t}){this.xAxisHeight=t,this.update()}onActivate(t){this.deactivateAll(),this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value)>-1||(this.activeEntries=[t],this.activate.emit({value:t,entries:this.activeEntries}))}onDeactivate(t){const e=this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value);this.activeEntries.splice(e,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:t,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const t of this.activeEntries)this.deactivate.emit({value:t,entries:[]});this.activeEntries=[]}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=Bn(t)))(n||t)}}(),t.\u0275cmp=Ht({type:t,selectors:[["ngx-charts-line-chart"]],contentQueries:function(t,e,n){if(1&t&&(Fc(n,pR,5),Fc(n,gR,5)),2&t){let t;Mc(t=Ic())&&(e.tooltipTemplate=t.first),Mc(t=Ic())&&(e.seriesTooltipTemplate=t.first)}},hostBindings:function(t,e){1&t&&Fo("mouseleave",function(){return e.hideCircles()})},inputs:{legendTitle:"legendTitle",legendPosition:"legendPosition",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",showRefLabels:"showRefLabels",legend:"legend",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",referenceLines:"referenceLines",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[lo],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(t,e){1&t&&(Oo(0,"ngx-charts-chart",0),Fo("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)}),an(),Oo(1,"defs"),Oo(2,"clipPath"),Ro(3,"rect"),Do(),Do(),Oo(4,"g",1),So(5,vR,1,10,"g",2),So(6,_R,1,12,"g",3),Oo(7,"g"),So(8,wR,2,11,"g",4),So(9,xR,3,9,"g",5),Do(),Do(),So(10,SR,2,13,"g",6),Do()),2&t&&(ko("view",dc(17,mR,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions)("activeEntries",e.activeEntries)("animations",e.animations),Zr(2),xo("id",e.clipPathId),Zr(1),xo("width",e.dims.width+10)("height",e.dims.height+10)("transform","translate(-5, -5)"),Zr(1),xo("transform",e.transform),Zr(1),ko("ngIf",e.xAxis),Zr(1),ko("ngIf",e.yAxis),Zr(1),xo("clip-path",e.clipPath),Zr(1),ko("ngForOf",e.results)("ngForTrackBy",e.trackBy),Zr(1),ko("ngIf",!e.tooltipDisabled),Zr(1),ko("ngIf",e.timeline&&"ordinal"!=e.scaleType))},directives:function(){return[HR,$h,Uh,QR,ZR,RP,mP,lP,vP]},styles:[".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"],encapsulation:2,data:{animation:[Ep("animationState",[Op(":leave",[Ap({opacity:1}),Tp(500,Ap({opacity:0}))])])]},changeDetection:0}),t})(),RP=(()=>{class t{constructor(){this.animations=!0}ngOnChanges(t){this.update()}update(){this.updateGradients();const t=this.sortData(this.data.series),e=this.getLineGenerator();this.path=e(t)||"";const n=this.getAreaGenerator();if(this.areaPath=n(t)||"",this.hasRange){const e=this.getRangeGenerator();this.outerPath=e(t)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const t=this.data.series.map(t=>t.value),e=Math.max(...t);e===Math.min(...t)&&(this.stroke=this.colors.getColor(e))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return oD().x(t=>{const e=t.name;let n;return n=this.xScale(this.scaleType===UR.Time?e:this.scaleType===UR.Linear?Number(e):e),n}).y(t=>this.yScale(t.value)).curve(this.curve)}getRangeGenerator(){return aD().x(t=>{const e=t.name;let n;return n=this.xScale(this.scaleType===UR.Time?e:this.scaleType===UR.Linear?Number(e):e),n}).y0(t=>this.yScale("number"==typeof t.min?t.min:t.value)).y1(t=>this.yScale("number"==typeof t.max?t.max:t.value)).curve(this.curve)}getAreaGenerator(){return aD().x(t=>this.xScale(t.name)).y0(()=>this.yScale.range()[0]).y1(t=>this.yScale(t.value)).curve(this.curve)}sortData(t){return this.scaleType===UR.Linear?function(t,e,n="asc"){return t.sort((t,i)=>"asc"===n?t[e]-i[e]:i[e]-t[e])}(t,"name"):this.scaleType===UR.Time?function(t,e,n="asc"){return t.sort((t,i)=>{const r=t[e].getTime(),s=i[e].getTime();return"asc"===n?r>s?1:s>r?-1:0:r>s?-1:s>r?1:0})}(t,"name"):function(t,e,n="asc",i){return t.sort((t,r)=>{const s=r[e],o=i.indexOf(t[e]),a=i.indexOf(s);return"asc"===n?o-a:a-o})}(t,"name","asc",this.xScale.domain())}updateGradients(){if(this.colors.scaleType===UR.Linear){this.hasGradient=!0,this.gradientId="grad"+oP().toString(),this.gradientUrl=`url(#${this.gradientId})`;const t=this.data.series.map(t=>t.value),e=Math.max(...t),n=Math.min(...t);this.gradientStops=this.colors.getLinearGradientStops(e,n),this.areaGradientStops=this.colors.getLinearGradientStops(e)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.name===e.name)}isInactive(t){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(e=>t.name===e.name)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["g","ngx-charts-line-series",""]],inputs:{animations:"animations",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange"},features:[ae],attrs:ER,decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","","orientation","vertical",3,"name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(t,e){1&t&&(an(),Oo(0,"g"),Oo(1,"defs"),So(2,TR,1,2,"g",0),Do(),Ro(3,"g",1),Ro(4,"g",2),So(5,kR,1,9,"g",3),Do()),2&t&&(Zr(2),ko("ngIf",e.hasGradient),Zr(1),Qo("active",e.isActive(e.data))("inactive",e.isInactive(e.data)),ko("data",e.data)("path",e.areaPath)("fill",e.hasGradient?e.gradientUrl:e.colors.getColor(e.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",e.areaGradientStops)("animations",e.animations),Zr(1),Qo("active",e.isActive(e.data))("inactive",e.isInactive(e.data)),ko("data",e.data)("path",e.path)("stroke",e.stroke)("animations",e.animations),Zr(1),ko("ngIf",e.hasRange))},directives:[$h,fP,OP,dP],encapsulation:2,changeDetection:0}),t})(),PP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})();Math;let MP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),LP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP,MP,PP]]}),t})(),FP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),IP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP]]}),t})(),NP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[[xP,MP,TP]]}),t})(),VP=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=ht({imports:[xP,EP,TP,kP,AP,PP,LP,FP,MP,IP,NP]}),t})(),jP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ht({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"router-outlet")},directives:[kw],styles:[""]}),t})();const UP={production:!1,name:"prod",apiUrl:"/api/v2/",headers:new Vd({"Content-Type":"application/json"})};class HP{constructor(t,e,n,i,r,s,o,a,l,c,u,h){this.id=t,this.uuid=e,this.name=n,this.date=i,this.description=r,this.muscles=[],this.musclesIds=[],this.musclesSecondary=[],this.musclesSecondaryIds=[],this.equipment=[],this.equipmentIds=[],this.images=[],this.categoryId=s,this.musclesIds=o,this.musclesSecondaryIds=a,this.equipmentIds=l,this.license=c,this.licenseAuthor=u,this.variations=h}}let $P=(()=>{class t{fromJson(t){return new HP(t.id,t.uuid,t.name,new Date(t.creation_date),t.description,t.category,t.muscles,t.muscles_secondary,t.equipment,t.license,t.license_author,t.variations)}toJson(t){return{id:t.id,name:t.name,description:t.description,category:t.categoryId,muscles:t.musclesIds,muscles_secondary:t.musclesSecondaryIds,equipment:t.equipmentIds}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class zP{constructor(t,e){this.id=t,this.name=e}}let BP=(()=>{class t{fromJson(t){return new zP(t.id,t.name)}toJson(t){return{id:t.id,name:t.name}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class qP{constructor(t,e,n){this.id=t,this.name=e,this.isFront=n}}let WP=(()=>{class t{fromJson(t){return new qP(t.id,t.name,t.is_front)}toJson(t){return{id:t.id,name:t.name,is_front:t.isFront}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class GP{constructor(t,e){this.id=t,this.name=e}}let YP=(()=>{class t{fromJson(t){return new GP(t.id,t.name)}toJson(t){return{id:t.id,name:t.name}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class QP{constructor(t,e,n,i){this.id=t,this.uuid=e,this.url=n,this.isMain=i}}let KP=(()=>{class t{fromJson(t){return new QP(t.id,t.uuid,t.image,t.is_main)}toJson(t){return{id:t.id,image:t.url,is_front:t.isMain}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ZP=(()=>{class t{constructor(t,e,n,i,r,s){this.http=t,this.exerciseAdapter=e,this.categoryAdapter=n,this.muscleAdapter=i,this.equipmentAdapter=r,this.exerciseImageAdapter=s,this.exerciseUrl=UP.apiUrl+"exercise",this.exerciseInfoUrl=UP.apiUrl+"exerciseinfo",this.categoryUrl=UP.apiUrl+"exercisecategory",this.muscleUrl=UP.apiUrl+"muscle",this.equipmentUrl=UP.apiUrl+"equipment",this.exercises=[],this.categories=[],this.muscles=[],this.equipment=[],this.loadBaseData()}loadBaseData(){this.http.get(this.categoryUrl).subscribe(t=>{for(const e of t.results)this.categories.push(this.categoryAdapter.fromJson(e))}),this.http.get(this.muscleUrl).subscribe(t=>{for(const e of t.results)this.muscles.push(this.muscleAdapter.fromJson(e))}),this.http.get(this.equipmentUrl).subscribe(t=>{for(const e of t.results)this.equipment.push(this.equipmentAdapter.fromJson(e))})}loadExercises(){return t=this,void 0,n=function*(){const t=yield this.http.get(this.exerciseInfoUrl,{params:{limit:10}}).toPromise();for(const e of t.results){const t=this.exerciseAdapter.fromJson(e);t.category=this.categoryAdapter.fromJson(e.category);for(const n of e.muscles)t.muscles.push(this.muscleAdapter.fromJson(n));for(const n of e.muscles_secondary)t.musclesSecondary.push(this.muscleAdapter.fromJson(n));for(const n of e.equipment)t.equipment.push(this.equipmentAdapter.fromJson(n));for(const n of e.images)t.images.push(this.exerciseImageAdapter.fromJson(n));this.exercises.push(t)}return this.exercises},new((e=void 0)||(e=Promise))(function(i,r){function s(t){try{a(n.next(t))}catch(e){r(e)}}function o(t){try{a(n.throw(t))}catch(e){r(e)}}function a(t){t.done?i(t.value):function(t){return t instanceof e?t:new e(function(e){e(t)})}(t.value).then(s,o)}a((n=n.apply(t,[])).next())});var t,e,n}getExercise(t){return this.exercises.find(e=>e.id===t)}getCategoryById(t){return this.categories.find(e=>e.id===t)}getMuscleById(t){return this.muscles.find(e=>e.id===t)}getEquipmentById(t){return this.equipment.find(e=>e.id===t)}updateExercise(t){}addExercise(t){}}return t.\u0275fac=function(e){return new(e||t)(di(tf),di($P),di(BP),di(WP),di(YP),di(KP))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class XP{constructor(t,e,n){this.date=t,this.weight=e,this.id=n}}let JP=(()=>{class t{fromJson(t){return new XP(new Date(t.date),parseFloat(t.weight),t.id)}toJson(t){return{id:t.id,name:t.date,weight:t.weight}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tM=(()=>{class t{constructor(){this.DJANGO_CSRF_COOKIE="csrftoken"}getCookie(t){let e=null;if(document.cookie&&""!==document.cookie){const n=document.cookie.split(";");for(let i=0;i<n.length;i++){const r=n[i].trim();if(r.substring(0,t.length+1)===t+"="){e=decodeURIComponent(r.substring(t.length+1));break}}}return e}get headers(){const t=this.getCookie(this.DJANGO_CSRF_COOKIE);let e=UP.headers;return null!=t&&(e=e.set("X-CSRFToken",t)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),eM=(()=>{class t{constructor(t,e,n){this.http=t,this.weightAdapter=e,this.authService=n,this.weightEntryUrl=UP.apiUrl+"weightentry/",this.weightChanged=new C,this.entries=[],this.loadWeightEntries()}get weightEntries(){return this.entries.slice()}sortEntries(){this.entries.sort((t,e)=>t.date>e.date?-1:1)}loadWeightEntries(){return this.http.get(this.weightEntryUrl,{params:{limit:500},headers:this.authService.headers}).subscribe(t=>{for(const e of t.results)this.entries.push(this.weightAdapter.fromJson(e));this.sortEntries(),this.weightChanged.next(this.weightEntries)}),this.weightEntries}updateWeightEntry(t,e){this.http.patch(this.weightEntryUrl+e+"/",t,{headers:this.authService.headers}).subscribe(t=>{const n=this.findIndexById(e);this.entries[n]=this.weightAdapter.fromJson(t),this.sortEntries(),this.weightChanged.next(this.weightEntries)})}addWeightEntry(t){this.http.post(this.weightEntryUrl,t,{headers:this.authService.headers}).subscribe(t=>{this.entries.push(this.weightAdapter.fromJson(t)),this.sortEntries(),this.weightChanged.next(this.weightEntries)})}deleteWeightEntry(t){this.http.delete(this.weightEntryUrl+t+"/",{headers:this.authService.headers}).subscribe(e=>{this.entries.forEach((e,n)=>{e.id==t&&this.entries.splice(n,1)}),this.weightChanged.next(this.weightEntries)})}findById(t){return this.entries.find(e=>e.id==t)}findIndexById(t){return this.entries.findIndex(e=>e.id==t)}}return t.\u0275fac=function(e){return new(e||t)(di(tf),di(JP),di(tM))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nM=(()=>{class t{constructor(t,e){this.service=t,this.formBuilder=e,this.closeEdit=new bc}ngOnInit(){this.weight||(console.log("this weight is not defined"),this.weight=new XP(new Date,0)),this.initForm()}initForm(){this.group=this.formBuilder.group({date:[this.weight.date.toISOString().split("T")[0],kf.required],weight:[this.weight.weight,[kf.required,kf.min(30),kf.max(300)]]})}onSubmit(){var t;this.group.invalid||((null===(t=this.weight)||void 0===t?void 0:t.id)?(console.log("editing weight entry "+this.weight.id),this.service.updateWeightEntry(this.group.value,this.weight.id)):(console.log("adding new weight entry"),this.service.addWeightEntry(this.group.value)),this.closeEdit.emit(),this.group.reset())}}return t.\u0275fac=function(e){return new(e||t)(To(eM),To(xp))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-edit"]],inputs:{weight:"weight"},outputs:{closeEdit:"closeEdit"},decls:14,vars:2,consts:function(){let t,e,n,i;return t="Date",e="Weight",n="Save",i="Cancel",[[3,"formGroup","ngSubmit"],[1,"form-row"],[1,"col"],["for","date"],t,["type","date","id","date","formControlName","date",1,"form-control"],["for","weight"],e,["type","text","id","weight","formControlName","weight",1,"form-control"],["type","submit",1,"btn","btn-success","mt-2",3,"disabled"],n,["type","submit",1,"btn","btn-secondary","mt-2","ml-2",3,"click"],i]},template:function(t,e){1&t&&(Oo(0,"form",0),Fo("ngSubmit",function(){return e.onSubmit()}),Oo(1,"div",1),Oo(2,"div",2),Oo(3,"label",3),Za(4,4),Do(),Ro(5,"input",5),Do(),Oo(6,"div",2),Oo(7,"label",6),Za(8,7),Do(),Ro(9,"input",8),Do(),Do(),Oo(10,"button",9),Za(11,10),Do(),Oo(12,"button",11),Fo("click",function(){return e.closeEdit.emit()}),Za(13,12),Do(),Do()),2&t&&(ko("formGroup",e.group),Zr(10),ko("disabled",e.group.invalid))},directives:[fp,Wf,yp,bf,qf,_p],styles:[""]}),t})();const iM=["content"],rM=function(t){return[t,250]};function sM(t,e){if(1&t){const t=Po();Oo(0,"ngx-charts-line-chart",3),Fo("select",function(e){return Pe(t),Vo().onSelect(e)})("activate",function(e){return Pe(t),Vo().onActivate(e)})("deactivate",function(e){return Pe(t),Vo().onDeactivate(e)}),Do()}if(2&t){const t=Vo(),e=Eo(1);ko("view",hc(10,rM,e.offsetWidth))("scheme",t.colorScheme)("legend",t.legend)("showXAxisLabel",t.showXAxisLabel)("showYAxisLabel",t.showYAxisLabel)("xAxis",t.xAxis)("yAxis",t.yAxis)("timeline",t.timeline)("results",t.data)("autoScale",t.autoScale)}}function oM(t,e){if(1&t){const t=Po();Oo(0,"div",4),Oo(1,"h4",5),Za(2,6),Do(),Oo(3,"button",7),Fo("click",function(){return Pe(t).$implicit.dismiss()}),Oo(4,"span",8),la(5,"\xd7"),Do(),Do(),Do(),Oo(6,"div",9),Oo(7,"app-weight-edit",10),Fo("closeEdit",function(){return Pe(t),Vo().onFormCancelled()}),Do(),Do(),Oo(8,"div",11),Oo(9,"button",12),Fo("click",function(){return Pe(t).$implicit.close("Save click")}),Za(10,13),Do(),Do()}if(2&t){const t=Vo();Zr(7),ko("weight",t.selectedEntry)}}let aM=(()=>{class t{constructor(t,e){this.service=t,this.modalService=e,this.view=[700,300],this.legend=!1,this.showLabels=!0,this.animations=!0,this.xAxis=!0,this.yAxis=!0,this.showYAxisLabel=!1,this.showXAxisLabel=!1,this.timeline=!0,this.autoScale=!0,this.colorScheme={domain:["#266dd3"]},this.weightEntries=[]}ngOnInit(){this.subscription=this.service.weightChanged.subscribe(t=>{this.weightEntries=t,this.processData()})}ngOnDestroy(){this.subscription.unsubscribe()}processData(){const t=this.weightEntries.map(t=>({name:t.date,value:t.weight,id:t.id}));this.data=[{name:"Weight",series:t}]}onSelect(t){const e=this.service.findById(t.id);void 0!==e&&(this.selectedEntry=e,console.log(`Loaded entry ${e.id}`),this.openModal(this.input))}onActivate(t){console.log("Activate",JSON.parse(JSON.stringify(t)))}onDeactivate(t){console.log("Deactivate",JSON.parse(JSON.stringify(t)))}openModal(t){this.modalService.open(t,{ariaLabelledBy:"modal-basic-title"}).result.then(t=>{console.log(`Closed with: ${t}`)},t=>{console.log("Dismissed")})}onFormCancelled(){this.modalService.dismissAll()}}return t.\u0275fac=function(e){return new(e||t)(To(eM),To(Ox))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-chart"]],viewQuery:function(t,e){if(1&t&&Lc(iM,5),2&t){let t;Mc(t=Ic())&&(e.input=t.first)}},decls:5,vars:1,consts:function(){let t,e;return t="Add entry",e="Close",[["containerRef",""],[3,"view","scheme","legend","showXAxisLabel","showYAxisLabel","xAxis","yAxis","timeline","results","autoScale","select","activate","deactivate",4,"ngIf"],["content",""],[3,"view","scheme","legend","showXAxisLabel","showYAxisLabel","xAxis","yAxis","timeline","results","autoScale","select","activate","deactivate"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],t,["type","button",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"weight","closeEdit"],[1,"modal-footer"],["type","button",1,"btn","btn-outline-dark",3,"click"],e]},template:function(t,e){1&t&&(Oo(0,"div",null,0),So(2,sM,1,12,"ngx-charts-line-chart",1),So(3,oM,11,1,"ng-template",null,2,Uc),Do()),2&t&&(Zr(2),ko("ngIf",null!==e.data))},directives:[$h,DP,nM],styles:[""]}),t})();function lM(t,e){if(1&t&&(Oo(0,"div"),la(1),Do()),2&t){const t=Vo();Zr(1),ua(" ",t.weightDiff," ")}}function cM(t,e){if(1&t&&(Oo(0,"div"),la(1),Do()),2&t){const t=Vo();Zr(1),ua(" ",t.dayDiff," ")}}function uM(t,e){if(1&t){const t=Po();Oo(0,"app-weight-edit",13),Fo("closeEdit",function(){return Pe(t),Vo().onFormCancelled()}),Do()}2&t&&ko("weight",Vo().entry)}let hM=(()=>{class t{constructor(t){this.weightService=t,this.showForm=!1}ngOnInit(){}toggleForm(){this.showForm=!this.showForm}onFormCancelled(){this.showForm=!1}deleteEntry(){this.weightService.deleteWeightEntry(this.entry.id)}}return t.\u0275fac=function(e){return new(e||t)(To(eM))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-detail"]],inputs:{entry:"entry",weightDiff:"weightDiff",dayDiff:"dayDiff"},decls:20,vars:8,consts:function(){let t,e;return t="Edit",e="Delete",[[1,"list-group-item"],[1,"row"],[1,"col-3"],[4,"ngIf"],[1,"col-2"],[1,"col-1"],["ngbDropdown","",1,"text-right"],["id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-link"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1"],["ngbDropdownItem","",3,"click"],t,e,[3,"weight","closeEdit",4,"ngIf"],[3,"weight","closeEdit"]]},template:function(t,e){1&t&&(Oo(0,"li",0),Oo(1,"div",1),Oo(2,"div",2),la(3),yc(4,"date"),Do(),Oo(5,"div",2),la(6),Do(),Oo(7,"div",2),So(8,lM,2,1,"div",3),Do(),Oo(9,"div",4),So(10,cM,2,1,"div",3),Do(),Oo(11,"div",5),Oo(12,"div",6),Ro(13,"button",7),Oo(14,"div",8),Oo(15,"button",9),Fo("click",function(){return e.toggleForm()}),Za(16,10),Do(),Oo(17,"button",9),Fo("click",function(){return e.deleteEntry()}),Za(18,11),Do(),Do(),Do(),Do(),Do(),So(19,uM,1,1,"app-weight-edit",12),Do()),2&t&&(Zr(3),ua(" ",function(t,e,n,i){const r=De(),s=be(r,24);return _c(r,vc(r,24)?gc(r,He(),5,s.transform,n,i,s):s.transform(n,i))}(0,0,e.entry.date,"shortDate")," "),Zr(3),ua(" ",e.entry.weight," "),Zr(2),ko("ngIf",null!==e.weightDiff),Zr(2),ko("ngIf",null!==e.dayDiff),Zr(9),ko("ngIf",e.showForm))},directives:[$h,yx,mx,px,fx,nM],pipes:[Gh],styles:[""]}),t})();function dM(t,e){if(1&t&&Ro(0,"app-weight-detail",13),2&t){const t=e.$implicit;ko("entry",t.entry)("dayDiff",t.dayDiff)("weightDiff",t.weightDiff)}}let fM=(()=>{class t{constructor(t){this.service=t,this.weightEntriesProcessed=[],this.page=1,this.pageSize=10,this.maxPageShown=7}ngOnInit(){this.subscription=this.service.weightChanged.subscribe(t=>{this.processWeightEntries(t)})}ngOnDestroy(){this.subscription.unsubscribe()}processWeightEntries(t){this.weightEntriesProcessed=[];const e=t.length;t.forEach((n,i)=>{const r=i+1,s=r<e?n.weight-t[r].weight:0,o=r<e?(n.date.getTime()-t[r].date.getTime())/864e5:0;this.weightEntriesProcessed.push({entry:n,weightDiff:s,dayDiff:o})})}}return t.\u0275fac=function(e){return new(e||t)(To(eM))},t.\u0275cmp=Ht({type:t,selectors:[["app-weight-list"]],decls:20,vars:11,consts:function(){let t,e,n,i;return t="Date",e="Weight",n="Change",i="Days",[[1,"row"],[1,"col-12"],[1,"list-group"],[1,"list-group-item"],[1,"col-3","font-weight-bold"],t,e,n,[1,"col-2","font-weight-bold"],i,[1,"col-1"],[3,"entry","dayDiff","weightDiff",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-center","mt-2",3,"collectionSize","pageSize","page","boundaryLinks","ellipses","maxSize","pageChange"],[3,"entry","dayDiff","weightDiff"]]},template:function(t,e){1&t&&(Oo(0,"div",0),Oo(1,"div",1),Ro(2,"app-weight-chart"),Do(),Do(),Oo(3,"div",0),Oo(4,"div",1),Oo(5,"ul",2),Oo(6,"li",3),Oo(7,"div",0),Oo(8,"div",4),Za(9,5),Do(),Oo(10,"div",4),Za(11,6),Do(),Oo(12,"div",4),Za(13,7),Do(),Oo(14,"div",8),Za(15,9),Do(),Ro(16,"div",10),Do(),Do(),So(17,dM,1,3,"app-weight-detail",11),yc(18,"slice"),Do(),Oo(19,"ngb-pagination",12),Fo("pageChange",function(t){return e.page=t}),Do(),Do(),Do()),2&t&&(Zr(17),ko("ngForOf",function(t,e,n,i,r){const s=De(),o=be(s,38);return _c(s,vc(s,38)?mc(s,He(),7,o.transform,n,i,r,o):o.transform(n,i,r))}(0,0,e.weightEntriesProcessed,(e.page-1)*e.pageSize,e.page*e.pageSize)),Zr(2),ko("collectionSize",e.weightEntriesProcessed.length)("pageSize",e.pageSize)("page",e.page)("boundaryLinks",!0)("ellipses",!0)("maxSize",e.maxPageShown))},directives:[aM,Uh,jx,hM],pipes:[Yh],styles:[""]}),t})();const pM=[{path:"",component:fM},{path:":lang/dashboard",component:aM},{path:":lang/weight/overview",component:fM}];let gM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t,bootstrap:[jP]}),t.\u0275inj=ht({providers:[ZP,eM,{provide:Xu,useValue:"/"}],imports:[[ly,Dd,pf,vx,Dx,Ux,VP,bp,Nw.forRoot(pM)]]}),t})();UP.production&&function(){if(bu)throw new Error("Cannot enable prod mode after platform setup.");wu=!1}(),Ad().bootstrapModule(gM).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=178)}]);
\ No newline at end of file
diff --git a/wger/core/static/angular/en/polyfills.js b/wger/core/static/angular/en/polyfills.js
deleted file mode 100644
index 32373f10d..000000000
--- a/wger/core/static/angular/en/polyfills.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkwger_angular=self.webpackChunkwger_angular||[]).push([[429],{277:()=>{"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 s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let i=(()=>{class t{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.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=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(r,s,i=!1){if(O.hasOwnProperty(r)){if(!i&&a)throw Error("Already loaded patch: "+r)}else if(!e["__Zone_disable_"+r]){const a="Zone:"+r;n(a),O[r]=s(e,t,C),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){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.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||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,b),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=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(T,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,T,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==T&&e._transitionTo(b,T),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,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||y).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}return t.__symbol__=s,t})();const c={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{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:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(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!=S)throw new Error("Task is missing scheduleFn.");k(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,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,T)}_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==v&&(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=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){C.onUnhandledError(e)}}}C.microtaskDrainDone(),_=!1}}const y={name:"NO ZONE"},v="notScheduled",T="scheduling",b="scheduled",E="running",w="canceling",Z="unknown",S="microTask",D="macroTask",P="eventTask",O={},C={symbol:s,currentZoneFrame:()=>z,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s="addEventListener",a="removeEventListener",i=Zone.__symbol__(s),c=Zone.__symbol__(a),l="true",u="false",h=Zone.__symbol__("");function p(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const d=Zone.__symbol__,g="undefined"!=typeof window,_=g?window:void 0,k=g&&_||"object"==typeof self&&self||global,m=[null];function y(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function v(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in k)&&void 0!==k.process&&"[object process]"==={}.toString.call(k.process),E=!b&&!T&&!(!g||!_.HTMLElement),w=void 0!==k.process&&"[object process]"==={}.toString.call(k.process)&&!T&&!(!g||!_.HTMLElement),Z={},S=function(e){if(!(e=e||k.event))return;let t=Z[e.type];t||(t=Z[e.type]=d("ON_PROPERTY"+e.type));const n=this||e.target||k,o=n[t];let r;if(E&&n===_&&"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 D(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=d("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let u=Z[l];u||(u=Z[l]=d("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==k||(t=k),t&&(t[u]&&t.removeEventListener(l,S),c&&c.apply(t,m),"function"==typeof e?(t[u]=e,t.addEventListener(l,S,!1)):t[u]=null)},s.get=function(){let e=this;if(e||n!==k||(e=k),!e)return null;const t=e[u];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function P(e,t,n){if(t)for(let o=0;o<t.length;o++)D(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)D(e,t[o],n)}}const O=d("originalInstance");function C(e){const n=k[e];if(!n)return;k[d(e)]=n,k[e]=function(){const t=y(arguments,e);switch(t.length){case 0:this[O]=new n;break;case 1:this[O]=new n(t[0]);break;case 2:this[O]=new n(t[0],t[1]);break;case 3:this[O]=new n(t[0],t[1],t[2]);break;case 4:this[O]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},I(k[e],n);const o=new n(function(){});let r;for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?k[e].prototype[n]=function(){return this[O][n].apply(this[O],arguments)}:t(k[e].prototype,n,{set:function(t){"function"==typeof t?(this[O][n]=p(t,e+"."+n),I(this[O][n],t)):this[O][n]=t},get:function(){return this[O][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(k[e][r]=n[r])}function z(t,o,r){let s=t;for(;s&&!s.hasOwnProperty(o);)s=n(s);!s&&t[o]&&(s=t);const a=d(o);let i=null;if(s&&(!(i=s[a])||!s.hasOwnProperty(a))&&(i=s[a]=s[o],v(s&&e(s,o)))){const e=r(i,a,o);s[o]=function(){return e(this,arguments)},I(s[o],i)}return i}function j(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=z(e,t,e=>function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?f(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function I(e,t){e[d("OriginalDelegate")]=t}let R=!1,M=!1;function N(){try{const e=_.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function x(){if(R)return M;R=!0;try{const e=_.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(M=!0)}catch(e){}return M}Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("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(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{if(t.throwOriginal)throw t.rejection;throw t})}catch(e){h(e)}}};const u=s("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 g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState"),v=null,T=!0,b=!1;function E(e,t){return n=>{try{Z(e,t,n)}catch(o){Z(e,!1,o)}}}const w=s("currentTaskTrace");function Z(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{Z(e,!1,u)})(),e}if(o!==b&&s instanceof C&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)D(s),Z(e,s[g],s[_]);else if(o!==b&&"function"==typeof h)try{h.call(s,c(E(e,o)),c(E(e,!1)))}catch(u){c(()=>{Z(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&o===T&&(e[g]=e[y],e[_]=e[m]),o===b&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)P(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&o==b){e[g]=0;let o=s;try{throw new Error("Uncaught (in promise): "+((l=s)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(s&&s.stack?"\n"+s.stack:""))}catch(u){o=u}i&&(o.throwOriginal=!0),o.rejection=s,o.promise=e,o.zone=t.current,o.task=t.currentTask,a.push(o),n.scheduleMicroTask()}}}var l;return e}const S=s("rejectionHandledHandler");function D(e){if(0===e[g]){try{const n=t[S];n&&"function"==typeof n&&n.call(this,{rejection:e[_],promise:e})}catch(n){}e[g]=b;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function P(e,t,n,o,r){D(e);const s=e[g],a=s?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);Z(n,!0,i)}catch(o){Z(n,!1,o)}},n)}const O=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return Z(new this(null),T,e)}static reject(e){return Z(new this(null),b,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);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}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(E(t,T),E(t,b))}catch(n){Z(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(O),s=t.current;return this[g]==v?this[_].push(s,r,e,n):P(this,s,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(O);o[k]=k;const r=t.current;return this[g]==v?this[_].push(r,o,e,e):P(this,r,o,e,e),o}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const j=e[c]=e.Promise;e.Promise=C;const I=s("thenPatched");function R(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new C((e,t)=>{r.call(this,e,t)}).then(e,t)},e[I]=!0}return n.patchThen=R,j&&(R(j),z(e,"fetch",e=>{return t=e,function(e,n){let o=t.apply(e,n);if(o instanceof C)return o;let r=o.constructor;return r[I]||R(r),o};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=a,C}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=d("OriginalDelegate"),o=d("Promise"),r=d("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);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)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});let L=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){L=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(he){L=!1}const A={useG:!0},H={},F={},q=new RegExp("^"+h+"(\\w+)(true|false)$"),G=d("propagationStopped");function B(e,t){const n=(t?t(e):e)+u,o=(t?t(e):e)+l,r=h+n,s=h+o;H[e]={},H[e].false=r,H[e].true=s}function W(e,t,o){const r=o&&o.add||s,i=o&&o.rm||a,c=o&&o.listeners||"eventListeners",p=o&&o.rmAll||"removeAllListeners",f=d(r),g="."+r+":",_=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[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},k=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[H[t.type].false];if(o)if(1===o.length)_(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[G]);o++)_(e[o],n,t)}},m=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[H[t.type].true];if(o)if(1===o.length)_(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[G]);o++)_(e[o],n,t)}};function y(t,o){if(!t)return!1;let s=!0;o&&void 0!==o.useG&&(s=o.useG);const a=o&&o.vh;let _=!0;o&&void 0!==o.chkDup&&(_=o.chkDup);let y=!1;o&&void 0!==o.rt&&(y=o.rt);let v=t;for(;v&&!v.hasOwnProperty(r);)v=n(v);if(!v&&t[r]&&(v=t),!v)return!1;if(v[f])return!1;const T=o&&o.eventNameToString,E={},w=v[f]=v[r],Z=v[d(i)]=v[i],S=v[d(c)]=v[c],D=v[d(p)]=v[p];let P;function O(e,t){return!L&&"object"==typeof e&&e?!!e.capture:L&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}o&&o.prepend&&(P=v[d(o.prepend)]=v[o.prepend]);const C=s?function(e){if(!E.isExisting)return w.call(E.target,E.eventName,E.capture?m:k,E.options)}:function(e){return w.call(E.target,E.eventName,e.invoke,E.options)},z=s?function(e){if(!e.isRemoved){const t=H[e.eventName];let n;t&&(n=t[e.capture?l:u]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return Z.call(e.target,e.eventName,e.capture?m:k,e.options)}:function(e){return Z.call(e.target,e.eventName,e.invoke,e.options)},j=o&&o.diff?o.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},R=Zone[d("UNPATCHED_EVENTS")],M=e[d("PASSIVE_EVENTS")],N=function(t,n,r,i,c=!1,h=!1){return function(){const p=this||e;let f=arguments[0];o&&o.transferEventName&&(f=o.transferEventName(f));let d=arguments[1];if(!d)return t.apply(this,arguments);if(b&&"uncaughtException"===f)return t.apply(this,arguments);let g=!1;if("function"!=typeof d){if(!d.handleEvent)return t.apply(this,arguments);g=!0}if(a&&!a(t,d,p,arguments))return;const k=L&&!!M&&-1!==M.indexOf(f),m=O(arguments[2],k);if(R)for(let e=0;e<R.length;e++)if(f===R[e])return k?t.call(p,f,d,m):t.apply(this,arguments);const y=!!m&&("boolean"==typeof m||m.capture),v=!(!m||"object"!=typeof m)&&m.once,w=Zone.current;let Z=H[f];Z||(B(f,T),Z=H[f]);const S=Z[y?l:u];let D,P=p[S],C=!1;if(P){if(C=!0,_)for(let e=0;e<P.length;e++)if(j(P[e],d))return}else P=p[S]=[];const z=p.constructor.name,I=F[z];I&&(D=I[f]),D||(D=z+n+(T?T(f):f)),E.options=m,v&&(E.options.once=!1),E.target=p,E.capture=y,E.eventName=f,E.isExisting=C;const N=s?A:void 0;N&&(N.taskData=E);const x=w.scheduleEventTask(D,d,N,r,i);return E.target=null,N&&(N.taskData=null),v&&(m.once=!0),(L||"boolean"!=typeof x.options)&&(x.options=m),x.target=p,x.capture=y,x.eventName=f,g&&(x.originalDelegate=d),h?P.unshift(x):P.push(x),c?p:void 0}};return v[r]=N(w,g,C,z,y),P&&(v.prependListener=N(P,".prependListener:",function(e){return P.call(E.target,E.eventName,e.invoke,E.options)},z,y,!0)),v[i]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],s=!!r&&("boolean"==typeof r||r.capture),i=arguments[1];if(!i)return Z.apply(this,arguments);if(a&&!a(Z,i,t,arguments))return;const c=H[n];let p;c&&(p=c[s?l:u]);const f=p&&t[p];if(f)for(let e=0;e<f.length;e++){const o=f[e];if(j(o,i))return f.splice(e,1),o.isRemoved=!0,0===f.length&&(o.allRemoved=!0,t[p]=null,"string"==typeof n)&&(t[h+"ON_PROPERTY"+n]=null),o.zone.cancelTask(o),y?t:void 0}return Z.apply(this,arguments)},v[c]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],s=U(t,T?T(n):n);for(let e=0;e<s.length;e++){const t=s[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},v[p]=function(){const t=this||e;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const e=H[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=q.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[p].call(this,o)}this[p].call(this,"removeListener")}if(y)return this},I(v[r],w),I(v[i],Z),D&&I(v[p],D),S&&I(v[c],S),!0}let v=[];for(let n=0;n<t.length;n++)v[n]=y(t[n],o);return v}function U(e,t){if(!t){const n=[];for(let o in e){const r=q.exec(o);let s=r&&r[1];if(s&&(!t||s===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=H[t];n||(B(t),n=H[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function V(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[G]=!0,e&&e.apply(t,n)})}function $(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const X=["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"],Y=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],J=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],ee=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],te=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ne=["close","error","open","message"],oe=["error","message"],re=["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"],X,["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 se(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 ae(e,t,n,o){e&&P(e,se(e,t,n),o)}function ie(e,t){if(b&&!w)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(E){const e=window,t=N()?[{target:e,ignoreProperties:["error"]}]:[];ae(e,re.concat(["messageerror"]),r?r.concat(t):r,n(e)),ae(Document.prototype,re,r),void 0!==e.SVGElement&&ae(e.SVGElement.prototype,re,r),ae(Element.prototype,re,r),ae(HTMLElement.prototype,re,r),ae(HTMLMediaElement.prototype,Y,r),ae(HTMLFrameSetElement.prototype,X.concat(K),r),ae(HTMLBodyElement.prototype,X.concat(K),r),ae(HTMLFrameElement.prototype,J,r),ae(HTMLIFrameElement.prototype,J,r);const o=e.HTMLMarqueeElement;o&&ae(o.prototype,Q,r);const s=e.Worker;s&&ae(s.prototype,oe,r)}const s=t.XMLHttpRequest;s&&ae(s.prototype,ee,r);const a=t.XMLHttpRequestEventTarget;a&&ae(a&&a.prototype,ee,r),"undefined"!=typeof IDBIndex&&(ae(IDBIndex.prototype,te,r),ae(IDBRequest.prototype,te,r),ae(IDBOpenDBRequest.prototype,te,r),ae(IDBDatabase.prototype,te,r),ae(IDBTransaction.prototype,te,r),ae(IDBCursor.prototype,te,r)),o&&ae(WebSocket.prototype,ne,r)}Zone.__load_patch("util",(n,i,c)=>{c.patchOnProperties=P,c.patchMethod=z,c.bindArguments=y,c.patchMacroTask=j;const f=i.__symbol__("BLACK_LISTED_EVENTS"),d=i.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[f]=n[d]),n[f]&&(i[f]=i[d]=n[f]),c.patchEventPrototype=V,c.patchEventTarget=W,c.isIEOrEdge=x,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=o,c.ArraySlice=r,c.patchClass=C,c.wrapWithCurrentZone=p,c.filterProperties=se,c.attachOriginToPatched=I,c._redefineProperty=Object.defineProperty,c.patchCallbacks=$,c.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:H,eventNames:re,isBrowser:E,isMix:w,isNode:b,TRUE_STR:l,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:s,REMOVE_EVENT_LISTENER_STR:a})});const ce=d("zoneTask");function le(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=r.apply(e,n.args),t}function c(t){return s.call(e,t.data.handleId)}r=z(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},n=s[0];s[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete a[e.handleId]:e.handleId&&(e.handleId[ce]=null))}};const r=f(t,s[0],e,i,c);if(!r)return r;const l=r.data.handleId;return"number"==typeof l?a[l]=r:l&&(l[ce]=r),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(r.ref=l.ref.bind(l),r.unref=l.unref.bind(l)),"number"==typeof l||l?l:r}return n.apply(e,s)}),s=z(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[ce],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[ce]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ue(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=a+(e+s),i=a+(e+r);o[e]={},o[e][s]=t,o[e][r]=i}const i=e.EventTarget;return i&&i.prototype?(t.patchEventTarget(e,[i&&i.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",(e,t,n)=>{n.patchMethod(e,"queueMicrotask",e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",e=>{const t="set",n="clear";le(e,t,n,"Timeout"),le(e,t,n,"Interval"),le(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{le(e,"request","cancel","AnimationFrame"),le(e,"mozRequest","mozCancel","AnimationFrame"),le(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)z(e,n[o],(n,o,r)=>function(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ue(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,t,n)=>{C("MutationObserver"),C("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,n)=>{C("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,n)=>{C("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ie(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 u=e.XMLHttpRequest;if(!u)return;const h=u.prototype;let p=h[i],g=h[c];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[i],g=e[c]}}const _="readystatechange",k="scheduled";function m(e){const o=e.data,a=o.target;a[s]=!1,a[l]=!1;const u=a[r];p||(p=a[i],g=a[c]),u&&g.call(a,_,u);const h=a[r]=()=>{if(a.readyState===a.DONE)if(!o.aborted&&a[s]&&e.state===k){const n=a[t.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=a[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||e.state!==k||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==a[s]||(a[l]=!0)};return p.call(a,_,h),a[n]||(a[n]=e),w.apply(a,o.args),a[s]=!0,e}function y(){}function v(e){const t=e.data;return t.aborted=!0,Z.apply(t.target,t.args)}const T=z(h,"open",()=>function(e,t){return e[o]=0==t[2],e[a]=t[1],T.apply(e,t)}),b=d("fetchTaskAborting"),E=d("fetchTaskScheduling"),w=z(h,"send",()=>function(e,n){if(!0===t.current[E])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},o=f("XMLHttpRequest.send",y,t,m,v);e&&!0===e[l]&&!t.aborted&&o.state===k&&o.invoke()}}),Z=z(h,"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[b])return Z.apply(e,o)})}(e);const n=d("xhrTask"),o=d("xhrSync"),r=d("xhrListener"),s=d("xhrScheduled"),a=d("xhrURL"),l=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r<n.length;r++){const s=n[r],a=t[s];if(a){if(!v(e(t,s)))continue;t[s]=(e=>{const t=function(){return e.apply(this,y(arguments,o+"."+s))};return I(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){U(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[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})},435:(e,t,n)=>{"use strict";n(277)}},e=>{"use strict";e(e.s=435)}]);
\ No newline at end of file
diff --git a/wger/core/static/angular/en/runtime.js b/wger/core/static/angular/en/runtime.js
deleted file mode 100644
index 90cbc0843..000000000
--- a/wger/core/static/angular/en/runtime.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var r,e={},n={};function t(r){var a=n[r];if(void 0!==a)return a.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.m=e,r=[],t.O=(e,n,a,o)=>{if(!n){var l=1/0;for(s=0;s<r.length;s++){for(var[n,a,o]=r[s],u=!0,f=0;f<n.length;f++)(!1&o||l>=o)&&Object.keys(t.O).every(r=>t.O[r](n[f]))?n.splice(f--,1):(u=!1,o<l&&(l=o));u&&(r.splice(s--,1),e=a())}return e}o=o||0;for(var s=r.length;s>0&&r[s-1][2]>o;s--)r[s]=r[s-1];r[s]=[n,a,o]},t.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return t.d(e,{a:e}),e},t.d=(r,e)=>{for(var n in e)t.o(e,n)&&!t.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})},t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={666:0};t.O.j=e=>0===r[e];var e=(e,n)=>{var a,o,[l,u,f]=n,s=0;for(a in u)t.o(u,a)&&(t.m[a]=u[a]);if(f)var i=f(t);for(e&&e(n);s<l.length;s++)t.o(r,o=l[s])&&r[o]&&r[o][0](),r[l[s]]=0;return t.O(i)},n=self.webpackChunkwger_angular=self.webpackChunkwger_angular||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})()})();
\ No newline at end of file
diff --git a/wger/core/static/angular/en/styles.css b/wger/core/static/angular/en/styles.css
deleted file mode 100644
index dd1402e66..000000000
--- a/wger/core/static/angular/en/styles.css
+++ /dev/null
@@ -1,6 +0,0 @@
-/*!
- * Bootstrap v4.6.0 (https://getbootstrap.com/)
- * Copyright 2011-2021 The Bootstrap Authors
- * Copyright 2011-2021 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:initial;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:initial}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:initial}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #0000001a}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer:before{content:"\2014\00A0"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 8.333333%;max-width:8.333333%}.col-2{flex:0 0 16.666667%;max-width:16.666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.333333%;max-width:33.333333%}.col-5{flex:0 0 41.666667%;max-width:41.666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.333333%;max-width:58.333333%}.col-8{flex:0 0 66.666667%;max-width:66.666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.333333%;max-width:83.333333%}.col-11{flex:0 0 91.666667%;max-width:91.666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:#0000000d}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:#ffffff0d}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:initial;border:0}.form-control:-moz-focusring{color:#0000;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:initial;border:solid #0000;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:#28a745e6;border-radius:.25rem}.form-row>.col>.valid-tooltip,.form-row>[class*=col-]>.valid-tooltip{left:5px}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #28a74540}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:#dc3545e6;border-radius:.25rem}.form-row>.col>.invalid-tooltip,.form-row>[class*=col-]>.invalid-tooltip{left:5px}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat,#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #dc354540}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{display:flex;align-items:center;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:flex;align-items:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:initial;border:1px solid #0000;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem #007bff40}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem #268fff80}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #268fff80}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem #828a9180}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #828a9180}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success.focus,.btn-success:focus,.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem #48b46180}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #48b46180}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info.focus,.btn-info:focus,.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem #3ab0c380}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #3ab0c380}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem #deaa0c80}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #deaa0c80}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem #e1536180}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #e1536180}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light.focus,.btn-light:focus,.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem #d8d9db80}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d8d9db80}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem #52585d80}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #52585d80}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem #007bff80}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:initial}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #007bff80}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem #6c757d80}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:initial}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #6c757d80}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem #28a74580}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:initial}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #28a74580}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem #17a2b880}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:initial}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #17a2b880}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem #ffc10780}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:initial}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffc10780}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem #dc354580}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:initial}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #dc354580}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem #f8f9fa80}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:initial}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f8f9fa80}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem #343a4080}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:initial}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #343a4080}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid #0000;border-bottom:0;border-left:.3em solid #0000}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #00000026;border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid #0000;border-bottom:.3em solid;border-left:.3em solid #0000}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid #0000;border-right:0;border-bottom:.3em solid #0000;border-left:.3em solid}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropleft .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid #0000;border-right:.3em solid;border-bottom:.3em solid #0000}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:initial;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:initial}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio],.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:flex;align-items:center}.input-group>.custom-file:not(:first-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label:after,.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label:before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #007bff40}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label:before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label:before{pointer-events:none;background-color:#fff;border:1px solid #adb5bd}.custom-control-label:after,.custom-control-label:before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:""}.custom-control-label:after{background:50%/50% 50% no-repeat}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before,.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:#007bff80}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:#007bff80}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label:after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#fff;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:#007bff80}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:#0000;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{position:relative;width:100%;height:calc(1.5em + .75rem + 2px)}.custom-file-input{z-index:2;margin:0;overflow:hidden;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{left:0;z-index:1;height:calc(1.5em + .75rem + 2px);overflow:hidden;font-weight:400;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label,.custom-file-label:after{position:absolute;top:0;right:0;padding:.375rem .75rem;line-height:1.5;color:#495057}.custom-file-label:after{bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:initial;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #007bff40}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:#dee2e6;border-color:#0000;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:#dee2e6;border-color:#0000;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:#0000;cursor:pointer;background-color:initial;border-color:#0000;border-width:.5rem}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;border:1px solid #0000;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:initial;border-color:#0000}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;padding:.5rem 1rem}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:initial;border:1px solid #0000;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:50%/100% 100% no-repeat}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:#000000e6}.navbar-light .navbar-nav .nav-link{color:#00000080}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:#000000b3}.navbar-light .navbar-nav .nav-link.disabled{color:#0000004d}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:#000000e6}.navbar-light .navbar-toggler{color:#00000080;border-color:#0000001a}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:#00000080}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:#000000e6}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:#ffffff80}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:#ffffffbf}.navbar-dark .navbar-nav .nav-link.disabled{color:#ffffff40}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:#ffffff80;border-color:#ffffff1a}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:#ffffff80}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:initial;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#00000008;border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#00000008;border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;grid-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:flex;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem #007bff40}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:initial;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem #007bff80}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem #6c757d80}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem #28a74580}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem #17a2b880}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem #ffc10780}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem #dc354580}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem #f8f9fa80}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem #343a4080}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid #0000;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{height:1rem;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,#ffffff26 25%,#0000 0,#0000 50%,#ffffff26 0,#ffffff26 75%,#0000 0,#0000);background-size:1rem 1rem}.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.media{display:flex;align-items:flex-start}.media-body{flex:1}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:initial;border:0}a.close.disabled{pointer-events:none}.toast{flex-basis:350px;max-width:350px;font-size:.875rem;background-color:#ffffffd9;background-clip:padding-box;border:1px solid #0000001a;box-shadow:0 .25rem .75rem #0000001a;opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:flex;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:#ffffffd9;background-clip:padding-box;border-bottom:1px solid #0000000d;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid #0003;border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow:before{position:absolute;content:"";border-color:#0000;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{top:0;left:0;z-index:1060;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid #0003;border-radius:.3rem}.popover,.popover .arrow{position:absolute;display:block}.popover .arrow{width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow:after,.popover .arrow:before{position:absolute;display:block;content:"";border-color:#0000;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:#00000040}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:#00000040}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{top:0;border-width:0 .5rem .5rem;border-bottom-color:#00000040}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{top:1px;border-width:0 .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:#00000040}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:50%/100% 100% no-repeat}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:initial;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid #0000;border-bottom:10px solid #0000;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid;border-right:.25em solid #0000;border-radius:50%;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{animation-duration:1.5s}}.align-baseline{vertical-align:initial!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:initial!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive:before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9:before{padding-top:42.857143%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media (min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media (min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}@supports (position:sticky){.sticky-top{position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:#0000}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:#00000080!important}.text-white-50{color:#ffffff80!important}.text-hide{font:0/0 a;color:#0000;text-shadow:none;background-color:initial;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;word-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}}
\ No newline at end of file
diff --git a/wger/core/static/react/locales/README.md b/wger/core/static/react/locales/README.md
new file mode 100644
index 000000000..b053d39e3
--- /dev/null
+++ b/wger/core/static/react/locales/README.md
@@ -0,0 +1,6 @@
+i18n README
+===========
+
+To extract new strings `yarn i18`, actual translation occurs in weblate.
+
+More info: <https://react.i18next.com/>
\ No newline at end of file
diff --git a/wger/core/static/react/locales/de-DE/translation.json b/wger/core/static/react/locales/de-DE/translation.json
new file mode 100644
index 000000000..8b71a717b
--- /dev/null
+++ b/wger/core/static/react/locales/de-DE/translation.json
@@ -0,0 +1,9 @@
+{
+ "date": "Datum",
+ "weight": "Gewicht",
+ "change": "Veränderung",
+ "days": "Tage",
+ "edit": "Bearbeiten",
+ "delete": "Löschen",
+ "difference": "Differenz"
+}
diff --git a/wger/core/static/react/locales/de/translation.json b/wger/core/static/react/locales/de/translation.json
new file mode 100644
index 000000000..8b71a717b
--- /dev/null
+++ b/wger/core/static/react/locales/de/translation.json
@@ -0,0 +1,9 @@
+{
+ "date": "Datum",
+ "weight": "Gewicht",
+ "change": "Veränderung",
+ "days": "Tage",
+ "edit": "Bearbeiten",
+ "delete": "Löschen",
+ "difference": "Differenz"
+}
diff --git a/wger/core/static/react/locales/en/translation.json b/wger/core/static/react/locales/en/translation.json
new file mode 100644
index 000000000..6a994e5dd
--- /dev/null
+++ b/wger/core/static/react/locales/en/translation.json
@@ -0,0 +1,11 @@
+{
+ "weight": "Weight",
+ "date": "Date",
+ "submit": "Submit",
+ "edit": "Edit",
+ "delete": "Delete",
+ "add": "Add",
+ "difference": "Difference",
+ "days": "Days",
+ "close": "Close"
+}
diff --git a/wger/core/static/react/locales/es/translation.json b/wger/core/static/react/locales/es/translation.json
new file mode 100644
index 000000000..5d0918c80
--- /dev/null
+++ b/wger/core/static/react/locales/es/translation.json
@@ -0,0 +1,8 @@
+{
+ "edit": "Editar",
+ "date": "Fecha",
+ "weight": "Peso",
+ "days": "Días",
+ "delete": "Borrar",
+ "difference": "Diferencia"
+}
diff --git a/wger/core/static/react/locales/fr/translation.json b/wger/core/static/react/locales/fr/translation.json
new file mode 100644
index 000000000..3bdc923aa
--- /dev/null
+++ b/wger/core/static/react/locales/fr/translation.json
@@ -0,0 +1,8 @@
+{
+ "difference": "Différence",
+ "delete": "Supprimer",
+ "date": "Date",
+ "days": "Jours",
+ "edit": "Modifier",
+ "weight": "Poids"
+}
diff --git a/wger/core/static/react/locales/hr/translation.json b/wger/core/static/react/locales/hr/translation.json
new file mode 100644
index 000000000..6e8e81243
--- /dev/null
+++ b/wger/core/static/react/locales/hr/translation.json
@@ -0,0 +1,8 @@
+{
+ "edit": "Uredi",
+ "delete": "Izbriši",
+ "date": "Datum",
+ "weight": "Težina",
+ "difference": "Razlika",
+ "days": "Dani"
+}
diff --git a/wger/core/static/react/locales/nb_NO/translation.json b/wger/core/static/react/locales/nb_NO/translation.json
new file mode 100644
index 000000000..1988c13e2
--- /dev/null
+++ b/wger/core/static/react/locales/nb_NO/translation.json
@@ -0,0 +1,8 @@
+{
+ "edit": "Rediger",
+ "delete": "Slett",
+ "date": "Dato",
+ "weight": "Vekt",
+ "difference": "Forskjell",
+ "days": "Dager"
+}
diff --git a/wger/core/static/react/locales/ru/translation.json b/wger/core/static/react/locales/ru/translation.json
new file mode 100644
index 000000000..44ec09949
--- /dev/null
+++ b/wger/core/static/react/locales/ru/translation.json
@@ -0,0 +1,8 @@
+{
+ "weight": "Вес",
+ "days": "Дней",
+ "edit": "Редактировать",
+ "date": "Дата",
+ "delete": "Удалить",
+ "difference": "Разница"
+}
diff --git a/wger/core/static/react/locales/tr/translation.json b/wger/core/static/react/locales/tr/translation.json
new file mode 100644
index 000000000..fcc929e0e
--- /dev/null
+++ b/wger/core/static/react/locales/tr/translation.json
@@ -0,0 +1,8 @@
+{
+ "edit": "Düzenle",
+ "delete": "Sil",
+ "date": "Tarih",
+ "days": "Gün",
+ "difference": "Fark",
+ "weight": "Ağırlık"
+}
diff --git a/wger/core/static/react/main.css b/wger/core/static/react/main.css
new file mode 100644
index 000000000..48e95f452
--- /dev/null
+++ b/wger/core/static/react/main.css
@@ -0,0 +1 @@
+body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{font-family:Poppins;text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.body_weight_root__pGxIc{margin:2rem}.body_weight_root__pGxIc .body_weight_chart__MUFiK{margin:2rem 0}.header_header__lOwdN{background-color:#2a4c7d;color:#c2c2c2;min-height:2rem;padding:.5rem 2rem;text-align:left}.header_header__lOwdN .header_container__N124p{margin:auto;max-width:1200px;position:relative}@media screen and (min-width:700px){.header_header__lOwdN .header_container__N124p{align-items:center;display:flex}}.header_header__lOwdN .header_navs__cDDHZ{font-size:1.1rem;max-height:1000px;overflow:hidden;transition:max-height 1s ease-in-out}@media screen and (min-width:700px){.header_header__lOwdN .header_navs__cDDHZ{align-items:center;display:flex;flex:1 1;justify-content:space-between;overflow:visible}}.header_header__lOwdN ul{list-style:none;padding:0}@media screen and (min-width:700px){.header_header__lOwdN ul{display:flex;justify-content:space-between;margin:0 1rem}}.header_header__lOwdN ul .header_nav__item__Mne3O{margin:1rem 0;position:relative}.header_header__lOwdN ul .header_nav__item__Mne3O button{background-color:inherit;border:none;color:#c2c2c2;cursor:pointer;font-size:1.2rem;outline:none}.header_header__lOwdN ul .header_nav__item__Mne3O button:hover{color:#fff}.header_header__lOwdN ul .header_nav__item__Mne3O span{font-size:.7rem}@media screen and (min-width:700px){.header_header__lOwdN ul .header_nav__item__Mne3O{margin:0 1rem}}.header_header__lOwdN .header_subNav__hbK7F{background-color:#fff;border:1px solid #c2c2c2;border-radius:5px;padding:.5rem 1rem;z-index:999}.header_header__lOwdN .header_subNav__hbK7F div{border-bottom:1px solid #bbb;display:block;margin-bottom:1rem;padding-bottom:.5rem;width:100%}.header_header__lOwdN .header_subNav__hbK7F p{color:#919191;margin:0;padding:0}.header_header__lOwdN .header_subNav__hbK7F li{padding:.5rem 0}.header_header__lOwdN .header_subNav__hbK7F li:hover{background-color:#d6d6d6}.header_header__lOwdN .header_subNav__hbK7F div:last-child{border:none;margin-bottom:0}.header_header__lOwdN .header_subNav__hbK7F a{align-items:center;color:#363636;display:flex;gap:.2rem;text-decoration:none}.header_header__lOwdN .header_subNav__hbK7F a svg{width:1.3rem}.header_header__lOwdN .header_subNav__hbK7F .header_about__J0YVh{border-bottom:1px solid #bbb;color:#000;padding:.5rem 0}@media screen and (min-width:700px){.header_header__lOwdN .header_subNav__hbK7F{margin:0;position:absolute;top:100%;width:-webkit-max-content;width:max-content}}.header_header__lOwdN .header_secondaryNav__list__anSx0 .header_subNav__hbK7F{left:-100px}.header_header__lOwdN .header_toggleBtn__tCS3Q{background-color:inherit;border:1px solid #3562a0;border-radius:5px;color:#c2c2c2;cursor:pointer;height:2.5rem;position:absolute;right:0;top:0;width:3rem}.header_header__lOwdN .header_toggleBtn__tCS3Q:hover{color:#fff}@media screen and (min-width:700px){.header_header__lOwdN .header_toggleBtn__tCS3Q{display:none}}.header_header__lOwdN .header_logo__dpz63{display:block;width:7%}.header_header__lOwdN .header_logo__dpz63 img{width:100%}@media screen and (min-width:700px){.header_header__lOwdN .header_logo__dpz63{width:4%}}
\ No newline at end of file
diff --git a/wger/core/static/react/main.js b/wger/core/static/react/main.js
new file mode 100644
index 000000000..0be2710d4
--- /dev/null
+++ b/wger/core/static/react/main.js
@@ -0,0 +1,2 @@
+/*! For license information please see main.a274a3b7.js.LICENSE.txt */
+!function(){var e={5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,t,n){e.exports=n(8937)},8295:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=n(3324),o=Math.abs,i=String.fromCharCode,a=Object.assign;function u(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function d(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var v=1,m=1,y=0,g=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:v,column:m,length:a,return:""}}function k(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=g>0?l(x,--g):0,m--,10===b&&(m=1,v--),b}function O(){return b=g<y?l(x,g++):0,m++,10===b&&(m=1,v++),b}function E(){return l(x,g)}function j(){return g}function P(e,t){return f(x,e,t)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return v=m=1,y=d(x=e),g=0,[]}function T(e){return x="",e}function M(e){return u(P(g-1,N(91===e?e+2:40===e?e+1:e)))}function A(e){for(;(b=E())&&b<33;)O();return C(e)>2||C(b)>3?"":" "}function R(e,t){for(;--t&&O()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,j()+(t<6&&32==E()&&32==O()))}function N(e){for(;O();)switch(b){case e:return g;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:O()}return g}function D(e,t){for(;O()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+P(t,g-1)+"*"+i(47===e?e:O())}function Z(e){for(;!C(E());)O();return P(e,g)}var I="-ms-",L="-moz-",F="-webkit-",z="comm",B="rule",V="decl",U="@keyframes";function W(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@import":case V:return e.return=e.return||e.value;case z:return"";case U:return e.return=e.value+"{"+W(e.children,r)+"}";case B:e.value=e.props.join(",")}return d(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e,t){switch(function(e,t){return(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3)}(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+L+e+I+e+e;case 6828:case 4268:return F+e+I+e+e;case 6165:return F+e+I+"flex-"+e+e;case 5187:return F+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return F+e+I+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return F+e+I+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+I+s(e,"shrink","negative")+e;case 5292:return F+e+I+s(e,"basis","preferred-size")+e;case 6060:return F+"box-"+s(e,"-grow","")+F+e+I+s(e,"grow","positive")+e;case 4554:return F+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+L+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?q(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+F)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===l(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return F+e+I+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+I+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+I+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+I+e+e}return e}function $(e){return T(K("",null,null,null,[""],e=_(e),0,[0],e))}function K(e,t,n,r,o,a,u,l,f){for(var p=0,v=0,m=u,y=0,g=0,b=0,x=1,w=1,k=1,P=0,C="",_=o,T=a,N=r,I=C;w;)switch(b=P,P=O()){case 40:if(108!=b&&58==I.charCodeAt(m-1)){-1!=c(I+=s(M(P),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:I+=M(P);break;case 9:case 10:case 13:case 32:I+=A(b);break;case 92:I+=R(j()-1,7);continue;case 47:switch(E()){case 42:case 47:h(Y(D(O(),j()),t,n),f);break;default:I+="/"}break;case 123*x:l[p++]=d(I)*k;case 125*x:case 59:case 0:switch(P){case 0:case 125:w=0;case 59+v:g>0&&d(I)-m&&h(g>32?J(I+";",r,n,m-1):J(s(I," ","")+";",r,n,m-2),f);break;case 59:I+=";";default:if(h(N=G(I,t,n,p,v,o,l,C,_=[],T=[],m),a),123===P)if(0===v)K(I,t,N,N,_,a,m,l,T);else switch(y){case 100:case 109:case 115:K(e,N,N,r&&h(G(e,N,N,0,0,o,l,C,o,_=[],m),T),o,T,m,l,r?_:T);break;default:K(I,N,N,N,[""],T,0,l,T)}}p=v=g=0,x=k=1,C=I="",m=u;break;case 58:m=1+d(I),g=b;default:if(x<1)if(123==P)--x;else if(125==P&&0==x++&&125==S())continue;switch(I+=i(P),P*x){case 38:k=v>0?1:(I+="\f",-1);break;case 44:l[p++]=(d(I)-1)*k,k=1;break;case 64:45===E()&&(I+=M(O())),y=E(),v=m=d(C=I+=Z(j())),P++;break;case 45:45===b&&2==d(I)&&(x=0)}}return a}function G(e,t,n,r,i,a,c,l,d,h,v){for(var m=i-1,y=0===i?a:[""],g=p(y),b=0,x=0,k=0;b<r;++b)for(var S=0,O=f(e,m+1,m=o(x=c[b])),E=e;S<g;++S)(E=u(x>0?y[S]+" "+O:s(O,/&\f/g,y[S])))&&(d[k++]=E);return w(e,t,n,0===i?B:l,d,h,v)}function Y(e,t,n){return w(e,t,n,z,i(b),f(e,2,-2),0)}function J(e,t,n,r){return w(e,t,n,V,f(e,0,r),f(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!C(o);)O();return P(e,g)},Q=function(e,t){return T(function(e,t){var n=-1,r=44;do{switch(C(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(g-1,t,n);break;case 2:e[n]+=M(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=O());return e}(_(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(n))&&!r){ee.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,u=0,s=0;u<i.length;u++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[u]?i[u].replace(/&\f/g,a[c]):a[c]+" "+i[u]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=q(e.value,e.length);break;case U:return W([k(e,{value:s(e.value,"@","@"+F)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([k(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([k(e,{props:[s(t,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,I+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,u={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;s.push(e)}));var c,l,f=[H,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=function(e){var t=p(e);return function(n,r,o,i){for(var a="",u=0;u<t;u++)a+=e[u](n,r,o,i)||"";return a}}([te,ne].concat(o,f));a=function(e,t,n,r){c=n,W($(e?e+"{"+t.styles+"}":t.styles),d),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r.m({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:a};return h.sheet.hydrate(s),h}},3390:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},1639:function(e,t,n){"use strict";n.d(t,{T:function(){return u},w:function(){return a}});var r=n(7313),o=n(8295),i=(n(4544),(0,r.createContext)("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null));i.Provider;var a=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},u=(0,r.createContext)({})},4544:function(e,t,n){"use strict";n.d(t,{O:function(){return v}});var r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(3390),a=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},l=(0,i.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(u,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":c(a)&&(r+=l(i)+":"+f(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=d(e,t,a);switch(i){case"animation":case"animationName":r+=l(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var s=0;s<a.length;s++)c(a[s])&&(r+=l(i)+":"+f(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=p,i=n(e);return p=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var p,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var v=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";p=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=d(n,t,a)):i+=a[0];for(var u=1;u<e.length;u++)i+=d(n,t,e[u]),o&&(i+=a[u]);h.lastIndex=0;for(var s,c="";null!==(s=h.exec(i));)c+="-"+s[1];return{name:r(i)+c,styles:i,next:p}}},3324:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},4911:function(e,t,n){"use strict";n.d(t,{f:function(){return r},M:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},317:function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},672:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},2131:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(672),o={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return o[t]||"".concat(r.Z.generate(e),"-").concat(t)}},655:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2131);function o(e,t){var n={};return t.forEach((function(t){n[t]=(0,r.Z)(e,t)})),n}},5211:function(e,t,n){"use strict";var r=n(5318);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},4406:function(e,t,n){"use strict";var r=n(5318);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");t.Z=a},5045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(3928)},7458:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(7462),o=n(3366),i=n(3019),a=n(9456),u=n(4942);function s(e,t,n){var o;return(0,r.Z)({toolbar:(o={minHeight:56},(0,u.Z)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(o,e.up("sm"),{minHeight:64}),o)},n)}var c=n(7219),l=n(7551),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=["mode","contrastThreshold","tonalOffset"],x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,l.$n)(e.main,o):"dark"===t&&(e.dark=(0,l._j)(e.main,i)))}function S(e){var t=e.mode,n=void 0===t?"light":t,a=e.contrastThreshold,u=void 0===a?3:a,s=e.tonalOffset,S=void 0===s?.2:s,O=(0,o.Z)(e,b),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(n),j=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(n),P=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(n),C=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(n),_=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(n),T=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(n);function M(e){return(0,l.mi)(e,w.text.primary)>=u?w.text.primary:x.text.primary}var A=function(e){var t=e.color,n=e.name,o=e.mainShade,i=void 0===o?500:o,a=e.lightShade,u=void 0===a?300:a,s=e.darkShade,l=void 0===s?700:s;if(!(t=(0,r.Z)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error((0,c.Z)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error((0,c.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return k(t,"light",u,S),k(t,"dark",l,S),t.contrastText||(t.contrastText=M(t.main)),t},R={dark:w,light:x};return(0,i.Z)((0,r.Z)({common:f,mode:n,primary:A({color:E,name:"primary"}),secondary:A({color:j,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:P,name:"error"}),warning:A({color:T,name:"warning"}),info:A({color:C,name:"info"}),success:A({color:_,name:"success"}),grey:d,contrastThreshold:u,getContrastText:M,augmentColor:A,tonalOffset:S},R[n]),O)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var E={textTransform:"uppercase"},j='"Roboto", "Helvetica", "Arial", sans-serif';function P(e,t){var n="function"===typeof t?t(e):t,a=n.fontFamily,u=void 0===a?j:a,s=n.fontSize,c=void 0===s?14:s,l=n.fontWeightLight,f=void 0===l?300:l,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,v=void 0===h?500:h,m=n.fontWeightBold,y=void 0===m?700:m,g=n.htmlFontSize,b=void 0===g?16:g,x=n.allVariants,w=n.pxToRem,k=(0,o.Z)(n,O);var S=c/14,P=w||function(e){return"".concat(e/b*S,"rem")},C=function(e,t,n,o,i){return(0,r.Z)({fontFamily:u,fontWeight:e,fontSize:P(t),lineHeight:n},u===j?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},_={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(v,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(v,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(v,14,1.75,.4,E),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,E)};return(0,i.Z)((0,r.Z)({htmlFontSize:b,pxToRem:P,fontFamily:u,fontSize:c,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:y},_),k,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var _=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],T=n(5829),M={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,u=e.palette,c=void 0===u?{}:u,l=e.transitions,f=void 0===l?{}:l,d=e.typography,p=void 0===d?{}:d,h=(0,o.Z)(e,A),v=S(c),m=(0,a.Z)(e),y=(0,i.Z)(m,{mixins:s(m.breakpoints,m.spacing,n),palette:v,shadows:_.slice(),typography:P(v,p),transitions:(0,T.ZP)(f),zIndex:(0,r.Z)({},M)});y=(0,i.Z)(y,h);for(var g=arguments.length,b=new Array(g>1?g-1:0),x=1;x<g;x++)b[x-1]=arguments[x];return y=b.reduce((function(e,t){return(0,i.Z)(e,t)}),y)}var N=R},5829:function(e,t,n){"use strict";n.d(t,{x9:function(){return u},ZP:function(){return l}});var r=n(3366),o=n(7462),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},u={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function c(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function l(e){var t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},u,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,u=void 0===a?n.standard:a,c=o.easing,l=void 0===c?t.easeInOut:c,f=o.delay,d=void 0===f?0:f;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof u?u:s(u)," ").concat(l," ").concat("string"===typeof d?d:s(d))})).join(",")}},e,{easing:t,duration:n})}},2248:function(e,t,n){"use strict";var r=(0,n(7458).Z)();t.Z=r},6067:function(e,t,n){"use strict";n.d(t,{ZP:function(){return q},FO:function(){return U},Dz:function(){return W}});var r=n(3433),o=n(7462),i=n(3366),a=n(7313),u=n(3390),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,c=(0,u.Z)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(1639),f=n(4911),d=n(4544),p=c,h=function(e){return"theme"!==e},v=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?p:h},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},y=function(){return null},g=function e(t,n){var r,i,u=t.__emotion_real===t,s=u&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var c=m(t,n,u),p=c||v(s),h=!p("as");return function(){var g=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&b.push("label:"+r+";"),null==g[0]||void 0===g[0].raw)b.push.apply(b,g);else{0,b.push(g[0][0]);for(var x=g.length,w=1;w<x;w++)b.push(g[w],g[0][w])}var k=(0,l.w)((function(e,t,n){var r=h&&e.as||s,o="",u=[],m=e;if(null==e.theme){for(var g in m={},e)m[g]=e[g];m.theme=(0,a.useContext)(l.T)}"string"===typeof e.className?o=(0,f.f)(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var x=(0,d.O)(b.concat(u),t.registered,m);(0,f.M)(t,x,"string"===typeof r);o+=t.key+"-"+x.name,void 0!==i&&(o+=" "+i);var w=h&&void 0===c?v(r):p,k={};for(var S in e)h&&"as"===S||w(S)&&(k[S]=e[S]);k.className=o,k.ref=n;var O=(0,a.createElement)(r,k),E=(0,a.createElement)(y,null);return(0,a.createElement)(a.Fragment,null,E,O)}));return k.displayName=void 0!==r?r:"Styled("+("string"===typeof s?s:s.displayName||s.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=s,k.__emotion_styles=b,k.__emotion_forwardProp=c,Object.defineProperty(k,"toString",{value:function(){return"."+i}}),k.withComponent=function(t,r){return e(t,(0,o.Z)({},n,r,{shouldForwardProp:m(k,r,!0)})).apply(void 0,b)},k}},b=g.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){b[e]=b(e)}));var x=b;function w(e,t){return x(e,t)}var k=n(9456),S=n(4942),O=n(7330),E=n(9716),j=n(4929);function P(e){var t=e||{},n=t.sx,r=t.theme,o=void 0===r?{}:r;if(!n)return null;function i(e){var t=e;if("function"===typeof e)t=e(o);else if("object"!==typeof e)return e;var n=(0,j.W8)(o.breakpoints),r=Object.keys(n),i=n;return Object.keys(t).forEach((function(e){var n,r,a=(n=t[e],r=o,"function"===typeof n?n(r):n);if(null!==a&&void 0!==a)if("object"===typeof a)if(E.G[e])i=(0,O.Z)(i,(0,E.Z)(e,a,o));else{var u=(0,j.k9)({theme:o},a,(function(t){return(0,S.Z)({},e,t)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),o=new Set(r);return t.every((function(e){return o.size===Object.keys(e).length}))}(u,a)?i=(0,O.Z)(i,u):i[e]=P({sx:a,theme:o})}else i=(0,O.Z)(i,(0,E.Z)(e,a,o))})),(0,j.L7)(r,i)}return Array.isArray(n)?n.map(i):i(n)}P.filterProps=["sx"];var C=P,_=n(114),T=["variant"];function M(e){return 0===e.length}function A(e){var t=e.variant,n=(0,i.Z)(e,T),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?M(r)?e[t]:(0,_.Z)(e[t]):"".concat(M(r)?t:(0,_.Z)(t)).concat((0,_.Z)(e[t].toString()))})),r}var R=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],N=["theme"],D=["theme"];function Z(e){return 0===Object.keys(e).length}var I=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},L=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=A(e.props);r[t]=e.style})),r},F=function(e,t,n,r){var o,i,a=e.ownerState,u=void 0===a?{}:a,s=[],c=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return c&&c.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){u[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&s.push(t[A(n.props)])})),s};function z(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var B=(0,k.Z)();var V=n(2248),U=function(e){return z(e)&&"classes"!==e},W=z,H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?B:t,a=e.rootShouldForwardProp,u=void 0===a?z:a,s=e.slotShouldForwardProp,c=void 0===s?z:s;return function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.name,l=a.slot,f=a.skipVariantsResolver,d=a.skipSx,p=a.overridesResolver,h=(0,i.Z)(a,R),v=void 0!==f?f:l&&"Root"!==l||!1,m=d||!1;var y=z;"Root"===l?y=u:l&&(y=c);var g=w(e,(0,o.Z)({shouldForwardProp:y,label:t},h)),b=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];var c=a?a.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(t){var r=t.theme,a=(0,i.Z)(t,N);return e((0,o.Z)({theme:Z(r)?n:r},a))}:e})):[],l=e;s&&p&&c.push((function(e){var t=Z(e.theme)?n:e.theme,r=I(s,t);return r?p(e,r):null})),s&&!v&&c.push((function(e){var t=Z(e.theme)?n:e.theme;return F(e,L(s,t),t,s)})),m||c.push((function(e){var t=Z(e.theme)?n:e.theme;return C((0,o.Z)({},e,{theme:t}))}));var f=c.length-a.length;if(Array.isArray(e)&&f>0){var d=new Array(f).fill("");(l=[].concat((0,r.Z)(e),(0,r.Z)(d))).raw=[].concat((0,r.Z)(e.raw),(0,r.Z)(d))}else"function"===typeof e&&(l=function(t){var r=t.theme,a=(0,i.Z)(t,D);return e((0,o.Z)({theme:Z(r)?n:r},a))});var h=g.apply(void 0,[l].concat((0,r.Z)(c)));return h};return b}}({defaultTheme:V.Z,rootShouldForwardProp:U}),q=H},5469:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4290),o=n(6728);var i=n(2248);function a(e){return function(e){var t=e.props,n=e.name,i=e.defaultTheme,a=(0,o.Z)(i);return(0,r.Z)({theme:a,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:i.Z})}},1615:function(e,t,n){"use strict";var r=n(114);t.Z=r.Z},1171:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7462),o=n(7313),i=n(3366),a=(n(5192),n(3061)),u=n(317),s=n(1615),c=n(5469),l=n(6067),f=n(2131);function d(e){return(0,f.Z)("MuiSvgIcon",e)}(0,n(655).Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=n(6417),h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,l.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})((function(e){var t,n,r=e.theme,o=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:r.transitions.create("fill",{duration:r.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:r.typography.pxToRem(20),medium:r.typography.pxToRem(24),large:r.typography.pxToRem(35)}[o.fontSize],color:null!=(t=null==(n=r.palette[o.color])?void 0:n.main)?t:{action:r.palette.action.active,disabled:r.palette.action.disabled,inherit:void 0}[o.color]}})),m=o.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),o=n.children,l=n.className,f=n.color,m=void 0===f?"inherit":f,y=n.component,g=void 0===y?"svg":y,b=n.fontSize,x=void 0===b?"medium":b,w=n.htmlColor,k=n.inheritViewBox,S=void 0!==k&&k,O=n.titleAccess,E=n.viewBox,j=void 0===E?"0 0 24 24":E,P=(0,i.Z)(n,h),C=(0,r.Z)({},n,{color:m,component:g,fontSize:x,inheritViewBox:S,viewBox:j}),_={};S||(_.viewBox=j);var T=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,u.Z)(o,d,r)}(C);return(0,p.jsxs)(v,(0,r.Z)({as:g,className:(0,a.Z)(T.root,l),ownerState:C,focusable:"false",color:w,"aria-hidden":!O||void 0,role:O?"img":void 0,ref:t},_,P,{children:[o,O?(0,p.jsx)("title",{children:O}):null]}))}));m.muiName="SvgIcon";var y=m;function g(e,t){var n=function(n,o){return(0,p.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))};return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},8706:function(e,t,n){"use strict";var r=n(4312);t.Z=r.Z},3928:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o},createSvgIcon:function(){return i.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return u},isMuiElement:function(){return s.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return l.Z},requirePropFactory:function(){return f},setRef:function(){return d},unstable_ClassNameGenerator:function(){return x.Z},unstable_useEnhancedEffect:function(){return p.Z},unstable_useId:function(){return h},unsupportedProp:function(){return v},useControlled:function(){return m.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return g.Z},useIsFocusVisible:function(){return b.Z}});var r=n(1615),o=n(4246).Z,i=n(1171),a=n(8706);var u=function(e,t){return function(){return null}},s=n(7816),c=n(6106),l=n(3533);n(7462);var f=function(e,t){return function(){return null}},d=n(9265).Z,p=n(4993),h=n(3362).Z;var v=function(e,t,n,r,o){return null},m=n(522),y=n(3236),g=n(6983),b=n(9127),x=n(672)},7816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7313);var o=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},6106:function(e,t,n){"use strict";var r=n(9081);t.Z=r.Z},3533:function(e,t,n){"use strict";var r=n(3282);t.Z=r.Z},522:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9439),o=n(7313);var i=function(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),u=(0,r.Z)(a,2),s=u[0],c=u[1];return[i?t:s,o.useCallback((function(e){i||c(e)}),[])]}},4993:function(e,t,n){"use strict";var r=n(2678);t.Z=r.Z},3236:function(e,t,n){"use strict";var r=n(2780);t.Z=r.Z},6983:function(e,t,n){"use strict";var r=n(7472);t.Z=r.Z},9127:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r,o=n(7313),i=!0,a=!1,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function l(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!u[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var d=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",l,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},5693:function(e,t,n){"use strict";var r=n(7313).createContext(null);t.Z=r},201:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7313),o=n(5693);function i(){return r.useContext(o.Z)}},4929:function(e,t,n){"use strict";n.d(t,{VO:function(){return r},k9:function(){return i},W8:function(){return a},L7:function(){return u},P$:function(){return s}});n(5192);var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function i(e,t,n){var i=e.theme||{};if(Array.isArray(t)){var a=i.breakpoints||o;return t.reduce((function(e,r,o){return e[a.up(a.keys[o])]=n(t[o]),e}),{})}if("object"===typeof t){var u=i.breakpoints||o;return Object.keys(t).reduce((function(e,o){if(-1!==Object.keys(u.values||r).indexOf(o)){e[u.up(o)]=n(t[o],o)}else{var i=o;e[i]=t[i]}return e}),{})}return n(t)}function a(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==t||null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function u(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function s(e){var t,n=e.values,r=e.breakpoints,o=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(e,r,o){return Array.isArray(n)?(e[r]=null!=n[o]?n[o]:n[t],t=o):(e[r]=null!=n[r]?n[r]:n[t]||n,t=r),e}),{})}},7551:function(e,t,n){"use strict";n.d(t,{mi:function(){return s},Fq:function(){return c},_j:function(){return l},$n:function(){return f}});var r=n(7219);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function u(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,u=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-u*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function l(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}},9456:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7462),o=n(3366),i=n(3019),a=["values","unit","step"];function u(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,u=void 0===i?"px":i,s=e.step,c=void 0===s?5:s,l=(0,o.Z)(e,a),f=Object.keys(n);function d(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(u,")")}function p(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-c/100).concat(u,")")}function h(e,t){var r=f.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(u,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[f[r]]?n[f[r]]:t)-c/100).concat(u,")")}return(0,r.Z)({keys:f,values:n,up:d,down:p,between:h,only:function(e){return f.indexOf(e)+1<f.length?h(e,f[f.indexOf(e)+1]):d(e)},not:function(e){var t=f.indexOf(e);return 0===t?d(f[1]):t===f.length-1?p(f[t]):h(e,f[f.indexOf(e)+1]).replace("@media","@media not all and")},unit:u},l)}var s={borderRadius:4},c=n(6886);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=0===n.length?[1]:n;return o.map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}var f=["breakpoints","palette","spacing","shape"];var d=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,c=void 0===a?{}:a,d=e.spacing,p=e.shape,h=void 0===p?{}:p,v=(0,o.Z)(e,f),m=u(n),y=l(d),g=(0,i.Z)({breakpoints:m,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},c),spacing:y,shape:(0,r.Z)({},s,h)},v),b=arguments.length,x=new Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return g=x.reduce((function(e,t){return(0,i.Z)(e,t)}),g)}},9716:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y},G:function(){return G}});var r=n(4942),o=n(6428),i=n(7330);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),o=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,i.Z)(t,r[n](e)):t}),{})};return o.propTypes={},o.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),o},u=n(6886),s=n(4929);function c(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var l=(0,o.Z)({prop:"border",themeKey:"borders",transform:c}),f=(0,o.Z)({prop:"borderTop",themeKey:"borders",transform:c}),d=(0,o.Z)({prop:"borderRight",themeKey:"borders",transform:c}),p=(0,o.Z)({prop:"borderBottom",themeKey:"borders",transform:c}),h=(0,o.Z)({prop:"borderLeft",themeKey:"borders",transform:c}),v=(0,o.Z)({prop:"borderColor",themeKey:"palette"}),m=(0,o.Z)({prop:"borderTopColor",themeKey:"palette"}),y=(0,o.Z)({prop:"borderRightColor",themeKey:"palette"}),g=(0,o.Z)({prop:"borderBottomColor",themeKey:"palette"}),b=(0,o.Z)({prop:"borderLeftColor",themeKey:"palette"}),x=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,u.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,u.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["borderRadius"];var w=a(l,f,d,p,h,v,m,y,g,b,x),k=a((0,o.Z)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),(0,o.Z)({prop:"display"}),(0,o.Z)({prop:"overflow"}),(0,o.Z)({prop:"textOverflow"}),(0,o.Z)({prop:"visibility"}),(0,o.Z)({prop:"whiteSpace"})),S=a((0,o.Z)({prop:"flexBasis"}),(0,o.Z)({prop:"flexDirection"}),(0,o.Z)({prop:"flexWrap"}),(0,o.Z)({prop:"justifyContent"}),(0,o.Z)({prop:"alignItems"}),(0,o.Z)({prop:"alignContent"}),(0,o.Z)({prop:"order"}),(0,o.Z)({prop:"flex"}),(0,o.Z)({prop:"flexGrow"}),(0,o.Z)({prop:"flexShrink"}),(0,o.Z)({prop:"alignSelf"}),(0,o.Z)({prop:"justifyItems"}),(0,o.Z)({prop:"justifySelf"})),O=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,u.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,(function(e){return{gap:(0,u.NA)(t,e)}}))}return null};O.propTypes={},O.filterProps=["gap"];var E=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,u.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,(function(e){return{columnGap:(0,u.NA)(t,e)}}))}return null};E.propTypes={},E.filterProps=["columnGap"];var j=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,u.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,(function(e){return{rowGap:(0,u.NA)(t,e)}}))}return null};j.propTypes={},j.filterProps=["rowGap"];var P=a(O,E,j,(0,o.Z)({prop:"gridColumn"}),(0,o.Z)({prop:"gridRow"}),(0,o.Z)({prop:"gridAutoFlow"}),(0,o.Z)({prop:"gridAutoColumns"}),(0,o.Z)({prop:"gridAutoRows"}),(0,o.Z)({prop:"gridTemplateColumns"}),(0,o.Z)({prop:"gridTemplateRows"}),(0,o.Z)({prop:"gridTemplateAreas"}),(0,o.Z)({prop:"gridArea"})),C=a((0,o.Z)({prop:"position"}),(0,o.Z)({prop:"zIndex",themeKey:"zIndex"}),(0,o.Z)({prop:"top"}),(0,o.Z)({prop:"right"}),(0,o.Z)({prop:"bottom"}),(0,o.Z)({prop:"left"})),_=a((0,o.Z)({prop:"color",themeKey:"palette"}),(0,o.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),(0,o.Z)({prop:"backgroundColor",themeKey:"palette"})),T=(0,o.Z)({prop:"boxShadow",themeKey:"shadows"});function M(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var A=(0,o.Z)({prop:"width",transform:M}),R=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return(0,s.k9)(e,e.maxWidth,(function(t){var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||s.VO[t]||M(t)}}))}return null};R.filterProps=["maxWidth"];var N=(0,o.Z)({prop:"minWidth",transform:M}),D=(0,o.Z)({prop:"height",transform:M}),Z=(0,o.Z)({prop:"maxHeight",transform:M}),I=(0,o.Z)({prop:"minHeight",transform:M}),L=((0,o.Z)({prop:"size",cssProperty:"width",transform:M}),(0,o.Z)({prop:"size",cssProperty:"height",transform:M}),a(A,R,N,D,Z,I,(0,o.Z)({prop:"boxSizing"}))),F=(0,o.Z)({prop:"fontFamily",themeKey:"typography"}),z=(0,o.Z)({prop:"fontSize",themeKey:"typography"}),B=(0,o.Z)({prop:"fontStyle",themeKey:"typography"}),V=(0,o.Z)({prop:"fontWeight",themeKey:"typography"}),U=(0,o.Z)({prop:"letterSpacing"}),W=(0,o.Z)({prop:"lineHeight"}),H=(0,o.Z)({prop:"textAlign"}),q=a((0,o.Z)({prop:"typography",cssProperty:!1,themeKey:"typography"}),F,z,B,V,U,W,H),$={borders:w.filterProps,display:k.filterProps,flexbox:S.filterProps,grid:P.filterProps,positions:C.filterProps,palette:_.filterProps,shadows:T.filterProps,sizing:L.filterProps,spacing:u.ZP.filterProps,typography:q.filterProps},K={borders:w,display:k,flexbox:S,grid:P,positions:C,palette:_,shadows:T,sizing:L,spacing:u.ZP,typography:q},G=Object.keys($).reduce((function(e,t){return $[t].forEach((function(n){e[n]=K[t]})),e}),{});var Y=function(e,t,n){var o,i=(o={},(0,r.Z)(o,e,t),(0,r.Z)(o,"theme",n),o),a=G[e];return a?a(i):(0,r.Z)({},e,t)}},7330:function(e,t,n){"use strict";var r=n(3019);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},6886:function(e,t,n){"use strict";n.d(t,{hB:function(){return v},eI:function(){return h},ZP:function(){return k},NA:function(){return m}});var r=n(9439),o=n(4929),i=n(6428),a=n(7330);var u={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=u[o],l=s[i]||"";return Array.isArray(l)?l.map((function(e){return a+e})):[a+l]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(f,d);function h(e,t,n,r){var o=(0,i.D)(e,t)||n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function v(e){return h(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function y(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=m(t,n),e}),{})}}(l(n),r),a=e[n];return(0,o.k9)(e,a,i)}function g(e,t){var n=v(e.theme);return Object.keys(e).map((function(r){return y(e,t,r,n)})).reduce(a.Z,{})}function b(e){return g(e,f)}function x(e){return g(e,d)}function w(e){return g(e,p)}b.propTypes={},b.filterProps=f,x.propTypes={},x.filterProps=d,w.propTypes={},w.filterProps=p;var k=w},6428:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(4942),o=n(114),i=n(4929);function a(e,t){return t&&"string"===typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function u(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r)),r}t.Z=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,l=e.transform,f=function(e){if(null==e[t])return null;var n=e[t],f=a(e.theme,c)||{};return(0,i.k9)(e,n,(function(e){var n=u(f,l,e);return e===n&&"string"===typeof e&&(n=u(f,l,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===s?n:(0,r.Z)({},s,n)}))};return f.propTypes={},f.filterProps=[t],f}},6728:function(e,t,n){"use strict";var r=n(9456),o=n(4976),i=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},4290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9023);function o(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},4976:function(e,t,n){"use strict";var r=n(201);function o(e){return 0===Object.keys(e).length}t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,r.Z)();return!t||o(t)?e:t}},114:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7219);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4246:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},4312:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var u=function(){e.apply(r,i)};clearTimeout(t),t=setTimeout(u,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},3019:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return i}});var r=n(7462);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},7219:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},9081:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},3282:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9081);function o(e){return(0,r.Z)(e).defaultView||window}},9023:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(t){void 0===n[t]&&(n[t]=e[t])})),n}},9265:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2678:function(e,t,n){"use strict";var r=n(7313),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},2780:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7313),o=n(2678);function i(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},7472:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7313),o=n(9265);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,o.Z)(e,n),(0,o.Z)(t,n)}}),[e,t])}},3362:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9439),o=n(7313),i=0;function a(e){var t=o.useState(e),n=(0,r.Z)(t,2),a=n[0],u=n[1],s=e||a;return o.useEffect((function(){null==a&&u("mui-".concat(i+=1))}),[a]),s}},1881:function(e,t,n){e.exports=n(6948)},7570:function(e,t,n){"use strict";var r=n(899),o=n(8980),i=n(2508),a=n(3917),u=n(6551),s=n(7652),c=n(8652),l=n(775),f=n(4685),d=n(7691);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,v=e.headers,m=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+x)}var w=u(e.baseURL,e.url);function k(){if(g){var r="getAllResponseHeaders"in g?s(g.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};o((function(e){t(e),y()}),(function(e){n(e),y()}),i),g=null}}if(g.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=k:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(k)},g.onabort=function(){g&&(n(l("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(l("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var S=(e.withCredentials||c(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;S&&(v[e.xsrfHeaderName]=S)}"setRequestHeader"in g&&r.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),m&&"json"!==m&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){g&&(n(!e||e&&e.type?new d("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),g.send(h)}))}},6948:function(e,t,n){"use strict";var r=n(899),o=n(8813),i=n(5141),a=n(6276);var u=function e(t){var n=new i(t),u=o(i.prototype.request,n);return r.extend(u,i.prototype,n),r.extend(u,n),u.create=function(n){return e(a(t,n))},u}(n(4685));u.Axios=i,u.Cancel=n(7691),u.CancelToken=n(3914),u.isCancel=n(7797),u.VERSION=n(2102).version,u.all=function(e){return Promise.all(e)},u.spread=n(2922),u.isAxiosError=n(7079),e.exports=u,e.exports.default=u},7691:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},3914:function(e,t,n){"use strict";var r=n(7691);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},7797:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5141:function(e,t,n){"use strict";var r=n(899),o=n(3917),i=n(2564),a=n(1253),u=n(6276),s=n(7828),c=s.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(h){p(h);break}}try{o=a(f)}catch(h){return Promise.reject(h)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=l},2564:function(e,t,n){"use strict";var r=n(899);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},6551:function(e,t,n){"use strict";var r=n(7826),o=n(572);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},775:function(e,t,n){"use strict";var r=n(6813);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},1253:function(e,t,n){"use strict";var r=n(899),o=n(9486),i=n(7797),a=n(4685),u=n(7691);function s(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},6813:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},6276:function(e,t,n){"use strict";var r=n(899);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function u(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function s(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:s};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==s||(n[e]=o)})),n}},8980:function(e,t,n){"use strict";var r=n(775);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},9486:function(e,t,n){"use strict";var r=n(899),o=n(4685);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},4685:function(e,t,n){"use strict";var r=n(899),o=n(9428),i=n(6813),a={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(7570)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||s.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(u){if(a){if("SyntaxError"===u.name)throw i(u,this,"E_JSON_PARSE");throw u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(a)})),e.exports=s},2102:function(e){e.exports={version:"0.24.0"}},8813:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},3917:function(e,t,n){"use strict";var r=n(899);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},572:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2508:function(e,t,n){"use strict";var r=n(899);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},7826:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7079:function(e){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},8652:function(e,t,n){"use strict";var r=n(899);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},9428:function(e,t,n){"use strict";var r=n(899);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},7652:function(e,t,n){"use strict";var r=n(899),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},2922:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7828:function(e,t,n){"use strict";var r=n(2102).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},899:function(e,t,n){"use strict";var r=n(8813),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function s(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:u,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return u(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},6123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3061:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"===typeof e||"number"===typeof e)o+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{Z:function(){return o}})},6258:function(e){var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,n,r,o){if(!t.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!t[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var i=t[r][n]*e;return!1!==o?(o=Math.pow(10,parseInt(o)||5),Math.round(i*o)/o):i}},1759:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,u={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",l=c+"Invalid argument: ",f=c+"Exponent out of range: ",d=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=1e7,m=9007199254740991,y=d(1286742750677284.5),g={};function b(e,t){var n,r,o,i,a,u,c,l,f=e.constructor,d=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),s?_(t,d):t;if(c=e.d,l=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,u=l.length):(r=l,o=a,u=c.length),i>(u=(a=Math.ceil(d/7))>u?a+1:u+1)&&(i=u,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((u=c.length)-(i=l.length)<0&&(i=u,r=l,l=c,c=r),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/v|0,c[i]%=v;for(n&&(c.unshift(n),++o),u=c.length;0==c[--u];)c.pop();return t.d=c,t.e=o,s?_(t,d):t}function x(e,t,n){if(e!==~~e||e<t||e>n)throw Error(l+e)}function w(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(n=7-(r=e[t]+"").length)&&(i+=j(n)),i+=r;(n=7-(r=(a=e[t])+"").length)&&(i+=j(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return k(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return _(k(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return O(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=k(P(n,a),P(e,a),a),s=!0,_(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):b(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=k(n,e,0,1).times(e),s=!0,n.minus(t)):_(new r(n),o)},g.naturalExponential=g.exp=function(){return S(this)},g.naturalLogarithm=g.ln=function(){return P(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):T(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=O(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,i,a,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(c+"NaN")}for(e=O(u),s=!1,0==(o=Math.sqrt(+u))||o==1/0?(((t=w(u.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),r=new l(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new l(o.toString()),o=a=(n=l.precision)+3;;)if(r=(i=r).plus(k(u,i,a+2)).times(.5),w(i.d).slice(0,a)===(t=w(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(_(i,n+1,0),i.times(i).eq(u)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,_(r,n)},g.times=g.mul=function(e){var t,n,r,o,i,a,u,c,l,f=this,d=f.constructor,p=f.d,h=(e=new d(e)).d;if(!f.s||!e.s)return new d(0);for(e.s*=f.s,n=f.e+e.e,(c=p.length)<(l=h.length)&&(i=p,p=h,h=i,a=c,c=l,l=a),i=[],r=a=c+l;r--;)i.push(0);for(r=l;--r>=0;){for(t=0,o=c+r;o>r;)u=i[o]+h[r]*p[o-r-1]+t,i[o--]=u%v|0,t=u/v|0;i[o]=(i[o]+t)%v|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?_(e,d.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(x(e,0,a),void 0===t?t=r.rounding:x(t,0,8),_(n,e+O(n)+1,t))},g.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=M(r,!0):(x(e,0,a),void 0===t?t=o.rounding:x(t,0,8),n=M(r=_(new o(r),e+1,t),!0,e+1)),n},g.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?M(o):(x(e,0,a),void 0===t?t=i.rounding:x(t,0,8),n=M((r=_(new i(o),e+O(o)+1,t)).abs(),!1,e+O(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return _(new t(e),O(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,a,u,l=this,f=l.constructor,p=+(e=new f(e));if(!e.s)return new f(i);if(!(l=new f(l)).s){if(e.s<1)throw Error(c+"Infinity");return l}if(l.eq(i))return l;if(r=f.precision,e.eq(i))return _(l,r);if(u=(t=e.e)>=(n=e.d.length-1),a=l.s,u){if((n=p<0?-p:p)<=m){for(o=new f(i),t=Math.ceil(r/7+4),s=!1;n%2&&A((o=o.times(l)).d,t),0!==(n=d(n/2));)A((l=l.times(l)).d,t);return s=!0,e.s<0?new f(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,l.s=1,s=!1,o=e.times(P(l,r+12)),s=!0,(o=S(o)).s=a,o},g.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=M(o,(n=O(o))<=i.toExpNeg||n>=i.toExpPos):(x(e,1,a),void 0===t?t=i.rounding:x(t,0,8),r=M(o=_(new i(o),e,t),e<=(n=O(o))||n<=i.toExpNeg,e)),r},g.toSignificantDigits=g.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(x(e,1,a),void 0===t?t=n.rounding:x(t,0,8)),_(new n(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=O(e),n=e.constructor;return M(e,t<=n.toExpNeg||t>=n.toExpPos)};var k=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%v|0,r=n/v|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*v+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var u,s,l,f,d,p,h,m,y,g,b,x,w,k,S,E,j,P,C=r.constructor,T=r.s==o.s?1:-1,M=r.d,A=o.d;if(!r.s)return new C(r);if(!o.s)throw Error(c+"Division by zero");for(s=r.e-o.e,j=A.length,S=M.length,m=(h=new C(T)).d=[],l=0;A[l]==(M[l]||0);)++l;if(A[l]>(M[l]||0)&&--s,(x=null==i?i=C.precision:a?i+(O(r)-O(o))+1:i)<0)return new C(0);if(x=x/7+2|0,l=0,1==j)for(f=0,A=A[0],x++;(l<S||f)&&x--;l++)w=f*v+(M[l]||0),m[l]=w/A|0,f=w%A|0;else{for((f=v/(A[0]+1)|0)>1&&(A=e(A,f),M=e(M,f),j=A.length,S=M.length),k=j,g=(y=M.slice(0,j)).length;g<j;)y[g++]=0;(P=A.slice()).unshift(0),E=A[0],A[1]>=v/2&&++E;do{f=0,(u=t(A,y,j,g))<0?(b=y[0],j!=g&&(b=b*v+(y[1]||0)),(f=b/E|0)>1?(f>=v&&(f=v-1),1==(u=t(d=e(A,f),y,p=d.length,g=y.length))&&(f--,n(d,j<p?P:A,p))):(0==f&&(u=f=1),d=A.slice()),(p=d.length)<g&&d.unshift(0),n(y,d,g),-1==u&&(u=t(A,y,j,g=y.length))<1&&(f++,n(y,j<g?P:A,g)),g=y.length):0===u&&(f++,y=[0]),m[l++]=f,u&&y[0]?y[g++]=M[k]||0:(y=[M[k]],g=1)}while((k++<S||void 0!==y[0])&&x--)}return m[0]||m.shift(),h.e=s,_(h,a?i+O(h)+1:i)}}();function S(e,t){var n,r,o,a,u,c=0,l=0,d=e.constructor,h=d.precision;if(O(e)>16)throw Error(f+O(e));if(!e.s)return new d(i);for(null==t?(s=!1,u=h):u=t,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),l+=5;for(u+=Math.log(p(2,l))/Math.LN10*2+5|0,n=r=o=new d(i),d.precision=u;;){if(r=_(r.times(e),u),n=n.times(++c),w((a=o.plus(k(r,n,u))).d).slice(0,u)===w(o.d).slice(0,u)){for(;l--;)o=_(o.times(o),u);return d.precision=h,null==t?(s=!0,_(o,h)):o}o=a}}function O(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function E(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function j(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,o,a,u,l,f,d,p,h=1,v=e,m=v.d,y=v.constructor,g=y.precision;if(v.s<1)throw Error(c+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new y(0);if(null==t?(s=!1,d=g):d=t,v.eq(10))return null==t&&(s=!0),E(y,d);if(d+=10,y.precision=d,r=(n=w(m)).charAt(0),a=O(v),!(Math.abs(a)<15e14))return f=E(y,d+2,g).times(a+""),v=P(new y(r+"."+n.slice(1)),d-10).plus(f),y.precision=g,null==t?(s=!0,_(v,g)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((v=v.times(e)).d)).charAt(0),h++;for(a=O(v),r>1?(v=new y("0."+n),a++):v=new y(r+"."+n.slice(1)),l=u=v=k(v.minus(i),v.plus(i),d),p=_(v.times(v),d),o=3;;){if(u=_(u.times(p),d),w((f=l.plus(k(u,new y(o),d))).d).slice(0,d)===w(l.d).slice(0,d))return l=l.times(2),0!==a&&(l=l.plus(E(y,d+2,g).times(a+""))),l=k(l,new y(h),d),y.precision=g,null==t?(s=!0,_(l,g)):l;l=f,o+=2}}function C(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=d(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=7;r<o;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>y||e.e<-y))throw Error(f+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,o,i,a,u,c,l,h,m=e.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=7,o=t,l=m[h=0];else{if((h=Math.ceil((r+1)/7))>=(i=m.length))return e;for(l=i=m[h],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(u=l/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==m[h+1]||l%i,c=n<4?(u||c)&&(0==n||n==(e.s<0?3:2)):u>5||5==u&&(4==n||c||6==n&&(r>0?o>0?l/p(10,a-o):0:m[h-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return c?(i=O(e),m.length=1,t=t-i-1,m[0]=p(10,(7-t%7)%7),e.e=d(-t/7)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==r?(m.length=h,i=1,h--):(m.length=h+1,i=p(10,7-r),m[h]=o>0?(l/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(m[0]+=i)==v&&(m[0]=1,++e.e);break}if(m[h]+=i,m[h]!=v)break;m[h--]=0,i=1}for(r=m.length;0===m[--r];)m.pop();if(s&&(e.e>y||e.e<-y))throw Error(f+O(e));return e}function T(e,t){var n,r,o,i,a,u,c,l,f,d,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?_(t,h):t;if(c=e.d,d=t.d,r=t.e,l=e.e,c=c.slice(),a=l-r){for((f=a<0)?(n=c,a=-a,u=d.length):(n=d,r=l,u=c.length),a>(o=Math.max(Math.ceil(h/7),u)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((f=(o=c.length)<(u=d.length))&&(u=o),o=0;o<u;o++)if(c[o]!=d[o]){f=c[o]<d[o];break}a=0}for(f&&(n=c,c=d,d=n,t.s=-t.s),u=c.length,o=d.length-u;o>0;--o)c[u++]=0;for(o=d.length;o>a;){if(c[--o]<d[o]){for(i=o;i&&0===c[--i];)c[i]=v-1;--c[i],c[o]+=v}c[o]-=d[o]}for(;0===c[--u];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=r,s?_(t,h):t):new p(0)}function M(e,t,n){var r,o=O(e),i=w(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+j(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+j(-o-1)+i,n&&(r=n-a)>0&&(i+=j(r))):o>=a?(i+=j(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+j(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=j(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(d(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}u=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):C(t,e.toString())}if("string"!==typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(l+e);C(t,e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(u),u.default=u.Decimal=u,i=new u(1),void 0===(r=function(){return u}.call(t,n,t,e))||(e.exports=r)}()},548:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var u=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],u]:e._events[s].push(u):(e._events[s]=u,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function u(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),u.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},u.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},u.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},u.prototype.emit=function(e,t,r,o,i,a){var u=n?n+e:e;if(!this._events[u])return!1;var s,c,l=this._events[u],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,o),!0;case 5:return l.fn.call(l.context,t,r,o,i),!0;case 6:return l.fn.call(l.context,t,r,o,i,a),!0}for(c=1,s=new Array(f-1);c<f;c++)s[c-1]=arguments[c];l.fn.apply(l.context,s)}else{var d,p=l.length;for(c=0;c<p;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,r);break;case 4:l[c].fn.call(l[c].context,t,r,o);break;default:if(!s)for(d=1,s=new Array(f-1);d<f;d++)s[d-1]=arguments[d];l[c].fn.apply(l[c].context,s)}}return!0},u.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var u=this._events[i];if(u.fn)u.fn!==t||o&&!u.once||r&&u.context!==r||a(this,i);else{for(var s=0,c=[],l=u.length;s<l;s++)(u[s].fn!==t||o&&!u[s].once||r&&u[s].context!==r)&&c.push(u[s]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u},1831:function(e,t){!function(e){"use strict";var t="function"===typeof WeakSet,n=Object.keys;function r(e,t){return e===t||e!==e&&t!==t}function o(e){return e.constructor===Object||null==e.constructor}function i(e){return!!e&&"function"===typeof e.then}function a(e){return!(!e||!e.$$typeof)}function u(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}}var s=t?function(){return new WeakSet}:u;function c(e){return function(t){var n=e||t;return function(e,t,r){void 0===r&&(r=s());var o=!!e&&"object"===typeof e,i=!!t&&"object"===typeof t;if(o||i){var a=o&&r.has(e),u=i&&r.has(t);if(a||u)return a&&u;o&&r.add(e),i&&r.add(t)}return n(e,t,r)}}}function l(e,t,n,r){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!n(e[o],t[o],r))return!1;return!0}function f(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e,a){if(o){var u=!1,s=0;t.forEach((function(t,o){u||i[s]||(u=n(a,o,r)&&n(e,t,r))&&(i[s]=!0),s++})),o=u}}))}return o}var d="_owner",p=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,r,o){var i=n(e),u=i.length;if(n(t).length!==u)return!1;if(u)for(var s=void 0;u-- >0;){if((s=i[u])===d){var c=a(e),l=a(t);if((c||l)&&c!==l)return!1}if(!p(t,s)||!r(e[s],t[s],o))return!1}return!0}function v(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function m(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e){if(o){var a=!1,u=0;t.forEach((function(t){a||i[u]||(a=n(e,t,r))&&(i[u]=!0),u++})),o=a}}))}return o}var y="function"===typeof Map,g="function"===typeof Set;function b(e){var t="function"===typeof e?e(n):n;function n(e,n,a){if(e===n)return!0;if(e&&n&&"object"===typeof e&&"object"===typeof n){if(o(e)&&o(n))return h(e,n,t,a);var u=Array.isArray(e),s=Array.isArray(n);return u||s?u===s&&l(e,n,t,a):(u=e instanceof Date,s=n instanceof Date,u||s?u===s&&r(e.getTime(),n.getTime()):(u=e instanceof RegExp,s=n instanceof RegExp,u||s?u===s&&v(e,n):i(e)||i(n)?e===n:y&&(u=e instanceof Map,s=n instanceof Map,u||s)?u===s&&f(e,n,t,a):g&&(u=e instanceof Set,s=n instanceof Set,u||s)?u===s&&m(e,n,t,a):h(e,n,t,a)))}return e!==e&&n!==n}return n}var x=b(),w=b((function(){return r})),k=b(c()),S=b(c(r));e.circularDeepEqual=k,e.circularShallowEqual=S,e.createCustomEqual=b,e.deepEqual=x,e.sameValueZeroEqual=r,e.shallowEqual=w,Object.defineProperty(e,"__esModule",{value:!0})}(t)},7861:function(e,t,n){"use strict";var r=n(2535),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=s(t),v=s(n),m=0;m<a.length;++m){var y=a[m];if(!i[y]&&(!r||!r[y])&&(!v||!v[y])&&(!u||!u[y])){var g=d(n,y);try{c(t,y,g)}catch(b){}}}}return t}},229:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case v:case s:return e;default:return t}}case o:return t}}}function k(e){return w(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===l},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===u},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},2535:function(e,t,n){"use strict";e.exports=n(229)},936:function(e,t,n){var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=s||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,h=function(){return l.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,u,s,c=0,l=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,u=setTimeout(w,t),l?g(e):a}function x(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-c>=i}function w(){var e=h();if(x(e))return k(e);u=setTimeout(w,function(e){var n=t-(e-s);return f?p(n,i-(e-c)):n}(e))}function k(e){return u=void 0,y&&r?g(e):(r=o=void 0,a)}function S(){var e=h(),n=x(e);if(r=arguments,o=this,s=e,n){if(void 0===u)return b(s);if(f)return u=setTimeout(w,t),g(s)}return void 0===u&&(u=setTimeout(w,t)),a}return t=m(t)||0,v(n)&&(l=!!n.leading,i=(f="maxWait"in n)?d(m(n.maxWait)||0,t):i,y="trailing"in n?!!n.trailing:y),S.cancel=function(){void 0!==u&&clearTimeout(u),c=0,r=s=o=u=void 0},S.flush=function(){return void 0===u?a:k(h())},S}},2061:function(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,v=function(){return f.Date.now()};function m(e,t,n){var o,i,a,u,s,c,l=0,f=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,l=t,u=e.apply(r,n)}function x(e){return l=e,s=setTimeout(k,t),f?b(e):u}function w(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=a}function k(){var e=v();if(w(e))return S(e);s=setTimeout(k,function(e){var n=t-(e-c);return d?h(n,a-(e-l)):n}(e))}function S(e){return s=void 0,m&&o?b(e):(o=i=void 0,u)}function O(){var e=v(),n=w(e);if(o=arguments,i=this,c=e,n){if(void 0===s)return x(c);if(d)return s=setTimeout(k,t),b(c)}return void 0===s&&(s=setTimeout(k,t)),u}return t=g(t)||0,y(n)&&(f=!!n.leading,a=(d="maxWait"in n)?p(g(n.maxWait)||0,t):a,m="trailing"in n?!!n.trailing:m),O.cancel=function(){void 0!==s&&clearTimeout(s),l=0,o=c=i=s=void 0},O.flush=function(){return void 0===s?u:S(v())},O}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),m(e,t,{leading:o,maxWait:t,trailing:i})}},1725:function(e,t,n){var r=n(781)(n(7289),"DataView");e.exports=r},9748:function(e,t,n){var r=n(6545),o=n(9843),i=n(6266),a=n(7364),u=n(4156);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},5745:function(e,t,n){var r=n(329),o=n(9666),i=n(2523),a=n(4397),u=n(3316);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},8579:function(e,t,n){var r=n(781)(n(7289),"Map");e.exports=r},3109:function(e,t,n){var r=n(9e3),o=n(7240),i=n(3414),a=n(7140),u=n(5429);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},9946:function(e,t,n){var r=n(781)(n(7289),"Promise");e.exports=r},4199:function(e,t,n){var r=n(781)(n(7289),"Set");e.exports=r},4526:function(e,t,n){var r=n(3109),o=n(5845),i=n(5544);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},7016:function(e,t,n){var r=n(5745),o=n(3653),i=n(3359),a=n(2571),u=n(1698),s=n(5883);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,e.exports=c},8624:function(e,t,n){var r=n(7289).Symbol;e.exports=r},6759:function(e,t,n){var r=n(7289).Uint8Array;e.exports=r},3289:function(e,t,n){var r=n(781)(n(7289),"WeakMap");e.exports=r},1686:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},3514:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},4951:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},4405:function(e,t,n){var r=n(9038);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},6722:function(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},3200:function(e,t,n){var r=n(4499),o=n(2794),i=n(5585),a=n(667),u=n(674),s=n(3153),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&s(e),p=n||l||f||d,h=p?r(e.length,String):[],v=h.length;for(var m in e)!t&&!c.call(e,m)||p&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||u(m,v))||h.push(m);return h}},5434:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},5349:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},5364:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},9330:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},1044:function(e){e.exports=function(e){return e.split("")}},556:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},9194:function(e,t,n){var r=n(3666);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},6351:function(e,t,n){var r=n(1438);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},2785:function(e,t,n){var r=n(5705),o=n(5305)(r);e.exports=o},4754:function(e,t,n){var r=n(2785);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},7022:function(e,t,n){var r=n(2060);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],u=t(a);if(null!=u&&(void 0===s?u===u&&!r(u):n(u,s)))var s=u,c=a}return c}},3527:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},3255:function(e,t,n){var r=n(5349),o=n(9798);e.exports=function e(t,n,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},5461:function(e,t,n){var r=n(2550)();e.exports=r},5705:function(e,t,n){var r=n(5461),o=n(6385);e.exports=function(e,t){return e&&r(e,t,o)}},207:function(e,t,n){var r=n(4534),o=n(925);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},2606:function(e,t,n){var r=n(5349),o=n(5585);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},8665:function(e,t,n){var r=n(8624),o=n(3596),i=n(8186),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},2174:function(e){e.exports=function(e,t){return e>t}},9473:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},1966:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9038:function(e,t,n){var r=n(3527),o=n(7700),i=n(3245);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},1276:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},7081:function(e,t,n){var r=n(9110),o=n(9752);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,u))}},9110:function(e,t,n){var r=n(7016),o=n(4132),i=n(9820),a=n(6353),u=n(8466),s=n(5585),c=n(667),l=n(3153),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,m,y){var g=s(e),b=s(t),x=g?d:u(e),w=b?d:u(t),k=(x=x==f?p:x)==p,S=(w=w==f?p:w)==p,O=x==w;if(O&&c(e)){if(!c(t))return!1;g=!0,k=!1}if(O&&!k)return y||(y=new r),g||l(e)?o(e,t,n,v,m,y):i(e,t,x,n,v,m,y);if(!(1&n)){var E=k&&h.call(e,"__wrapped__"),j=S&&h.call(t,"__wrapped__");if(E||j){var P=E?e.value():e,C=j?t.value():t;return y||(y=new r),m(P,C,n,v,y)}}return!!O&&(y||(y=new r),a(e,t,n,v,m,y))}},9280:function(e,t,n){var r=n(7016),o=n(7081);e.exports=function(e,t,n,i){var a=n.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=n[a])[0],f=e[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var h=i(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},7700:function(e){e.exports=function(e){return e!==e}},3186:function(e,t,n){var r=n(375),o=n(5401),i=n(1845),a=n(2043),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:u).test(a(e))}},7499:function(e,t,n){var r=n(8665),o=n(4276),i=n(9752),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,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},1186:function(e,t,n){var r=n(5662),o=n(8768),i=n(9908),a=n(5585),u=n(4445);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},3409:function(e,t,n){var r=n(6132),o=n(8723),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},3225:function(e){e.exports=function(e,t){return e<t}},1839:function(e,t,n){var r=n(2785),o=n(2114);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},5662:function(e,t,n){var r=n(9280),o=n(5113),i=n(2093);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},8768:function(e,t,n){var r=n(7081),o=n(9706),i=n(9775),a=n(8939),u=n(9253),s=n(2093),c=n(925);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},9318:function(e,t,n){var r=n(5434),o=n(207),i=n(1186),a=n(1839),u=n(78),s=n(6902),c=n(9674),l=n(9908),f=n(5585);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[l];var d=-1;t=r(t,s(i));var p=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return u(p,(function(e,t){return c(e,t,n)}))}},1125:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},171:function(e,t,n){var r=n(207);e.exports=function(e){return function(t){return r(t,e)}}},559:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},2948:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,u=n(t((r-e)/(o||1)),0),s=Array(u);u--;)s[i?u:++a]=e,e+=o;return s}},4409:function(e,t,n){var r=n(9908),o=n(5313),i=n(3457);e.exports=function(e,t){return i(o(e,t,r),e+"")}},3145:function(e,t,n){var r=n(3194),o=n(1438),i=n(9908),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},4339:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},3268:function(e,t,n){var r=n(2785);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},78:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},4499:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1612:function(e,t,n){var r=n(8624),o=n(5434),i=n(5585),a=n(2060),u=r?r.prototype:void 0,s=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},2306:function(e,t,n){var r=n(5510),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},6902:function(e){e.exports=function(e){return function(t){return e(t)}}},7579:function(e,t,n){var r=n(4526),o=n(4405),i=n(6722),a=n(8905),u=n(6946),s=n(3671);e.exports=function(e,t,n){var c=-1,l=o,f=e.length,d=!0,p=[],h=p;if(n)d=!1,l=i;else if(f>=200){var v=t?null:u(e);if(v)return s(v);d=!1,l=a,h=new r}else h=t?[]:p;e:for(;++c<f;){var m=e[c],y=t?t(m):m;if(m=n||0!==m?m:0,d&&y===y){for(var g=h.length;g--;)if(h[g]===y)continue e;t&&h.push(y),p.push(m)}else l(h,y,n)||(h!==p&&h.push(y),p.push(m))}return p}},8905:function(e){e.exports=function(e,t){return e.has(t)}},4534:function(e,t,n){var r=n(5585),o=n(8939),i=n(3002),a=n(1822);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},3325:function(e,t,n){var r=n(4339);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},5445:function(e,t,n){var r=n(2060);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),u=void 0!==t,s=null===t,c=t===t,l=r(t);if(!s&&!l&&!a&&e>t||a&&u&&c&&!s&&!l||o&&u&&c||!n&&c||!i)return 1;if(!o&&!a&&!l&&e<t||l&&n&&i&&!o&&!a||s&&n&&i||!u&&i||!c)return-1}return 0}},9674:function(e,t,n){var r=n(5445);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,u=i.length,s=n.length;++o<u;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},7683:function(e,t,n){var r=n(7289)["__core-js_shared__"];e.exports=r},5305:function(e,t,n){var r=n(2114);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,u=Object(n);(t?a--:++a<i)&&!1!==o(u[a],a,u););return n}}},2550:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break}return t}}},2797:function(e,t,n){var r=n(3325),o=n(5101),i=n(4817),a=n(1822);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,u=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return u[e]()+s}}},8012:function(e,t,n){var r=n(5364),o=n(6110),i=n(8771),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},1392:function(e,t,n){var r=n(1186),o=n(2114),i=n(6385);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(u[e],e,u)}}var c=e(t,n,a);return c>-1?u[s?t[c]:c]:void 0}}},3934:function(e,t,n){var r=n(2948),o=n(3271),i=n(9103);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},6946:function(e,t,n){var r=n(4199),o=n(8568),i=n(3671),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},5443:function(e,t,n){var r=n(559)({"\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"});e.exports=r},1438:function(e,t,n){var r=n(781),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},4132:function(e,t,n){var r=n(4526),o=n(9330),i=n(8905);e.exports=function(e,t,n,a,u,s){var c=1&n,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var h=-1,v=!0,m=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var y=e[h],g=t[h];if(a)var b=c?a(g,y,h,t,e,s):a(y,g,h,e,t,s);if(void 0!==b){if(b)continue;v=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(y===e||u(y,e,n,a,s)))return m.push(t)}))){v=!1;break}}else if(y!==g&&!u(y,g,n,a,s)){v=!1;break}}return s.delete(e),s.delete(t),v}},9820:function(e,t,n){var r=n(8624),o=n(6759),i=n(3666),a=n(4132),u=n(258),s=n(3671),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=u;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var v=d.get(e);if(v)return v==t;r|=2,d.set(e,t);var m=a(p(e),p(t),r,c,f,d);return d.delete(e),m;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},6353:function(e,t,n){var r=n(7253),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var s=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in t:o.call(t,d)))return!1}var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var v=!0;u.set(e,t),u.set(t,e);for(var m=s;++f<l;){var y=e[d=c[f]],g=t[d];if(i)var b=s?i(g,y,d,t,e,u):i(y,g,d,e,t,u);if(!(void 0===b?y===g||a(y,g,n,i,u):b)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(v=!1)}return u.delete(e),u.delete(t),v}},2692:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},7253:function(e,t,n){var r=n(2606),o=n(6504),i=n(6385);e.exports=function(e){return r(e,i,o)}},6911:function(e,t,n){var r=n(1591);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},5113:function(e,t,n){var r=n(9253),o=n(6385);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},781:function(e,t,n){var r=n(3186),o=n(760);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},3596:function(e,t,n){var r=n(8624),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(s){}var o=a.call(e);return r&&(t?e[u]=n:delete e[u]),o}},6504:function(e,t,n){var r=n(4951),o=n(2554),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=u},8466:function(e,t,n){var r=n(1725),o=n(8579),i=n(9946),a=n(4199),u=n(3289),s=n(8665),c=n(2043),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",v=c(r),m=c(o),y=c(i),g=c(a),b=c(u),x=s;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=l||i&&x(i.resolve())!=f||a&&x(new a)!=d||u&&x(new u)!=p)&&(x=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return h;case m:return l;case y:return f;case g:return d;case b:return p}return t}),e.exports=x},760:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1898:function(e,t,n){var r=n(4534),o=n(2794),i=n(5585),a=n(674),u=n(4276),s=n(925);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=s(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&u(l)&&a(d,l)&&(i(e)||o(e))}},5101:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},3771:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},6545:function(e,t,n){var r=n(1353);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},9843:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6266:function(e,t,n){var r=n(1353),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},7364:function(e,t,n){var r=n(1353),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},4156:function(e,t,n){var r=n(1353);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9798:function(e,t,n){var r=n(8624),o=n(2794),i=n(5585),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},674:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3271:function(e,t,n){var r=n(3666),o=n(2114),i=n(674),a=n(1845);e.exports=function(e,t,n){if(!a(n))return!1;var u=typeof t;return!!("number"==u?o(n)&&i(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},8939:function(e,t,n){var r=n(5585),o=n(2060),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},1591:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5401:function(e,t,n){var r=n(7683),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},6132:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},9253:function(e,t,n){var r=n(1845);e.exports=function(e){return e===e&&!r(e)}},329:function(e){e.exports=function(){this.__data__=[],this.size=0}},9666:function(e,t,n){var r=n(9194),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},2523:function(e,t,n){var r=n(9194);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},4397:function(e,t,n){var r=n(9194);e.exports=function(e){return r(this.__data__,e)>-1}},3316:function(e,t,n){var r=n(9194);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},9e3:function(e,t,n){var r=n(9748),o=n(5745),i=n(8579);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},7240:function(e,t,n){var r=n(6911);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},3414:function(e,t,n){var r=n(6911);e.exports=function(e){return r(this,e).get(e)}},7140:function(e,t,n){var r=n(6911);e.exports=function(e){return r(this,e).has(e)}},5429:function(e,t,n){var r=n(6911);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},258:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},2093:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},3679:function(e,t,n){var r=n(2736);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},1353:function(e,t,n){var r=n(781)(Object,"create");e.exports=r},8723:function(e,t,n){var r=n(9698)(Object.keys,Object);e.exports=r},7785:function(e,t,n){e=n.nmd(e);var r=n(2692),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=u},8186:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9698:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5313:function(e,t,n){var r=n(1686),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),s=Array(u);++a<u;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},7289:function(e,t,n){var r=n(2692),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},5845:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5544:function(e){e.exports=function(e){return this.__data__.has(e)}},3671:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},3457:function(e,t,n){var r=n(3145),o=n(5008)(r);e.exports=o},5008:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},3653:function(e,t,n){var r=n(5745);e.exports=function(){this.__data__=new r,this.size=0}},3359:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},2571:function(e){e.exports=function(e){return this.__data__.get(e)}},1698:function(e){e.exports=function(e){return this.__data__.has(e)}},5883:function(e,t,n){var r=n(5745),o=n(8579),i=n(3109);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},3245:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},4817:function(e,t,n){var r=n(1044),o=n(5101),i=n(694);e.exports=function(e){return o(e)?i(e):r(e)}},3002:function(e,t,n){var r=n(3679),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},925:function(e,t,n){var r=n(2060);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},2043:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},5510:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},694:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")"+"?",s="[\\ufe0e\\ufe0f]?",c=s+u+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+s+u+")*"),l="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},8043:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\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",i="["+o+"]",a="\\d+",u="[\\u2700-\\u27bf]",s="["+n+"]",c="[^\\ud800-\\udfff"+o+a+t+n+r+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+r+"]",p="(?:"+s+"|"+c+")",h="(?:"+d+"|"+c+")",v="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",g="[\\ufe0e\\ufe0f]?",b=g+y+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,f].join("|")+")"+g+y+")*"),x="(?:"+[u,l,f].join("|")+")"+b,w=RegExp([d+"?"+s+"+"+v+"(?="+[i,d,"$"].join("|")+")",h+"+"+m+"(?="+[i,d+p,"$"].join("|")+")",d+"?"+p+"+"+v,d+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,x].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},9746:function(e,t,n){var r=n(4608),o=n(8012)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},4608:function(e,t,n){var r=n(1822),o=n(4569);e.exports=function(e){return o(r(e).toLowerCase())}},3194:function(e){e.exports=function(e){return function(){return e}}},2279:function(e,t,n){var r=n(1845),o=n(6170),i=n(7923),a=Math.max,u=Math.min;e.exports=function(e,t,n){var s,c,l,f,d,p,h=0,v=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=s,r=c;return s=c=void 0,h=t,f=e.apply(r,n)}function b(e){return h=e,d=setTimeout(w,t),v?g(e):f}function x(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=l}function w(){var e=o();if(x(e))return k(e);d=setTimeout(w,function(e){var n=t-(e-p);return m?u(n,l-(e-h)):n}(e))}function k(e){return d=void 0,y&&s?g(e):(s=c=void 0,f)}function S(){var e=o(),n=x(e);if(s=arguments,c=this,p=e,n){if(void 0===d)return b(p);if(m)return clearTimeout(d),d=setTimeout(w,t),g(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,l=(m="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),S.cancel=function(){void 0!==d&&clearTimeout(d),h=0,s=p=c=d=void 0},S.flush=function(){return void 0===d?f:k(o())},S}},6110:function(e,t,n){var r=n(5443),o=n(1822),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},3666:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},5499:function(e,t,n){var r=n(3514),o=n(4754),i=n(1186),a=n(5585),u=n(3271);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&u(e,t,n)&&(t=void 0),s(e,i(t,3))}},3709:function(e,t,n){var r=n(1392)(n(4353));e.exports=r},4353:function(e,t,n){var r=n(3527),o=n(1186),i=n(7260),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var s=null==n?0:i(n);return s<0&&(s=a(u+s,0)),r(e,o(t,3),s)}},2572:function(e,t,n){var r=n(3255),o=n(3428);e.exports=function(e,t){return r(o(e,t),1)}},9706:function(e,t,n){var r=n(207);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},1912:function(e,t,n){var r=n(9473),o=n(1898);e.exports=function(e,t){return null!=e&&o(e,t,r)}},9775:function(e,t,n){var r=n(1966),o=n(1898);e.exports=function(e,t){return null!=e&&o(e,t,r)}},9908:function(e){e.exports=function(e){return e}},2794:function(e,t,n){var r=n(1276),o=n(9752),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},5585:function(e){var t=Array.isArray;e.exports=t},2114:function(e,t,n){var r=n(375),o=n(4276);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9877:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},667:function(e,t,n){e=n.nmd(e);var r=n(7289),o=n(5535),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?r.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;e.exports=s},1905:function(e,t,n){var r=n(7081);e.exports=function(e,t){return r(e,t)}},375:function(e,t,n){var r=n(8665),o=n(1845);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4276:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6783:function(e,t,n){var r=n(9714);e.exports=function(e){return r(e)&&e!=+e}},1450:function(e){e.exports=function(e){return null==e}},9714:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},1845:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9752:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},5406:function(e,t,n){var r=n(8665),o=n(5585),i=n(9752);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},2060:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},3153:function(e,t,n){var r=n(7499),o=n(6902),i=n(7785),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},6385:function(e,t,n){var r=n(3200),o=n(3409),i=n(2114);e.exports=function(e){return i(e)?r(e):o(e)}},2699:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},3428:function(e,t,n){var r=n(5434),o=n(1186),i=n(1839),a=n(5585);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},4129:function(e,t,n){var r=n(6351),o=n(5705),i=n(1186);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,t(e,o,i),e)})),n}},8463:function(e,t,n){var r=n(6351),o=n(5705),i=n(1186);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},4402:function(e,t,n){var r=n(7022),o=n(2174),i=n(9908);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},2736:function(e,t,n){var r=n(3109);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},2507:function(e,t,n){var r=n(7022),o=n(3225),i=n(9908);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},8568:function(e){e.exports=function(){}},6170:function(e,t,n){var r=n(7289);e.exports=function(){return r.Date.now()}},4445:function(e,t,n){var r=n(1125),o=n(171),i=n(8939),a=n(925);e.exports=function(e){return i(e)?r(a(e)):o(e)}},3575:function(e,t,n){var r=n(3934)();e.exports=r},3796:function(e,t,n){var r=n(8012)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},6366:function(e,t,n){var r=n(9330),o=n(1186),i=n(3268),a=n(5585),u=n(3271);e.exports=function(e,t,n){var s=a(e)?r:i;return n&&u(e,t,n)&&(t=void 0),s(e,o(t,3))}},163:function(e,t,n){var r=n(3255),o=n(9318),i=n(4409),a=n(3271),u=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=u},2554:function(e){e.exports=function(){return[]}},5535:function(e){e.exports=function(){return!1}},1909:function(e,t,n){var r=n(2279),o=n(1845);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},9103:function(e,t,n){var r=n(7923),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},7260:function(e,t,n){var r=n(9103);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},7923:function(e,t,n){var r=n(2306),o=n(1845),i=n(2060),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},1822:function(e,t,n){var r=n(1612);e.exports=function(e){return null==e?"":r(e)}},5487:function(e,t,n){var r=n(1186),o=n(7579);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},4569:function(e,t,n){var r=n(2797)("toUpperCase");e.exports=r},8771:function(e,t,n){var r=n(556),o=n(3771),i=n(1822),a=n(8043);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},154:function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function s(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return c=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&u(o,n.prototype),o},c.apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},l(e)}function f(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 h=function(e){function t(){return e.apply(this,arguments)||this}return i(t,e),t}(l(Error)),v=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return i(t,e),t}(h),m=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return i(t,e),t}(h),y=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return i(t,e),t}(h),g=function(e){function t(){return e.apply(this,arguments)||this}return i(t,e),t}(h),b=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return i(t,e),t}(h),x=function(e){function t(){return e.apply(this,arguments)||this}return i(t,e),t}(h),w=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return i(t,e),t}(h),k="numeric",S="short",O="long",E={year:k,month:k,day:k},j={year:k,month:S,day:k},P={year:k,month:S,day:k,weekday:S},C={year:k,month:O,day:k},_={year:k,month:O,day:k,weekday:O},T={hour:k,minute:k},M={hour:k,minute:k,second:k},A={hour:k,minute:k,second:k,timeZoneName:S},R={hour:k,minute:k,second:k,timeZoneName:O},N={hour:k,minute:k,hourCycle:"h23"},D={hour:k,minute:k,second:k,hourCycle:"h23"},Z={hour:k,minute:k,second:k,hourCycle:"h23",timeZoneName:S},I={hour:k,minute:k,second:k,hourCycle:"h23",timeZoneName:O},L={year:k,month:k,day:k,hour:k,minute:k},F={year:k,month:k,day:k,hour:k,minute:k,second:k},z={year:k,month:S,day:k,hour:k,minute:k},B={year:k,month:S,day:k,hour:k,minute:k,second:k},V={year:k,month:S,day:k,weekday:S,hour:k,minute:k},U={year:k,month:O,day:k,hour:k,minute:k,timeZoneName:S},W={year:k,month:O,day:k,hour:k,minute:k,second:k,timeZoneName:S},H={year:k,month:O,day:k,weekday:O,hour:k,minute:k,timeZoneName:O},q={year:k,month:O,day:k,weekday:O,hour:k,minute:k,second:k,timeZoneName:O};function $(e){return"undefined"===typeof e}function K(e){return"number"===typeof e}function G(e){return"number"===typeof e&&e%1===0}function Y(){try{return"undefined"!==typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function J(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var o=[t(r),r];return e&&n(e[0],o[0])===e[0]?e:o}),null)[1]}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q(e,t,n){return G(e)&&e>=t&&e<=n}function ee(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function te(e){return $(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){return $(e)||null===e||""===e?void 0:parseFloat(e)}function re(e){if(!$(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function oe(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function ie(e){return e%4===0&&(e%100!==0||e%400===0)}function ae(e){return ie(e)?366:365}function ue(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?ie(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function se(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function ce(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function le(e){return e>99?e:e>60?1900+e:2e3+e}function fe(e,t,n,r){void 0===r&&(r=null);var i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var u=o({timeZoneName:t},a),s=new Intl.DateTimeFormat(n,u).formatToParts(i).find((function(e){return"timezonename"===e.type.toLowerCase()}));return s?s.value:null}function de(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function pe(e){var t=Number(e);if("boolean"===typeof e||""===e||Number.isNaN(t))throw new x("Invalid unit value "+e);return t}function he(e,t){var n={};for(var r in e)if(X(e,r)){var o=e[r];if(void 0===o||null===o)continue;n[t(r)]=pe(o)}return n}function ve(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return""+o+ee(n,2)+":"+ee(r,2);case"narrow":return""+o+n+(r>0?":"+r:"");case"techie":return""+o+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function me(e){return function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}(e,["hour","minute","second","millisecond"])}var ye=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z0-9_+-]{1,256}(\/[A-Za-z0-9_+-]{1,256})?)?/,ge=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],xe=["J","F","M","A","M","J","J","A","S","O","N","D"];function we(e){switch(e){case"narrow":return[].concat(xe);case"short":return[].concat(be);case"long":return[].concat(ge);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var ke=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Se=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Oe=["M","T","W","T","F","S","S"];function Ee(e){switch(e){case"narrow":return[].concat(Oe);case"short":return[].concat(Se);case"long":return[].concat(ke);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var je=["AM","PM"],Pe=["Before Christ","Anno Domini"],Ce=["BC","AD"],_e=["B","A"];function Te(e){switch(e){case"narrow":return[].concat(_e);case"short":return[].concat(Ce);case"long":return[].concat(Pe);default:return null}}function Me(e,t){for(var n,r="",o=p(e);!(n=o()).done;){var i=n.value;i.literal?r+=i.val:r+=t(i.val)}return r}var Ae={D:E,DD:j,DDD:C,DDDD:_,t:T,tt:M,ttt:A,tttt:R,T:N,TT:D,TTT:Z,TTTT:I,f:L,ff:z,fff:U,ffff:H,F:F,FF:B,FFF:W,FFFF:q},Re=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,o=[],i=0;i<e.length;i++){var a=e.charAt(i);"'"===a?(n.length>0&&o.push({literal:r,val:n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&o.push({literal:!1,val:n}),n=a,t=a)}return n.length>0&&o.push({literal:r,val:n}),o},e.macroTokenToFormatOpts=function(e){return Ae[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,o({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,o({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,o({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,o({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=o({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,o="en"===this.loc.listingMode(),i=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,a=function(e,n){return r.loc.extract(t,e,n)},u=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},s=function(){return o?function(e){return je[e.hour<12?0:1]}(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},c=function(e,n){return o?function(e,t){return we(t)[e.month-1]}(t,e):a(n?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,n){return o?function(e,t){return Ee(t)[e.weekday-1]}(t,e):a(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},f=function(e){return o?function(e,t){return Te(t)[e.year<0?0:1]}(t,e):a({era:e},"era")};return Me(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12===0?12:t.hour%12);case"hh":return r.num(t.hour%12===0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return u({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return u({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return u({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return s();case"d":return i?a({day:"numeric"},"day"):r.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return i?a({month:"numeric"},"month"):r.num(t.month);case"MM":return i?a({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return i?a({year:"numeric"},"year"):r.num(t.year);case"yy":return i?a({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):r.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var o=e.macroTokenToFormatOpts(n);return o?r.formatWithSystemDefault(t,o):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,o=this,i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},a=e.parseFormat(n),u=a.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),s=t.shiftTo.apply(t,u.map(i).filter((function(e){return e})));return Me(a,(r=s,function(e){var t=i(e);return t?o.num(r.get(t),e.length):e}))},e}(),Ne=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),De=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new w},t.formatOffset=function(e,t){throw new w},t.offset=function(e){throw new w},t.equals=function(e){throw new w},r(e,[{key:"type",get:function(){throw new w}},{key:"name",get:function(){throw new w}},{key:"isUniversal",get:function(){throw new w}},{key:"isValid",get:function(){throw new w}}]),e}(),Ze=null,Ie=function(e){function t(){return e.apply(this,arguments)||this}i(t,e);var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},r(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Ze&&(Ze=new t),Ze}}]),t}(De),Le=RegExp("^"+ye.source+"$"),Fe={};var ze={year:0,month:1,day:2,hour:3,minute:4,second:5};var Be={},Ve=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}i(t,e),t.create=function(e){return Be[e]||(Be[e]=new t(e)),Be[e]},t.resetCache=function(){Be={},Fe={}},t.isValidSpecifier=function(e){return!(!e||!e.match(Le))},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(t){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Fe[n]||(Fe[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Fe[n]),o=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var i=n[o],a=i.type,u=i.value,s=ze[a];$(s)||(r[s]=parseInt(u,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),o=r[1],i=r[2];return[r[3],o,i,r[4],r[5],r[6]]}(r,t),i=o[0],a=o[1],u=o[2],s=o[3],c=+t,l=c%1e3;return(se({year:i,month:a,day:u,hour:24===s?0:s,minute:o[4],second:o[5],millisecond:0})-(c-=l>=0?l:1e3+l))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(De),Ue=null,We=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}i(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(de(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return ve(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ve(this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Ue&&(Ue=new t(0)),Ue}}]),t}(De),He=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}i(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(De);function qe(e,t){if($(e)||null===e)return t;if(e instanceof De)return e;if("string"===typeof e){var n=e.toLowerCase();return"local"===n||"system"===n?t:"utc"===n||"gmt"===n?We.utcInstance:Ve.isValidSpecifier(n)?Ve.create(e):We.parseSpecifier(n)||new He(e)}return K(e)?We.instance(e):"object"===typeof e&&e.offset&&"number"===typeof e.offset?e:new He(e)}var $e,Ke=function(){return Date.now()},Ge="system",Ye=null,Je=null,Xe=null,Qe=function(){function e(){}return e.resetCaches=function(){dt.resetCache(),Ve.resetCache()},r(e,null,[{key:"now",get:function(){return Ke},set:function(e){Ke=e}},{key:"defaultZone",get:function(){return qe(Ge,Ie.instance)},set:function(e){Ge=e}},{key:"defaultLocale",get:function(){return Ye},set:function(e){Ye=e}},{key:"defaultNumberingSystem",get:function(){return Je},set:function(e){Je=e}},{key:"defaultOutputCalendar",get:function(){return Xe},set:function(e){Xe=e}},{key:"throwOnInvalid",get:function(){return $e},set:function(e){$e=e}}]),e}(),et=["base"],tt=["padTo","floor"],nt={};var rt={};function ot(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=rt[n];return r||(r=new Intl.DateTimeFormat(e,t),rt[n]=r),r}var it={};var at={};var ut=null;function st(e,t,n,r,o){var i=e.listingMode(n);return"error"===i?null:"en"===i?r(t):o(t)}var ct=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=f(n,tt);if(!t||Object.keys(r).length>0){var i=o({useGrouping:!1},n);n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=it[n];return r||(r=new Intl.NumberFormat(e,t),it[n]=r),r}(e,i)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):oe(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,e.zone.isUniversal){var i=e.offset/60*-1,a=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i;0!==e.offset&&Ve.create(a).valid?(r=a,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:vr.fromMillis(e.ts+60*e.offset*1e3))}else"system"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);var u=o({},this.opts);r&&(u.timeZone=r),this.dtf=ot(t,u)}var t=e.prototype;return t.format=function(){return this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),ft=function(){function e(e,t,n){this.opts=o({style:"long"},n),!t&&Y()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=f(n,et),o=JSON.stringify([e,r]),i=at[o];return i||(i=new Intl.RelativeTimeFormat(e,t),at[o]=i),i}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&i){var a="days"===e;switch(t){case 1:return a?"tomorrow":"next "+o[e][0];case-1:return a?"yesterday":"last "+o[e][0];case 0:return a?"today":"this "+o[e][0]}}var u=Object.is(t,-0)||t<0,s=Math.abs(t),c=1===s,l=o[e],f=r?c?l[1]:l[2]||l[1]:c?o[e][0]:e;return u?s+" "+f+" ago":"in "+s+" "+f}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),dt=function(){function e(e,t,n,r){var o=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=ot(e).resolvedOptions()}catch(i){n=ot(r).resolvedOptions()}var o=n;return[r,o.numberingSystem,o.calendar]}(e),i=o[0],a=o[1],u=o[2];this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=n||u||null,this.intl=function(e,t,n){return n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,o){void 0===o&&(o=!1);var i=t||Qe.defaultLocale;return new e(i||(o?"en-US":ut||(ut=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Qe.defaultNumberingSystem,r||Qe.defaultOutputCalendar,i)},e.resetCache=function(){ut=null,rt={},it={},at={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,o=n.numberingSystem,i=n.outputCalendar;return e.create(r,o,i)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(o({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(o({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,we,(function(){var n=t?{month:e,day:"numeric"}:{month:e},o=t?"format":"standalone";return r.monthsCache[o][e]||(r.monthsCache[o][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=vr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[o][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,Ee,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},o=t?"format":"standalone";return r.weekdaysCache[o][e]||(r.weekdaysCache[o][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=vr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[o][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),st(this,void 0,e,(function(){return je}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};t.meridiemCache=[vr.utc(2016,11,13,9),vr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),st(this,e,t,Te,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[vr.utc(-40,1,1),vr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ft(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.ListFormat(e,t),nt[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],i=t[1],a=t[2],u=n(e,a),s=u[0],c=u[1],l=u[2];return[o({},r,s),i||c,l]}),[{},null,1]).slice(0,2)}}function vt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o],u=a[0],s=a[1],c=u.exec(e);if(c)return s(c)}return[null,null]}function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,o={};for(r=0;r<t.length;r++)o[t[r]]=te(e[n+r]);return[o,null,n+r]}}var yt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,bt=RegExp(""+gt.source+yt.source+"?"),xt=RegExp("(?:T"+bt.source+")?"),wt=mt("weekYear","weekNumber","weekDay"),kt=mt("year","ordinal"),St=RegExp(gt.source+" ?(?:"+yt.source+"|("+ye.source+"))?"),Ot=RegExp("(?: "+St.source+")?");function Et(e,t,n){var r=e[t];return $(r)?n:te(r)}function jt(e,t){return[{year:Et(e,t),month:Et(e,t+1,1),day:Et(e,t+2,1)},null,t+3]}function Pt(e,t){return[{hours:Et(e,t,0),minutes:Et(e,t+1,0),seconds:Et(e,t+2,0),milliseconds:re(e[t+3])},null,t+4]}function Ct(e,t){var n=!e[t]&&!e[t+1],r=de(e[t+1],e[t+2]);return[{},n?null:We.instance(r),t+3]}function _t(e,t){return[{},e[t]?Ve.create(e[t]):null,t+1]}var Tt=RegExp("^T?"+gt.source+"$"),Mt=/^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function At(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],u=e[6],s=e[7],c=e[8],l="-"===t[0],f=s&&"-"===s[0],d=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&l)?-e:e};return[{years:d(ne(n)),months:d(ne(r)),weeks:d(ne(o)),days:d(ne(i)),hours:d(ne(a)),minutes:d(ne(u)),seconds:d(ne(s),"-0"===s),milliseconds:d(re(c),f)}]}var Rt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nt(e,t,n,r,o,i,a){var u={year:2===t.length?le(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(o),minute:te(i)};return a&&(u.second=te(a)),e&&(u.weekday=e.length>3?ke.indexOf(e)+1:Se.indexOf(e)+1),u}var Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Zt(e){var t,n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],u=e[6],s=e[7],c=e[8],l=e[9],f=e[10],d=e[11],p=Nt(n,i,o,r,a,u,s);return t=c?Rt[c]:l?0:de(f,d),[p,new We(t)]}var It=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Lt=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ft=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function zt(e){var t=e[1],n=e[2],r=e[3];return[Nt(t,e[4],r,n,e[5],e[6],e[7]),We.utcInstance]}function Bt(e){var t=e[1],n=e[2],r=e[3],o=e[4],i=e[5],a=e[6];return[Nt(t,e[7],n,r,o,i,a),We.utcInstance]}var Vt=pt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,xt),Ut=pt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,xt),Wt=pt(/(\d{4})-?(\d{3})/,xt),Ht=pt(bt),qt=ht(jt,Pt,Ct),$t=ht(wt,Pt,Ct),Kt=ht(kt,Pt,Ct),Gt=ht(Pt,Ct);var Yt=ht(Pt);var Jt=pt(/(\d{4})-(\d\d)-(\d\d)/,Ot),Xt=pt(St),Qt=ht(jt,Pt,Ct,_t),en=ht(Pt,Ct,_t);var tn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},nn=o({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},tn),rn=365.2425,on=30.436875,an=o({years:{quarters:4,months:12,weeks:52.1775,days:rn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:on,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},tn),un=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sn=un.slice(0).reverse();function cn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:o({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new fn(r)}function ln(e,t,n,r,o){var i=e[o][n],a=t[n]/i,u=!(Math.sign(a)===Math.sign(r[o]))&&0!==r[o]&&Math.abs(a)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(a):Math.trunc(a);r[o]+=u,t[n]-=u*i}var fn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||dt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?an:nn,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject({milliseconds:t},n)},e.fromObject=function(t,n){if(void 0===n&&(n={}),null==t||"object"!==typeof t)throw new x("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:he(t,e.normalizeUnit),loc:dt.fromObject(n),conversionAccuracy:n.conversionAccuracy})},e.fromDurationLike=function(t){if(K(t))return e.fromMillis(t);if(e.isDuration(t))return t;if("object"===typeof t)return e.fromObject(t);throw new x("Unknown duration argument "+t+" of type "+typeof t)},e.fromISO=function(t,n){var r=function(e){return vt(e,[Mt,At])}(t),o=r[0];return o?e.fromObject(o,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return vt(e,[Tt,Yt])}(t),o=r[0];return o?e.fromObject(o,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new x("need to specify a reason the Duration is invalid");var r=t instanceof Ne?t:new Ne(t,n);if(Qe.throwOnInvalid)throw new y(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new b(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=o({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Re.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toHuman=function(e){var t=this;void 0===e&&(e={});var n=un.map((function(n){var r=t.values[n];return $(r)?null:t.loc.numberFormatter(o({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(o({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},t.toObject=function(){return this.isValid?o({},this.values):{}},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=oe(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=o({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var i=n.toFormat(r);return e.includePrefix&&(i="T"+i),i},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(t){if(!this.isValid)return this;for(var n,r=e.fromDurationLike(t),o={},i=p(un);!(n=i()).done;){var a=n.value;(X(r.values,a)||X(this.values,a))&&(o[a]=r.get(a)+this.get(a))}return cn(this,{values:o},!0)},t.minus=function(t){if(!this.isValid)return this;var n=e.fromDurationLike(t);return this.plus(n.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var o=r[n];t[o]=pe(e(this.values[o],o))}return cn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?cn(this,{values:o({},this.values,he(t,e.normalizeUnit))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,o=t.conversionAccuracy,i={loc:this.loc.clone({locale:n,numberingSystem:r})};return o&&(i.conversionAccuracy=o),cn(this,i)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){sn.reduce((function(n,r){return $(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),cn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var o,i,a={},u={},s=this.toObject(),c=p(un);!(i=c()).done;){var l=i.value;if(n.indexOf(l)>=0){o=l;var f=0;for(var d in u)f+=this.matrix[d][l]*u[d],u[d]=0;K(s[l])&&(f+=s[l]);var h=Math.trunc(f);for(var v in a[l]=h,u[l]=(1e3*f-1e3*h)/1e3,s)un.indexOf(v)>un.indexOf(l)&&ln(this.matrix,s,v,a,l)}else K(s[l])&&(u[l]=s[l])}for(var m in u)0!==u[m]&&(a[o]+=m===o?u[m]:u[m]/this.matrix[o][m]);return cn(this,{values:a},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=-this.values[r]}return cn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=p(un);!(t=n()).done;){var r=t.value;if(o=this.values[r],i=e.values[r],!(void 0===o||0===o?void 0===i||0===i:o===i))return!1}var o,i;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),dn="Invalid Interval";function pn(e,t){return e&&e.isValid?t&&t.isValid?t<e?hn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:hn.invalid("missing or invalid end"):hn.invalid("missing or invalid start")}var hn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new x("need to specify a reason the Interval is invalid");var r=t instanceof Ne?t:new Ne(t,n);if(Qe.throwOnInvalid)throw new m(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=mr(t),o=mr(n),i=pn(r,o);return null==i?new e({start:r,end:o}):i},e.after=function(t,n){var r=fn.fromDurationLike(n),o=mr(t);return e.fromDateTimes(o,o.plus(r))},e.before=function(t,n){var r=fn.fromDurationLike(n),o=mr(t);return e.fromDateTimes(o.minus(r),o)},e.fromISO=function(t,n){var r=(t||"").split("/",2),o=r[0],i=r[1];if(o&&i){var a,u,s,c;try{u=(a=vr.fromISO(o,n)).isValid}catch(i){u=!1}try{c=(s=vr.fromISO(i,n)).isValid}catch(i){c=!1}if(u&&c)return e.fromDateTimes(a,s);if(u){var l=fn.fromISO(i,n);if(l.isValid)return e.after(a,l)}else if(c){var f=fn.fromISO(o,n);if(f.isValid)return e.before(s,f)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,o=n.end;return this.isValid?e.fromDateTimes(r||this.s,o||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=r.map(mr).filter((function(e){return t.contains(e)})).sort(),a=[],u=this.s,s=0;u<this.e;){var c=i[s]||this.e,l=+c>+this.e?this.e:c;a.push(e.fromDateTimes(u,l)),u=l,s+=1}return a},t.splitBy=function(t){var n=fn.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,o=this.s,i=1,a=[];o<this.e;){var u=this.start.plus(n.mapUnits((function(e){return e*i})));r=+u>+this.e?this.e:u,a.push(e.fromDateTimes(o,r)),o=r,i+=1}return a},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e===+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e===+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,o=null,i=0,a=[],u=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=p((n=Array.prototype).concat.apply(n,u).sort((function(e,t){return e.time-t.time})));!(r=s()).done;){var c=r.value;1===(i+="s"===c.type?1:-1)?o=c.time:(o&&+o!==+c.time&&a.push(e.fromDateTimes(o,c.time)),o=null)}return e.merge(a)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" \u2013 "+this.e.toISO()+")":dn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):dn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():dn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):dn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" \u2013 ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):dn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):fn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),vn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Qe.defaultZone);var t=vr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Ve.isValidSpecifier(e)&&Ve.isValidZone(e)},e.normalizeZone=function(e){return qe(e,Qe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,u=n.locObj,s=void 0===u?null:u,c=n.outputCalendar,l=void 0===c?"gregory":c;return(s||dt.create(o,a,l)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,u=n.locObj,s=void 0===u?null:u,c=n.outputCalendar,l=void 0===c?"gregory":c;return(s||dt.create(o,a,l)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,u=n.locObj;return((void 0===u?null:u)||dt.create(o,a,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,u=n.locObj;return((void 0===u?null:u)||dt.create(o,a,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return dt.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return dt.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:Y()}},e}();function mn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(fn.fromMillis(r).as("days"))}function yn(e,t,n,r){var o=function(e,t,n){for(var r,o,i={},a=0,u=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=mn(e,t);return(n-n%7)/7}],["days",mn]];a<u.length;a++){var s=u[a],c=s[0],l=s[1];if(n.indexOf(c)>=0){var f;r=c;var d,p=l(e,t);(o=e.plus(((f={})[c]=p,f)))>t?(e=e.plus(((d={})[c]=p-1,d)),p-=1):e=o,i[c]=p}}return[e,i,o,r]}(e,t,n),i=o[0],a=o[1],u=o[2],s=o[3],c=t-i,l=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===l.length){var f;if(u<t)u=i.plus(((f={})[s]=1,f));u!==i&&(a[s]=(a[s]||0)+c/(u-i))}var d,p=fn.fromObject(a,r);return l.length>0?(d=fn.fromMillis(c,r)).shiftTo.apply(d,l).plus(p):p}var gn={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},bn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},xn=gn.hanidec.replace(/[\[|\]]/g,"").split("");function wn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+gn[n||"latn"]+t)}function kn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(gn.hanidec))t+=xn.indexOf(e[n]);else for(var o in bn){var i=bn[o],a=i[0],u=i[1];r>=a&&r<=u&&(t+=r-a)}}return parseInt(t,10)}return t}(n))}}}var Sn="( |"+String.fromCharCode(160)+")",On=new RegExp(Sn,"g");function En(e){return e.replace(/\./g,"\\.?").replace(On,Sn)}function jn(e){return e.replace(/\./g,"").replace(On," ").toLowerCase()}function Pn(e,t){return null===e?null:{regex:RegExp(e.map(En).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return jn(r)===jn(e)}))+t}}}function Cn(e,t){return{regex:e,deser:function(e){return de(e[1],e[2])},groups:t}}function _n(e){return{regex:e,deser:function(e){return e[0]}}}var Tn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Mn=null;function An(e,t){if(e.literal)return e;var n=Re.macroTokenToFormatOpts(e.val);if(!n)return e;var r=Re.create(t,n).formatDateTimeParts((Mn||(Mn=vr.fromMillis(1555555555555)),Mn)).map((function(e){return function(e,t,n){var r=e.type,o=e.value;if("literal"===r)return{literal:!0,val:o};var i=n[r],a=Tn[r];return"object"===typeof a&&(a=a[i]),a?{literal:!1,val:a}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function Rn(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return An(e,t)})))}(Re.parseFormat(n),e),o=r.map((function(t){return function(e,t){var n=wn(t),r=wn(t,"{2}"),o=wn(t,"{3}"),i=wn(t,"{4}"),a=wn(t,"{6}"),u=wn(t,"{1,2}"),s=wn(t,"{1,3}"),c=wn(t,"{1,6}"),l=wn(t,"{1,9}"),f=wn(t,"{2,4}"),d=wn(t,"{4,6}"),p=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},h=function(h){if(e.literal)return p(h);switch(h.val){case"G":return Pn(t.eras("short",!1),0);case"GG":return Pn(t.eras("long",!1),0);case"y":return kn(c);case"yy":case"kk":return kn(f,le);case"yyyy":case"kkkk":return kn(i);case"yyyyy":return kn(d);case"yyyyyy":return kn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(u);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(r);case"MMM":return Pn(t.months("short",!0,!1),1);case"MMMM":return Pn(t.months("long",!0,!1),1);case"LLL":return Pn(t.months("short",!1,!1),1);case"LLLL":return Pn(t.months("long",!1,!1),1);case"o":case"S":return kn(s);case"ooo":case"SSS":return kn(o);case"u":return _n(l);case"uu":return _n(u);case"uuu":case"E":case"c":return kn(n);case"a":return Pn(t.meridiems(),0);case"EEE":return Pn(t.weekdays("short",!1,!1),1);case"EEEE":return Pn(t.weekdays("long",!1,!1),1);case"ccc":return Pn(t.weekdays("short",!0,!1),1);case"cccc":return Pn(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Cn(new RegExp("([+-]"+u.source+")(?::("+r.source+"))?"),2);case"ZZZ":return Cn(new RegExp("([+-]"+u.source+")("+r.source+")?"),2);case"z":return _n(/[a-z_+-/]{1,256}?/i);default:return p(h)}}(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return h.token=e,h}(t,e)})),i=o.find((function(e){return e.invalidReason}));if(i)return{input:t,tokens:r,invalidReason:i.invalidReason};var a=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(o),u=a[0],s=a[1],c=RegExp(u,"i"),l=function(e,t,n){var r=e.match(t);if(r){var o={},i=1;for(var a in n)if(X(n,a)){var u=n[a],s=u.groups?u.groups+1:1;!u.literal&&u.token&&(o[u.token.val[0]]=u.deser(r.slice(i,i+s))),i+=s}return[r,o]}return[r,{}]}(t,c,s),f=l[0],d=l[1],p=d?function(e){var t,n=null;return $(e.z)||(n=Ve.create(e.z)),$(e.Z)||(n||(n=new We(e.Z)),t=e.Z),$(e.q)||(e.M=3*(e.q-1)+1),$(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),$(e.u)||(e.S=re(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(d):[null,null,void 0],h=p[0],v=p[1],m=p[2];if(X(d,"a")&&X(d,"H"))throw new g("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:c,rawMatches:f,matches:d,result:h,zone:v,specificOffset:m}}var Nn=[0,31,59,90,120,151,181,212,243,273,304,334],Dn=[0,31,60,91,121,152,182,213,244,274,305,335];function Zn(e,t){return new Ne("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function In(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Ln(e,t,n){return n+(ie(e)?Dn:Nn)[t-1]}function Fn(e,t){var n=ie(e)?Dn:Nn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function zn(e){var t,n=e.year,r=e.month,i=e.day,a=Ln(n,r,i),u=In(n,r,i),s=Math.floor((a-u+10)/7);return s<1?s=ce(t=n-1):s>ce(n)?(t=n+1,s=1):t=n,o({weekYear:t,weekNumber:s,weekday:u},me(e))}function Bn(e){var t,n=e.weekYear,r=e.weekNumber,i=e.weekday,a=In(n,1,4),u=ae(n),s=7*r+i-a-3;s<1?s+=ae(t=n-1):s>u?(t=n+1,s-=ae(n)):t=n;var c=Fn(t,s);return o({year:t,month:c.month,day:c.day},me(e))}function Vn(e){var t=e.year;return o({year:t,ordinal:Ln(t,e.month,e.day)},me(e))}function Un(e){var t=e.year,n=Fn(t,e.ordinal);return o({year:t,month:n.month,day:n.day},me(e))}function Wn(e){var t=G(e.year),n=Q(e.month,1,12),r=Q(e.day,1,ue(e.year,e.month));return t?n?!r&&Zn("day",e.day):Zn("month",e.month):Zn("year",e.year)}function Hn(e){var t=e.hour,n=e.minute,r=e.second,o=e.millisecond,i=Q(t,0,23)||24===t&&0===n&&0===r&&0===o,a=Q(n,0,59),u=Q(r,0,59),s=Q(o,0,999);return i?a?u?!s&&Zn("millisecond",o):Zn("second",r):Zn("minute",n):Zn("hour",t)}var qn="Invalid DateTime",$n=864e13;function Kn(e){return new Ne("unsupported zone",'the zone "'+e.name+'" is not supported')}function Gn(e){return null===e.weekData&&(e.weekData=zn(e.c)),e.weekData}function Yn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new vr(o({},n,t,{old:n}))}function Jn(e,t,n){var r=e-60*t*1e3,o=n.offset(r);if(t===o)return[r,t];r-=60*(o-t)*1e3;var i=n.offset(r);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}function Xn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Qn(e,t,n){return Jn(se(e),t,n)}function er(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),a=o({},e.c,{year:r,month:i,day:Math.min(e.c.day,ue(r,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),u=fn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=Jn(se(a),n,e.zone),c=s[0],l=s[1];return 0!==u&&(c+=u,l=e.zone.offset(c)),{ts:c,o:l}}function tr(e,t,n,r,i,a){var u=n.setZone,s=n.zone;if(e&&0!==Object.keys(e).length){var c=t||s,l=vr.fromObject(e,o({},n,{zone:c,specificOffset:a}));return u?l:l.setZone(s)}return vr.invalid(new Ne("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function nr(e,t,n){return void 0===n&&(n=!0),e.isValid?Re.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function rr(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=ee(e.c.year,n?6:4),t?(r+="-",r+=ee(e.c.month),r+="-",r+=ee(e.c.day)):(r+=ee(e.c.month),r+=ee(e.c.day)),r}function or(e,t,n,r,o){var i=ee(e.c.hour);return t?(i+=":",i+=ee(e.c.minute),0===e.c.second&&n||(i+=":")):i+=ee(e.c.minute),0===e.c.second&&n||(i+=ee(e.c.second),0===e.c.millisecond&&r||(i+=".",i+=ee(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset?i+="Z":e.o<0?(i+="-",i+=ee(Math.trunc(-e.o/60)),i+=":",i+=ee(Math.trunc(-e.o%60))):(i+="+",i+=ee(Math.trunc(e.o/60)),i+=":",i+=ee(Math.trunc(e.o%60)))),i}var ir={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ar={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ur={ordinal:1,hour:0,minute:0,second:0,millisecond:0},sr=["year","month","day","hour","minute","second","millisecond"],cr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function fr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new b(e);return t}function dr(e,t){var n,r,o=qe(t.zone,Qe.defaultZone),i=dt.fromObject(t),a=Qe.now();if($(e.year))n=a;else{for(var u,s=p(sr);!(u=s()).done;){var c=u.value;$(e[c])&&(e[c]=ir[c])}var l=Wn(e)||Hn(e);if(l)return vr.invalid(l);var f=Qn(e,o.offset(a),o);n=f[0],r=f[1]}return new vr({ts:n,zone:o,loc:i,o:r})}function pr(e,t,n){var r=!!$(n.round)||n.round,o=function(e,o){return e=oe(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,o)},i=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return o(i(n.unit),n.unit);for(var a,u=p(n.units);!(a=u()).done;){var s=a.value,c=i(s);if(Math.abs(c)>=1)return o(c,s)}return o(e>t?-0:0,n.units[n.units.length-1])}function hr(e){var t,n={};return e.length>0&&"object"===typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var vr=function(){function e(e){var t=e.zone||Qe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Ne("invalid input"):null)||(t.isValid?null:Kn(t));this.ts=$(e.ts)?Qe.now():e.ts;var r=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var i=[e.old.c,e.old.o];r=i[0],o=i[1]}else{var a=t.offset(this.ts);r=Xn(this.ts,a),r=(n=Number.isNaN(r.year)?new Ne("invalid input"):null)?null:r,o=n?null:a}this._zone=t,this.loc=e.loc||dt.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],s=n[5],c=n[6];return dr({year:r,month:o,day:i,hour:a,minute:u,second:s,millisecond:c},t)},e.utc=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],s=n[5],c=n[6];return t.zone=We.utcInstance,dr({year:r,month:o,day:i,hour:a,minute:u,second:s,millisecond:c},t)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,o=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(o))return e.invalid("invalid input");var i=qe(n.zone,Qe.defaultZone);return i.isValid?new e({ts:o,zone:i,loc:dt.fromObject(n)}):e.invalid(Kn(i))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),K(t))return t<-$n||t>$n?e.invalid("Timestamp out of range"):new e({ts:t,zone:qe(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new x("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),K(t))return new e({ts:1e3*t,zone:qe(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new x("fromSeconds requires a numerical input")},e.fromObject=function(t,n){void 0===n&&(n={}),t=t||{};var r=qe(n.zone,Qe.defaultZone);if(!r.isValid)return e.invalid(Kn(r));var o=Qe.now(),i=$(n.specificOffset)?r.offset(o):n.specificOffset,a=he(t,fr),u=!$(a.ordinal),s=!$(a.year),c=!$(a.month)||!$(a.day),l=s||c,f=a.weekYear||a.weekNumber,d=dt.fromObject(n);if((l||u)&&f)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&u)throw new g("Can't mix ordinal dates with month/day");var h,v,m=f||a.weekday&&!l,y=Xn(o,i);m?(h=cr,v=ar,y=zn(y)):u?(h=lr,v=ur,y=Vn(y)):(h=sr,v=ir);for(var b,x=!1,w=p(h);!(b=w()).done;){var k=b.value;$(a[k])?a[k]=x?v[k]:y[k]:x=!0}var S=m?function(e){var t=G(e.weekYear),n=Q(e.weekNumber,1,ce(e.weekYear)),r=Q(e.weekday,1,7);return t?n?!r&&Zn("weekday",e.weekday):Zn("week",e.week):Zn("weekYear",e.weekYear)}(a):u?function(e){var t=G(e.year),n=Q(e.ordinal,1,ae(e.year));return t?!n&&Zn("ordinal",e.ordinal):Zn("year",e.year)}(a):Wn(a),O=S||Hn(a);if(O)return e.invalid(O);var E=Qn(m?Bn(a):u?Un(a):a,i,r),j=new e({ts:E[0],zone:r,o:E[1],loc:d});return a.weekday&&l&&t.weekday!==j.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+j.toISO()):j},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return vt(e,[Vt,qt],[Ut,$t],[Wt,Kt],[Ht,Gt])}(e);return tr(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return vt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Dt,Zt])}(e);return tr(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return vt(e,[It,zt],[Lt,zt],[Ft,Bt])}(e);return tr(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),$(t)||$(n))throw new x("fromFormat requires an input string and a format");var o=r,i=o.locale,a=void 0===i?null:i,u=o.numberingSystem,s=void 0===u?null:u,c=function(e,t,n){var r=Rn(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(dt.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),t,n),l=c[0],f=c[1],d=c[2],p=c[3];return p?e.invalid(p):tr(l,f,r,"format "+n,t,d)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return vt(e,[Jt,Qt],[Xt,en])}(e);return tr(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new x("need to specify a reason the DateTime is invalid");var r=t instanceof Ne?t:new Ne(t,n);if(Qe.throwOnInvalid)throw new v(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=Re.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(We.instance(e),t)},t.toLocal=function(){return this.setZone(Qe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,o=r.keepLocalTime,i=void 0!==o&&o,a=r.keepCalendarTime,u=void 0!==a&&a;if((t=qe(t,Qe.defaultZone)).equals(this.zone))return this;if(t.isValid){var s=this.ts;if(i||u){var c=t.offset(this.ts);s=Qn(this.toObject(),c,t)[0]}return Yn(this,{ts:s,zone:t})}return e.invalid(Kn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,o=t.outputCalendar;return Yn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:o})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=he(e,fr),r=!$(n.weekYear)||!$(n.weekNumber)||!$(n.weekday),i=!$(n.ordinal),a=!$(n.year),u=!$(n.month)||!$(n.day),s=a||u,c=n.weekYear||n.weekNumber;if((s||i)&&c)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&i)throw new g("Can't mix ordinal dates with month/day");r?t=Bn(o({},zn(this.c),n)):$(n.ordinal)?(t=o({},this.toObject(),n),$(n.day)&&(t.day=Math.min(ue(t.year,t.month),t.day))):t=Un(o({},Vn(this.c),n));var l=Qn(t,this.o,this.zone);return Yn(this,{ts:l[0],o:l[1]})},t.plus=function(e){return this.isValid?Yn(this,er(this,fn.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Yn(this,er(this,fn.fromDurationLike(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=fn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Re.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):qn},t.toLocaleString=function(e,t){return void 0===e&&(e=E),void 0===t&&(t={}),this.isValid?Re.create(this.loc.clone(t),e).formatDateTime(this):qn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Re.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,o=t.suppressSeconds,i=void 0!==o&&o,a=t.suppressMilliseconds,u=void 0!==a&&a,s=t.includeOffset,c=void 0===s||s;if(!this.isValid)return null;var l="extended"===r,f=rr(this,l);return f+="T",f+=or(this,l,i,u,c)},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?rr(this,"extended"===n):null},t.toISOWeekDate=function(){return nr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,o=t.suppressSeconds,i=void 0!==o&&o,a=t.includeOffset,u=void 0===a||a,s=t.includePrefix,c=void 0!==s&&s,l=t.format,f=void 0===l?"extended":l;return this.isValid?(c?"T":"")+or(this,"extended"===f,i,r,u):null},t.toRFC2822=function(){return nr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return nr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return this.isValid?rr(this,!0):null},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,o=t.includeZone,i=void 0!==o&&o,a="HH:mm:ss.SSS";return(i||r)&&(a+=" ",i?a+="z":r&&(a+="ZZ")),nr(this,a,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():qn},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=o({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return fn.invalid("created by diffing an invalid DateTime");var r,i=o({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(r=t,Array.isArray(r)?r:[r]).map(fn.normalizeUnit),u=e.valueOf()>this.valueOf(),s=yn(u?this:e,u?e:this,a,i);return u?s.negate():s},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?hn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,i=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),pr(n,this.plus(r),o({},t,{numeric:"always",units:i,unit:a}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?pr(t.base||e.fromObject({},{zone:this.zone}),this,o({},t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new x("min requires all arguments be DateTimes");return J(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new x("max requires all arguments be DateTimes");return J(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,o=r.locale,i=void 0===o?null:o,a=r.numberingSystem,u=void 0===a?null:a;return Rn(dt.fromOpts({locale:i,numberingSystem:u,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Gn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Gn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Gn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Vn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?vn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?vn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?vn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?vn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ie(this.year)}},{key:"daysInMonth",get:function(){return ue(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ae(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ce(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return E}},{key:"DATE_MED",get:function(){return j}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return P}},{key:"DATE_FULL",get:function(){return C}},{key:"DATE_HUGE",get:function(){return _}},{key:"TIME_SIMPLE",get:function(){return T}},{key:"TIME_WITH_SECONDS",get:function(){return M}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return A}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return R}},{key:"TIME_24_SIMPLE",get:function(){return N}},{key:"TIME_24_WITH_SECONDS",get:function(){return D}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return Z}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return I}},{key:"DATETIME_SHORT",get:function(){return L}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return F}},{key:"DATETIME_MED",get:function(){return z}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return B}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return V}},{key:"DATETIME_FULL",get:function(){return U}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return W}},{key:"DATETIME_HUGE",get:function(){return H}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return q}}]),e}();function mr(e){if(vr.isDateTime(e))return e;if(e&&e.valueOf&&K(e.valueOf()))return vr.fromJSDate(e);if(e&&"object"===typeof e)return vr.fromObject(e);throw new x("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=vr,t.kI=vn,t.Zr=Qe},1843:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,i){for(var a,u,s=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))n.call(a,l)&&(s[l]=a[l]);if(t){u=t(a);for(var f=0;f<u.length;f++)r.call(a,u[f])&&(s[u[f]]=a[u[f]])}}return s}},3460:function(e){(function(){var t,n,r,o,i,a;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},n=process.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},1729:function(e,t,n){"use strict";var r=n(9165);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5192:function(e,t,n){e.exports=n(1729)()},9165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3294:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,u=new t(512),s=new t(512),c=new t(512);function l(e){return u.get(e)||u.set(e,f(e).map((function(e){return e.replace(a,"$2")})))}function f(e){return e.match(n)}function d(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function p(e){return!d(e)&&(function(e){return e.match(o)&&!e.match(r)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:t,split:f,normalizePath:l,setter:function(e){var t=l(e);return s.get(e)||s.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=l(e);return c.get(e)||c.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(d(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,u=e.length;for(o=0;o<u;o++)(r=e[o])&&(p(r)&&(r='"'+r+'"'),i=!(a=d(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:f(e),t,n)}}},4903:function(e,t,n){for(var r=n(3460),o="undefined"===typeof window?n.g:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!u&&c<i.length;c++)u=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!u||!s){var l=0,f=0,d=[];u=function(e){if(0===d.length){var t=r(),n=Math.max(0,16.666666666666668-(t-l));l=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return u.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=u,e.cancelAnimationFrame=s}},534:function(e,t,n){"use strict";var r=n(7313),o=n(1843),i=n(2224);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var u=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)u.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function x(e,t,n,r){var o=y.hasOwnProperty(t)?y[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(v,e)||!p.call(h,e)&&(d.test(e)?v[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);y[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);y[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);y[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,S=60106,O=60107,E=60108,j=60114,P=60109,C=60110,_=60112,T=60113,M=60120,A=60115,R=60116,N=60121,D=60128,Z=60129,I=60130,L=60131;if("function"===typeof Symbol&&Symbol.for){var F=Symbol.for;k=F("react.element"),S=F("react.portal"),O=F("react.fragment"),E=F("react.strict_mode"),j=F("react.profiler"),P=F("react.provider"),C=F("react.context"),_=F("react.forward_ref"),T=F("react.suspense"),M=F("react.suspense_list"),A=F("react.memo"),R=F("react.lazy"),N=F("react.block"),F("react.scope"),D=F("react.opaque.id"),Z=F("react.debug_trace_mode"),I=F("react.offscreen"),L=F("react.legacy_hidden")}var z,B="function"===typeof Symbol&&Symbol.iterator;function V(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=B&&e[B]||e["@@iterator"])?e:null}function U(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function H(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var o=s.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=u);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?U(e):""}function q(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case O:return"Fragment";case S:return"Portal";case j:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case A:return $(e.type);case N:return $(e._render);case R:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function J(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ue(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ve,me,ye=(me=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ve=ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xe=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){xe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Se=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function je(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Ce=null,_e=null;function Te(e){if(e=ro(e)){if("function"!==typeof Pe)throw Error(a(280));var t=e.stateNode;t&&(t=io(t),Pe(e.stateNode,e.type,t))}}function Me(e){Ce?_e?_e.push(e):_e=[e]:Ce=e}function Ae(){if(Ce){var e=Ce,t=_e;if(_e=Ce=null,Te(e),t)for(e=0;e<t.length;e++)Te(t[e])}}function Re(e,t){return e(t)}function Ne(e,t,n,r,o){return e(t,n,r,o)}function De(){}var Ze=Re,Ie=!1,Le=!1;function Fe(){null===Ce&&null===_e||(De(),Ae())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=io(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Be=!1;if(f)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){Be=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(me){Be=!1}function Ue(e,t,n,r,o,i,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}}var We=!1,He=null,qe=!1,$e=null,Ke={onError:function(e){We=!0,He=e}};function Ge(e,t,n,r,o,i,a,u,s){We=!1,He=null,Ue.apply(Ke,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Ye(e)!==e)throw Error(a(188))}function Qe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xe(o),e;if(i===r)return Xe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u){for(s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,it=!1,at=[],ut=null,st=null,ct=null,lt=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":ut=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ht(t,n,r,o,i),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function yt(e){var t=no(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){gt(e)&&n.delete(t)}function xt(){for(it=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==ut&&gt(ut)&&(ut=null),null!==st&&gt(st)&&(st=null),null!==ct&&gt(ct)&&(ct=null),lt.forEach(bt),ft.forEach(bt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,xt)))}function kt(e){function t(t){return wt(t,e)}if(0<at.length){wt(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ut&&wt(ut,e),null!==st&&wt(st,e),null!==ct&&wt(ct,e),lt.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)yt(n),null===n.blockedOn&&dt.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ot={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},Et={},jt={};function Pt(e){if(Et[e])return Et[e];if(!Ot[e])return e;var t,n=Ot[e];for(t in n)if(n.hasOwnProperty(t)&&t in jt)return Et[e]=n[t];return e}f&&(jt=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);var Ct=Pt("animationend"),_t=Pt("animationiteration"),Tt=Pt("animationstart"),Mt=Pt("transitionend"),At=new Map,Rt=new Map,Nt=["abort","abort",Ct,"animationEnd",_t,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Mt,"transitionEnd","waiting","waiting"];function Dt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Rt.set(r,t),At.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Zt=8;function It(e){if(0!==(1&e))return Zt=15,1;if(0!==(2&e))return Zt=14,2;if(0!==(4&e))return Zt=13,4;var t=24&e;return 0!==t?(Zt=12,t):0!==(32&e)?(Zt=11,32):0!==(t=192&e)?(Zt=10,t):0!==(256&e)?(Zt=9,256):0!==(t=3584&e)?(Zt=8,t):0!==(4096&e)?(Zt=7,4096):0!==(t=4186112&e)?(Zt=6,t):0!==(t=62914560&e)?(Zt=5,t):67108864&e?(Zt=4,67108864):0!==(134217728&e)?(Zt=3,134217728):0!==(t=805306368&e)?(Zt=2,t):0!==(1073741824&e)?(Zt=1,1073741824):(Zt=8,e)}function Lt(e,t){var n=e.pendingLanes;if(0===n)return Zt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,u=e.pingedLanes;if(0!==i)r=i,o=Zt=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=It(s),o=Zt):0!==(u&=i)&&(r=It(u),o=Zt)}else 0!==(i=n&~a)?(r=It(i),o=Zt):0!==u&&(r=It(u),o=Zt);if(0===r)return 0;if(r=n&((0>(r=31-Wt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(It(t),o<=Zt)return t;Zt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Wt(t)),r|=e[n],t&=~o;return r}function Ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Bt(24&~t))?zt(10,t):e;case 10:return 0===(e=Bt(192&~t))?zt(8,t):e;case 8:return 0===(e=Bt(3584&~t))&&(0===(e=Bt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Bt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Bt(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/qt|0)|0},Ht=Math.log,qt=Math.LN2;var $t=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Gt=!0;function Yt(e,t,n,r){Ie||De();var o=Xt,i=Ie;Ie=!0;try{Ne(o,e,t,n,r)}finally{(Ie=i)||Fe()}}function Jt(e,t,n,r){Kt($t,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var o;if(Gt)if((o=0===(4&t))&&0<at.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var i=Qt(e,t,n,r);if(null===i)o&&vt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(i,e,t,n,r),void at.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return ut=mt(ut,e,t,n,r,o),!0;case"dragenter":return st=mt(st,e,t,n,r,o),!0;case"mouseover":return ct=mt(ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return lt.set(i,mt(lt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ft.set(i,mt(ft.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;vt(e,r)}Dr(e,t,r,null,n)}}}function Qt(e,t,n,r){var o=je(r);if(null!==(o=no(o))){var i=Ye(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Je(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Dr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function un(){return!1}function sn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:un,this.isPropagationStopped=un,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,ln,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(dn),hn=o({},dn,{view:0,detail:0}),vn=sn(hn),mn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(cn=e.screenX-fn.screenX,ln=e.screenY-fn.screenY):ln=cn=0,fn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),yn=sn(mn),gn=sn(o({},mn,{dataTransfer:0})),bn=sn(o({},hn,{relatedTarget:0})),xn=sn(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kn=sn(wn),Sn=sn(o({},dn,{data:0})),On={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jn[e])&&!!t[e]}function Cn(){return Pn}var _n=o({},hn,{key:function(e){if(e.key){var t=On[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=sn(_n),Mn=sn(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=sn(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=sn(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=sn(Nn),Zn=[9,13,27,32],In=f&&"CompositionEvent"in window,Ln=null;f&&"documentMode"in document&&(Ln=document.documentMode);var Fn=f&&"TextEvent"in window&&!Ln,zn=f&&(!In||Ln&&8<Ln&&11>=Ln),Bn=String.fromCharCode(32),Vn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Kn(e,t,n,r){Me(r),0<(t=Ir(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Yn=null;function Jn(e){_r(e,0)}function Xn(e){if(J(oo(e)))return e}function Qn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Gn&&(Gn.detachEvent("onpropertychange",ir),Yn=Gn=null)}function ir(e){if("value"===e.propertyName&&Xn(Yn)){var t=[];if(Kn(t,Yn,e,je(e)),e=Jn,Ie)e(t);else{Ie=!0;try{Re(e,t)}finally{Ie=!1,Fe()}}}}function ar(e,t,n){"focusin"===e?(or(),Yn=n,(Gn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&or()}function ur(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Yn)}function sr(e,t){if("click"===e)return Xn(t)}function cr(e,t){if("input"===e||"change"===e)return Xn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!lr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function vr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?vr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=f&&"documentMode"in document&&11>=document.documentMode,br=null,xr=null,wr=null,kr=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;kr||null==br||br!==X(r)||("selectionStart"in(r=br)&&yr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},wr&&dr(wr,r)||(wr=r,0<(r=Ir(xr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Dt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dt(Nt,2);for(var Or="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Er=0;Er<Or.length;Er++)Rt.set(Or[Er],0);l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Cr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,u,s,c){if(Ge.apply(this,arguments),We){if(!We)throw Error(a(198));var l=He;We=!1,He=null,qe||(qe=!0,$e=l)}}(r,t,void 0,e),e.currentTarget=null}function _r(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==i&&o.isPropagationStopped())break e;Cr(o,u,c),i=s}else for(a=0;a<r.length;a++){if(s=(u=r[a]).instance,c=u.currentTarget,u=u.listener,s!==i&&o.isPropagationStopped())break e;Cr(o,u,c),i=s}}}if(qe)throw e=$e,qe=!1,$e=null,e}function Tr(e,t){var n=ao(t),r=e+"__bubble";n.has(r)||(Nr(t,e,2,!1),n.add(r))}var Mr="_reactListening"+Math.random().toString(36).slice(2);function Ar(e){e[Mr]||(e[Mr]=!0,u.forEach((function(t){Pr.has(t)||Rr(t,!1,e,null),Rr(t,!0,e,null)})))}function Rr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Pr.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ao(i),u=e+"__"+(t?"capture":"bubble");a.has(u)||(t&&(o|=4),Nr(i,e,o,t),a.add(u))}function Nr(e,t,n,r){var o=Rt.get(t);switch(void 0===o?2:o){case 0:o=Yt;break;case 1:o=Jt;break;default:o=Xt}n=o.bind(null,t,n,e),o=void 0,!Be||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Dr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=no(u)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}u=u.parentNode}}r=r.return}!function(e,t,n){if(Le)return e(t,n);Le=!0;try{Ze(e,t,n)}finally{Le=!1,Fe()}}((function(){var r=i,o=je(n),a=[];e:{var u=At.get(e);if(void 0!==u){var s=pn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":c="focus",s=bn;break;case"focusout":c="blur",s=bn;break;case"beforeblur":case"afterblur":s=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=yn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=An;break;case Ct:case _t:case Tt:s=xn;break;case Mt:s=Rn;break;case"scroll":s=vn;break;case"wheel":s=Dn;break;case"copy":case"cut":case"paste":s=kn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Mn}var l=0!==(4&t),f=!l&&"scroll"===e,d=l?null!==u?u+"Capture":null:u;l=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=ze(h,d))&&l.push(Zr(h,v,p)))),f)break;h=h.return}0<l.length&&(u=new s(u,c,null,n,o),a.push({event:u,listeners:l}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!no(c)&&!c[eo])&&(s||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?no(c):null)&&(c!==(f=Ye(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(l=yn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(l=Mn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?u:oo(s),p=null==c?u:oo(c),(u=new l(v,h+"leave",s,n,o)).target=f,u.relatedTarget=p,v=null,no(o)===r&&((l=new l(d,h+"enter",c,n,o)).target=p,l.relatedTarget=f,v=l),f=v,s&&c)e:{for(d=c,h=0,p=l=s;p;p=Lr(p))h++;for(p=0,v=d;v;v=Lr(v))p++;for(;0<h-p;)l=Lr(l),h--;for(;0<p-h;)d=Lr(d),p--;for(;h--;){if(l===d||null!==d&&l===d.alternate)break e;l=Lr(l),d=Lr(d)}l=null}else l=null;null!==s&&Fr(a,u,s,l,!1),null!==c&&null!==f&&Fr(a,f,c,l,!0)}if("select"===(s=(u=r?oo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var m=Qn;else if($n(u))if(er)m=cr;else{m=ur;var y=ar}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=sr);switch(m&&(m=m(e,r))?Kn(a,m,n,o):(y&&y(e,u,r),"focusout"===e&&(y=u._wrapperState)&&y.controlled&&"number"===u.type&&oe(u,"number",u.value)),y=r?oo(r):window,e){case"focusin":($n(y)||"true"===y.contentEditable)&&(br=y,xr=r,wr=null);break;case"focusout":wr=xr=br=null;break;case"mousedown":kr=!0;break;case"contextmenu":case"mouseup":case"dragend":kr=!1,Sr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":Sr(a,n,o)}var g;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(g=rn()):(tn="value"in(en=o)?en.value:en.textContent,Hn=!0)),0<(y=Ir(r,b)).length&&(b=new Sn(b,e,null,n,o),a.push({event:b,listeners:y}),g?b.data=g:null!==(g=Wn(n))&&(b.data=g))),(g=Fn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Vn=!0,Bn);case"textInput":return(e=t.data)===Bn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!In&&Un(e,t)?(e=rn(),nn=tn=en=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ir(r,"onBeforeInput")).length&&(o=new Sn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}_r(a,t)}))}function Zr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ir(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=ze(e,n))&&r.unshift(Zr(e,i,o)),null!=(i=ze(e,t))&&r.push(Zr(e,i,o))),e=e.return}return r}function Lr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,s=u.alternate,c=u.stateNode;if(null!==s&&s===r)break;5===u.tag&&null!==c&&(u=c,o?null!=(s=ze(n,i))&&a.unshift(Zr(n,s,u)):o||null!=(s=ze(n,i))&&a.push(Zr(n,s,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function zr(){}var Br=null,Vr=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hr="function"===typeof setTimeout?setTimeout:void 0,qr="function"===typeof clearTimeout?clearTimeout:void 0;function $r(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Yr=0;var Jr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Jr,Qr="__reactProps$"+Jr,eo="__reactContainer$"+Jr,to="__reactEvents$"+Jr;function no(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gr(e);null!==e;){if(n=e[Xr])return n;e=Gr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Xr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function io(e){return e[Qr]||null}function ao(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var uo=[],so=-1;function co(e){return{current:e}}function lo(e){0>so||(e.current=uo[so],uo[so]=null,so--)}function fo(e,t){so++,uo[so]=e.current,e.current=t}var po={},ho=co(po),vo=co(!1),mo=po;function yo(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!==(e=e.childContextTypes)&&void 0!==e}function bo(){lo(vo),lo(ho)}function xo(e,t,n){if(ho.current!==po)throw Error(a(168));fo(ho,t),fo(vo,n)}function wo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,$(t)||"Unknown",i));return o({},n,r)}function ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,mo=ho.current,fo(ho,e),fo(vo,vo.current),!0}function So(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=wo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,lo(vo),lo(ho),fo(ho,e)):lo(vo),fo(vo,n)}var Oo=null,Eo=null,jo=i.unstable_runWithPriority,Po=i.unstable_scheduleCallback,Co=i.unstable_cancelCallback,_o=i.unstable_shouldYield,To=i.unstable_requestPaint,Mo=i.unstable_now,Ao=i.unstable_getCurrentPriorityLevel,Ro=i.unstable_ImmediatePriority,No=i.unstable_UserBlockingPriority,Do=i.unstable_NormalPriority,Zo=i.unstable_LowPriority,Io=i.unstable_IdlePriority,Lo={},Fo=void 0!==To?To:function(){},zo=null,Bo=null,Vo=!1,Uo=Mo(),Wo=1e4>Uo?Mo:function(){return Mo()-Uo};function Ho(){switch(Ao()){case Ro:return 99;case No:return 98;case Do:return 97;case Zo:return 96;case Io:return 95;default:throw Error(a(332))}}function qo(e){switch(e){case 99:return Ro;case 98:return No;case 97:return Do;case 96:return Zo;case 95:return Io;default:throw Error(a(332))}}function $o(e,t){return e=qo(e),jo(e,t)}function Ko(e,t,n){return e=qo(e),Po(e,t,n)}function Go(){if(null!==Bo){var e=Bo;Bo=null,Co(e)}Yo()}function Yo(){if(!Vo&&null!==zo){Vo=!0;var e=0;try{var t=zo;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(n){throw null!==zo&&(zo=zo.slice(e+1)),Po(Ro,Go),n}finally{Vo=!1}}}var Jo=w.ReactCurrentBatchConfig;function Xo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Qo=co(null),ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function oi(e){var t=Qo.current;lo(Qo),e.type._context._currentValue=t}function ii(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ai(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Ia=!0),e.firstContext=null)}function ui(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={lanes:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var si=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,u=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var c=s,l=c.next;c.next=null,null===u?a=l:u.next=l,u=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=l:d.next=l,f.lastBaseUpdate=c)}}if(null!==a){for(d=i.baseState,u=0,f=l=c=null;;){s=a.lane;var p=a.eventTime;if((r&s)===s){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,v=a;switch(s=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){d=h.call(p,d,s);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(s="function"===typeof(h=v.payload)?h.call(p,d,s):h)||void 0===s)break e;d=o({},d,s);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(s=i.effects)?i.effects=[a]:s.push(a))}else p={eventTime:p,lane:s,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(l=f=p,c=d):f=f.next=p,u|=s;if(null===(a=a.next)){if(null===(s=i.shared.pending))break;a=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}null===f&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=f,Bu|=u,e.lanes=u,e.memoizedState=d}}function vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var mi=(new r.Component).refs;function yi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ds(),o=ps(e),i=fi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hs(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ds(),o=ps(e),i=fi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hs(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ds(),r=ps(e),o=fi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),di(e,o),hs(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,i))}function xi(e,t,n){var r=!1,o=po,i=t.contextType;return"object"===typeof i&&null!==i?i=ui(i):(o=go(t)?mo:ho.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?yo(e,o):po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=mi,ci(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=ui(i):(i=go(t)?mo:ho.current,o.context=yo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var Si=Array.isArray;function Oi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ei(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ji(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=qs(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function u(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ys(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Oi(e,t,n),r.return=e,r):((r=$s(n.type,n.key,n.props,null,e.mode,r)).ref=Oi(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Js(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ks(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Ys(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=$s(t.type,t.key,t.props,null,e.mode,n)).ref=Oi(e,null,t),n.return=e,n;case S:return(t=Js(t,e.mode,n)).return=e,t}if(Si(t)||V(t))return(t=Ks(t,e.mode,n,null)).return=e,t;Ei(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?n.type===O?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case S:return n.key===o?l(e,t,n,r):null}if(Si(n)||V(n))return null!==o?null:f(e,t,n,r,null);Ei(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===O?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case S:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Si(r)||V(r))return f(t,e=e.get(n)||null,r,o,null);Ei(t,r)}return null}function v(o,a,u,s){for(var c=null,l=null,f=a,v=a=0,m=null;null!==f&&v<u.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(o,f,u[v],s);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,v),null===l?c=y:l.sibling=y,l=y,f=m}if(v===u.length)return n(o,f),c;if(null===f){for(;v<u.length;v++)null!==(f=d(o,u[v],s))&&(a=i(f,a,v),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(o,f);v<u.length;v++)null!==(m=h(f,o,v,u[v],s))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=i(m,a,v),null===l?c=m:l.sibling=m,l=m);return e&&f.forEach((function(e){return t(o,e)})),c}function m(o,u,s,c){var l=V(s);if("function"!==typeof l)throw Error(a(150));if(null==(s=l.call(s)))throw Error(a(151));for(var f=l=null,v=u,m=u=0,y=null,g=s.next();null!==v&&!g.done;m++,g=s.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=p(o,v,g.value,c);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(o,v),u=i(b,u,m),null===f?l=b:f.sibling=b,f=b,v=y}if(g.done)return n(o,v),l;if(null===v){for(;!g.done;m++,g=s.next())null!==(g=d(o,g.value,c))&&(u=i(g,u,m),null===f?l=g:f.sibling=g,f=g);return l}for(v=r(o,v);!g.done;m++,g=s.next())null!==(g=h(v,o,m,g.value,c))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),u=i(g,u,m),null===f?l=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),l}return function(e,r,i,s){var c="object"===typeof i&&null!==i&&i.type===O&&null===i.key;c&&(i=i.props.children);var l="object"===typeof i&&null!==i;if(l)switch(i.$$typeof){case k:e:{for(l=i.key,c=r;null!==c;){if(c.key===l){if(7===c.tag){if(i.type===O){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Oi(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===O?((r=Ks(i.props.children,e.mode,s,i.key)).return=e,e=r):((s=$s(i.type,i.key,i.props,null,e.mode,s)).ref=Oi(e,r,i),s.return=e,e=s)}return u(e);case S:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Js(i,e.mode,s)).return=e,e=r}return u(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Ys(i,e.mode,s)).return=e,e=r),u(e);if(Si(i))return v(e,r,i,s);if(V(i))return m(e,r,i,s);if(l&&Ei(e,i),"undefined"===typeof i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,$(e.type)||"Component"))}return n(e,r)}}var Pi=ji(!0),Ci=ji(!1),_i={},Ti=co(_i),Mi=co(_i),Ai=co(_i);function Ri(e){if(e===_i)throw Error(a(174));return e}function Ni(e,t){switch(fo(Ai,t),fo(Mi,e),fo(Ti,_i),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(Ti),fo(Ti,t)}function Di(){lo(Ti),lo(Mi),lo(Ai)}function Zi(e){Ri(Ai.current);var t=Ri(Ti.current),n=he(t,e.type);t!==n&&(fo(Mi,e),fo(Ti,n))}function Ii(e){Mi.current===e&&(lo(Ti),lo(Mi))}var Li=co(0);function Fi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,Bi=null,Vi=!1;function Ui(e,t){var n=Ws(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Wi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Hi(e){if(Vi){var t=Bi;if(t){var n=t;if(!Wi(e,t)){if(!(t=Kr(n.nextSibling))||!Wi(e,t))return e.flags=-1025&e.flags|2,Vi=!1,void(zi=e);Ui(zi,n)}zi=e,Bi=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Vi=!1,zi=e}}function qi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function $i(e){if(e!==zi)return!1;if(!Vi)return qi(e),Vi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wr(t,e.memoizedProps))for(t=Bi;t;)Ui(e,t),t=Kr(t.nextSibling);if(qi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Bi=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Bi=null}}else Bi=zi?Kr(e.stateNode.nextSibling):null;return!0}function Ki(){Bi=zi=null,Vi=!1}var Gi=[];function Yi(){for(var e=0;e<Gi.length;e++)Gi[e]._workInProgressVersionPrimary=null;Gi.length=0}var Ji=w.ReactCurrentDispatcher,Xi=w.ReactCurrentBatchConfig,Qi=0,ea=null,ta=null,na=null,ra=!1,oa=!1;function ia(){throw Error(a(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ua(e,t,n,r,o,i){if(Qi=i,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ji.current=null===e||null===e.memoizedState?Ra:Na,e=n(r,o),oa){i=0;do{if(oa=!1,!(25>i))throw Error(a(301));i+=1,na=ta=null,t.updateQueue=null,Ji.current=Da,e=n(r,o)}while(oa)}if(Ji.current=Aa,t=null!==ta&&null!==ta.next,Qi=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function la(e,t){return"function"===typeof t?t(e):t}function fa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var s=u=i=null,c=o;do{var l=c.lane;if((Qi&l)===l)null!==s&&(s=s.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:l,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(u=s=f,i=r):s=s.next=f,ea.lanes|=l,Bu|=l}c=c.next}while(null!==c&&c!==o);null===s?i=r:s.next=u,lr(r,t.memoizedState)||(Ia=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);lr(i,t.memoizedState)||(Ia=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Qi&e)===e)&&(t._workInProgressVersionPrimary=r,Gi.push(t))),e)return n(t._source);throw Gi.push(t),Error(a(350))}function ha(e,t,n,r){var o=Ru;if(null===o)throw Error(a(349));var i=t._getVersion,u=i(t._source),s=Ji.current,c=s.useState((function(){return pa(o,t,n)})),l=c[1],f=c[0];c=na;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,v=d.source;d=d.subscribe;var m=ea;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=l;var e=i(t._source);if(!lr(u,e)){e=n(t._source),lr(f,e)||(l(e),e=ps(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var s=31-Wt(a),c=1<<s;r[s]|=e,a&=~c}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ps(m);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),lr(h,n)&&lr(v,t)&&lr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:la,lastRenderedState:f}).dispatch=l=Ma.bind(null,ea,e),c.queue=e,c.baseQueue=null,f=pa(o,t,n),c.memoizedState=c.baseState=f),f}function va(e,t,n){return ha(ca(),e,t,n)}function ma(e){var t=sa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:la,lastRenderedState:e}).dispatch=Ma.bind(null,ea,e),[t.memoizedState,e]}function ya(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ga(e){return e={current:e},sa().memoizedState=e}function ba(){return ca().memoizedState}function xa(e,t,n,r){var o=sa();ea.flags|=e,o.memoizedState=ya(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var o=ca();r=void 0===r?null:r;var i=void 0;if(null!==ta){var a=ta.memoizedState;if(i=a.destroy,null!==r&&aa(r,a.deps))return void ya(t,n,i,r)}ea.flags|=e,o.memoizedState=ya(1|t,n,i,r)}function ka(e,t){return xa(516,4,e,t)}function Sa(e,t){return wa(516,4,e,t)}function Oa(e,t){return wa(4,2,e,t)}function Ea(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ja(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,Ea.bind(null,t,e),n)}function Pa(){}function Ca(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _a(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ta(e,t){var n=Ho();$o(98>n?98:n,(function(){e(!0)})),$o(97<n?97:n,(function(){var n=Xi.transition;Xi.transition=1;try{e(!1),t()}finally{Xi.transition=n}}))}function Ma(e,t,n){var r=ds(),o=ps(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ea||null!==a&&a===ea)oa=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var u=t.lastRenderedState,s=a(u,n);if(i.eagerReducer=a,i.eagerState=s,lr(s,u))return}catch(c){}hs(e,o,r)}}var Aa={readContext:ui,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Ra={readContext:ui,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ui,useEffect:ka,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xa(4,2,Ea.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xa(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ma.bind(null,ea,e),[r.memoizedState,e]},useRef:ga,useState:ma,useDebugValue:Pa,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return ka((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return ga(e=Ta.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(Vi){var e=!1,t=function(e){return{$$typeof:D,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Yr++).toString(36))),Error(a(355))})),n=ma(t)[1];return 0===(2&ea.mode)&&(ea.flags|=516,ya(5,(function(){n("r:"+(Yr++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Yr++).toString(36)),t},unstable_isNewReconciler:!1},Na={readContext:ui,useCallback:Ca,useContext:ui,useEffect:Sa,useImperativeHandle:ja,useLayoutEffect:Oa,useMemo:_a,useReducer:fa,useRef:ba,useState:function(){return fa(la)},useDebugValue:Pa,useDeferredValue:function(e){var t=fa(la),n=t[0],r=t[1];return Sa((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=fa(la)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return fa(la)[0]},unstable_isNewReconciler:!1},Da={readContext:ui,useCallback:Ca,useContext:ui,useEffect:Sa,useImperativeHandle:ja,useLayoutEffect:Oa,useMemo:_a,useReducer:da,useRef:ba,useState:function(){return da(la)},useDebugValue:Pa,useDeferredValue:function(e){var t=da(la),n=t[0],r=t[1];return Sa((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=da(la)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return da(la)[0]},unstable_isNewReconciler:!1},Za=w.ReactCurrentOwner,Ia=!1;function La(e,t,n,r){t.child=null===e?Ci(t,null,n,r):Pi(t,e.child,n,r)}function Fa(e,t,n,r,o){n=n.render;var i=t.ref;return ai(t,o),r=ua(e,t,n,r,i,o),null===e||Ia?(t.flags|=1,La(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function za(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Hs(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=$s(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ba(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?iu(e,t,i):(t.flags|=1,(e=qs(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ba(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Ia=!1,0===(i&o))return t.lanes=e.lanes,iu(e,t,i);0!==(16384&e.flags)&&(Ia=!0)}return Wa(e,t,n,r,i)}function Va(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},ks(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ks(t,e),null;t.memoizedState={baseLanes:0},ks(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ks(t,r);return La(e,t,o,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Wa(e,t,n,r,o){var i=go(n)?mo:ho.current;return i=yo(t,i),ai(t,o),n=ua(e,t,n,r,i,o),null===e||Ia?(t.flags|=1,La(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,iu(e,t,o))}function Ha(e,t,n,r,o){if(go(n)){var i=!0;ko(t)}else i=!1;if(ai(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),xi(t,n,r),ki(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ui(c):c=yo(t,c=go(n)?mo:ho.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&wi(t,a,r,c),si=!1;var d=t.memoizedState;a.state=d,hi(t,r,a,o),s=t.memoizedState,u!==r||d!==s||vo.current||si?("function"===typeof l&&(yi(t,n,l,r),s=t.memoizedState),(u=si||bi(t,n,u,r,d,s,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=u):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,li(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Xo(t.type,u),a.props=c,f=t.pendingProps,d=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=ui(s):s=yo(t,s=go(n)?mo:ho.current);var p=n.getDerivedStateFromProps;(l="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==f||d!==s)&&wi(t,a,r,s),si=!1,d=t.memoizedState,a.state=d,hi(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||vo.current||si?("function"===typeof p&&(yi(t,n,p,r),h=t.memoizedState),(c=si||bi(t,n,c,r,d,h,s))?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return qa(e,t,n,r,i,o)}function qa(e,t,n,r,o,i){Ua(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&So(t,n,!1),iu(e,t,i);r=t.stateNode,Za.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Pi(t,e.child,null,i),t.child=Pi(t,null,u,i)):La(e,t,u,i),t.memoizedState=r.state,o&&So(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?xo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&xo(0,t.context,!1),Ni(e,t.containerInfo)}var Ka,Ga,Ya,Ja={dehydrated:null,retryLane:0};function Xa(e,t,n){var r,o=t.pendingProps,i=Li.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),fo(Li,1&i),null===e?(void 0!==o.fallback&&Hi(t),e=o.children,i=o.fallback,a?(e=Qa(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ja,e):"number"===typeof o.unstable_expectedLoadTime?(e=Qa(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ja,t.lanes=33554432,e):((n=Gs({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=tu(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Ja,o):(n=eu(e,t,o.children,n),t.memoizedState=null,n))}function Qa(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Gs(t,o,0,null),n=Ks(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function eu(e,t,n,r){var o=e.child;return e=o.sibling,n=qs(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tu(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var u={mode:"hidden",children:n};return 0===(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=u,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=qs(a,u),null!==e?r=qs(e,r):(r=Ks(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ii(e.return,t)}function ru(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ou(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(La(e,t,r.children,n),0!==(2&(r=Li.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nu(e,n);else if(19===e.tag)nu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fo(Li,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ru(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ru(t,!0,n,null,i,t.lastEffect);break;case"together":ru(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function iu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=qs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function au(e,t){if(!Vi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&bo(),null;case 3:return Di(),lo(vo),lo(ho),Yi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ii(t);var i=Ri(Ai.current);if(n=t.type,null!==e&&null!=t.stateNode)Ga(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ri(Ti.current),$i(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[Xr]=t,r[Qr]=u,n){case"dialog":Tr("cancel",r),Tr("close",r);break;case"iframe":case"object":case"embed":Tr("load",r);break;case"video":case"audio":for(e=0;e<jr.length;e++)Tr(jr[e],r);break;case"source":Tr("error",r);break;case"img":case"image":case"link":Tr("error",r),Tr("load",r);break;case"details":Tr("toggle",r);break;case"input":ee(r,u),Tr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Tr("invalid",r);break;case"textarea":se(r,u),Tr("invalid",r)}for(var c in Oe(n,u),e=null,u)u.hasOwnProperty(c)&&(i=u[c],"children"===c?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):s.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Tr("scroll",r));switch(n){case"input":Y(r),re(r,u,!0);break;case"textarea":Y(r),le(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Qr]=r,Ka(e,t),t.stateNode=e,c=Ee(n,r),n){case"dialog":Tr("cancel",e),Tr("close",e),i=r;break;case"iframe":case"object":case"embed":Tr("load",e),i=r;break;case"video":case"audio":for(i=0;i<jr.length;i++)Tr(jr[i],e);i=r;break;case"source":Tr("error",e),i=r;break;case"img":case"image":case"link":Tr("error",e),Tr("load",e),i=r;break;case"details":Tr("toggle",e),i=r;break;case"input":ee(e,r),i=Q(e,r),Tr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Tr("invalid",e);break;case"textarea":se(e,r),i=ue(e,r),Tr("invalid",e);break;default:i=r}Oe(n,i);var l=i;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];"style"===u?ke(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&ye(e,f):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&ge(e,f):"number"===typeof f&&ge(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Tr("scroll",e):null!=f&&x(e,u,f,c))}switch(n){case"input":Y(e),re(e,r,!1);break;case"textarea":Y(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ae(e,!!r.multiple,u,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=zr)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ri(Ai.current),Ri(Ti.current),$i(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return lo(Li),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Li.current)?0===Lu&&(Lu=3):(0!==Lu&&3!==Lu||(Lu=4),null===Ru||0===(134217727&Bu)&&0===(134217727&Vu)||gs(Ru,Du))),(r||n)&&(t.flags|=4),null);case 4:return Di(),null===e&&Ar(t.stateNode.containerInfo),null;case 10:return oi(t),null;case 19:if(lo(Li),null===(r=t.memoizedState))return null;if(u=0!==(64&t.flags),null===(c=r.rendering))if(u)au(r,!1);else{if(0!==Lu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Fi(e))){for(t.flags|=64,au(r,!1),null!==(u=c.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fo(Li,1&Li.current|2),t.child}e=e.sibling}null!==r.tail&&Wo()>qu&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Fi(c))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),au(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Vi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>qu&&1073741824!==n&&(t.flags|=64,u=!0,au(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,t=Li.current,fo(Li,u?1&t|2:1&t),n):null;case 23:case 24:return Ss(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function su(e){switch(e.tag){case 1:go(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Di(),lo(vo),lo(ho),Yi(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Ii(e),null;case 13:return lo(Li),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return lo(Li),null;case 4:return Di(),null;case 10:return oi(e),null;case 23:case 24:return Ss(),null;default:return null}}function cu(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o}}function lu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ga=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ri(Ti.current);var a,u=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),u=[];break;case"option":i=ie(e,i),r=ie(e,r),u=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),u=[];break;case"textarea":i=ue(e,i),r=ue(e,r),u=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=zr)}for(f in Oe(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var c=i[f];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(s.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var l=r[f];if(c=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&l!==c&&(null!=l||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&c[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(u||(u=[]),u.push(f,n)),n=l;else"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(u=u||[]).push(f,l)):"children"===f?"string"!==typeof l&&"number"!==typeof l||(u=u||[]).push(f,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(s.hasOwnProperty(f)?(null!=l&&"onScroll"===f&&Tr("scroll",e),u||c===l||(u=[])):"object"===typeof l&&null!==l&&l.$$typeof===D?l.toString():(u=u||[]).push(f,l))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Ya=function(e,t,n,r){n!==r&&(t.flags|=4)};var fu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Yu||(Yu=!0,Ju=r),lu(0,t)},n}function pu(e,t,n){(n=fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return lu(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Xu?Xu=new Set([this]):Xu.add(this),lu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hu="function"===typeof WeakSet?WeakSet:Set;function vu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){zs(e,n)}else t.current=null}function mu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&$r(t.stateNode.containerInfo))}throw Error(a(163))}function yu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(Is(n,e),Zs(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))))}throw Error(a(163))}function gu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=we("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bu(e,t){if(Eo&&"function"===typeof Eo.onCommitFiberUnmount)try{Eo.onCommitFiberUnmount(Oo,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))Is(t,n);else{r=t;try{o()}catch(i){zs(r,i)}}n=n.next}while(n!==e)}break;case 1:if(vu(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){zs(t,i)}break;case 5:vu(t);break;case 4:Eu(e,t)}}function xu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function wu(e){return 5===e.tag||3===e.tag||4===e.tag}function ku(e){e:{for(var t=e.return;null!==t;){if(wu(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||wu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Su(e,n,t):Ou(e,n,t)}function Su(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(Su(e,t,n),e=e.sibling;null!==e;)Su(e,t,n),e=e.sibling}function Ou(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ou(e,t,n),e=e.sibling;null!==e;)Ou(e,t,n),e=e.sibling}function Eu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var u=e,s=o,c=s;;)if(bu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===s)break e;for(;null===c.sibling;){if(null===c.return||c.return===s)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,s=o.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(bu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function ju(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Qr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ee(e,o),t=Ee(e,r),o=0;o<i.length;o+=2){var u=i[o],s=i[o+1];"style"===u?ke(n,s):"dangerouslySetInnerHTML"===u?ye(n,s):"children"===u?ge(n,s):x(n,u,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,kt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Hu=Wo(),gu(t.child,!0)),void Pu(t);case 19:return void Pu(t);case 23:case 24:return void gu(t,null!==t.memoizedState)}throw Error(a(163))}function Pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hu),t.forEach((function(t){var r=Vs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Cu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var _u=Math.ceil,Tu=w.ReactCurrentDispatcher,Mu=w.ReactCurrentOwner,Au=0,Ru=null,Nu=null,Du=0,Zu=0,Iu=co(0),Lu=0,Fu=null,zu=0,Bu=0,Vu=0,Uu=0,Wu=null,Hu=0,qu=1/0;function $u(){qu=Wo()+500}var Ku,Gu=null,Yu=!1,Ju=null,Xu=null,Qu=!1,es=null,ts=90,ns=[],rs=[],os=null,is=0,as=null,us=-1,ss=0,cs=0,ls=null,fs=!1;function ds(){return 0!==(48&Au)?Wo():-1!==us?us:us=Wo()}function ps(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Ho()?1:2;if(0===ss&&(ss=zu),0!==Jo.transition){0!==cs&&(cs=null!==Wu?Wu.pendingLanes:0),e=ss;var t=4186112&~cs;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ho(),0!==(4&Au)&&98===e?e=zt(12,ss):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ss),e}function hs(e,t,n){if(50<is)throw is=0,as=null,Error(a(185));if(null===(e=vs(e,t)))return null;Ut(e,t,n),e===Ru&&(Vu|=t,4===Lu&&gs(e,Du));var r=Ho();1===t?0!==(8&Au)&&0===(48&Au)?bs(e):(ms(e,n),0===Au&&($u(),Go())):(0===(4&Au)||98!==r&&99!==r||(null===os?os=new Set([e]):os.add(e)),ms(e,n)),Wu=e}function vs(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function ms(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes;0<u;){var s=31-Wt(u),c=1<<s,l=i[s];if(-1===l){if(0===(c&r)||0!==(c&o)){l=t,It(c);var f=Zt;i[s]=10<=f?l+250:6<=f?l+5e3:-1}}else l<=t&&(e.expiredLanes|=c);u&=~c}if(r=Lt(e,e===Ru?Du:0),t=Zt,0===r)null!==n&&(n!==Lo&&Co(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Lo&&Co(n)}15===t?(n=bs.bind(null,e),null===zo?(zo=[n],Bo=Po(Ro,Yo)):zo.push(n),n=Lo):14===t?n=Ko(99,bs.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Ko(n,ys.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ys(e){if(us=-1,cs=ss=0,0!==(48&Au))throw Error(a(327));var t=e.callbackNode;if(Ds()&&e.callbackNode!==t)return null;var n=Lt(e,e===Ru?Du:0);if(0===n)return null;var r=n,o=Au;Au|=16;var i=js();for(Ru===e&&Du===r||($u(),Os(e,r));;)try{_s();break}catch(s){Es(e,s)}if(ri(),Tu.current=i,Au=o,null!==Nu?r=0:(Ru=null,Du=0,r=Lu),0!==(zu&Vu))Os(e,0);else if(0!==r){if(2===r&&(Au|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(n=Ft(e))&&(r=Ps(e,n))),1===r)throw t=Fu,Os(e,0),gs(e,n),ms(e,Wo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:As(e);break;case 3:if(gs(e,n),(62914560&n)===n&&10<(r=Hu+500-Wo())){if(0!==Lt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){ds(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Hr(As.bind(null,e),r);break}As(e);break;case 4:if(gs(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var u=31-Wt(n);i=1<<u,(u=r[u])>o&&(o=u),n&=~i}if(n=o,10<(n=(120>(n=Wo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*_u(n/1960))-n)){e.timeoutHandle=Hr(As.bind(null,e),n);break}As(e);break;default:throw Error(a(329))}}return ms(e,Wo()),e.callbackNode===t?ys.bind(null,e):null}function gs(e,t){for(t&=~Uu,t&=~Vu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function bs(e){if(0!==(48&Au))throw Error(a(327));if(Ds(),e===Ru&&0!==(e.expiredLanes&Du)){var t=Du,n=Ps(e,t);0!==(zu&Vu)&&(n=Ps(e,t=Lt(e,t)))}else n=Ps(e,t=Lt(e,0));if(0!==e.tag&&2===n&&(Au|=64,e.hydrate&&(e.hydrate=!1,$r(e.containerInfo)),0!==(t=Ft(e))&&(n=Ps(e,t))),1===n)throw n=Fu,Os(e,0),gs(e,t),ms(e,Wo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,As(e),ms(e,Wo()),null}function xs(e,t){var n=Au;Au|=1;try{return e(t)}finally{0===(Au=n)&&($u(),Go())}}function ws(e,t){var n=Au;Au&=-2,Au|=8;try{return e(t)}finally{0===(Au=n)&&($u(),Go())}}function ks(e,t){fo(Iu,Zu),Zu|=t,zu|=t}function Ss(){Zu=Iu.current,lo(Iu)}function Os(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qr(n)),null!==Nu)for(n=Nu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&bo();break;case 3:Di(),lo(vo),lo(ho),Yi();break;case 5:Ii(r);break;case 4:Di();break;case 13:case 19:lo(Li);break;case 10:oi(r);break;case 23:case 24:Ss()}n=n.return}Ru=e,Nu=qs(e.current,null),Du=Zu=zu=t,Lu=0,Fu=null,Uu=Vu=Bu=0}function Es(e,t){for(;;){var n=Nu;try{if(ri(),Ji.current=Aa,ra){for(var r=ea.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ra=!1}if(Qi=0,na=ta=ea=null,oa=!1,Mu.current=null,null===n||null===n.return){Lu=1,Fu=t,Nu=null;break}e:{var i=e,a=n.return,u=n,s=t;if(t=Du,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&u.mode)){var l=u.alternate;l?(u.updateQueue=l.updateQueue,u.memoizedState=l.memoizedState,u.lanes=l.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!==(1&Li.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=d.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f)}}if(p){var m=d.updateQueue;if(null===m){var y=new Set;y.add(c),d.updateQueue=y}else m.add(c);if(0===(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var g=fi(-1,1);g.tag=2,di(u,g)}u.lanes|=1;break e}s=void 0,u=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new fu,s=new Set,b.set(c,s)):void 0===(s=b.get(c))&&(s=new Set,b.set(c,s)),!s.has(u)){s.add(u);var x=Bs.bind(null,i,c,u);c.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error(($(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Lu&&(Lu=2),s=cu(s,u),d=a;do{switch(d.tag){case 3:i=s,d.flags|=4096,t&=-t,d.lanes|=t,pi(d,du(0,i,t));break e;case 1:i=s;var w=d.type,k=d.stateNode;if(0===(64&d.flags)&&("function"===typeof w.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===Xu||!Xu.has(k)))){d.flags|=4096,t&=-t,d.lanes|=t,pi(d,pu(d,i,t));break e}}d=d.return}while(null!==d)}Ms(n)}catch(S){t=S,Nu===n&&null!==n&&(Nu=n=n.return);continue}break}}function js(){var e=Tu.current;return Tu.current=Aa,null===e?Aa:e}function Ps(e,t){var n=Au;Au|=16;var r=js();for(Ru===e&&Du===t||Os(e,t);;)try{Cs();break}catch(o){Es(e,o)}if(ri(),Au=n,Tu.current=r,null!==Nu)throw Error(a(261));return Ru=null,Du=0,Lu}function Cs(){for(;null!==Nu;)Ts(Nu)}function _s(){for(;null!==Nu&&!_o();)Ts(Nu)}function Ts(e){var t=Ku(e.alternate,e,Zu);e.memoizedProps=e.pendingProps,null===t?Ms(e):Nu=t,Mu.current=null}function Ms(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=uu(n,t,Zu)))return void(Nu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Zu)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=su(t)))return n.flags&=2047,void(Nu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Nu=t);Nu=t=e}while(null!==t);0===Lu&&(Lu=5)}function As(e){var t=Ho();return $o(99,Rs.bind(null,e,t)),null}function Rs(e,t){do{Ds()}while(null!==es);if(0!==(48&Au))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var u=e.eventTimes,s=e.expirationTimes;0<i;){var c=31-Wt(i),l=1<<c;o[c]=0,u[c]=-1,s[c]=-1,i&=~l}if(null!==os&&0===(24&r)&&os.has(e)&&os.delete(e),e===Ru&&(Nu=Ru=null,Du=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Au,Au|=32,Mu.current=null,Br=Gt,yr(u=mr())){if("selectionStart"in u)s={start:u.selectionStart,end:u.selectionEnd};else e:if(s=(s=u.ownerDocument)&&s.defaultView||window,(l=s.getSelection&&s.getSelection())&&0!==l.rangeCount){s=l.anchorNode,i=l.anchorOffset,c=l.focusNode,l=l.focusOffset;try{s.nodeType,c.nodeType}catch(j){s=null;break e}var f=0,d=-1,p=-1,h=0,v=0,m=u,y=null;t:for(;;){for(var g;m!==s||0!==i&&3!==m.nodeType||(d=f+i),m!==c||0!==l&&3!==m.nodeType||(p=f+l),3===m.nodeType&&(f+=m.nodeValue.length),null!==(g=m.firstChild);)y=m,m=g;for(;;){if(m===u)break t;if(y===s&&++h===i&&(d=f),y===c&&++v===l&&(p=f),null!==(g=m.nextSibling))break;y=(m=y).parentNode}m=g}s=-1===d||-1===p?null:{start:d,end:p}}else s=null;s=s||{start:0,end:0}}else s=null;Vr={focusedElem:u,selectionRange:s},Gt=!1,ls=null,fs=!1,Gu=r;do{try{Ns()}catch(j){if(null===Gu)throw Error(a(330));zs(Gu,j),Gu=Gu.nextEffect}}while(null!==Gu);ls=null,Gu=r;do{try{for(u=e;null!==Gu;){var b=Gu.flags;if(16&b&&ge(Gu.stateNode,""),128&b){var x=Gu.alternate;if(null!==x){var w=x.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&b){case 2:ku(Gu),Gu.flags&=-3;break;case 6:ku(Gu),Gu.flags&=-3,ju(Gu.alternate,Gu);break;case 1024:Gu.flags&=-1025;break;case 1028:Gu.flags&=-1025,ju(Gu.alternate,Gu);break;case 4:ju(Gu.alternate,Gu);break;case 8:Eu(u,s=Gu);var k=s.alternate;xu(s),null!==k&&xu(k)}Gu=Gu.nextEffect}}catch(j){if(null===Gu)throw Error(a(330));zs(Gu,j),Gu=Gu.nextEffect}}while(null!==Gu);if(w=Vr,x=mr(),b=w.focusedElem,u=w.selectionRange,x!==b&&b&&b.ownerDocument&&vr(b.ownerDocument.documentElement,b)){null!==u&&yr(b)&&(x=u.start,void 0===(w=u.end)&&(w=x),"selectionStart"in b?(b.selectionStart=x,b.selectionEnd=Math.min(w,b.value.length)):(w=(x=b.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),s=b.textContent.length,k=Math.min(u.start,s),u=void 0===u.end?k:Math.min(u.end,s),!w.extend&&k>u&&(s=u,u=k,k=s),s=hr(b,k),i=hr(b,u),s&&i&&(1!==w.rangeCount||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((x=x.createRange()).setStart(s.node,s.offset),w.removeAllRanges(),k>u?(w.addRange(x),w.extend(i.node,i.offset)):(x.setEnd(i.node,i.offset),w.addRange(x))))),x=[];for(w=b;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<x.length;b++)(w=x[b]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Gt=!!Br,Vr=Br=null,e.current=n,Gu=r;do{try{for(b=e;null!==Gu;){var S=Gu.flags;if(36&S&&yu(b,Gu.alternate,Gu),128&S){x=void 0;var O=Gu.ref;if(null!==O){var E=Gu.stateNode;Gu.tag,x=E,"function"===typeof O?O(x):O.current=x}}Gu=Gu.nextEffect}}catch(j){if(null===Gu)throw Error(a(330));zs(Gu,j),Gu=Gu.nextEffect}}while(null!==Gu);Gu=null,Fo(),Au=o}else e.current=n;if(Qu)Qu=!1,es=e,ts=t;else for(Gu=r;null!==Gu;)t=Gu.nextEffect,Gu.nextEffect=null,8&Gu.flags&&((S=Gu).sibling=null,S.stateNode=null),Gu=t;if(0===(r=e.pendingLanes)&&(Xu=null),1===r?e===as?is++:(is=0,as=e):is=0,n=n.stateNode,Eo&&"function"===typeof Eo.onCommitFiberRoot)try{Eo.onCommitFiberRoot(Oo,n,void 0,64===(64&n.current.flags))}catch(j){}if(ms(e,Wo()),Yu)throw Yu=!1,e=Ju,Ju=null,e;return 0!==(8&Au)||Go(),null}function Ns(){for(;null!==Gu;){var e=Gu.alternate;fs||null===ls||(0!==(8&Gu.flags)?et(Gu,ls)&&(fs=!0):13===Gu.tag&&Cu(e,Gu)&&et(Gu,ls)&&(fs=!0));var t=Gu.flags;0!==(256&t)&&mu(e,Gu),0===(512&t)||Qu||(Qu=!0,Ko(97,(function(){return Ds(),null}))),Gu=Gu.nextEffect}}function Ds(){if(90!==ts){var e=97<ts?97:ts;return ts=90,$o(e,Ls)}return!1}function Zs(e,t){ns.push(t,e),Qu||(Qu=!0,Ko(97,(function(){return Ds(),null})))}function Is(e,t){rs.push(t,e),Qu||(Qu=!0,Ko(97,(function(){return Ds(),null})))}function Ls(){if(null===es)return!1;var e=es;if(es=null,0!==(48&Au))throw Error(a(331));var t=Au;Au|=32;var n=rs;rs=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],u=o.destroy;if(o.destroy=void 0,"function"===typeof u)try{u()}catch(c){if(null===i)throw Error(a(330));zs(i,c)}}for(n=ns,ns=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var s=o.create;o.destroy=s()}catch(c){if(null===i)throw Error(a(330));zs(i,c)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Au=t,Go(),!0}function Fs(e,t,n){di(e,t=du(0,t=cu(n,t),1)),t=ds(),null!==(e=vs(e,1))&&(Ut(e,1,t),ms(e,t))}function zs(e,t){if(3===e.tag)Fs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Xu||!Xu.has(r))){var o=pu(n,e=cu(t,e),1);if(di(n,o),o=ds(),null!==(n=vs(n,1)))Ut(n,1,o),ms(n,o);else if("function"===typeof r.componentDidCatch&&(null===Xu||!Xu.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function Bs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ds(),e.pingedLanes|=e.suspendedLanes&n,Ru===e&&(Du&n)===n&&(4===Lu||3===Lu&&(62914560&Du)===Du&&500>Wo()-Hu?Os(e,0):Uu|=n),ms(e,t)}function Vs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Ho()?1:2:(0===ss&&(ss=zu),0===(t=Bt(62914560&~ss))&&(t=4194304))),n=ds(),null!==(e=vs(e,t))&&(Ut(e,t,n),ms(e,n))}function Us(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ws(e,t,n,r){return new Us(e,t,n,r)}function Hs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qs(e,t){var n=e.alternate;return null===n?((n=Ws(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $s(e,t,n,r,o,i){var u=2;if(r=e,"function"===typeof e)Hs(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case O:return Ks(n.children,o,i,t);case Z:u=8,o|=16;break;case E:u=8,o|=1;break;case j:return(e=Ws(12,n,t,8|o)).elementType=j,e.type=j,e.lanes=i,e;case T:return(e=Ws(13,n,t,o)).type=T,e.elementType=T,e.lanes=i,e;case M:return(e=Ws(19,n,t,o)).elementType=M,e.lanes=i,e;case I:return Gs(n,o,i,t);case L:return(e=Ws(24,n,t,o)).elementType=L,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case P:u=10;break e;case C:u=9;break e;case _:u=11;break e;case A:u=14;break e;case R:u=16,r=null;break e;case N:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ws(u,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ks(e,t,n,r){return(e=Ws(7,e,r,t)).lanes=n,e}function Gs(e,t,n,r){return(e=Ws(23,e,r,t)).elementType=I,e.lanes=n,e}function Ys(e,t,n){return(e=Ws(6,e,null,t)).lanes=n,e}function Js(e,t,n){return(t=Ws(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Qs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var o=t.current,i=ds(),u=ps(o);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(go(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(a(171))}if(1===n.tag){var c=n.type;if(go(c)){n=wo(n,c,s);break e}}n=s}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),hs(o,u,i),u}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function oc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xs(e,t,null!=n&&!0===n.hydrate),t=Ws(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ci(t),e[eo]=n.current,Ar(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var u=o;o=function(){var e=tc(a);u.call(e)}}ec(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new oc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var s=o;o=function(){var e=tc(a);s.call(e)}}ws((function(){ec(t,a,e,o)}))}return tc(a)}function uc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(t))throw Error(a(200));return Qs(e,t,null,n)}Ku=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||vo.current)Ia=!0;else{if(0===(n&r)){switch(Ia=!1,t.tag){case 3:$a(t),Ki();break;case 5:Zi(t);break;case 1:go(t.type)&&ko(t);break;case 4:Ni(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;fo(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Xa(e,t,n):(fo(Li,1&Li.current),null!==(t=iu(e,t,n))?t.sibling:null);fo(Li,1&Li.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return ou(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Li,Li.current),r)break;return null;case 23:case 24:return t.lanes=0,Va(e,t,n)}return iu(e,t,n)}Ia=0!==(16384&e.flags)}else Ia=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=yo(t,ho.current),ai(t,n),o=ua(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var i=!0;ko(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&yi(t,r,u,e),o.updater=gi,t.stateNode=o,o._reactInternals=t,ki(t,r,e,n),t=qa(null,t,r,!0,i,n)}else t.tag=0,La(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Hs(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===_)return 11;if(e===A)return 14}return 2}(o),e=Xo(o,e),i){case 0:t=Wa(null,t,o,e,n);break e;case 1:t=Ha(null,t,o,e,n);break e;case 11:t=Fa(null,t,o,e,n);break e;case 14:t=za(null,t,o,Xo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Wa(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ha(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 3:if($a(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,li(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ki(),t=iu(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Bi=Kr(t.stateNode.containerInfo.firstChild),zi=t,i=Vi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Gi.push(i);for(n=Ci(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else La(e,t,r,n),Ki();t=t.child}return t;case 5:return Zi(t),null===e&&Hi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,Wr(r,o)?u=null:null!==i&&Wr(r,i)&&(t.flags|=16),Ua(e,t),La(e,t,u,n),t.child;case 6:return null===e&&Hi(t),null;case 13:return Xa(e,t,n);case 4:return Ni(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pi(t,null,r,n):La(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Fa(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 7:return La(e,t,t.pendingProps,n),t.child;case 8:case 12:return La(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var s=t.type._context;if(fo(Qo,s._currentValue),s._currentValue=i,null!==u)if(s=u.value,0===(i=lr(s,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(u.children===o.children&&!vo.current){t=iu(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&i)){1===s.tag&&((l=fi(-1,n&-n)).tag=2,di(s,l)),s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ii(s.return,n),c.lanes|=n;break}l=l.next}}else u=10===s.tag&&s.type===t.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===t){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}La(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ai(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.flags|=1,La(e,t,r,n),t.child;case 14:return i=Xo(o=t.type,t.pendingProps),za(e,t,o,i=Xo(o.type,i),r,n);case 15:return Ba(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(r)?(e=!0,ko(t)):e=!1,ai(t,n),xi(t,r,o),ki(t,r,o,n),qa(null,t,r,!0,e,n);case 19:return ou(e,t,n);case 23:case 24:return Va(e,t,n)}throw Error(a(156,t.tag))},oc.prototype.render=function(e){ec(e,this._internalRoot,null,null)},oc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(hs(e,4,ds()),rc(e,4))},nt=function(e){13===e.tag&&(hs(e,67108864,ds()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=ds(),n=ps(e);hs(e,n,t),rc(e,n)}},ot=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=io(r);if(!o)throw Error(a(90));J(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Re=xs,Ne=function(e,t,n,r,o){var i=Au;Au|=4;try{return $o(98,e.bind(null,t,n,r,o))}finally{0===(Au=i)&&($u(),Go())}},De=function(){0===(49&Au)&&(function(){if(null!==os){var e=os;os=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ms(e,Wo())}))}Go()}(),Ds())},Ze=function(e,t){var n=Au;Au|=2;try{return e(t)}finally{0===(Au=n)&&($u(),Go())}};var sc={Events:[ro,oo,io,Me,Ae,Ds,{current:!1}]},cc={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},lc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{Oo=fc.inject(lc),Eo=fc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sc,t.createPortal=uc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Au;if(0!==(48&n))return e(t);Au|=1;try{if(e)return $o(99,e.bind(null,t))}finally{Au=n,Go()}},t.hydrate=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ic(e))throw Error(a(40));return!!e._reactRootContainer&&(ws((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[eo]=null}))})),!0)},t.unstable_batchedUpdates=xs,t.unstable_createPortal=function(e,t){return uc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ic(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},1168:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(534)},6939:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!==typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var u,s,c,l=t(e),f=t(a);if(l&&f){if((s=e.length)!=a.length)return!1;for(u=s;0!==u--;)if(!i(e[u],a[u]))return!1;return!0}if(l!=f)return!1;var d=e instanceof Date,p=a instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==a.getTime();var h=e instanceof RegExp,v=a instanceof RegExp;if(h!=v)return!1;if(h&&v)return e.toString()==a.toString();var m=n(e);if((s=m.length)!==n(a).length)return!1;for(u=s;0!==u--;)if(!r.call(a,m[u]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(u=s;0!==u--;)if(("_owner"!==(c=m[u])||!e.$$typeof)&&!i(e[c],a[c]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},1624:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,u=60109,s=60110,c=60112,l=60113,f=60120,d=60115,p=60116,h=60121,v=60122,m=60117,y=60129,g=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),u=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),v=b("react.server.block"),m=b("react.fundamental"),y=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case s:case c:case p:case d:case u:return e;default:return t}}case r:return t}}}},6214:function(e,t,n){"use strict";n(1624)},5886:function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,u=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?u="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==u){var s=e.displayName||e.name,c="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:function(){return a}}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},8556:function(e,t,n){"use strict";var r=n(1355),o=n(7313),i=n(1168),a=n(936),u=n(2061);function s(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=s(r),f=c(o),d=s(a),p=s(u),h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)};function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)};function y(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var g=function(e,t,n,r){switch(t){case"debounce":return d.default(e,n,r);case"throttle":return p.default(e,n,r);default:return e}},b=function(e){return"function"===typeof e},x=function(){return"undefined"===typeof window},w=function(e){return e instanceof Element||e instanceof HTMLDocument},k=function(e,t,n,r){return function(o){var i=o.width,a=o.height;t((function(t){return t.width===i&&t.height===a||t.width===i&&!r||t.height===a&&!n?t:(e&&b(e)&&e(i,a),{width:i,height:a})}))}},S=function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!x()){t&&t.current&&(n.targetRef.current=t.current);var o=n.getElement();o&&(n.observableElement&&n.observableElement===o||(n.observableElement=o,n.resizeObserver.observe(o,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(x())return null;if(t)return document.querySelector(t);if(r&&w(r))return r;if(n.targetRef&&w(n.targetRef.current))return n.targetRef.current;var o=i.findDOMNode(n);if(!o)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return o;default:return o.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,o=void 0===r||r,i=t.handleHeight,a=void 0===i||i,u=t.onResize;if(o||a){var s=k(u,n.setState.bind(n),o,a);e.forEach((function(e){var t=e&&e.contentRect||{},r=t.width,o=t.height;!n.skipOnMount&&!x()&&s({width:r,height:o}),n.skipOnMount=!1}))}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return b(t)?"renderProp":b(r)?"childFunction":o.isValidElement(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,a=t.refreshMode,u=t.refreshRate,s=void 0===u?1e3:u,c=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=o.createRef(),n.observableElement=null,x()||(n.resizeHandler=g(n.createResizeHandler,a,s,c),n.resizeObserver=new l.default(n.resizeHandler)),n}return v(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){x()||(this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e,t=this.props,n=t.render,r=t.children,i=t.nodeType,a=void 0===i?"div":i,u=this.state,s={width:u.width,height:u.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(s);case"childFunction":return(e=r)(s);case"child":if((e=r).type&&"string"===typeof e.type){var c=y(s,["targetRef"]);return o.cloneElement(e,c)}return o.cloneElement(e,s);case"childArray":return(e=r).map((function(e){return!!e&&o.cloneElement(e,s)}));default:return f.createElement(a,null)}},t}(o.PureComponent);var O=x()?o.useEffect:o.useLayoutEffect;t.ZP=S},6367:function(e,t,n){!function(t,r){var o;e.exports=(o=n(7313),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),i=r(n(8)),a=r(n(2)),u=n(10),s=r(n(3)),c=r(n(6)),l=function(e){return e.query||(0,s.default)(e)},f=function(e){if(!e)return null;var t=Object.keys(e);return 0===t.length?null:t.reduce((function(t,n){return t[(0,a.default)(n)]=e[n],t}),{})},d=function(){var e=o.default.useRef(!1);return o.default.useEffect((function(){e.current=!0}),[]),e.current},p=function(e){var t=o.default.useContext(c.default),n=function(){return f(e)||f(t)||{}},r=o.default.useState(n),i=r[0],a=r[1];return o.default.useEffect((function(){var e=n();(0,u.shallowEqualObjects)(i,e)||a(e)}),[e,t]),i},h=function(e){var t=function(){return l(e)},n=o.default.useState(t),r=n[0],i=n[1];return o.default.useEffect((function(){var e=t();r!==e&&i(e)}),[e]),r},v=function(e,t){var n=function(){return(0,i.default)(e,t)},r=o.default.useState(n),a=r[0],u=r[1],s=d();return o.default.useEffect((function(){if(s){var e=n();return u(e),function(){e&&e.dispose()}}}),[e,t]),a},m=function(e){var t=o.default.useState(e.matches),n=t[0],r=t[1];return o.default.useEffect((function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}}),[e]),n},y=function(e,t,n){var r=p(t),i=h(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var a=v(i,r),u=m(a),s=d();return o.default.useEffect((function(){s&&n&&n(u)}),[u]),o.default.useEffect((function(){return function(){a&&a.dispose()}}),[]),u};t.default=y},function(e,t){e.exports=o},function(e,t,n){"use strict";function r(e){return"-"+e.toLowerCase()}function o(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(i,r);return u[e]=a.test(t)?"-"+t:t}Object.defineProperty(t,"__esModule",{value:!0});var i=/[A-Z]/g,a=/^ms-/,u={};t.default=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2)),i=r(n(11)),a=function(e){return"not ".concat(e)},u=function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?a(n):"(".concat(n,": ").concat(t,")")},s=function(e){return e.join(" and ")},c=function(e){var t=[];return Object.keys(i.default.all).forEach((function(n){var r=e[n];null!=r&&t.push(u(n,r))})),s(t)};t.default=c},function(e,t,n){"use strict";e.exports=n(13)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)).default.createContext({});t.default=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(0));t.useMediaQuery=o.default;var i=r(n(17));t.default=i.default;var a=r(n(3));t.toQuery=a.default;var u=r(n(6));t.Context=u.default},function(e,t,n){"use strict";function r(e,t,n){function r(e){l&&l.addListener(e)}function o(e){l&&l.removeListener(e)}function u(e){c.matches=e.matches,c.media=e.media}function s(){l&&l.removeListener(u)}var c=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(u)}else this.matches=i(e,t),this.media=e;this.addListener=r,this.removeListener=o,this.dispose=s}function o(e,t,n){return new r(e,t,n)}var i=n(9).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){"use strict";function r(e,t){return o(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every((function(e){var n=e.feature,r=e.modifier,o=e.value,s=t[n];if(!s)return!1;switch(n){case"orientation":case"scan":return s.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=u(o),s=u(s);break;case"resolution":o=a(o),s=a(s);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=i(o),s=i(s);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,s=parseInt(s,10)||0}switch(r){case"min":return s>=o;case"max":return s<=o;default:return s===o}}));return o&&!n||!o&&n}))}function o(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(s),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map((function(e){var t=e.match(c),n=t[1].toLowerCase().match(l);return{modifier:n[1],feature:n[2],value:t[2]}})),i}))}function i(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(d)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function u(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=r,t.parse=o;var s=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,c=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,l=/^(?:(min|max)-)?(.+)/,f=/(em|rem|px|cm|mm|in|pt|pc)?$/,d=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"shallowEqualArrays",(function(){return o})),n.d(t,"shallowEqualObjects",(function(){return r}))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(12)),u=a.default.oneOfType([a.default.string,a.default.number]),s={all:a.default.bool,grid:a.default.bool,aural:a.default.bool,braille:a.default.bool,handheld:a.default.bool,print:a.default.bool,projection:a.default.bool,screen:a.default.bool,tty:a.default.bool,tv:a.default.bool,embossed:a.default.bool},c={orientation:a.default.oneOf(["portrait","landscape"]),scan:a.default.oneOf(["progressive","interlace"]),aspectRatio:a.default.string,deviceAspectRatio:a.default.string,height:u,deviceHeight:u,width:u,deviceWidth:u,color:a.default.bool,colorIndex:a.default.bool,monochrome:a.default.bool,resolution:u,type:Object.keys(s)},l=o(c,["type"]),f=r({minAspectRatio:a.default.string,maxAspectRatio:a.default.string,minDeviceAspectRatio:a.default.string,maxDeviceAspectRatio:a.default.string,minHeight:u,maxHeight:u,minDeviceHeight:u,maxDeviceHeight:u,minWidth:u,maxWidth:u,minDeviceWidth:u,maxDeviceWidth:u,minColor:a.default.number,maxColor:a.default.number,minColorIndex:a.default.number,maxColorIndex:a.default.number,minMonochrome:a.default.number,maxMonochrome:a.default.number,minResolution:u,maxResolution:u},l),d=r(r({},s),f);t.default={all:d,types:s,matchers:c,features:f}},function(e,t,n){var r=n(4);e.exports=n(14)(r.isElement,!0)},function(e,t,n){"use strict";!function(){function e(e){return"string"==typeof e||"function"==typeof e||e===b||e===E||e===w||e===x||e===P||e===C||"object"==typeof e&&null!==e&&(e.$$typeof===T||e.$$typeof===_||e.$$typeof===k||e.$$typeof===S||e.$$typeof===j||e.$$typeof===A||e.$$typeof===R||e.$$typeof===N||e.$$typeof===M)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case y:var n=e.type;switch(n){case O:case E:case b:case w:case x:case P:return n;default:var r=n&&n.$$typeof;switch(r){case S:case j:case T:case _:case k:return r;default:return t}}case g:return t}}}function r(e){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===O}function o(e){return n(e)===E}function i(e){return n(e)===S}function a(e){return n(e)===k}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===y}function s(e){return n(e)===j}function c(e){return n(e)===b}function l(e){return n(e)===T}function f(e){return n(e)===_}function d(e){return n(e)===g}function p(e){return n(e)===w}function h(e){return n(e)===x}function v(e){return n(e)===P}var m="function"==typeof Symbol&&Symbol.for,y=m?Symbol.for("react.element"):60103,g=m?Symbol.for("react.portal"):60106,b=m?Symbol.for("react.fragment"):60107,x=m?Symbol.for("react.strict_mode"):60108,w=m?Symbol.for("react.profiler"):60114,k=m?Symbol.for("react.provider"):60109,S=m?Symbol.for("react.context"):60110,O=m?Symbol.for("react.async_mode"):60111,E=m?Symbol.for("react.concurrent_mode"):60111,j=m?Symbol.for("react.forward_ref"):60112,P=m?Symbol.for("react.suspense"):60113,C=m?Symbol.for("react.suspense_list"):60120,_=m?Symbol.for("react.memo"):60115,T=m?Symbol.for("react.lazy"):60116,M=m?Symbol.for("react.block"):60121,A=m?Symbol.for("react.fundamental"):60117,R=m?Symbol.for("react.responder"):60118,N=m?Symbol.for("react.scope"):60119,D=O,Z=E,I=S,L=k,F=y,z=j,B=b,V=T,U=_,W=g,H=w,q=x,$=P,K=!1;t.AsyncMode=D,t.ConcurrentMode=Z,t.ContextConsumer=I,t.ContextProvider=L,t.Element=F,t.ForwardRef=z,t.Fragment=B,t.Lazy=V,t.Memo=U,t.Portal=W,t.Profiler=H,t.StrictMode=q,t.Suspense=$,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=u,t.isForwardRef=s,t.isFragment=c,t.isLazy=l,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=h,t.isSuspense=v,t.isValidElementType=e,t.typeOf=n}()},function(e,t,n){"use strict";function r(){return null}var o=n(4),i=n(15),a=n(5),u=n(16),s=Function.call.bind(Object.prototype.hasOwnProperty),c=function(){};c=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},e.exports=function(e,t){function n(e){var t=e&&(P&&e[P]||e[C]);if("function"==typeof t)return t}function l(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function f(e){this.message=e,this.stack=""}function d(e){function n(n,i,u,s,l,d,p){if(s=s||_,d=d||u,p!==a){if(t){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("undefined"!=typeof console){var v=s+":"+u;!r[v]&&o<3&&(c("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[v]=!0,o++)}}return null==i[u]?n?new f(null===i[u]?"The "+l+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+l+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,l,d)}var r={},o=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function p(e){function t(t,n,r,o,i,a){var u=t[n];return S(u)!==e?new f("Invalid "+o+" `"+i+"` of type `"+O(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}return d(t)}function h(e){function t(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u))return new f("Invalid "+o+" `"+i+"` of type `"+S(u)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<u.length;s++){var c=e(u,s,r,o,i+"["+s+"]",a);if(c instanceof Error)return c}return null}return d(t)}function v(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||_;return new f("Invalid "+o+" `"+i+"` of type `"+j(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return d(t)}function m(e){function t(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(l(a,e[u]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===O(t)?String(t):t}));return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")}return Array.isArray(e)?d(t):(c(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],c=S(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var l in u)if(s(u,l)){var d=e(u,l,r,o,i+"."+l,a);if(d instanceof Error)return d}return null}return d(t)}function g(e){function t(t,n,r,o,i){for(var u=0;u<e.length;u++)if(null==(0,e[u])(t,n,r,o,i,a))return null;return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return c("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(o)+" at index "+n+"."),r}return d(t)}function b(e){function t(t,n,r,o,i){var u=t[n],s=S(u);if("object"!==s)return new f("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(u,c,r,o,i+"."+c,a);if(d)return d}}return null}return d(t)}function x(e){function t(t,n,r,o,u){var s=t[n],c=S(s);if("object"!==c)return new f("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=i({},t[n],e);for(var d in l){var p=e[d];if(!p)return new f("Invalid "+o+" `"+u+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(s,d,r,o,u+"."+d,a);if(h)return h}return null}return d(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!w(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!w(a[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function S(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function O(e){if(void 0===e||null===e)return""+e;var t=S(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=O(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function j(e){return e.constructor&&e.constructor.name?e.constructor.name:_}var P="function"==typeof Symbol&&Symbol.iterator,C="@@iterator",_="<<anonymous>>",T={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:d(r),arrayOf:h,element:function(){function t(t,n,r,o,i){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+S(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return d(t)}(),elementType:function(){function e(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+S(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return d(e)}(),instanceOf:v,node:function(){function e(e,t,n,r,o){return w(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return d(e)}(),objectOf:y,oneOf:m,oneOfType:g,shape:b,exact:x};return f.prototype=Error.prototype,T.checkPropTypes=u,T.resetWarningCache=u.resetWarningCache,T.PropTypes=T,T}},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,u,s=r(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(o){u=o(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,t,n){"use strict";function r(e,t,n,r,s){for(var c in e)if(u(e,c)){var l;try{if("function"!=typeof e[c]){var f=Error((r||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw f.name="Invariant Violation",f}l=e[c](t,c,r,n,null,i)}catch(p){l=p}if(!l||l instanceof Error||o((r||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var d=s?s():"";o("Failed "+n+" type: "+l.message+(null!=d?d:""))}}}var o=function(){},i=n(5),a={},u=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},r.resetWarningCache=function(){a={}},e.exports=r},function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(0)),a=function(e){var t=e.children,n=e.device,o=e.onChange,a=r(e,["children","device","onChange"]),u=(0,i.default)(a,n,o);return"function"==typeof t?t(u):u?t:null};t.default=a}]))}("undefined"!=typeof self&&self)},4223:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(4965));e.exports=t.default},4965:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},5106:function(e){"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"===typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},7528:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(5192));var r=u(n(4223)),o=u(n(5106)),i=u(n(7313)),a=u(n(4495));n(689);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),c(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),c(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),c(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),c(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&l(e,r),o&&l(e,o),i&&l(e,i)},o.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,c(e,t))},o.render=function(){var e=s({},this.props);return delete e.classNames,i.default.createElement(a.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var d=f;t.default=d,e.exports=t.default},2285:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(5192));var r=a(n(7313)),o=n(1168),i=a(n(9881));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var u=a.prototype;return u.handleLifecycle=function(e,t,n){var i,a=this.props.children,u=r.default.Children.toArray(a)[t];u.props[e]&&(i=u.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},u.render=function(){var e=this.props,t=e.children,n=e.in,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","in"]),a=r.default.Children.toArray(t),u=a[0],s=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(u,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);u.propTypes={};var s=u;t.default=s,e.exports=t.default},4495:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(5192)),o=u(n(7313)),i=u(n(1168)),a=n(5886);n(689);function u(e){return e&&e.__esModule?e:{default:e}}var s="unmounted";t.UNMOUNTED=s;var c="exited";t.EXITED=c;var l="entering";t.ENTERING=l;var f="entered";t.ENTERED=f;var d="exiting";t.EXITING=d;var p=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=c,r.appearStatus=l):o=f:o=t.unmountOnExit||t.mountOnEnter?s:c,r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===s?{status:c}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(t=l):n!==l&&n!==f||(t=d)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:s})},a.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:l},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:f},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:f},(function(){n.props.onEntered(e)}))},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:d},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:c},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:c},(function(){t.props.onExited(e)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===s)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function h(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var v=(0,a.polyfill)(p);t.default=v},9881:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(5192)),o=u(n(7313)),i=n(5886),a=n(549);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){var t,n;function r(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(c(c(r)));return r.state={handleExited:o,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},i.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=s({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,i.polyfill)(f);t.default=d,e.exports=t.default},7558:function(e,t,n){"use strict";var r=u(n(7528)),o=u(n(2285)),i=u(n(9881)),a=u(n(4495));function u(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},549:function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var u=o(e.children),s=i(t,u);return Object.keys(s).forEach((function(o){var i=s[o];if((0,r.isValidElement)(i)){var c=o in t,l=o in u,f=t[o],d=(0,r.isValidElement)(f)&&!f.props.in;!l||c&&!d?l||!c||d?l&&c&&(0,r.isValidElement)(f)&&(s[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:a(i,"exit",e),enter:a(i,"enter",e)})):s[o]=(0,r.cloneElement)(i,{in:!1}):s[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",e),enter:a(i,"enter",e)})}})),s};var r=n(7313);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];u[o[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<i.length;r++)u[i[r]]=n(i[r]);return u}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},689:function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(5192))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},5918:function(e,t,n){"use strict";n(1843);var r=n(7313),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)u.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},306:function(e,t,n){"use strict";var r=n(1843),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,u=60110,s=60112;t.Suspense=60113;var c=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),u=f("react.context"),s=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function m(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=m.prototype;var b=g.prototype=new y;b.constructor=g,r(b,m.prototype),b.isPureReactComponent=!0;var x={current:null},w=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&!k.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:x.current}}function O(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var E=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,n,r,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case i:s=!0}}if(s)return a=a(s=e),e=""===r?"."+j(s,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(E,"$&/")+"/"),P(a,t,n,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+e)),t.push(a)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=r+j(u=e[c],c);s+=P(u,t,n,l,a)}else if(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof l)for(e=l.call(e),c=0;!(u=e.next()).done;)s+=P(u=u.value,t,n,l=r+j(u,c++),a);else if("object"===u)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function C(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function _(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function M(){var e=T.current;if(null===e)throw Error(p(321));return e}var A={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:C,forEach:function(e,t,n){C(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return C(e,(function(){t++})),t},toArray:function(e){return C(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error(p(143));return e}},t.Component=m,t.PureComponent=g,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var i=r({},e.props),a=e.key,u=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,s=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)w.call(t,l)&&!k.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:u,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:_}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return M().useCallback(e,t)},t.useContext=function(e,t){return M().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return M().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return M().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return M().useLayoutEffect(e,t)},t.useMemo=function(e,t){return M().useMemo(e,t)},t.useReducer=function(e,t,n){return M().useReducer(e,t,n)},t.useRef=function(e){return M().useRef(e)},t.useState=function(e){return M().useState(e)},t.version="17.0.2"},7313:function(e,t,n){"use strict";e.exports=n(306)},6417:function(e,t,n){"use strict";e.exports=n(5918)},468:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case v:case s:return e;default:return t}}case o:return t}}}function k(e){return w(e)===f}t.isFragment=function(e){return w(e)===i}},4963:function(e,t,n){"use strict";e.exports=n(468)},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(9126)),o=n(9899),i=u(n(8922)),a=u(n(7733));function u(e){return e&&e.__esModule?e:{default:e}}var s=/((?:\-[a-z]+\-)?calc)/;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(e).walk((function(e){if("function"===e.type&&s.test(e.value)){var n=r.default.stringify(e.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var u=o.parser.parse(n),c=(0,i.default)(u,t);e.type="word",e.value=(0,a.default)(e.value,c,t)}}}),!0).toString()},e.exports=t.default},3925:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6258),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){switch(e.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(e,t,n){t.type===e.type&&(t={type:e.type,value:(0,i.default)(t.value,t.unit,e.unit,n),unit:e.unit});return{left:e,right:t}}(e,t,n);default:return{left:e,right:t}}},e.exports=t.default},8922:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flip=c;var r,o=n(3925),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return"MathExpression"===e.type?function(e,t){switch(e=function(e,t){var n=(0,i.default)(e.left,e.right,t),r=a(n.left,t),o=a(n.right,t);"MathExpression"===r.type&&"MathExpression"===o.type&&("/"===r.operator&&"*"===o.operator||"-"===r.operator&&"+"===o.operator||"*"===r.operator&&"/"===o.operator||"+"===r.operator&&"-"===o.operator)&&(u(r.right,o.right)?n=(0,i.default)(r.left,o.left,t):u(r.right,o.left)&&(n=(0,i.default)(r.left,o.right,t)),r=a(n.left,t),o=a(n.right,t));return e.left=r,e.right=o,e}(e,t),e.operator){case"+":case"-":return function(e,t){var n=e,r=n.left,o=n.right,i=n.operator;if("CssVariable"===r.type||"CssVariable"===o.type)return e;if(0===o.value)return r;if(0===r.value&&"+"===i)return o;if(0===r.value&&"-"===i)return l(o);r.type===o.type&&s(r.type)&&((e=Object.assign({},r)).value="+"===i?r.value+o.value:r.value-o.value);if(s(r.type)&&("+"===o.operator||"-"===o.operator)&&"MathExpression"===o.type){if(r.type===o.left.type)return(e=Object.assign({},e)).left=a({type:"MathExpression",operator:i,left:r,right:o.left},t),e.right=o.right,e.operator="-"===i?c(o.operator):o.operator,a(e,t);if(r.type===o.right.type)return(e=Object.assign({},e)).left=a({type:"MathExpression",operator:"-"===i?c(o.operator):o.operator,left:r,right:o.right},t),e.right=o.left,a(e,t)}if("MathExpression"===r.type&&("+"===r.operator||"-"===r.operator)&&s(o.type)){if(o.type===r.left.type)return(e=Object.assign({},r)).left=a({type:"MathExpression",operator:i,left:r.left,right:o},t),a(e,t);if(o.type===r.right.type)return e=Object.assign({},r),"-"===r.operator?(e.right=a({type:"MathExpression",operator:"-"===i?"+":"-",left:o,right:r.right},t),e.operator="-"===i?"-":"+"):e.right=a({type:"MathExpression",operator:i,left:r.right,right:o},t),e.right.value<0&&(e.right.value*=-1,e.operator="-"===e.operator?"+":"-"),a(e,t)}return e}(e,t);case"/":return function(e,t){if(!s(e.right.type))return e;if("Value"!==e.right.type)throw new Error('Cannot divide by "'+e.right.unit+'", number expected');if(0===e.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===e.left.type)return s(e.left.left.type)&&s(e.left.right.type)?(e.left.left.value/=e.right.value,e.left.right.value/=e.right.value,a(e.left,t)):e;if(s(e.left.type))return e.left.value/=e.right.value,e.left;return e}(e,t);case"*":return function(e){if("MathExpression"===e.left.type&&"Value"===e.right.type){if(s(e.left.left.type)&&s(e.left.right.type))return e.left.left.value*=e.right.value,e.left.right.value*=e.right.value,e.left}else{if(s(e.left.type)&&"Value"===e.right.type)return e.left.value*=e.right.value,e.left;if("Value"===e.left.type&&"MathExpression"===e.right.type){if(s(e.right.left.type)&&s(e.right.right.type))return e.right.left.value*=e.left.value,e.right.right.value*=e.left.value,e.right}else if("Value"===e.left.type&&s(e.right.type))return e.right.value*=e.left.value,e.right}return e}(e)}return e}(e,t):"Calc"===e.type?a(e.value,t):e}function u(e,t){return e.type===t.type&&e.value===t.value}function s(e){switch(e){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function c(e){return"+"===e?"-":"+"}function l(e){return s(e.type)?e.value=-e.value:"MathExpression"==e.type&&(e.left=l(e.left),e.right=l(e.right)),e}t.default=a},7733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=a(t,n);return"MathExpression"===t.type&&(r=e+"("+r+")"),r};var r=n(8922),o={"*":0,"/":0,"+":1,"-":1};function i(e,t){if(!1!==t){var n=Math.pow(10,t);return Math.round(e*n)/n}return e}function a(e,t){switch(e.type){case"MathExpression":var n=e.left,u=e.right,s=e.operator,c="";return"MathExpression"===n.type&&o[s]<o[n.operator]?c+="("+a(n,t)+")":c+=a(n,t),c+=" "+e.operator+" ","MathExpression"===u.type&&o[s]<o[u.operator]?c+="("+a(u,t)+")":"MathExpression"===u.type&&"-"===s&&["+","-"].includes(u.operator)?(u.operator=(0,r.flip)(u.operator),c+=a(u,t)):c+=a(u,t),c;case"Value":return i(e.value,t);case"CssVariable":return e.fallback?"var("+e.value+", "+a(e.fallback,t)+")":"var("+e.value+")";case"Calc":return e.prefix?"-"+e.prefix+"-calc("+a(e.value,t)+")":"calc("+a(e.value,t)+")";default:return i(e.value,t)+e.unit}}e.exports=t.default},9899:function(e,t){var n=function(){function e(e,t){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==e&&(e="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:e}),this.hash=t,t&&t.exception instanceof Error){var r=t.exception;this.message=r.message||e,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(e).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}function t(e,t,n){n=n||0;for(var r=0;r<t;r++)this.push(e),e+=n}function n(e,t){for(t+=e=this.length-e;e<t;e++)this.push(this[e])}function r(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e[n];"function"===typeof o?(n++,o.apply(t,e[n])):t.push(o)}return t}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,Error.prototype):e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.name="JisonParserError";var o={trace:function(){},JisonParserError:e,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(e){return'"'+e+'"'},getSymbolName:function(e){if(this.terminals_[e])return this.terminals_[e];var t=this.symbols_;for(var n in t)if(t[n]===e)return n;return null},describeSymbol:function(e){if(e!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[e])return this.terminal_descriptions_[e];if(e===this.EOF)return"end of input";var t=this.getSymbolName(e);return t?this.quoteName(t):null},collect_expected_token_set:function(e,t){var n=this.TERROR,r=[],o={};if(!t&&this.state_descriptions_&&this.state_descriptions_[e])return[this.state_descriptions_[e]];for(var i in this.table[e])if((i=+i)!==n){var a=t?i:this.describeSymbol(i);a&&!o[a]&&(r.push(a),o[a]=!0)}return r},productions_:function(e){for(var t=[],n=e.pop,r=e.rule,o=0,i=n.length;o<i;o++)t.push([n[o],r[o]]);return t}({pop:r([29,t,[30,10],31,31,32,32,t,[33,15]]),rule:r([2,t,[3,5],4,7,t,[1,4],2,4,6,t,[1,14],2])}),performAction:function(e,t,n){var r=this.yy;r.parser,r.lexer;switch(e){case 0:case 6:this.$=n[t-1];break;case 1:return this.$=n[t-1],n[t-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:n[t-1],left:n[t-2],right:n[t]};break;case 7:this.$={type:"Calc",value:n[t-1]};break;case 8:this.$={type:"Calc",value:n[t-1],prefix:n[t-5]};break;case 9:case 10:case 11:this.$=n[t];break;case 12:this.$={type:"Value",value:parseFloat(n[t])};break;case 13:this.$={type:"Value",value:-1*parseFloat(n[t])};break;case 14:this.$={type:"CssVariable",value:n[t-1]};break;case 15:this.$={type:"CssVariable",value:n[t-3],fallback:n[t-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(n[t]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(n[t]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(n[t]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(n[t]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(n[t]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(n[t]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(n[t]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(n[t]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(n[t]),unit:"%"};break;case 30:var o=n[t];o.value*=-1,this.$=o}},table:function(e){for(var t=[],n=e.len,r=e.symbol,o=e.type,i=e.state,a=e.mode,u=e.goto,s=0,c=n.length;s<c;s++){for(var l=n[s],f={},d=0;d<l;d++){var p=r.shift();switch(o.shift()){case 2:f[p]=[a.shift(),u.shift()];break;case 0:f[p]=i.shift();break;default:f[p]=[3]}}t.push(f)}return t}({len:r([24,1,5,23,1,18,t,[0,3],1,t,[0,16],t,[23,4],n,[28,3],0,0,16,1,6,6,t,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:r([4,7,9,11,12,t,[15,19,1],1,1,t,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:r([t,[2,19],t,[0,5],1,t,[2,24],t,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:r([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:r([t,[1,179],t,[2,3],n,[5,5],n,[6,4],t,[1,57]]),goto:r([5,3,4,24,t,[9,15,1],t,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,t,[2,3],28,29,2,t,[3,3],28,29,3,n,[53,4],t,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:function(e){for(var t={},n=e.idx,r=e.goto,o=0,i=n.length;o<i;o++){t[n[o]]=r[o]}return t}({idx:r([6,7,8,t,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:r([9,10,11,t,[16,14,1],12,1,30,13,t,[4,4,1],14,15,8])}),parseError:function(e,t,n){if(!t.recoverable)throw"function"===typeof this.trace&&this.trace(e),n||(n=this.JisonParserError),new n(e,t);"function"===typeof this.trace&&this.trace(e),t.destroy()},parse:function(e){var t,n=this,r=new Array(128),o=new Array(128),i=new Array(128),a=this.table,u=0,s=0,c=(this.TERROR,this.EOF),l=(this.options.errorRecoveryTokenDiscardCount,[0,54]);t=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function d(){var e=t.fastLex();return"number"!==typeof e&&(e=n.symbols_[e]||e),e||c}"function"!==typeof assert||assert,this.yyGetSharedState=function(){return f},function(e,t){for(var n in t)"undefined"===typeof e[n]&&Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}(f,this.yy),f.lexer=t,f.parser=this,"function"===typeof f.parseError?this.parseError=function(e,t,n){return n||(n=this.JisonParserError),f.parseError.call(this,e,t,n)}:this.parseError=this.originalParseError,"function"===typeof f.quoteName?this.quoteName=function(e){return f.quoteName.call(this,e)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(e,n,a){var s,c;n&&((f.post_parse||this.post_parse)&&(c=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&"undefined"!==typeof(s=f.post_parse.call(this,f,e,c))&&(e=s),this.post_parse&&"undefined"!==typeof(s=this.post_parse.call(this,f,e,c))&&(e=s),c&&c.destroy&&c.destroy());if(this.__reentrant_call_depth>1)return e;if(t.cleanupAfterLex&&t.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,t.yy===f&&(t.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,o.length=0,i.length=0,u=0,!a){for(var l=this.__error_infos.length-1;l>=0;l--){var d=this.__error_infos[l];d&&"function"===typeof d.destroy&&d.destroy()}this.__error_infos.length=0}return e},this.constructParseErrorInfo=function(e,n,a,c){var l={errStr:e,exception:n,text:t.match,value:t.yytext,token:this.describeSymbol(s)||s,token_id:s,line:t.yylineno,expected:a,recoverable:c,state:p,action:h,new_state:x,symbol_stack:r,state_stack:o,value_stack:i,stack_pointer:u,yy:f,lexer:t,parser:this,destroy:function(){var e=!!this.recoverable;for(var t in this)this.hasOwnProperty(t)&&"object"===typeof t&&(this[t]=void 0);this.recoverable=e}};return this.__error_infos.push(l),l};var p,h,v,m,y,g,b,x,w=function(){var e=t.lex();return"number"!==typeof e&&(e=n.symbols_[e]||e),e||c},k={$:!0,_$:void 0,yy:f},S=!1;try{if(this.__reentrant_call_depth++,t.setInput(e,f),"function"===typeof t.canIUse)t.canIUse().fastLex&&(w=d);for(i[u]=null,o[u]=0,r[u]=0,++u,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),x=o[u-1];;){if(p=x,this.defaultActions[p])h=2,x=this.defaultActions[p];else if(s||(s=w()),m=a[p]&&a[p][s]||l,x=m[1],!(h=m[0])){var O,E=this.describeSymbol(s)||s,j=this.collect_expected_token_set(p);O="number"===typeof t.yylineno?"Parse error on line "+(t.yylineno+1)+": ":"Parse error: ","function"===typeof t.showPosition&&(O+="\n"+t.showPosition(69,10)+"\n"),j.length?O+="Expecting "+j.join(", ")+", got unexpected "+E:O+="Unexpected "+E,y=this.constructParseErrorInfo(O,null,j,!1),"undefined"!==typeof(v=this.parseError(y.errStr,y,this.JisonParserError))&&(S=v);break}switch(h){default:if(h instanceof Array){y=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+p+", token: "+s,null,null,!1),"undefined"!==typeof(v=this.parseError(y.errStr,y,this.JisonParserError))&&(S=v);break}y=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),"undefined"!==typeof(v=this.parseError(y.errStr,y,this.JisonParserError))&&(S=v);break;case 1:r[u]=s,i[u]=t.yytext,o[u]=x,++u,s=0;continue;case 2:if(g=(b=this.productions_[x-1])[1],"undefined"!==typeof(v=this.performAction.call(k,x,u-1,i))){S=v;break}u-=g;var P=b[0];r[u]=P,i[u]=k.$,x=a[o[u-1]][P],o[u]=x,++u;continue;case 3:-2!==u&&(S=!0,u--,"undefined"!==typeof i[u]&&(S=i[u]))}break}}catch(C){if(C instanceof this.JisonParserError)throw C;if(t&&"function"===typeof t.JisonLexerError&&C instanceof t.JisonLexerError)throw C;y=this.constructParseErrorInfo("Parsing aborted due to exception.",C,null,!1),S=!1,"undefined"!==typeof(v=this.parseError(y.errStr,y,this.JisonParserError))&&(S=v)}finally{S=this.cleanupAfterParse(S,!0,!0),this.__reentrant_call_depth--}return S}};o.originalParseError=o.parseError,o.originalQuoteName=o.quoteName;var i=function(){function e(e,t){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==e&&(e="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:e}),this.hash=t,t&&t.exception instanceof Error){var r=t.exception;this.message=r.message||e,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(e).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,Error.prototype):e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.name="JisonLexerError";var t={EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(e,t,n){if(e=""+e,void 0==n&&(n=!(e.indexOf("\n")>0&&e.indexOf("^")>0)),this.yylloc&&n)if("function"===typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(e)||(e+="\n"),e+="\n Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"===typeof this.showPosition){var r=this.showPosition();r&&(e.length&&"\n"!==e[e.length-1]&&"\n"!==r[0]?e+="\n"+r:e+=r)}var o={errStr:e,recoverable:!!t,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var e=!!this.recoverable;for(var t in this)this.hasOwnProperty(t)&&"object"===typeof t&&(this[t]=void 0);this.recoverable=e}};return this.__error_infos.push(o),o},parseError:function(e,t,n){if(n||(n=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"===typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,e,t,n)||this.ERROR;if("function"===typeof this.yy.parseError)return this.yy.parseError.call(this,e,t,n)||this.ERROR}throw new n(e,t)},yyerror:function(e){var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var n=this.constructLexErrorInfo("Lexical error"+t+": "+e,this.options.lexerErrorsAreRecoverable),r=Array.prototype.slice.call(arguments,1);return r.length&&(n.extra_error_attributes=r),this.parseError(n.errStr,n,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(e){if(this.setInput("",{}),!e){for(var t=this.__error_infos.length-1;t>=0;t--){var n=this.__error_infos[t];n&&"function"===typeof n.destroy&&n.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var e=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:e,last_line:this.yylineno+1,last_column:e,range:[this.offset,this.offset]}},setInput:function(e,t){if(this.yy=t||this.yy||{},!this.__decompressed){for(var n=this.rules,r=0,o=n.length;r<o;r++){"number"===typeof(d=n[r])&&(n[r]=n[d])}var i=this.conditions;for(var a in i){var u=i[a],s=u.rules,c=(o=s.length,new Array(o+1)),l=new Array(o+1);for(r=0;r<o;r++){var f=s[r],d=n[f];c[r+1]=d,l[r+1]=f}u.rules=l,u.__rule_regexes=c,u.__rule_count=o}this.__decompressed=!0}return this._input=e||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(e,t){var n=e.call(this,this._input,t);return"string"!==typeof n?n&&(this._input=""+n):this._input=n,this},input:function(){if(!this._input)return null;var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=1,n=!1;if("\n"===e)n=!0;else if("\r"===e){n=!0;var r=this._input[1];"\n"===r&&(t++,e+=r,this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,this.yylloc.range[1]++)}return n?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(t),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);if(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.yyleng=this.yytext.length,this.offset-=t,this.match=this.match.substr(0,this.match.length-t),this.matched=this.matched.substr(0,this.matched.length-t),n.length>1){this.yylineno-=n.length-1,this.yylloc.last_line=this.yylineno+1;var r=this.match,o=r.split(/(?:\r\n?|\n)/g);1===o.length&&(o=(r=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=o[o.length-1].length}else this.yylloc.last_column-=t;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var t=this.constructLexErrorInfo("Lexical error"+e+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(t.errStr,t,this.JisonLexerError)||this.ERROR}return this},less:function(e){return this.unput(this.match.slice(e))},pastInput:function(e,t){var n=this.matched.substring(0,this.matched.length-this.match.length);e<0?e=n.length:e||(e=20),t<0?t=n.length:t||(t=1);var r=(n=n.substr(2*-e-2)).replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(-t)).join("\n")).length>e&&(n="..."+n.substr(-e)),n},upcomingInput:function(e,t){var n=this.match;e<0?e=n.length+this._input.length:e||(e=20),t<0?t=e:t||(t=1),n.length<2*e+2&&(n+=this._input.substring(0,2*e+2));var r=n.replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(0,t)).join("\n")).length>e&&(n=n.substring(0,e)+"..."),n},showPosition:function(e,t){var n=this.pastInput(e).replace(/\s/g," "),r=new Array(n.length+1).join("-");return n+this.upcomingInput(t).replace(/\s/g," ")+"\n"+r+"^"},deriveLocationInfo:function(e,t,n,r){var o={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return e&&(o.first_line=0|e.first_line,o.last_line=0|e.last_line,o.first_column=0|e.first_column,o.last_column=0|e.last_column,e.range&&(o.range[0]=0|e.range[0],o.range[1]=0|e.range[1])),(o.first_line<=0||o.last_line<o.first_line)&&(o.first_line<=0&&t&&(o.first_line=0|t.last_line,o.first_column=0|t.last_column,t.range&&(o.range[0]=0|e.range[1])),(o.last_line<=0||o.last_line<o.first_line)&&n&&(o.last_line=0|n.first_line,o.last_column=0|n.first_column,n.range&&(o.range[1]=0|e.range[0])),o.first_line<=0&&r&&(o.last_line<=0||r.last_line<=o.last_line)&&(o.first_line=0|r.first_line,o.first_column=0|r.first_column,r.range&&(o.range[0]=0|r.range[0])),o.last_line<=0&&r&&(o.first_line<=0||r.first_line>=o.first_line)&&(o.last_line=0|r.last_line,o.last_column=0|r.last_column,r.range&&(o.range[1]=0|r.range[1]))),o.last_line<=0&&(o.first_line<=0?(o.first_line=this.yylloc.first_line,o.last_line=this.yylloc.last_line,o.first_column=this.yylloc.first_column,o.last_column=this.yylloc.last_column,o.range[0]=this.yylloc.range[0],o.range[1]=this.yylloc.range[1]):(o.last_line=this.yylloc.last_line,o.last_column=this.yylloc.last_column,o.range[1]=this.yylloc.range[1])),o.first_line<=0&&(o.first_line=o.last_line,o.first_column=0,o.range[1]=o.range[0]),o.first_column<0&&(o.first_column=0),o.last_column<0&&(o.last_column=o.first_column>0?o.first_column:80),o},prettyPrintRange:function(e,t,n){e=this.deriveLocationInfo(e,t,n);var r=(this.matched+this._input).split("\n"),o=Math.max(1,t?t.first_line:e.first_line-3),i=Math.max(1,n?n.last_line:e.last_line+1),a=1+Math.log10(1|i)|0,u=new Array(a).join(" "),s=[],c=r.slice(o-1,i+1).map((function(t,n){var r=n+o,i=(u+r).substr(-a)+": "+t,c=new Array(a+1).join("^"),l=3,f=0;(r===e.first_line?(l+=e.first_column,f=Math.max(2,(r===e.last_line?e.last_column:t.length)-e.first_column+1)):r===e.last_line?f=Math.max(2,e.last_column+1):r>e.first_line&&r<e.last_line&&(f=Math.max(2,t.length+1)),f)&&(i+="\n"+c+new Array(l).join(".")+new Array(f).join("^"),t.trim().length>0&&s.push(n));return i=i.replace(/\t/g," ")}));if(s.length>4){var l=s[1]+1,f=s[s.length-2]-1,d=new Array(a+1).join(" ")+" (...continued...)";d+="\n"+new Array(a+1).join("-")+" (---------------)",c.splice(l,f-l+1,d)}return c.join("\n")},describeYYLLOC:function(e,t){var n,r=e.first_line,o=e.last_line,i=e.first_column,a=e.last_column;if(0===o-r?(n="line "+r+", ",n+=a-i<=1?"column "+i:"columns "+i+" .. "+a):n="lines "+r+"(column "+i+") .. "+o+"(column "+a+")",e.range&&t){var u=e.range[0],s=e.range[1]-1;n+=s<=u?" {String Offset: "+u+"}":" {String Offset range: "+u+" .. "+s+"}"}return n},test_match:function(e,t){var n,r,o,i,a;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},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}),a=(i=e[0]).length,(r=i.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=r.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=r[r.length-1].length):this.yylloc.last_column+=a,this.yytext+=i,this.match+=i,this.matched+=i,this.matches=e,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),n=this.performAction.call(this,this.yy,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var u in o)this[u]=o[u];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(n=this._signaled_error_token,this._signaled_error_token=!1,n)},next:function(){if(this.done)return this.clear(),this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||this.clear();var o=this.__currentRuleSet__;if(!o&&(!(o=this.__currentRuleSet__=this._currentRules())||!o.rules)){var i="";this.options.trackPosition&&(i=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+i+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var u=o.rules,s=o.__rule_regexes,c=o.__rule_count,l=1;l<=c;l++)if((n=this._input.match(s[l]))&&(!t||n[0].length>t[0].length)){if(t=n,r=l,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,u[l])))return e;if(this._backtrack){t=void 0;continue}return!1}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,u[r]))&&e;if(this._input){i="";this.options.trackPosition&&(i=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+i+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,d=this.topState(),p=this.conditionStack.length;return(e=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||d!==this.topState()||p!==this.conditionStack.length||this.input()),e}return this.done=!0,this.clear(),this.EOF},lex:function(){var e;for("function"===typeof this.pre_lex&&(e=this.pre_lex.call(this,0)),"function"===typeof this.options.pre_lex&&(e=this.options.pre_lex.call(this,e)||e),this.yy&&"function"===typeof this.yy.pre_lex&&(e=this.yy.pre_lex.call(this,e)||e);!e;)e=this.next();return this.yy&&"function"===typeof this.yy.post_lex&&(e=this.yy.post_lex.call(this,e)||e),"function"===typeof this.options.post_lex&&(e=this.options.post_lex.call(this,e)||e),"function"===typeof this.post_lex&&(e=this.post_lex.call(this,e)||e),e},fastLex:function(){for(var e;!e;)e=this.next();return e},canIUse:function(){return{fastLex:!("function"===typeof this.pre_lex||"function"===typeof this.options.pre_lex||this.yy&&"function"===typeof this.yy.pre_lex||this.yy&&"function"===typeof this.yy.post_lex||"function"===typeof this.options.post_lex||"function"===typeof this.post_lex)&&"function"===typeof this.fastLex}},begin:function(e){return this.pushState(e)},pushState:function(e){return this.conditionStack.push(e),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:e,performAction:function(e,t,n){if(1!==t)return this.simpleCaseActionClusters[t]},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};return t}();function a(){this.yy={}}return o.lexer=i,a.prototype=o,o.Parser=a,new a}();t.parser=n,t.Parser=n.Parser,t.parse=function(){return n.parse.apply(n,arguments)}},9126:function(e,t,n){var r=n(293),o=n(9465),i=n(3859);function a(e){return this instanceof a?(this.nodes=r(e),this):new a(e)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},a.prototype.walk=function(e,t){return o(this.nodes,e,t),this},a.unit=n(3685),a.walk=o,a.stringify=i,e.exports=a},293:function(e){var t="(".charCodeAt(0),n=")".charCodeAt(0),r="'".charCodeAt(0),o='"'.charCodeAt(0),i="\\".charCodeAt(0),a="/".charCodeAt(0),u=",".charCodeAt(0),s=":".charCodeAt(0),c="*".charCodeAt(0);e.exports=function(e){for(var l,f,d,p,h,v,m,y,g=[],b=e,x=0,w=b.charCodeAt(x),k=b.length,S=[{nodes:g}],O=0,E="",j="",P="";x<k;)if(w<=32){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);p=b.slice(x,l),d=g[g.length-1],w===n&&O?P=p:d&&"div"===d.type?d.after=p:w===u||w===s||w===a&&b.charCodeAt(l+1)!==c?j=p:g.push({type:"space",sourceIndex:x,value:p}),x=l}else if(w===r||w===o){l=x,p={type:"string",sourceIndex:x,quote:f=w===r?"'":'"'};do{if(h=!1,~(l=b.indexOf(f,l+1)))for(v=l;b.charCodeAt(v-1)===i;)v-=1,h=!h;else l=(b+=f).length-1,p.unclosed=!0}while(h);p.value=b.slice(x+1,l),g.push(p),x=l+1,w=b.charCodeAt(x)}else if(w===a&&b.charCodeAt(x+1)===c)p={type:"comment",sourceIndex:x},-1===(l=b.indexOf("*/",x))&&(p.unclosed=!0,l=b.length),p.value=b.slice(x+2,l),g.push(p),x=l+2,w=b.charCodeAt(x);else if(w===a||w===u||w===s)p=b[x],g.push({type:"div",sourceIndex:x-j.length,value:p,before:j,after:""}),j="",x+=1,w=b.charCodeAt(x);else if(t===w){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);if(p={type:"function",sourceIndex:x-E.length,value:E,before:b.slice(x+1,l)},x=l,"url"===E&&w!==r&&w!==o){l-=1;do{if(h=!1,~(l=b.indexOf(")",l+1)))for(v=l;b.charCodeAt(v-1)===i;)v-=1,h=!h;else l=(b+=")").length-1,p.unclosed=!0}while(h);m=l;do{m-=1,w=b.charCodeAt(m)}while(w<=32);p.nodes=x!==m+1?[{type:"word",sourceIndex:x,value:b.slice(x,m+1)}]:[],p.unclosed&&m+1!==l?(p.after="",p.nodes.push({type:"space",sourceIndex:m+1,value:b.slice(m+1,l)})):p.after=b.slice(m+1,l),x=l+1,w=b.charCodeAt(x),g.push(p)}else O+=1,p.after="",g.push(p),S.push(p),g=p.nodes=[],y=p;E=""}else if(n===w&&O)x+=1,w=b.charCodeAt(x),y.after=P,P="",O-=1,S.pop(),g=(y=S[O]).nodes;else{l=x;do{w===i&&(l+=1),l+=1,w=b.charCodeAt(l)}while(l<k&&!(w<=32||w===r||w===o||w===u||w===s||w===a||w===t||w===n&&O));p=b.slice(x,l),t===w?E=p:g.push({type:"word",sourceIndex:x,value:p}),x=l}for(x=S.length-1;x;x-=1)S[x].unclosed=!0;return S[0].nodes}},3859:function(e){function t(e,t){var r,o,i=e.type,a=e.value;return t&&void 0!==(o=t(e))?o:"word"===i||"space"===i?a:"string"===i?(r=e.quote||"")+a+(e.unclosed?"":r):"comment"===i?"/*"+a+(e.unclosed?"":"*/"):"div"===i?(e.before||"")+a+(e.after||""):Array.isArray(e.nodes)?(r=n(e.nodes),"function"!==i?r:a+"("+(e.before||"")+r+(e.after||"")+(e.unclosed?"":")")):a}function n(e,n){var r,o;if(Array.isArray(e)){for(r="",o=e.length-1;~o;o-=1)r=t(e[o],n)+r;return r}return t(e,n)}e.exports=n},3685:function(e){var t="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),o="e".charCodeAt(0),i="E".charCodeAt(0);e.exports=function(e){for(var a,u=0,s=e.length,c=!1,l=-1,f=!1;u<s;){if((a=e.charCodeAt(u))>=48&&a<=57)f=!0;else if(a===o||a===i){if(l>-1)break;l=u}else if(a===r){if(c)break;c=!0}else{if(a!==n&&a!==t)break;if(0!==u)break}u+=1}return l+1===u&&u--,!!f&&{number:e.slice(0,u),unit:e.slice(u)}}},9465:function(e){e.exports=function e(t,n,r){var o,i,a,u;for(o=0,i=t.length;o<i;o+=1)a=t[o],r||(u=n(a,o,t)),!1!==u&&"function"===a.type&&Array.isArray(a.nodes)&&e(a.nodes,n,r),r&&n(a,o,t)}},8937:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(M){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function m(){}function y(){}function g(){}var b={};s(b,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(_([])));w&&w!==n&&r.call(w,i)&&(b=w);var k=g.prototype=m.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,a,u){var s=l(e[o],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function _(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return y.prototype=g,s(k,"constructor",g),s(g,"constructor",y),y.displayName=s(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},S(O.prototype),s(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(k),s(k,u,"Generator"),s(k,i,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:_(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},1355:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],s="undefined"!==typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function u(){a(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=g(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=f(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=p(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,u=p(r.width),s=p(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=h(r,"left","right")+i),Math.round(s+a)!==n&&(s-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var c=Math.round(u+i)-t,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return g(o.left,o.top,u,s)}var m="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox};function y(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):v(e):d}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return l(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);l(this,{target:e,contentRect:n})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new x(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!==typeof WeakMap?new WeakMap:new r,S=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){S.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var O="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:S;t.default=O},3095:function(e,t){"use strict";var n,r,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,l=null,f=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){l=setTimeout(e,t)},o=function(){clearTimeout(l)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,m=null,y=-1,g=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,w=x.port2;x.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();b=e+g;try{m(!0,e)?w.postMessage(null):(v=!1,m=null)}catch(n){throw w.postMessage(null),n}}else v=!1},n=function(e){m=e,v||(v=!0,w.postMessage(null))},r=function(e,n){y=d((function(){e(t.unstable_now())}),n)},o=function(){p(y),y=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<E(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,s=e[u];if(void 0!==a&&0>E(a,n))void 0!==s&&0>E(s,a)?(e[r]=s,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>E(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var j=[],P=[],C=1,_=null,T=3,M=!1,A=!1,R=!1;function N(e){for(var t=S(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,k(j,t)}t=S(P)}}function D(e){if(R=!1,N(e),!A)if(null!==S(j))A=!0,n(Z);else{var t=S(P);null!==t&&r(D,t.startTime-e)}}function Z(e,n){A=!1,R&&(R=!1,o()),M=!0;var i=T;try{for(N(n),_=S(j);null!==_&&(!(_.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=_.callback;if("function"===typeof a){_.callback=null,T=_.priorityLevel;var u=a(_.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?_.callback=u:_===S(j)&&O(j),N(n)}else O(j);_=S(j)}if(null!==_)var s=!0;else{var c=S(P);null!==c&&r(D,c.startTime-n),s=!1}return s}finally{_=null,T=i,M=!1}}var I=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){A||M||(A=!0,n(Z))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return S(j)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,i,a){var u=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:C++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>u?(e.sortIndex=a,k(P,e),null===S(j)&&e===S(P)&&(R?o():R=!0,r(D,a-u))):(e.sortIndex=s,k(j,e),A||M||(A=!0,n(Z))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},2224:function(e,t,n){"use strict";e.exports=n(3095)},4064:function(e){function t(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),u=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!u.has(e[0])||!u.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||s(e[i],i,new Set);return r;function s(e,t,i){if(i.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(d){c=""}throw new Error("Cyclic dependency"+c)}if(!u.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var l=a.get(e)||new Set;if(t=(l=Array.from(l)).length){i.add(e);do{var f=l[--t];s(f,u.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},e.exports.array=t},6637:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},580:function(e,t,n){"use strict";e.exports=n.p+"static/media/getFetch.c780682470504fffbd04.cjs"},4427:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAU8AAAF5CAYAAAAf7qhCAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAGjNJREFUeJzt3Xu03GV97/H3EyHhEgORm1xSBA0oKgERwkU8gFRbFc9hLempVax6enSh5VYIWC6iCDUQCgQ4rbQKXXAoLWg9xRSKIgIGIUhArhYCMUi4hCQkhBAIgXzPH7/ZmIRkZ/azZ+b5zcz7tZZruZK5fPbA/vD7PfNcElJBEbEpsA9wILAvsDPwdmAz4FVgPjAPeBZ4BJgB3JlSeqJIYEkqJSI2j4gvR8QvImJF5HkmIs6PiJ1L/zyS1DYRMSIi/jgi/iUiXs4szLV5PSL+LSL2LP0zSlLLRMSGEfH5iHiohYW5Lj+1RCV1tYgY1SjNWR0ozVW9HhHXRMSupT8DSWpaozSPj4hnO1yaa3otIr4fEduX/kwkaZ0iIkXEERHxWNHKfLNlETE5IjYv/RlJ0moi4tCImFm2I9drYUScHBEblf68JPW5iPhARNxUthOH7PGI+NOISKU/P0l9JiK2iIipUY0rdqu7I+KQ0p+lpD4Q1bSjYyNicdnea6mfRsQepT9bST0qqnHNBwsXXbsMTG/aqfTnLKlHRMS7GsXSD5ZHNRzhN/NaLwfNtVYRMQY4DTgWGFk4TqctBM4G/i6ltLx0GNWT5anVRMQI4PPAd6h2N+pnc4BTgatTSlE4i2rG8tQbIuKDwFRg/9JZauZu4ISU0m2lg6g+RpQOoPIiYtuIuJRqr0yL880+CNwaET+OiHeVDqN68Mqzj0XEhsBXgTOBMYXjdIsVwOXAqSmlBaXDqBzLs09FxKHARcB7SmfpUs8D5wIX+qVSf7I8+0xE7AKcD3yidJYe8ShwWkrp2tJB1FmWZ5+IiNHAicDXgVGF4/Sin1N9qXRv6SDqDMuzx0W1AcaRVLeY2xSO0+sC+AEwyQPqep/l2cMiYm+qcc19S2fpM8uAi4GzU0ovlg6j9rA8e1BEbAdMBj6H/4xLehr4FvD9lNLrpcOotfzF6iERMRI4Cvg28NbCcfR7D1Pdyl9fOohax/LsERFxGHAh4Dnm9XUTcHxK6cHSQTR8rjDqchGxa0RcD1yHxVl3hwL3RsSlEbF16TAaHq88u1REjKUaTzsK2KBwHA3dYqqdmy52kn13sjy7TGPXo88BUwCvXrrfk1ST7K8oHURDY3l2kajO3LkA2L10FrXcLVTjob8uHUTNccyzC0TE+Ii4BvgZFmevOgiYGRFXRES/76PaFbzyrLHGcRBfB47DJZX95CXgPGBySumV0mG0dpZnDa0yrumSyv72JNVRKFe6k339WJ41ExEHU41rTiidRbUxAzgupXRn6SD6Pcc8ayIap1QCN2NxanUTgV82xkO3LR1GFa88C4uITYFJwMnARoXjqP4GxkPPSSm9XDpMP7M8C3FcU8M0l+pkT8dDC7E8C4iIg6jGNfcoHEXd7y6q8dA7SgfpN455dlBEjIuIK6h2Hbc41Qr7ALdHxDUR8Qelw/QTrzw7wHFNdcgyqmW7jod2gOXZRqscgXEO4KoRdYrjoR1gebZJREyk2l/TIzBUyq+oxkN/WTpIL3LMs8UiYofGuOYdWJwqa29gemM8dMfSYXqNV54t4rimas7x0BazPIepMa75aaqJy37bqbpzPLRFLM9hiIh9qMY19yudRRqiW4FjU0r3lQ7SrRzzzLDKuOadWJzqTv8NuKexXt4TCTJ45TkEEbEJcFLjfxsXjiO1ymJgMnCh5yk1z/JsguOa6hOPAieklKaVDtINLM/1cFxTfegmqvmhD5UOUmeOea6D45rqYwPny0+NiM1Kh6krrzzX4LimtJqFwLeBS1JKr5cOUyeWZ4PjmtKg7qW6lb+tdJC6sDx5Y1zzAmD/0lmkmpsGHJ1SmlM6SGl9Pea5xrimxSmt3yeBhyNickSMLh2mpL688myMax5NdaxrX/8LIA3DU8Ap9OlSz74qz1XGNacA7jIjtcZdVEs9++po5L4pz4jYn2q+5t6ls0g9aCVwGXBaSmle6TCd0PPlGRE7UO3k/hn64OeVClsCnAlclFJaUTpMO/VsmUTESOAoqjlqby0cR+o3s6imNl1fOki79GR5RsRhwFRgp9JZpD43jWo8dHbpIK3WU+UZEe+mGtf8WOkskt7wKvBdqvHQF0uHaZWeKM+IeBtwBvBVYIPCcSStXU9Nberq8oyIDYAvAWcBWxWOI6k5twLHpJTuLx1kOLq2PCPiYKpxzfeXziJpyFYCV1HtHzq/dJgcXbc8MyLGNZZU3ozFKXWrEcCRwH9FxLER8ZbSgYaqa648V9kqzqN9pd5zL9Wt/PTSQZpV+/J0qzipr0wDvpZS+l3pIOtT6/KMiL2oxjUPKJ1FUscso9p/4jt1PpCuluUZEdsC3wT+gi4cl5XUEo8Bx9f1QLpalWdEbEg1V/NMYEzhOJLq4SaqVUoPlw6yqtqUZ0QcClwEvKd0Fkm1swL4e+D0lNKS0mGgBuUZEe+hWlL50dJZJNXeU8BfpZSuKR2kWHk2llSeBBwPjCyVQ1JXuoXqW/lit/IdL8/GuOYXcUmlpOEZuJU/NaW0tNNv3tHybIxrXgi8t5PvK6mnPQWcklK6opNv2pHyjIjdgfOBj3Ti/ST1peupVik93ok3a+scyojYPCKmAjOxOCW118epjkWeGhGbtvvN2nLl2VhSeSRwLrBNO95DkgYxm+oq9D/a9QYtL8+I2BO4BNi/1a8tSUM0DTg6pTSn1S/cstv2iBgTEZcAv8LilFQPnwQeiohTI2JUK1+4JVeeEfFHwKW465Gk+nqM6lb+hla82LCuPCNii8bGxDdgcUqqt3cB10fEvzY2HxqW7CvPiPg4cBl+ISSp+yymWuH4vdzD6IZ85RkRG0TEN4EfY3FK6k6bA/8A3NbYX2PIhnTlGRHbA1cDB+a8mSTV0CvAt4FzU0qvNfukpsszIt4L3AhsP/RsklR7dwGfSSnNbubBTd22R8SBwHQsTkm9ax9gZuP7nPVa75VnYxrSvwEbDzOYJHWDV4CPppR+MdiDBi3PiNgD+AUwuoXBJKnuFgH7ppQeXdcD1lmejXlQM4BxbQgmSXX3ADAxpfTy2v5yrWOeETECuBaLU1L/ej9wwbr+cl1fGB2LZ6VL0lci4lNr+4s33bZHxE7A/TjOKUlQ7VT/vpTS4lX/cG1XnhdicUrSgO2pJtGvZrUrz4jYB7hzzT+XpD73OjAhpfTQwB+seeU5GYtTktb0Fqp+fMMbRRkRfwj8pNOJJKmLHJhSmg6rX3meXiiMJHWLMwb+TwKIiEOAnxWLI0nd48MppV8MXHl61SlJzTkdIEXE/sDthcNIUjf5cIqInwKHlk4iSV3kJykiss7vkKR+1rJz2yWpn1iekpTB8pSkDJanJGWwPCUpg+UpSRksT0nKYHlKUgbLU5IyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScqwQekAvW5lBL+du6B0DAC23WozNtloZOkYPWvZK6/yzPwXSscAYKcdtmRE8hTxdrI822zpS6/wqa9eXDoGAJec9mccPPHdpWP0rBn3zeYvz/rn0jEAuOPqv2bM6I1Lx+hp3rZLUgbLU5IyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScrQ95Pk73vkSZ58ZlHbXv+V5SuaetzbNtuU/fZ4Z9Z7PDrnWWY98VzWc9V543fcml3e8fas597x68d5/oWX1vu4n9z+MBuN2jDrPZoxbtuxTNh1XNtevxv0fXle+59386Ob7i0dg53HbcW5J34667kXXfkzy7OLHDLxPRxz5Eeynvvnf31ZU+V5xiX/nvX6zTr80D37vjy9bZekDJanJGWwPCUpg+UpSRksT0nKYHlKUgbLU5IyWJ6SlKHWk+QXLFrK5T+6va3v8eCsp5p63JGf2o9tthwz5NdfvnwFF19185CfJw3H0Z89hFEZK4zmLVjCldfdsd7HPTjrKaZcdmNOtKZ98fAD2HLs6La+x3DUujwXLVnGP7W5PJt12EG7897x2w/5eUuWvmx5quP+7JMTs84wemjWU02V56wnnmv7qrb/8ZE9a12e3rZLUgbLU5IyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScpQ60nyzZq4+858+U8+nPXcy390O9NnzmpxIqm3fWiv8Xzx8AOynnvpNbdy1/2/bXGizuuJ8txi803Zd8LOWc+ddst9LU4j9b6txo7O/p374U9mtjhNGd62S1IGy1OSMliekpTB8pSkDJanJGWwPCUpg+UpSRksT0nKYHlKUgbLU5IyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScpgeUpSBstTkjJYnpKUwfKUpAyWpyRlsDwlKUOxo4cfeHQuEYM/Zu68RZ0J0yfmPL2Q+x+ZWzpGz5rz9MLSEXrKrCfm8fIrrw76mJTg/bvs0KFEqytWnp858R+J9bWnWuq8y24sHUFq2qQp1673MSklHrzuWx1I82betktSBstTkjJYnpKUwfKUpAyWpyRlsDwlKYPlKUkZLE9JylBskrw670N7jWe7rTYvHaNnPT1/MdNnziodQx1iefaRP/3jvTl44rtLx+hZP5/xX5ZnH/G2XZIyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScpgeUpSBifJ95F/ueFX3Ha3k7jb5en5i0tHUAdZnn3E1S9S63jbLkkZLE9JymB5SlIGy1OSMliekpTB8pSkDJanJGWwPCUpQ7FJ8lef97+JGPwxc+ctYtKUazsTqA+c+KWPsdduO5aO0bNmPvwE5112Y+kYPWPKpCPYYZuxgz4mpQ6FWYti5fn+XXZY72M23mhkB5L0j3dstwW777r+z115Fi5eWjpCTxm/4zaM33Hr0jHWydt2ScpgeUpSBstTkjJYnpKUwfKUpAyWpyRlsDwlKYPlKUkZLE9JymB5SlIGy1OSMliekpTB8pSkDJanJGWwPCUpg+UpSRksT0nKYHlKUgbLU5IyWJ6SlMHylKQMlqckZSh29HArLVz8EnfeNzvrufMXeVysNFTzFy3N/p1b0CNHNPdEec64fzYz7s/7Bylp6KbPnMX0mbNKxyjK23ZJymB5SlIGy1OSMliekpTB8pSkDJanJGWwPCUpg+UpSRlqPUl+7JhN+MLhB7T1PW6/ZxaznnhuvY/78S33c9eDc4b8+suXr8hIJQ3PP0+bwahRGw75efMWLGnqceN33JoDPjB+yK8/FGPHbNLW1x+uWpfnlmNHM+lLH2vre7zw4rKmyvPK6+5oaw6plS6+6ua2vv77xm/f9t/NuvO2XZIyWJ6SlMHylKQMlqckZbA8JSmD5SlJGSxPScpgeUpShlpPku+EI/7og+w74Z1te/1Xlq/gjEv+fb2Pm/3kfE467wdZ7/HonGeznqcybp7xG+bOW5T13NlPzm/qcd/6y//ORhkrjJo1btuxbXvtbtH35Tlh13FM2HVc215/ydKXmyrP5194if+49f625VB9zHriuaZWtQ3HRw/YjTGjN27re/Q7b9slKYPlKUkZLE9JymB5SlIGy1OSMliekpTB8pSkDJanJGVIERGlQ/SylRH8du6C0jEA2Harzdhko5GlY/SsZa+8yjPzXygdA4CddtiSESmVjtHTLE9JyuBtuyRlsDwlKYPlKUkZLE9JymB5SlIGy1OSMliekpTB8pSkDJanJGWwPCUpg+UpSRksT0nKYHlKUgbLU5IyWJ6SNHQxAlhZOoUkdZlpI4Aflk4hSV3mnBQRuwEP4C28JDVjRkpp3xEppYeBfy2dRpK6xN8AJICIGA88DGxQMpEk1dwjwG4ppZUjAFJKs4Cry2aSpNo7J6W0EhpXnvDG1edDwIalUklSjc0Bdk0pvQqrfEnUuPr8h0KhJKnuzhgoTljlyhMgIrYGZgFjOp1KkmrsAWDPlNLrA3+w2vSklNJzwFmdTiVJNbYS+PKqxQlrn9t5PvDLjkSSpPq7JKV055p/mNb2yIjYGbgPGN3uVJJUYw8CE1NKy9b8i7WuKkopzQY+C7y+tr+XpD6wFPiTtRUnDLIkM6V0HTCpXakkqcZWAl9IKf1mXQ8YdD17SukCYHKrU0lSzZ2UUhp006S1jnmuKSJOAKY0+3hJ6mJTU0rHre9BTZdhRHwWuAwYOZxUklRjFwHHpZRifQ8c0pVkREyk2oFpx8xgklRX51Hdrq+3OGGIe3imlGYAE4AfZASTpDp6HTgmpTSp2eKEzDHMiEjAsVT72m2c8xqSVAPzgSNTSjcO9YnD+gIoIt4JfA84aDivI0kF3ExVnE/nPHlYR2+klB4HDgG+QjWhVJLqbiFwHPCHucUJLZx6FBHvAi6lKlNJqpvlVN+mn5VSWjLcF2v5vM2IOAz4O2CHVr+2JGWaBhzbWHreEi0/MTOl9GPgfcAluDZeUln3APunlA5rZXFCm1cMRcRewN8De7fzfSRpDYuB04DvrrkPZ6u0fbllY1rTkcC5wDbtfj9JfS2A/wtMSinNa+cbdWytekRsBnwT+BoeMiep9e6hmux+eyferOMbfUTELsAFwMc7/d6SetLzwJlUO7537HuWYrskRcThwN8CO5XKIKmrvUY1s+ebKaVFnX7zolvMRcRI4Ciq/2p4YqekZt1CdYv+QKkAtdifMyK2A84A/oI2TJ+S1DPmAqemlK4oHaQW5TkgIj4ITAX2L51FUq28zO9XB9ViKXityhPemNr0aaq99f6gcBxJ5U0Djk4pzSkdZFW1K88BETEaOBU4HhhVOI6kzrufalf3n5cOsja1Lc8BETEOOJtqor2k3rcQ+DYdnno0VLUvzwERcTBwIbB76SyS2mIF1XLub6SUXigdZn26pjwBImIE8Dmq8dCtCseR1DrTgONTSo+VDtKsrirPARExFjiZajzU0zyl7vUb4ISU0g2lgwxVV5bngIjYFTgfl3pK3aYrxjUH09XlOaCxAfMFwDtLZ5E0qK4a1xxMT5QnQESMorqNPwV4a+E4kt7s/1FtFdc145qD6ZnyHBAR21Jtffe/gLeUTSOJaqu4E1JKt5QO0ko9V54DGrvYTwUOKJ1F6lNPA98Cvt+t45qD6dnyhNWWek4BdiwcR+oXy4CLgbNTSi+WDtMuPV2eAyJiE+AkqulNGxWOI/WqlcAPqcY1nygdpt36ojwHRMQOwN9QTbTvq59darOfU41r3ls6SKf0ZYFExEFUSz0nFI4idbtHgdNSSteWDtJpfVmesNpSzynA1oXjSN3meaoTcS9IKb1aOkwJfVueAyJic+DruNRTasYK4HKq3dwXlA5TUt+X54DGqZ7nA58onUWqqWlU+2s+XjpIHViea4iIQ6nmh+5WOotUE3dTfRl0W+kgdeJha2tIKd0E7AEcB3T12ltpmOYCXwEmWpxv5pXnICJiC+AbwNdwqaf6x0tUe+aek1J6uXSYurI8mxARH6Ca2nRg6SxSG60ErgJOSik9WzpM3VmeQ9DY+u4i4B2Fo0itdhNwYkrpvtJBuoXlOUSNpZ4nA5OAjQvHkYbrYaovg/6zdJBuY3lmcqmnutzzwJnA/0kpvVY6TDfyl36YImIi1dSmiaWzSE0Y2Mn9jJTS4tJhupnl2QKrLPU8F9imcBxpXbruhMo6szxbKCJGAydSLfccVTiONMBxzTawPNsgIsYDZwNHlM6ivrYAOIsuPqGyzizPNmos9bwQeG/pLOorrwLfBU5PKS0pHaZXWZ5tFhEbAl+lOpRu87Jp1AemAceklH5bOkivszw7JCLeBpyBSz3VHndTfRk0vXSQfmF5dlhE7EE1tenDpbOoJzxFNV/zeymllaXD9BPLs5DGUs+pwE6ls6grDZxQeVZKaWnpMP3I8iwoIjYGjgFOBd5aOI66QwA/oFqH/rvSYfqZ5VkDEbE98B1c6qnB3Qn8VUrpjtJB5C9qrUTE3lS38vuVzqJa+R1wOnBlSilKh1HF8qyZxlLPL1BNsn972TQqbAnVJPeLUkrLS4fR6izPmoqITam2vTsZ2KhwHHXWwLjmCSmlJ0uH0dpZnjUXEeOorkKPLJ1FHXEP1ST320sH0eAszy4REQdRLfWcUDiK2mNgf03XoXcJy7OLuPVdT3oNuAw4NaW0oHQYNc/y7EJufdczbqG6RX+gdBANneXZxdz6rms9BZySUrqidBDlszx7QER8DDgf2K10Fg1qOdWQy+SU0rLSYTQ8lmePiIgNgC9RzQvcqnAcvdmtwFEppd+UDqLWsDx7TESMpZobejwwsnAcwbNU/zxcHdRjLM8eFRG7An8LfKJ0lj61ErgKOC6l9HzpMGo9y7PHRcQnqUp0l9JZ+sivqG7RZ5YOovYZUTqA2iulNA14H/AVYH7hOL1uMXAcsJ/F2fu88uwjq4yHHofzQ1vtWuDolNK80kHUGZZnH2qMh04BDiudpQfcRzWueUvpIOosb9v7UErpkZTSp4CPAL8unadLLaS6gt/L4uxPXnn2uVXWy5+D+4c2Y+BM9G+klF4oHUblWJ4CVts/9CRg48Jx6moacGxKaXbpICrP8tRqImJHYDLwP/HfjwF3U21MfFvpIKoPfzm0Vo3zlM4HPlQ6S0EDZ6J/3z02tSbLU+sUEQn4NNV4aD+dLz9wJvrZKaUXS4dRPVmeWq/G+fLHU+0f2svny68ELgdOTyk9UzqMpB4REVtExOSIWB6952cRsUfpz1hSD4uIXSLimohYWbbvWmJWRLiZtKTOiYh9I2J64fLLtTQivhkRHussqfMiIkXEERHxWNEqbN7KiLgiIlwQIKm8iNgwIr4cEc8VrcbBzYiIfUt/VpL0JhExNqovlV4u25OrmRsRn49q6pUk1VdE7BTV7fFrBUtzUUScEtVUK0nqHhHx7gIl+lJETI2IrUv//JI0LBGxW6NEX29jaS5ulOZ2pX9eSWqpiNgzIr4bEU+1qDBXRMQNEfHnUe0MJXWEA+gqIqovb/YC9gYmALtRnTe/OTCW6piQF6iWTAIsojojaCHwO2A21UFrd7r+XCX8f6LWHt7jtW7lAAAAAElFTkSuQmCC"},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},7462:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878);var o=n(181),i=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){u=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907);var o=n(9199),i=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var u=2&o&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".4857fb1d.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="wger_react:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var u,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+i){u=f;break}}u||(s=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+i),u.src=r),e[r]=[o];var d=function(t,n){u.onerror=u.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),s&&document.head.appendChild(u)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),u=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,o[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],u=r[1],s=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(s)s(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[a[c]]=0},r=self.webpackChunkwger_react=self.webpackChunkwger_react||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{scaleBand:function(){return QA},scaleDiverging:function(){return BL},scaleDivergingLog:function(){return VL},scaleDivergingPow:function(){return WL},scaleDivergingSqrt:function(){return HL},scaleDivergingSymlog:function(){return UL},scaleIdentity:function(){return xD},scaleImplicit:function(){return JA},scaleLinear:function(){return bD},scaleLog:function(){return _D},scaleOrdinal:function(){return XA},scalePoint:function(){return tR},scalePow:function(){return LD},scaleQuantile:function(){return GD},scaleQuantize:function(){return YD},scaleRadial:function(){return VD},scaleSequential:function(){return RL},scaleSequentialLog:function(){return NL},scaleSequentialPow:function(){return ZL},scaleSequentialQuantile:function(){return LL},scaleSequentialSqrt:function(){return IL},scaleSequentialSymlog:function(){return DL},scaleSqrt:function(){return FD},scaleSymlog:function(){return RD},scaleThreshold:function(){return JD},scaleTime:function(){return _L},scaleUtc:function(){return TL},tickFormat:function(){return yD}});var t=n(7313),r=n(1168);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&c(e,t)}function f(e,t){if(t&&("object"===o(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=n(4942),h=n(3878),v=n(9199),m=n(181),y=n(5267);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},w=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.init(t,n)}return u(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"===typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,b(b({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),k=new w,S=function(){function e(){i(this,e),this.observers={}}return u(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function O(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function E(e){return null==e?"":""+e}function j(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function P(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"===typeof e}for(var i="string"!==typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function C(e,t,n){var r=P(e,t,Object);r.obj[r.k]=n}function _(e,t){var n=P(e,t),r=n.obj,o=n.k;if(r)return r[o]}function T(e,t,n){var r=_(e,n);return void 0!==r?r:_(t,n)}function M(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"===typeof e[r]||e[r]instanceof String||"string"===typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):M(e[r],t[r],n):e[r]=t[r]);return e}function A(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var R={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function N(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return R[e]})):e}var D="undefined"!==typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Z=[" ",",","?","!",";"];function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"===typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];void 0===s&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(void 0===s)return;if("string"===typeof s)return s;if(u&&"string"===typeof s[u])return s[u];var c=r.slice(i+a).join(n);return c?z(s,c,n):void 0}o=o[r[i]]}return o}}var B=function(e){l(n,e);var t=F(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return i(this,n),r=t.call(this),D&&S.call(s(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return u(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!==typeof n&&(a=a.concat(n)),n&&"string"===typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=_(this.data,a);return u||!i||"string"!==typeof n?u:z(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),C(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!==typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=_(this.data,a)||{};r?M(u,n,o):u=L(L({},u),n),C(this.data,a,u),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?L(L({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(S),V={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}var q={},$=function(e){l(n,e);var t=H(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(this,n),r=t.call(this),D&&S.call(s(r)),j(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,s(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=k.create("translator"),r}return u(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=Z.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r);if(i&&!a){var u=e.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:e,namespaces:o};var s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),e=s.join(r)}return"string"===typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var i=this;if("object"!==o(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],t),s=u.key,c=u.namespaces,l=c[c.length-1],f=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var p=t.nsSeparator||this.options.nsSeparator;return l+p+s}return s}var h=this.resolve(e,t),v=h&&h.res,m=h&&h.usedKey||s,y=h&&h.exactUsedKey||s,g=Object.prototype.toString.apply(v),b=["[object Number]","[object Function]","[object RegExp]"],x=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,k="string"!==typeof v&&"boolean"!==typeof v&&"number"!==typeof v;if(w&&v&&k&&b.indexOf(g)<0&&("string"!==typeof x||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,v,W(W({},t),{},{ns:c})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var S="[object Array]"===g,O=S?[]:{},E=S?y:m;for(var j in v)if(Object.prototype.hasOwnProperty.call(v,j)){var P="".concat(E).concat(a).concat(j);O[j]=this.translate(P,W(W({},t),{joinArrays:!1,ns:c})),O[j]===P&&(O[j]=v[j])}v=O}}else if(w&&"string"===typeof x&&"[object Array]"===g)(v=v.join(x))&&(v=this.extendTranslation(v,e,t,r));else{var C=!1,_=!1,T=void 0!==t.count&&"string"!==typeof t.count,M=n.hasDefaultValue(t),A=T?this.pluralResolver.getSuffix(f,t.count,t):"",R=t["defaultValue".concat(A)]||t.defaultValue;!this.isValidLookup(v)&&M&&(C=!0,v=R),this.isValidLookup(v)||(_=!0,v=s);var N=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,D=N&&_?void 0:v,Z=M&&R!==v&&this.options.updateMissing;if(_||C||Z){if(this.logger.log(Z?"updateKey":"missingKey",f,l,s,Z?R:v),a){var I=this.resolve(s,W(W({},t),{},{keySeparator:!1}));I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var z=0;z<F.length;z++)L.push(F[z]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(t.lng||this.language):L.push(t.lng||this.language);var B=function(e,n,r){var o=M&&r!==v?r:D;i.options.missingKeyHandler?i.options.missingKeyHandler(e,l,n,o,Z,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,l,n,o,Z,t),i.emit("missingKey",e,l,n,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?L.forEach((function(e){i.pluralResolver.getSuffixes(e).forEach((function(n){B([e],s+n,t["defaultValue".concat(n)]||R)}))})):B(L,s,R))}v=this.extendTranslation(v,e,t,h,r),_&&v===s&&this.options.appendNamespaceToMissingKey&&(v="".concat(l,":").concat(s)),(_||C)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(v))}return v}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(W(W({},n),{interpolation:W(W({},this.options.interpolation),n.interpolation)}));var a,u="string"===typeof e&&(n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables);if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var c=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=W(W({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),u){var l=e.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"===typeof f?[f]:f;return void 0!==e&&null!==e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=V.handle(d,e,t,this.options&&this.options.postProcessPassResolved?W({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),c=s.key;n=c;var l=s.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!==typeof u.count,d=f&&!u.ordinal&&0===u.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==u.context&&("string"===typeof u.context||"number"===typeof u.context)&&""!==u.context,h=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(i=e,!q["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(q["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,s=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(s,c,n,e,u);else{var l;f&&(l=a.pluralResolver.getSuffix(n,u.count,u));var h="_zero";if(f&&(s.push(c+l),d&&s.push(c+h)),p){var v="".concat(c).concat(a.options.contextSeparator).concat(u.context);s.push(v),f&&(s.push(v+l),d&&s.push(v+h))}}for(;i=s.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,u))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(S);function K(e){return e.charAt(0).toUpperCase()+e.slice(1)}var G=function(){function e(t){i(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}return u(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=K(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=K(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=K(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"===typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),Y=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],J={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},X=["v1","v2","v3"],Q={zero:0,one:1,two:2,few:3,many:4,other:5};function ee(){var e={};return Y.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:J[t.fc]}}))})),e}var te=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.languageUtils=t,this.options=n,this.logger=k.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=ee()}return u(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Q[e]-Q[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"===typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!X.includes(this.options.compatibilityJSON)}}]),e}();function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this.logger=k.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return u(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:N,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?A(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?A(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?A(t.nestingPrefix):t.nestingPrefixEscaped||A("$t("),this.nestingSuffix=t.nestingSuffix?A(t.nestingSuffix):t.nestingSuffixEscaped||A(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(u.formatSeparator)<0){var o=T(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,re(re(re({},r),t),{},{interpolationkey:e})):o}var i=e.split(u.formatSeparator),a=i.shift().trim(),c=i.join(u.formatSeparator).trim();return u.format(T(t,s,a),c,n,re(re(re({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?c(u.escape(e)):c(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=l(o[1].trim())))if("function"===typeof f){var n=f(e,o,r);i="string"===typeof n?n:""}else{if(d){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"===typeof i||u.useRawValueToEscape||(i=E(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=re({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=re(re({},t),a))}catch(i){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),i),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=l.shift(),s=l,c=!0}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!==typeof r)return r;"string"!==typeof r&&(r=E(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=s.reduce((function(e,t){return o.format(e,t,i.lng,re(re({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if("currency"===t&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if("relativetime"===t&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{o.split(";").forEach((function(e){if(e){var t=function(e){return(0,h.Z)(e)||(0,v.Z)(e)||(0,m.Z)(e)||(0,y.Z)()}(e.split(":")),r=t[0],o=t.slice(1).join(":");"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10)),n[r.trim()]||(n[r.trim()]=o.trim())}}))}}return{formatName:t,formatOptions:n}}var se=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this.logger=k.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,ae(ae({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,ae({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,ae({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,ae({},n)).format(e)}},this.init(t)}return u(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce((function(e,t){var i=ue(t),a=i.formatName,u=i.formatOptions;if(o.formats[a]){var s=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=c.locale||c.lng||r.locale||r.lng||n;s=o.formats[a](e,l,ae(ae(ae({},u),r),c))}catch(f){o.logger.warn(f)}return s}return o.logger.warn("there was no format function for ".concat(a)),e}),e)}}]),e}();function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}var de=function(e){l(n,e);var t=fe(n);function n(e,r,o){var a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i(this,n),a=t.call(this),D&&S.call(s(a)),a.backend=e,a.store=r,a.services=o,a.languageUtils=o.languageUtils,a.options=u,a.logger=k.create("backendConnector"),a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,u.backend,u),a}return u(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?a.indexOf(u)<0&&a.push(u):(o.state[u]=1,r=!1,a.indexOf(u)<0&&a.push(u),i.indexOf(u)<0&&i.push(u),s.indexOf(t)<0&&s.push(t)))})),r||u.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=P(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(u,s){u&&s&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(u,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):void 0!==n&&null!==n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,le(le({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(S);function pe(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===o(e[1])&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===o(e[2])||"object"===o(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function he(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ye(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function ge(){}function be(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"===typeof e[t]&&(e[t]=e[t].bind(e))}))}var xe=function(e){l(n,e);var t=ye(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(i(this,n),e=t.call(this),D&&S.call(s(e)),e.options=he(r),e.services={},e.logger=k,e.modules={external:[]},be(s(e)),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),f(e,s(e));setTimeout((function(){e.init(r,o)}),0)}return e}return u(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=pe();function o(e){return e?"function"===typeof e?new e:e:null}if(this.options=me(me(me({},r),this.options),he(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=me(me({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?k.init(o(this.modules.logger),this.options):k.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!==typeof Intl&&(i=se);var a=new G(this.options);this.store=new B(this.options.resources,this.options);var u=this.services;u.logger=k,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new te(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(u.formatter=o(i),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new oe(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new de(o(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(u.languageDetector=o(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=o(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new $(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=ge),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var l=["addResource","addResources","addResourceBundle","removeResourceBundle"];l.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var f=O(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),f.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),f}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ge,r=n,o="string"===typeof e?e:this.language;if("function"===typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=O();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ge),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&V.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=O();this.emit("languageChanging",e);var o=function(e){if(n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<n.languages.length;t++){var r=n.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&n.store.hasLanguageSomeTranslations(r)){n.resolvedLanguage=r;break}}},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"===typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){var a;if("object"!==o(i)){for(var u=arguments.length,s=new Array(u>2?u-2:0),c=2;c<u;c++)s[c-2]=arguments[c];a=r.options.overloadTranslationOptionHandler([t,i].concat(s))}else a=me({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns;var l=r.options.keySeparator||".",f=n?"".concat(n).concat(l).concat(t):t;return r.t(f,a)};return"string"===typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=O();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=O();"string"===typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ge,o=me(me(me({},this.options),t),{isClone:!0}),i=new n(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=me({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new $(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(S);(0,p.Z)(xe,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new xe(e,t)}));var we=xe.createInstance();we.createInstance=xe.createInstance;we.createInstance,we.init,we.loadResources,we.reloadResources,we.use,we.changeLanguage,we.getFixedT;var ke=we.t,Se=(we.exists,we.setDefaultNamespace,we.hasLoadedNamespace,we.loadNamespaces,we.loadLanguages,we);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je,Pe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},Ce=t.createContext();!function(){function e(){i(this,e),this.usedNamespaces={}}u(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}])}();function _e(){return je}var Te={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pe=Ee(Ee({},Pe),e)}(e.options.react),function(e){je=e}(e)}};var Me=[],Ae=Me.forEach,Re=Me.slice;function Ne(e){return Ae.call(Re.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}var De=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Ze=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=e+"="+encodeURIComponent(t);if(r.maxAge>0){var i=r.maxAge-0;if(isNaN(i))throw new Error("maxAge should be a Number");o+="; Max-Age="+Math.floor(i)}if(r.domain){if(!De.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!De.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if("function"!==typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"===typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},Ie=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=Ze(e,encodeURIComponent(t),o)},Le=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null},Fe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!==typeof document){var n=Le(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!==typeof document&&Ie(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},ze={name:"querystring",lookup:function(e){var t;if("undefined"!==typeof window)for(var n=window.location.search.substring(1).split("&"),r=0;r<n.length;r++){var o=n[r].indexOf("=");if(o>0)n[r].substring(0,o)===e.lookupQuerystring&&(t=n[r].substring(o+1))}return t}},Be=null,Ve=function(){if(null!==Be)return Be;try{Be="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(t){Be=!1}return Be},Ue={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&Ve()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&Ve()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},We=null,He=function(){if(null!==We)return We;try{We="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(t){We=!1}return We},qe={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&He()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&He()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},$e={name:"navigator",lookup:function(e){var t=[];if("undefined"!==typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Ke={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!==typeof document?document.documentElement:null);return n&&"function"===typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},Ge={name:"path",lookup:function(e){var t;if("undefined"!==typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"===typeof e.lookupFromPathIndex){if("string"!==typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},Ye={name:"subdomain",lookup:function(e){var t;if("undefined"!==typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"===typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var Je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return u(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=Ne(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(Fe),this.addDetector(ze),this.addDetector(Ue),this.addDetector(qe),this.addDetector($e),this.addDetector(Ke),this.addDetector(Ge),this.addDetector(Ye)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"===typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();Je.type="languageDetector";var Xe=Je;function Qe(e){return Qe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qe(e)}var et=[],tt=et.forEach,nt=et.slice;function rt(e){return tt.call(nt.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function ot(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":Qe(XMLHttpRequest))}var it,at,ut,st=n(580),ct=n.t(st);function lt(e){return lt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lt(e)}"function"===typeof fetch&&("undefined"!==typeof global&&global.fetch?it=global.fetch:"undefined"!==typeof window&&window.fetch&&(it=window.fetch)),ot&&("undefined"!==typeof global&&global.XMLHttpRequest?at=global.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(at=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof global&&global.ActiveXObject?ut=global.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(ut=window.ActiveXObject)),it||!ct||at||ut||(it=st||ct),"function"!==typeof it&&(it=void 0);var ft=function(e,t){if(t&&"object"===lt(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e},dt=function(e,t,n,r){return"function"===typeof n&&(r=n,n=void 0),r=r||function(){},it?function(e,t,n,r){e.queryStringParams&&(t=ft(t,e.queryStringParams));var o=rt({},"function"===typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(o["Content-Type"]="application/json"),it(t,rt({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:o},"function"===typeof e.requestOptions?e.requestOptions(n):e.requestOptions)).then((function(e){if(!e.ok)return r(e.statusText||"Error",{status:e.status});e.text().then((function(t){r(null,{status:e.status,data:t})})).catch(r)})).catch(r)}(e,t,n,r):ot||"function"===typeof ActiveXObject?function(e,t,n,r){n&&"object"===lt(n)&&(n=ft("",n).slice(1)),e.queryStringParams&&(t=ft(t,e.queryStringParams));try{var o;(o=at?new at:new ut("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!e.withCredentials,n&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var i=e.customHeaders;if(i="function"===typeof i?i():i)for(var a in i)o.setRequestHeader(a,i[a]);o.onreadystatechange=function(){o.readyState>3&&r(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(n)}catch(u){console&&console.log(u)}}(e,t,n,r):void 0};function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var vt=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n||"")},request:dt,reloadInterval:"undefined"===typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},mt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};pt(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}var t,n,r;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=rt(n,this.options||{},vt()),this.allOptions=r,this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,r,o){var i,a=this,u=this.options.loadPath;"function"===typeof this.options.loadPath&&(u=this.options.loadPath(e,n)),(u=function(e){return!!e&&"function"===typeof e.then}(i=u)?i:Promise.resolve(i)).then((function(i){var u=a.services.interpolator.interpolate(i,{lng:e.join("+"),ns:n.join("+")});a.loadUrl(u,o,t,r)}))}},{key:"loadUrl",value:function(e,t,n,r){var o=this;this.options.request(this.options,e,void 0,(function(i,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e+"; status code: "+a.status,!1);if(!a&&i&&i.message&&i.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e+": "+i.message,!0);if(i)return t(i,!1);var u,s;try{u="string"===typeof a.data?o.options.parse(a.data,n,r):a.data}catch(c){s="failed parsing "+e+" to json"}if(s)return t(s,!1);t(null,u)}))}},{key:"create",value:function(e,t,n,r,o){var i=this;if(this.options.addPath){"string"===typeof e&&(e=[e]);var a=this.options.parsePayload(t,n,r),u=0,s=[],c=[];e.forEach((function(n){var r=i.options.addPath;"function"===typeof i.options.addPath&&(r=i.options.addPath(n,t));var l=i.services.interpolator.interpolate(r,{lng:n,ns:t});i.options.request(i.options,l,a,(function(t,n){u+=1,s.push(t),c.push(n),u===e.length&&o&&o(s,c)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,o=t.logger,i=n.language;if(!i||"cimode"!==i.toLowerCase()){var a=[],u=function(e){r.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};u(i),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return u(e)})),a.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(r,i){r&&o.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&i&&o.log("loaded namespace ".concat(e," for language ").concat(t),i),n.loaded("".concat(t,"|").concat(e),r,i)}))}))}))}}}],n&&ht(t.prototype,n),r&&ht(t,r),e}();mt.type="backend";var yt=mt;Se.use(yt).use(Te).use(Xe).init({fallbackLng:"en",interpolation:{escapeValue:!1},backend:{loadPath:" /static/react/locales/{{lng}}/{{ns}}.json"}});var gt,bt=n(9439),xt=n(7462),wt=gt||(gt={});wt.Pop="POP",wt.Push="PUSH",wt.Replace="REPLACE";var kt=function(e){return e};function St(e){e.preventDefault(),e.returnValue=""}function Ot(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Et(){return Math.random().toString(36).substr(2,8)}function jt(e){var t=e.pathname;t=void 0===t?"/":t;var n=e.search;return n=void 0===n?"":n,e=void 0===(e=e.hash)?"":e,n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function Pt(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n)),0<=(n=e.indexOf("?"))&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Ct(e,t){if(!e)throw new Error(t)}var _t=(0,t.createContext)(null);var Tt=(0,t.createContext)(null);var Mt=(0,t.createContext)({outlet:null,matches:[]});function At(e){return function(e){var n=(0,t.useContext)(Mt).outlet;if(n)return(0,t.createElement)(zt.Provider,{value:e},n);return n}(e.context)}function Rt(e){Ct(!1)}function Nt(e){var n=e.basename,r=void 0===n?"/":n,o=e.children,i=void 0===o?null:o,a=e.location,u=e.navigationType,s=void 0===u?gt.Pop:u,c=e.navigator,l=e.static,f=void 0!==l&&l;It()&&Ct(!1);var d=Qt(r),p=(0,t.useMemo)((function(){return{basename:d,navigator:c,static:f}}),[d,c,f]);"string"===typeof a&&(a=Pt(a));var h=a,v=h.pathname,m=void 0===v?"/":v,y=h.search,g=void 0===y?"":y,b=h.hash,x=void 0===b?"":b,w=h.state,k=void 0===w?null:w,S=h.key,O=void 0===S?"default":S,E=(0,t.useMemo)((function(){var e=Jt(m,d);return null==e?null:{pathname:e,search:g,hash:x,state:k,key:O}}),[d,m,g,x,k,O]);return null==E?null:(0,t.createElement)(_t.Provider,{value:p},(0,t.createElement)(Tt.Provider,{children:i,value:{location:E,navigationType:s}}))}function Dt(e){var n=e.children,r=e.location;return function(e,n){It()||Ct(!1);var r=(0,t.useContext)(Mt).matches,o=r[r.length-1],i=o?o.params:{},a=(o&&o.pathname,o?o.pathnameBase:"/");o&&o.route;0;var u,s=Lt();if(n){var c,l="string"===typeof n?Pt(n):n;"/"===a||(null==(c=l.pathname)?void 0:c.startsWith(a))||Ct(!1),u=l}else u=s;var f=u.pathname||"/",d="/"===a?f:f.slice(a.length)||"/",p=function(e,t,n){void 0===n&&(n="/");var r=Jt(("string"===typeof t?Pt(t):t).pathname||"/",n);if(null==r)return null;var o=Ut(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=$t(o[a],r);return i}(e,{pathname:d});0;return Kt(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},i,e.params),pathname:Xt([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:Xt([a,e.pathnameBase])})})),r)}(Vt(n),r)}function Zt(e){It()||Ct(!1);var n=(0,t.useContext)(_t),r=n.basename,o=n.navigator,i=Bt(e),a=i.hash,u=i.pathname,s=i.search,c=u;if("/"!==r){var l=function(e){return""===e||""===e.pathname?"/":"string"===typeof e?Pt(e).pathname:e.pathname}(e),f=null!=l&&l.endsWith("/");c="/"===u?r+(f?"/":""):Xt([r,u])}return o.createHref({pathname:c,search:s,hash:a})}function It(){return null!=(0,t.useContext)(Tt)}function Lt(){return It()||Ct(!1),(0,t.useContext)(Tt).location}function Ft(){It()||Ct(!1);var e=(0,t.useContext)(_t),n=e.basename,r=e.navigator,o=(0,t.useContext)(Mt).matches,i=Lt().pathname,a=JSON.stringify(o.map((function(e){return e.pathnameBase}))),u=(0,t.useRef)(!1);(0,t.useEffect)((function(){u.current=!0}));var s=(0,t.useCallback)((function(e,t){if(void 0===t&&(t={}),u.current)if("number"!==typeof e){var o=Yt(e,JSON.parse(a),i);"/"!==n&&(o.pathname=Xt([n,o.pathname])),(t.replace?r.replace:r.push)(o,t.state)}else r.go(e)}),[n,r,a,i]);return s}var zt=(0,t.createContext)(null);function Bt(e){var n=(0,t.useContext)(Mt).matches,r=Lt().pathname,o=JSON.stringify(n.map((function(e){return e.pathnameBase})));return(0,t.useMemo)((function(){return Yt(e,JSON.parse(o),r)}),[e,o,r])}function Vt(e){var n=[];return t.Children.forEach(e,(function(e){if((0,t.isValidElement)(e))if(e.type!==t.Fragment){e.type!==Rt&&Ct(!1);var r={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(r.children=Vt(e.props.children)),n.push(r)}else n.push.apply(n,Vt(e.props.children))})),n}function Ut(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach((function(e,o){var i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(r)||Ct(!1),i.relativePath=i.relativePath.slice(r.length));var a=Xt([r,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(!0===e.index&&Ct(!1),Ut(e.children,t,u,a)),(null!=e.path||e.index)&&t.push({path:a,score:qt(a,e.index),routesMeta:u})})),t}var Wt=/^:\w+$/,Ht=function(e){return"*"===e};function qt(e,t){var n=e.split("/"),r=n.length;return n.some(Ht)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!Ht(e)})).reduce((function(e,t){return e+(Wt.test(t)?3:""===t?1:10)}),r)}function $t(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var u=n[a],s=a===n.length-1,c="/"===o?t:t.slice(o.length)||"/",l=Gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},c);if(!l)return null;Object.assign(r,l.params);var f=u.route;i.push({params:r,pathname:Xt([o,l.pathname]),pathnameBase:Xt([o,l.pathnameBase]),route:f}),"/"!==l.pathnameBase&&(o=Xt([o,l.pathnameBase]))}return i}function Kt(e,n){return void 0===n&&(n=[]),null==e?null:e.reduceRight((function(r,o,i){return(0,t.createElement)(Mt.Provider,{children:void 0!==o.route.element?o.route.element:(0,t.createElement)(At,null),value:{outlet:r,matches:n.concat(e.slice(0,i+1))}})}),null)}function Gt(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:\\b|\\/|$)";return[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),r=(0,bt.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var u=a[0],s=u.replace(/(.)\/+$/,"$1"),c=a.slice(1),l=i.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";s=u.slice(0,u.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return e}}(c[n]||""),e}),{});return{params:l,pathname:u,pathnameBase:s,pattern:e}}function Yt(e,t,n){var r,o="string"===typeof e?Pt(e):e,i=""===e||""===o.pathname?"/":o.pathname;if(null==i)r=n;else{var a=t.length-1;if(i.startsWith("..")){for(var u=i.split("/");".."===u[0];)u.shift(),a-=1;o.pathname=u.join("/")}r=a>=0?t[a]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Pt(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,u=void 0===a?"":a,s=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:s,search:en(i),hash:tn(u)}}(o,r);return i&&"/"!==i&&i.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}function Jt(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}var Xt=function(e){return e.join("/").replace(/\/\/+/g,"/")},Qt=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},en=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},tn=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};function nn(){return nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nn.apply(this,arguments)}function rn(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var on=["onClick","reloadDocument","replace","state","target","to"];function an(e){var n=e.basename,r=e.children,o=e.window,i=(0,t.useRef)();null==i.current&&(i.current=function(e){function t(){var e=a.location,t=u.state||{};return[t.idx,kt({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"===typeof e?e:jt(e)}function r(e,t){return void 0===t&&(t=null),kt((0,xt.Z)({pathname:f.pathname,hash:"",search:""},"string"===typeof e?Pt(e):e,{state:t,key:Et()}))}function o(e){c=e,e=t(),l=e[0],f=e[1],d.call({action:c,location:f})}function i(e){u.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,u=a.history,s=null;a.addEventListener("popstate",(function(){if(s)p.call(s),s=null;else{var e=gt.Pop,n=t(),r=n[0];if(n=n[1],p.length){if(null!=r){var a=l-r;a&&(s={action:e,location:n,retry:function(){i(-1*a)}},i(a))}}else o(e)}}));var c=gt.Pop,l=(e=t())[0],f=e[1],d=Ot(),p=Ot();return null==l&&(l=0,u.replaceState((0,xt.Z)({},u.state,{idx:l}),"")),{get action(){return c},get location(){return f},createHref:n,push:function e(t,i){var s=gt.Push,c=r(t,i);if(!p.length||(p.call({action:s,location:c,retry:function(){e(t,i)}}),0)){var f=[{usr:c.state,key:c.key,idx:l+1},n(c)];c=f[0],f=f[1];try{u.pushState(c,"",f)}catch(d){a.location.assign(f)}o(s)}},replace:function e(t,i){var a=gt.Replace,s=r(t,i);p.length&&(p.call({action:a,location:s,retry:function(){e(t,i)}}),1)||(s=[{usr:s.state,key:s.key,idx:l},n(s)],u.replaceState(s[0],"",s[1]),o(a))},go:i,back:function(){i(-1)},forward:function(){i(1)},listen:function(e){return d.push(e)},block:function(e){var t=p.push(e);return 1===p.length&&a.addEventListener("beforeunload",St),function(){t(),p.length||a.removeEventListener("beforeunload",St)}}}}({window:o}));var a=i.current,u=(0,t.useState)({action:a.action,location:a.location}),s=(0,bt.Z)(u,2),c=s[0],l=s[1];return(0,t.useLayoutEffect)((function(){return a.listen(l)}),[a]),(0,t.createElement)(Nt,{basename:n,children:r,location:c.location,navigationType:c.action,navigator:a})}var un=(0,t.forwardRef)((function(e,n){var r=e.onClick,o=e.reloadDocument,i=e.replace,a=void 0!==i&&i,u=e.state,s=e.target,c=e.to,l=rn(e,on),f=Zt(c),d=function(e,n){var r=void 0===n?{}:n,o=r.target,i=r.replace,a=r.state,u=Ft(),s=Lt(),c=Bt(e);return(0,t.useCallback)((function(t){if(0===t.button&&(!o||"_self"===o)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)){t.preventDefault();var n=!!i||jt(s)===jt(c);u(e,{replace:n,state:a})}}),[s,u,c,i,a,o,e])}(c,{replace:a,state:u,target:s});return(0,t.createElement)("a",nn({},l,{href:f,onClick:function(e){r&&r(e),e.defaultPrevented||o||d(e)},ref:n,target:s}))}));function sn(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function cn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sn(i,r,o,a,u,"next",e)}function u(e){sn(i,r,o,a,u,"throw",e)}a(void 0)}))}}var ln=n(7757),fn=n.n(ln),dn=n(1881),pn=n.n(dn);function hn(e){return e.toISOString().split("T")[0]}var vn=u((function e(t,n,r){i(this,e),this.date=t,this.weight=n,this.id=r})),mn=function(){function e(){i(this,e)}return u(e,[{key:"fromJson",value:function(e){return new vn(new Date(e.date),parseFloat(e.weight),e.id)}},{key:"toJson",value:function(e){return{id:e.id,date:hn(e.date),weight:e.weight}}}]),e}();function yn(e,t){var n=[(t=t||{}).server||"https://wger-master.rge.uber.space","api","v2",e];return t.id&&n.push(t.id.toString()),n.push(""),n.join("/")}function gn(e){return{Authorization:"Token ".concat(e=e||"31e2ea0322c07b9df583a9b6d1e794f7139e78d4"),"Content-Type":"application/json"}}var bn="weightentry",xn=function(){var e=cn(fn().mark((function e(){var t,n,r;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pn().get(yn(bn),{headers:gn()});case 2:return t=e.sent,n=t.data,r=new mn,e.abrupt("return",n.results.map((function(e){return r.fromJson(e)})));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),wn=function(){var e=cn(fn().mark((function e(t){var n;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pn().delete(yn(bn,{id:t}),{headers:gn()});case 2:return n=e.sent,e.abrupt("return",n.status);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kn=function(){var e=cn(fn().mark((function e(t){var n,r;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new mn,e.next=3,pn().patch(yn(bn,{id:t.id}),n.toJson(t),{headers:gn()});case 3:return r=e.sent,e.abrupt("return",n.fromJson(r));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Sn=function(){var e=cn(fn().mark((function e(t){var n,r;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new mn,e.next=3,pn().post(yn(bn),n.toJson(t),{headers:gn()});case 3:return r=e.sent,e.abrupt("return",n.fromJson(r.data));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),On=n(3366),En=n(5192),jn=n.n(En),Pn=n(3061),Cn=n(317),_n=n(5469),Tn=n(6067),Mn=n(2131),An=n(655);function Rn(e){return(0,Mn.Z)("MuiTableContainer",e)}(0,An.Z)("MuiTableContainer",["root"]);var Nn=n(6417),Dn=["className","component"],Zn=(0,Tn.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:"100%",overflowX:"auto"}),In=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiTableContainer"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,On.Z)(n,Dn),u=(0,xt.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},Rn,t)}(u);return(0,Nn.jsx)(Zn,(0,xt.Z)({ref:t,as:i,className:(0,Pn.Z)(s.root,r),ownerState:u},a))})),Ln=In,Fn=n(7551);function zn(e){return(0,Mn.Z)("MuiPaper",e)}(0,An.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Bn=["className","component","elevation","square","variant"],Vn=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},Un=(0,Tn.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat(t.palette.divider)},"elevation"===n.variant&&(0,xt.Z)({boxShadow:t.shadows[n.elevation]},"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,Fn.Fq)("#fff",Vn(n.elevation)),", ").concat((0,Fn.Fq)("#fff",Vn(n.elevation)),")")}))})),Wn=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiPaper"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=n.elevation,u=void 0===a?1:a,s=n.square,c=void 0!==s&&s,l=n.variant,f=void 0===l?"elevation":l,d=(0,On.Z)(n,Bn),p=(0,xt.Z)({},n,{component:i,elevation:u,square:c,variant:f}),h=function(e){var t=e.square,n=e.elevation,r=e.variant,o=e.classes,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,Cn.Z)(i,zn,o)}(p);return(0,Nn.jsx)(Un,(0,xt.Z)({as:i,ownerState:p,className:(0,Pn.Z)(h.root,r),ref:t},d))})),Hn=Wn;var qn=t.createContext();function $n(e){return(0,Mn.Z)("MuiTable",e)}(0,An.Z)("MuiTable",["root","stickyHeader"]);var Kn=["className","component","padding","size","stickyHeader"],Gn=(0,Tn.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,xt.Z)({},t.typography.body2,{padding:t.spacing(2),color:t.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),Yn="table",Jn=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiTable"}),o=r.className,i=r.component,a=void 0===i?Yn:i,u=r.padding,s=void 0===u?"normal":u,c=r.size,l=void 0===c?"medium":c,f=r.stickyHeader,d=void 0!==f&&f,p=(0,On.Z)(r,Kn),h=(0,xt.Z)({},r,{component:a,padding:s,size:l,stickyHeader:d}),v=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,Cn.Z)(n,$n,t)}(h),m=t.useMemo((function(){return{padding:s,size:l,stickyHeader:d}}),[s,l,d]);return(0,Nn.jsx)(qn.Provider,{value:m,children:(0,Nn.jsx)(Gn,(0,xt.Z)({as:a,role:a===Yn?null:"table",ref:n,className:(0,Pn.Z)(v.root,o),ownerState:h},p))})})),Xn=Jn;var Qn=t.createContext();function er(e){return(0,Mn.Z)("MuiTableHead",e)}(0,An.Z)("MuiTableHead",["root"]);var tr=["className","component"],nr=(0,Tn.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),rr={variant:"head"},or="thead",ir=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiTableHead"}),r=n.className,o=n.component,i=void 0===o?or:o,a=(0,On.Z)(n,tr),u=(0,xt.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},er,t)}(u);return(0,Nn.jsx)(Qn.Provider,{value:rr,children:(0,Nn.jsx)(nr,(0,xt.Z)({as:i,className:(0,Pn.Z)(s.root,r),ref:t,role:i===or?null:"rowgroup",ownerState:u},a))})})),ar=ir;function ur(e){return(0,Mn.Z)("MuiTableRow",e)}var sr=(0,An.Z)("MuiTableRow",["root","selected","hover","head","footer"]),cr=["className","component","hover","selected"],lr=(0,Tn.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((function(e){var t,n=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,p.Z)(t,"&.".concat(sr.hover,":hover"),{backgroundColor:n.palette.action.hover}),(0,p.Z)(t,"&.".concat(sr.selected),{backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),t})),fr=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiTableRow"}),o=r.className,i=r.component,a=void 0===i?"tr":i,u=r.hover,s=void 0!==u&&u,c=r.selected,l=void 0!==c&&c,f=(0,On.Z)(r,cr),d=t.useContext(Qn),p=(0,xt.Z)({},r,{component:a,hover:s,selected:l,head:d&&"head"===d.variant,footer:d&&"footer"===d.variant}),h=function(e){var t=e.classes,n={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,Cn.Z)(n,ur,t)}(p);return(0,Nn.jsx)(lr,(0,xt.Z)({as:a,ref:n,className:(0,Pn.Z)(h.root,o),role:"tr"===a?null:"row",ownerState:p},f))})),dr=fr,pr=n(1615);function hr(e){return(0,Mn.Z)("MuiTableCell",e)}var vr=(0,An.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),mr=["align","className","component","padding","scope","size","sortDirection","variant"],yr=(0,Tn.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,pr.Z)(n.size))],"normal"!==n.padding&&t["padding".concat((0,pr.Z)(n.padding))],"inherit"!==n.align&&t["align".concat((0,pr.Z)(n.align))],n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===t.palette.mode?(0,Fn.$n)((0,Fn.Fq)(t.palette.divider,1),.88):(0,Fn._j)((0,Fn.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:t.palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:t.palette.text.primary},"footer"===n.variant&&{color:t.palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&(0,p.Z)({padding:"6px 16px"},"&.".concat(vr.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:t.palette.background.default})})),gr=t.forwardRef((function(e,n){var r,o=(0,_n.Z)({props:e,name:"MuiTableCell"}),i=o.align,a=void 0===i?"inherit":i,u=o.className,s=o.component,c=o.padding,l=o.scope,f=o.size,d=o.sortDirection,p=o.variant,h=(0,On.Z)(o,mr),v=t.useContext(qn),m=t.useContext(Qn),y=m&&"head"===m.variant;r=s||(y?"th":"td");var g=l;!g&&y&&(g="col");var b=p||m&&m.variant,x=(0,xt.Z)({},o,{align:a,component:r,padding:c||(v&&v.padding?v.padding:"normal"),size:f||(v&&v.size?v.size:"medium"),sortDirection:d,stickyHeader:"head"===b&&v&&v.stickyHeader,variant:b}),w=function(e){var t=e.classes,n=e.variant,r=e.align,o=e.padding,i=e.size,a={root:["root",n,e.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat((0,pr.Z)(r)),"normal"!==o&&"padding".concat((0,pr.Z)(o)),"size".concat((0,pr.Z)(i))]};return(0,Cn.Z)(a,hr,t)}(x),k=null;return d&&(k="asc"===d?"ascending":"descending"),(0,Nn.jsx)(yr,(0,xt.Z)({as:r,ref:n,className:(0,Pn.Z)(w.root,u),"aria-sort":k,scope:g,ownerState:x},h))})),br=gr;function xr(e){return(0,Mn.Z)("MuiTableBody",e)}(0,An.Z)("MuiTableBody",["root"]);var wr=["className","component"],kr=(0,Tn.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-row-group"}),Sr={variant:"body"},Or="tbody",Er=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiTableBody"}),r=n.className,o=n.component,i=void 0===o?Or:o,a=(0,On.Z)(n,wr),u=(0,xt.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},xr,t)}(u);return(0,Nn.jsx)(Qn.Provider,{value:Sr,children:(0,Nn.jsx)(kr,(0,xt.Z)({className:(0,Pn.Z)(s.root,r),as:i,ref:t,role:i===Or?null:"rowgroup",ownerState:u},a))})})),jr=Er,Pr=n(4929),Cr=n(6886),_r=n(3433),Tr=n(3019),Mr=n(9716),Ar=["sx"];function Rr(e){var t,n=e.sx,r=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){Mr.G[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t}((0,On.Z)(e,Ar)),o=r.systemProps,i=r.otherProps;return t=Array.isArray(n)?[o].concat((0,_r.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,Tr.P)(e)?(0,xt.Z)({},o,e):o}:(0,xt.Z)({},o,n),(0,xt.Z)({},i,{sx:t})}var Nr=["component","direction","spacing","divider","children"];function Dr(e,n){var r=t.Children.toArray(e).filter(Boolean);return r.reduce((function(e,o,i){return e.push(o),i<r.length-1&&e.push(t.cloneElement(n,{key:"separator-".concat(i)})),e}),[])}var Zr=(0,Tn.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(e,t){return[t.root]}})((function(e){var t=e.ownerState,n=e.theme,r=(0,xt.Z)({display:"flex"},(0,Pr.k9)({theme:n},(0,Pr.P$)({values:t.direction,breakpoints:n.breakpoints.values}),(function(e){return{flexDirection:e}})));if(t.spacing){var o=(0,Cr.hB)(n),i=Object.keys(n.breakpoints.values).reduce((function(e,n){return null==t.spacing[n]&&null==t.direction[n]||(e[n]=!0),e}),{}),a=(0,Pr.P$)({values:t.direction,base:i}),u=(0,Pr.P$)({values:t.spacing,base:i});r=(0,Tr.Z)(r,(0,Pr.k9)({theme:n},u,(function(e,n){return{"& > :not(style) + :not(style)":(0,p.Z)({margin:0},"margin".concat((r=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r])),(0,Cr.NA)(o,e))};var r})))}return r})),Ir=t.forwardRef((function(e,t){var n=Rr((0,_n.Z)({props:e,name:"MuiStack"})),r=n.component,o=void 0===r?"div":r,i=n.direction,a=void 0===i?"column":i,u=n.spacing,s=void 0===u?0:u,c=n.divider,l=n.children,f=(0,On.Z)(n,Nr),d={direction:a,spacing:s};return(0,Nn.jsx)(Zr,(0,xt.Z)({as:o,ownerState:d,ref:t},f,{children:c?Dr(l,c):l}))})),Lr=Ir,Fr=n(9023),zr=n(6983),Br=n(3236),Vr=n(9127);function Ur(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Wr(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}var Hr=t.createContext(null);function qr(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function $r(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Kr(e,n,r){var o=qr(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];u[o[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<i.length;r++)u[i[r]]=n(i[r]);return u}(n,o);return Object.keys(i).forEach((function(a){var u=i[a];if((0,t.isValidElement)(u)){var s=a in n,c=a in o,l=n[a],f=(0,t.isValidElement)(l)&&!l.props.in;!c||s&&!f?c||!s||f?c&&s&&(0,t.isValidElement)(l)&&(i[a]=(0,t.cloneElement)(u,{onExited:r.bind(null,u),in:l.props.in,exit:$r(u,"exit",e),enter:$r(u,"enter",e)})):i[a]=(0,t.cloneElement)(u,{in:!1}):i[a]=(0,t.cloneElement)(u,{onExited:r.bind(null,u),in:!0,exit:$r(u,"exit",e),enter:$r(u,"enter",e)})}})),i}var Gr=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Yr=function(e){function n(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(s(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Wr(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=e,o=a,qr(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:$r(e,"appear",r),enter:$r(e,"enter",r),exit:$r(e,"exit",r)})}))):Kr(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=qr(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,xt.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,o=(0,On.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=Gr(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Hr.Provider,{value:i},a):t.createElement(Hr.Provider,{value:i},t.createElement(n,o,a))},n}(t.Component);Yr.propTypes={},Yr.defaultProps={component:"div",childFactory:function(e){return e}};var Jr=Yr,Xr=(n(8295),n(1639)),Qr=(n(7861),n(4911)),eo=n(4544),to=n(3324),no=(0,Xr.w)((function(e,n){var r=e.styles,o=(0,eo.O)([r],void 0,(0,t.useContext)(Xr.T)),i=(0,t.useRef)();return(0,t.useLayoutEffect)((function(){var e=n.key+"-global",t=new to.m({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),i.current=[t,r],function(){t.flush()}}),[n]),(0,t.useLayoutEffect)((function(){var e=i.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&(0,Qr.M)(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null}));function ro(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,eo.O)(t)}var oo=function(){var e=ro.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};var io=function(e){var n=e.className,r=e.classes,o=e.pulsate,i=void 0!==o&&o,a=e.rippleX,u=e.rippleY,s=e.rippleSize,c=e.in,l=e.onExited,f=e.timeout,d=t.useState(!1),p=(0,bt.Z)(d,2),h=p[0],v=p[1],m=(0,Pn.Z)(n,r.ripple,r.rippleVisible,i&&r.ripplePulsate),y={width:s,height:s,top:-s/2+u,left:-s/2+a},g=(0,Pn.Z)(r.child,h&&r.childLeaving,i&&r.childPulsate);return c||h||v(!0),t.useEffect((function(){if(!c&&null!=l){var e=setTimeout(l,f);return function(){clearTimeout(e)}}}),[l,c,f]),(0,Nn.jsx)("span",{className:m,style:y,children:(0,Nn.jsx)("span",{className:g})})};var ao,uo,so,co,lo,fo,po,ho,vo=(0,An.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mo=["center","classes","className"],yo=oo(lo||(lo=ao||(ao=Ur(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),go=oo(fo||(fo=uo||(uo=Ur(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),bo=oo(po||(po=so||(so=Ur(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),xo=(0,Tn.ZP)("span",{name:"MuiTouchRipple",slot:"Root",skipSx:!0})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),wo=(0,Tn.ZP)(io,{name:"MuiTouchRipple",slot:"Ripple"})(ho||(ho=co||(co=Ur(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),vo.rippleVisible,yo,550,(function(e){return e.theme.transitions.easing.easeInOut}),vo.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),vo.child,vo.childLeaving,go,550,(function(e){return e.theme.transitions.easing.easeInOut}),vo.childPulsate,bo,(function(e){return e.theme.transitions.easing.easeInOut})),ko=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiTouchRipple"}),o=r.center,i=void 0!==o&&o,a=r.classes,u=void 0===a?{}:a,s=r.className,c=(0,On.Z)(r,mo),l=t.useState([]),f=(0,bt.Z)(l,2),d=f[0],p=f[1],h=t.useRef(0),v=t.useRef(null);t.useEffect((function(){v.current&&(v.current(),v.current=null)}),[d]);var m=t.useRef(!1),y=t.useRef(null),g=t.useRef(null),b=t.useRef(null);t.useEffect((function(){return function(){clearTimeout(y.current)}}),[]);var x=t.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p((function(e){return[].concat((0,_r.Z)(e),[(0,Nn.jsx)(wo,{classes:{ripple:(0,Pn.Z)(u.ripple,vo.ripple),rippleVisible:(0,Pn.Z)(u.rippleVisible,vo.rippleVisible),ripplePulsate:(0,Pn.Z)(u.ripplePulsate,vo.ripplePulsate),child:(0,Pn.Z)(u.child,vo.child),childLeaving:(0,Pn.Z)(u.childLeaving,vo.childLeaving),childPulsate:(0,Pn.Z)(u.childPulsate,vo.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])})),h.current+=1,v.current=i}),[u]),w=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,o=void 0!==r&&r,a=t.center,u=void 0===a?i||t.pulsate:a,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===e.type&&m.current)m.current=!1;else{"touchstart"===e.type&&(m.current=!0);var l,f,d,p=c?null:b.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(u||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(h.width/2),f=Math.round(h.height/2);else{var v=e.touches?e.touches[0]:e,w=v.clientX,k=v.clientY;l=Math.round(w-h.left),f=Math.round(k-h.top)}if(u)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);else{var S=2*Math.max(Math.abs((p?p.clientWidth:0)-l),l)+2,O=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(S,2)+Math.pow(O,2))}e.touches?null===g.current&&(g.current=function(){x({pulsate:o,rippleX:l,rippleY:f,rippleSize:d,cb:n})},y.current=setTimeout((function(){g.current&&(g.current(),g.current=null)}),80)):x({pulsate:o,rippleX:l,rippleY:f,rippleSize:d,cb:n})}}),[i,x]),k=t.useCallback((function(){w({},{pulsate:!0})}),[w]),S=t.useCallback((function(e,t){if(clearTimeout(y.current),"touchend"===e.type&&g.current)return g.current(),g.current=null,void(y.current=setTimeout((function(){S(e,t)})));g.current=null,p((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:k,start:w,stop:S}}),[k,w,S]),(0,Nn.jsx)(xo,(0,xt.Z)({className:(0,Pn.Z)(u.root,vo.root,s),ref:b},c,{children:(0,Nn.jsx)(Jr,{component:null,exit:!0,children:d})}))})),So=ko;function Oo(e){return(0,Mn.Z)("MuiButtonBase",e)}var Eo,jo=(0,An.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Po=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],Co=(0,Tn.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Eo={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,p.Z)(Eo,"&.".concat(jo.disabled),{pointerEvents:"none",cursor:"default"}),(0,p.Z)(Eo,"@media print",{colorAdjust:"exact"}),Eo)),_o=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiButtonBase"}),o=r.action,i=r.centerRipple,a=void 0!==i&&i,u=r.children,s=r.className,c=r.component,l=void 0===c?"button":c,f=r.disabled,d=void 0!==f&&f,p=r.disableRipple,h=void 0!==p&&p,v=r.disableTouchRipple,m=void 0!==v&&v,y=r.focusRipple,g=void 0!==y&&y,b=r.LinkComponent,x=void 0===b?"a":b,w=r.onBlur,k=r.onClick,S=r.onContextMenu,O=r.onDragLeave,E=r.onFocus,j=r.onFocusVisible,P=r.onKeyDown,C=r.onKeyUp,_=r.onMouseDown,T=r.onMouseLeave,M=r.onMouseUp,A=r.onTouchEnd,R=r.onTouchMove,N=r.onTouchStart,D=r.tabIndex,Z=void 0===D?0:D,I=r.TouchRippleProps,L=r.type,F=(0,On.Z)(r,Po),z=t.useRef(null),B=t.useRef(null),V=(0,Vr.Z)(),U=V.isFocusVisibleRef,W=V.onFocus,H=V.onBlur,q=V.ref,$=t.useState(!1),K=(0,bt.Z)($,2),G=K[0],Y=K[1];function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;return(0,Br.Z)((function(r){return t&&t(r),!n&&B.current&&B.current[e](r),!0}))}d&&G&&Y(!1),t.useImperativeHandle(o,(function(){return{focusVisible:function(){Y(!0),z.current.focus()}}}),[]),t.useEffect((function(){G&&g&&!h&&B.current.pulsate()}),[h,g,G]);var X=J("start",_),Q=J("stop",S),ee=J("stop",O),te=J("stop",M),ne=J("stop",(function(e){G&&e.preventDefault(),T&&T(e)})),re=J("start",N),oe=J("stop",A),ie=J("stop",R),ae=J("stop",(function(e){H(e),!1===U.current&&Y(!1),w&&w(e)}),!1),ue=(0,Br.Z)((function(e){z.current||(z.current=e.currentTarget),W(e),!0===U.current&&(Y(!0),j&&j(e)),E&&E(e)})),se=function(){var e=z.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ce=t.useRef(!1),le=(0,Br.Z)((function(e){g&&!ce.current&&G&&B.current&&" "===e.key&&(ce.current=!0,B.current.stop(e,(function(){B.current.start(e)}))),e.target===e.currentTarget&&se()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&se()&&"Enter"===e.key&&!d&&(e.preventDefault(),k&&k(e))})),fe=(0,Br.Z)((function(e){g&&" "===e.key&&B.current&&G&&!e.defaultPrevented&&(ce.current=!1,B.current.stop(e,(function(){B.current.pulsate(e)}))),C&&C(e),k&&e.target===e.currentTarget&&se()&&" "===e.key&&!e.defaultPrevented&&k(e)})),de=l;"button"===de&&(F.href||F.to)&&(de=x);var pe={};"button"===de?(pe.type=void 0===L?"button":L,pe.disabled=d):(F.href||F.to||(pe.role="button"),d&&(pe["aria-disabled"]=d));var he=(0,zr.Z)(q,z),ve=(0,zr.Z)(n,he),me=t.useState(!1),ye=(0,bt.Z)(me,2),ge=ye[0],be=ye[1];t.useEffect((function(){be(!0)}),[]);var xe=ge&&!h&&!d;var we=(0,xt.Z)({},r,{centerRipple:a,component:l,disabled:d,disableRipple:h,disableTouchRipple:m,focusRipple:g,tabIndex:Z,focusVisible:G}),ke=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Cn.Z)(i,Oo,o);return n&&r&&(a.root+=" ".concat(r)),a}(we);return(0,Nn.jsxs)(Co,(0,xt.Z)({as:de,className:(0,Pn.Z)(ke.root,s),ownerState:we,onBlur:ae,onClick:k,onContextMenu:Q,onFocus:ue,onKeyDown:le,onKeyUp:fe,onMouseDown:X,onMouseLeave:ne,onMouseUp:te,onDragLeave:ee,onTouchEnd:oe,onTouchMove:ie,onTouchStart:re,ref:ve,tabIndex:d?-1:Z,type:L},pe,F,{children:[u,xe?(0,Nn.jsx)(So,(0,xt.Z)({ref:B,center:a},I)):null]}))})),To=_o;function Mo(e){return(0,Mn.Z)("MuiButton",e)}var Ao=(0,An.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Ro=t.createContext({}),No=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Do=function(e){return(0,xt.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},Zo=(0,Tn.ZP)(To,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,pr.Z)(n.color))],t["size".concat((0,pr.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,pr.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({},n.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:n.shape.borderRadius,transition:n.transitions.create(["background-color","box-shadow","border-color","color"],{duration:n.transitions.duration.short}),"&:hover":(0,xt.Z)({textDecoration:"none",backgroundColor:(0,Fn.Fq)(n.palette.text.primary,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===r.variant&&"inherit"!==r.color&&{backgroundColor:(0,Fn.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===r.variant&&"inherit"!==r.color&&{border:"1px solid ".concat(n.palette[r.color].main),backgroundColor:(0,Fn.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===r.variant&&{backgroundColor:n.palette.grey.A100,boxShadow:n.shadows[4],"@media (hover: none)":{boxShadow:n.shadows[2],backgroundColor:n.palette.grey[300]}},"contained"===r.variant&&"inherit"!==r.color&&{backgroundColor:n.palette[r.color].dark,"@media (hover: none)":{backgroundColor:n.palette[r.color].main}}),"&:active":(0,xt.Z)({},"contained"===r.variant&&{boxShadow:n.shadows[8]})},(0,p.Z)(t,"&.".concat(Ao.focusVisible),(0,xt.Z)({},"contained"===r.variant&&{boxShadow:n.shadows[6]})),(0,p.Z)(t,"&.".concat(Ao.disabled),(0,xt.Z)({color:n.palette.action.disabled},"outlined"===r.variant&&{border:"1px solid ".concat(n.palette.action.disabledBackground)},"outlined"===r.variant&&"secondary"===r.color&&{border:"1px solid ".concat(n.palette.action.disabled)},"contained"===r.variant&&{color:n.palette.action.disabled,boxShadow:n.shadows[0],backgroundColor:n.palette.action.disabledBackground})),t),"text"===r.variant&&{padding:"6px 8px"},"text"===r.variant&&"inherit"!==r.color&&{color:n.palette[r.color].main},"outlined"===r.variant&&{padding:"5px 15px",border:"1px solid ".concat("light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===r.variant&&"inherit"!==r.color&&{color:n.palette[r.color].main,border:"1px solid ".concat((0,Fn.Fq)(n.palette[r.color].main,.5))},"contained"===r.variant&&{color:n.palette.getContrastText(n.palette.grey[300]),backgroundColor:n.palette.grey[300],boxShadow:n.shadows[2]},"contained"===r.variant&&"inherit"!==r.color&&{color:n.palette[r.color].contrastText,backgroundColor:n.palette[r.color].main},"inherit"===r.color&&{color:"inherit",borderColor:"currentColor"},"small"===r.size&&"text"===r.variant&&{padding:"4px 5px",fontSize:n.typography.pxToRem(13)},"large"===r.size&&"text"===r.variant&&{padding:"8px 11px",fontSize:n.typography.pxToRem(15)},"small"===r.size&&"outlined"===r.variant&&{padding:"3px 9px",fontSize:n.typography.pxToRem(13)},"large"===r.size&&"outlined"===r.variant&&{padding:"7px 21px",fontSize:n.typography.pxToRem(15)},"small"===r.size&&"contained"===r.variant&&{padding:"4px 10px",fontSize:n.typography.pxToRem(13)},"large"===r.size&&"contained"===r.variant&&{padding:"8px 22px",fontSize:n.typography.pxToRem(15)},r.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,p.Z)(t,"&.".concat(Ao.focusVisible),{boxShadow:"none"}),(0,p.Z)(t,"&:active",{boxShadow:"none"}),(0,p.Z)(t,"&.".concat(Ao.disabled),{boxShadow:"none"}),t)})),Io=(0,Tn.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,pr.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},Do(t))})),Lo=(0,Tn.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,pr.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},Do(t))})),Fo=t.forwardRef((function(e,n){var r=t.useContext(Ro),o=(0,Fr.Z)(r,e),i=(0,_n.Z)({props:o,name:"MuiButton"}),a=i.children,u=i.color,s=void 0===u?"primary":u,c=i.component,l=void 0===c?"button":c,f=i.className,d=i.disabled,p=void 0!==d&&d,h=i.disableElevation,v=void 0!==h&&h,m=i.disableFocusRipple,y=void 0!==m&&m,g=i.endIcon,b=i.focusVisibleClassName,x=i.fullWidth,w=void 0!==x&&x,k=i.size,S=void 0===k?"medium":k,O=i.startIcon,E=i.type,j=i.variant,P=void 0===j?"text":j,C=(0,On.Z)(i,No),_=(0,xt.Z)({},i,{color:s,component:l,disabled:p,disableElevation:v,disableFocusRipple:y,fullWidth:w,size:S,type:E,variant:P}),T=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,o=e.size,i=e.variant,a=e.classes,u={root:["root",i,"".concat(i).concat((0,pr.Z)(t)),"size".concat((0,pr.Z)(o)),"".concat(i,"Size").concat((0,pr.Z)(o)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,pr.Z)(o))],endIcon:["endIcon","iconSize".concat((0,pr.Z)(o))]},s=(0,Cn.Z)(u,Mo,a);return(0,xt.Z)({},a,s)}(_),M=O&&(0,Nn.jsx)(Io,{className:T.startIcon,ownerState:_,children:O}),A=g&&(0,Nn.jsx)(Lo,{className:T.endIcon,ownerState:_,children:g});return(0,Nn.jsxs)(Zo,(0,xt.Z)({ownerState:_,className:(0,Pn.Z)(f,r.className),component:l,disabled:p,focusRipple:!y,focusVisibleClassName:(0,Pn.Z)(T.focusVisible,b),ref:n,type:E},C,{classes:T,children:[M,a,A]}))})),zo=Fo,Bo=(n(6214),n(6106));var Vo=t.createContext({});function Uo(e){return(0,Mn.Z)("MuiList",e)}(0,An.Z)("MuiList",["root","padding","dense","subheader"]);var Wo=["children","className","component","dense","disablePadding","subheader"],Ho=(0,Tn.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,xt.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),qo=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiList"}),o=r.children,i=r.className,a=r.component,u=void 0===a?"ul":a,s=r.dense,c=void 0!==s&&s,l=r.disablePadding,f=void 0!==l&&l,d=r.subheader,p=(0,On.Z)(r,Wo),h=t.useMemo((function(){return{dense:c}}),[c]),v=(0,xt.Z)({},r,{component:u,dense:c,disablePadding:f}),m=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,Cn.Z)(n,Uo,t)}(v);return(0,Nn.jsx)(Vo.Provider,{value:h,children:(0,Nn.jsxs)(Ho,(0,xt.Z)({as:u,className:(0,Pn.Z)(m.root,i),ref:n,ownerState:v},p,{children:[d,o]}))})})),$o=qo;function Ko(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Go=Ko,Yo=n(4993),Jo=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Xo(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Qo(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ei(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function ti(e,t,n,r,o,i){for(var a=!1,u=o(e,t,!!t&&n);u;){if(u===e.firstChild){if(a)return!1;a=!0}var s=!r&&(u.disabled||"true"===u.getAttribute("aria-disabled"));if(u.hasAttribute("tabindex")&&ei(u,i)&&!s)return u.focus(),!0;u=o(e,u,n)}return!1}var ni=t.forwardRef((function(e,n){var r=e.actions,o=e.autoFocus,i=void 0!==o&&o,a=e.autoFocusItem,u=void 0!==a&&a,s=e.children,c=e.className,l=e.disabledItemsFocusable,f=void 0!==l&&l,d=e.disableListWrap,p=void 0!==d&&d,h=e.onKeyDown,v=e.variant,m=void 0===v?"selectedMenu":v,y=(0,On.Z)(e,Jo),g=t.useRef(null),b=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Yo.Z)((function(){i&&g.current.focus()}),[i]),t.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!g.current.style.width;if(e.clientHeight<g.current.clientHeight&&n){var r="".concat(Go((0,Bo.Z)(e)),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,g.current.style.width="calc(100% + ".concat(r,")")}return g.current}}}),[]);var x=(0,zr.Z)(g,n),w=-1;t.Children.forEach(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===w)&&(w=n))}));var k=t.Children.map(s,(function(e,n){if(n===w){var r={};return u&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return(0,Nn.jsx)($o,(0,xt.Z)({role:"menu",ref:x,className:c,onKeyDown:function(e){var t=g.current,n=e.key,r=(0,Bo.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),ti(t,r,p,f,Xo);else if("ArrowUp"===n)e.preventDefault(),ti(t,r,p,f,Qo);else if("Home"===n)e.preventDefault(),ti(t,null,p,f,Xo);else if("End"===n)e.preventDefault(),ti(t,null,p,f,Qo);else if(1===n.length){var o=b.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var u=r&&!o.repeating&&ei(r,o);o.previousKeyMatched&&(u||ti(t,r,!1,f,Xo,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:i?0:-1},y,{children:k}))})),ri=ni,oi=n(8706),ii=n(3533),ai=!1,ui="unmounted",si="exited",ci="entering",li="entered",fi="exiting",di=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=si,r.appearStatus=ci):o=li:o=t.unmountOnExit||t.mountOnEnter?ui:si,r.state={status:o},r.nextCallback=null,r}Wr(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ui?{status:si}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ci&&n!==li&&(t=ci):n!==ci&&n!==li||(t=fi)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===ci?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===si&&this.setState({status:ui})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],a=i[0],u=i[1],s=this.getTimeouts(),c=o?s.appear:s.enter;!e&&!n||ai?this.safeSetState({status:li},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,u),this.safeSetState({status:ci},(function(){t.props.onEntering(a,u),t.onTransitionEnd(c,(function(){t.safeSetState({status:li},(function(){t.props.onEntered(a,u)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!ai?(this.props.onExit(o),this.safeSetState({status:fi},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:si},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:si},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],u=i[1];this.props.addEndListener(a,u)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===ui)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,On.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Hr.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function pi(){}di.contextType=Hr,di.propTypes={},di.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:pi,onEntering:pi,onEntered:pi,onExit:pi,onExiting:pi,onExited:pi},di.UNMOUNTED=ui,di.EXITED=si,di.ENTERING=ci,di.ENTERED=li,di.EXITING=fi;var hi=di,vi=n(6728),mi=n(2248);function yi(){return(0,vi.Z)(mi.Z)}var gi=function(e){return e.scrollTop};function bi(e,t){var n,r,o=e.timeout,i=e.easing,a=e.style,u=void 0===a?{}:a;return{duration:null!=(n=u.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=u.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:u.transitionDelay}}var xi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function wi(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ki={entering:{opacity:1,transform:wi(1)},entered:{opacity:1,transform:"none"}},Si=t.forwardRef((function(e,n){var r=e.addEndListener,o=e.appear,i=void 0===o||o,a=e.children,u=e.easing,s=e.in,c=e.onEnter,l=e.onEntered,f=e.onEntering,d=e.onExit,p=e.onExited,h=e.onExiting,v=e.style,m=e.timeout,y=void 0===m?"auto":m,g=e.TransitionComponent,b=void 0===g?hi:g,x=(0,On.Z)(e,xi),w=t.useRef(),k=t.useRef(),S=yi(),O=t.useRef(null),E=(0,zr.Z)(a.ref,n),j=(0,zr.Z)(O,E),P=function(e){return function(t){if(e){var n=O.current;void 0===t?e(n):e(n,t)}}},C=P(f),_=P((function(e,t){gi(e);var n,r=bi({style:v,timeout:y,easing:u},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===y?(n=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=n):n=o,e.style.transition=[S.transitions.create("opacity",{duration:n,delay:i}),S.transitions.create("transform",{duration:.666*n,delay:i,easing:a})].join(","),c&&c(e,t)})),T=P(l),M=P(h),A=P((function(e){var t,n=bi({style:v,timeout:y,easing:u},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===y?(t=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=t):t=r,e.style.transition=[S.transitions.create("opacity",{duration:t,delay:o}),S.transitions.create("transform",{duration:.666*t,delay:o||.333*t,easing:i})].join(","),e.style.opacity="0",e.style.transform=wi(.75),d&&d(e)})),R=P(p);return t.useEffect((function(){return function(){clearTimeout(w.current)}}),[]),(0,Nn.jsx)(b,(0,xt.Z)({appear:i,in:s,nodeRef:O,onEnter:_,onEntered:T,onEntering:C,onExit:A,onExited:R,onExiting:M,addEndListener:function(e){"auto"===y&&(w.current=setTimeout(e,k.current||0)),r&&r(O.current,e)},timeout:"auto"===y?null:y},x,{children:function(e,n){return t.cloneElement(a,(0,xt.Z)({style:(0,xt.Z)({opacity:0,transform:wi(.75),visibility:"exited"!==e||s?void 0:"hidden"},ki[e],v,a.props.style),ref:j},n))}}))}));Si.muiSupportAuto=!0;var Oi=Si;var Ei=function(e){return"string"===typeof e},ji=n(7472),Pi=n(9081),Ci=n(2780),_i=n(4246),Ti=n(2678),Mi=n(9265);var Ai=t.forwardRef((function(e,n){var o=e.children,i=e.container,a=e.disablePortal,u=void 0!==a&&a,s=t.useState(null),c=(0,bt.Z)(s,2),l=c[0],f=c[1],d=(0,ji.Z)(t.isValidElement(o)?o.ref:null,n);return(0,Ti.Z)((function(){u||f(function(e){return"function"===typeof e?e():e}(i)||document.body)}),[i,u]),(0,Ti.Z)((function(){if(l&&!u)return(0,Mi.Z)(n,l),function(){(0,Mi.Z)(n,null)}}),[n,l,u]),u?t.isValidElement(o)?t.cloneElement(o,{ref:d}):o:l?r.createPortal(o,l):l})),Ri=n(3282);function Ni(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Di(e){return parseInt((0,Ri.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Zi(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,_r.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Ni(e,o)}))}function Ii(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Li(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,Pi.Z)(e);return t.body===e?(0,Ri.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var o=Ko((0,Pi.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(Di(r)+o,"px");var i=(0,Pi.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(Di(e)+o,"px")}))}var a=r.parentElement,u=(0,Ri.Z)(r),s="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===u.getComputedStyle(a).overflowY?a:r;n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var Fi=function(){function e(){i(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return u(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ni(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Zi(t,e.mount,e.modalRef,r,!0);var o=Ii(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=Ii(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Li(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Ii(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Ni(e.modalRef,!0),Zi(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Ni(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),zi=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Bi(e){var t=[],n=[];return Array.from(e.querySelectorAll(zi)).forEach((function(e,r){var o=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function Vi(){return!0}var Ui=function(e){var n=e.children,r=e.disableAutoFocus,o=void 0!==r&&r,i=e.disableEnforceFocus,a=void 0!==i&&i,u=e.disableRestoreFocus,s=void 0!==u&&u,c=e.getTabbable,l=void 0===c?Bi:c,f=e.isEnabled,d=void 0===f?Vi:f,p=e.open,h=t.useRef(),v=t.useRef(null),m=t.useRef(null),y=t.useRef(null),g=t.useRef(null),b=t.useRef(!1),x=t.useRef(null),w=(0,ji.Z)(n.ref,x),k=t.useRef(null);t.useEffect((function(){p&&x.current&&(b.current=!o)}),[o,p]),t.useEffect((function(){if(p&&x.current){var e=(0,Pi.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex",-1),b.current&&x.current.focus()),function(){s||(y.current&&y.current.focus&&(h.current=!0,y.current.focus()),y.current=null)}}}),[p]),t.useEffect((function(){if(p&&x.current){var e=(0,Pi.Z)(x.current),t=function(t){var n=x.current;if(null!==n)if(e.hasFocus()&&!a&&d()&&!h.current){if(!n.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!b.current)return;var r=[];if(e.activeElement!==v.current&&e.activeElement!==m.current||(r=l(x.current)),r.length>0){var o,i,u=Boolean((null==(o=k.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=k.current)?void 0:i.key)),s=r[0],c=r[r.length-1];u?c.focus():s.focus()}else n.focus()}}else h.current=!1},n=function(t){k.current=t,!a&&d()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(h.current=!0,m.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){"BODY"===e.activeElement.tagName&&t()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[o,a,s,d,p,l]);var S=function(e){null===y.current&&(y.current=e.relatedTarget),b.current=!0};return(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)("div",{tabIndex:0,onFocus:S,ref:v,"data-test":"sentinelStart"}),t.cloneElement(n,{ref:w,onFocus:function(e){null===y.current&&(y.current=e.relatedTarget),b.current=!0,g.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,Nn.jsx)("div",{tabIndex:0,onFocus:S,ref:m,"data-test":"sentinelEnd"})]})};function Wi(e){return(0,Mn.Z)("MuiModal",e)}(0,An.Z)("MuiModal",["root","hidden"]);var Hi=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var qi=new Fi,$i=t.forwardRef((function(e,n){var r=e.BackdropComponent,o=e.BackdropProps,i=e.children,a=e.classes,u=e.className,s=e.closeAfterTransition,c=void 0!==s&&s,l=e.component,f=void 0===l?"div":l,d=e.components,p=void 0===d?{}:d,h=e.componentsProps,v=void 0===h?{}:h,m=e.container,y=e.disableAutoFocus,g=void 0!==y&&y,b=e.disableEnforceFocus,x=void 0!==b&&b,w=e.disableEscapeKeyDown,k=void 0!==w&&w,S=e.disablePortal,O=void 0!==S&&S,E=e.disableRestoreFocus,j=void 0!==E&&E,P=e.disableScrollLock,C=void 0!==P&&P,_=e.hideBackdrop,T=void 0!==_&&_,M=e.keepMounted,A=void 0!==M&&M,R=e.manager,N=void 0===R?qi:R,D=e.onBackdropClick,Z=e.onClose,I=e.onKeyDown,L=e.open,F=e.theme,z=e.onTransitionEnter,B=e.onTransitionExited,V=(0,On.Z)(e,Hi),U=t.useState(!0),W=(0,bt.Z)(U,2),H=W[0],q=W[1],$=t.useRef({}),K=t.useRef(null),G=t.useRef(null),Y=(0,ji.Z)(G,n),J=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),X=function(){return $.current.modalRef=G.current,$.current.mountNode=K.current,$.current},Q=function(){N.mount(X(),{disableScrollLock:C}),G.current.scrollTop=0},ee=(0,Ci.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(m)||(0,Pi.Z)(K.current).body;N.add(X(),e),G.current&&Q()})),te=t.useCallback((function(){return N.isTopModal(X())}),[N]),ne=(0,Ci.Z)((function(e){K.current=e,e&&(L&&te()?Q():Ni(G.current,!0))})),re=t.useCallback((function(){N.remove(X())}),[N]);t.useEffect((function(){return function(){re()}}),[re]),t.useEffect((function(){L?ee():J&&c||re()}),[L,re,J,c,ee]);var oe=(0,xt.Z)({},e,{classes:a,closeAfterTransition:c,disableAutoFocus:g,disableEnforceFocus:x,disableEscapeKeyDown:k,disablePortal:O,disableRestoreFocus:j,disableScrollLock:C,exited:H,hideBackdrop:T,keepMounted:A}),ie=function(e){var t=e.open,n=e.exited,r=e.classes,o={root:["root",!t&&n&&"hidden"]};return(0,Cn.Z)(o,Wi,r)}(oe);if(!A&&!L&&(!J||H))return null;var ae={};void 0===i.props.tabIndex&&(ae.tabIndex="-1"),J&&(ae.onEnter=(0,_i.Z)((function(){q(!1),z&&z()}),i.props.onEnter),ae.onExited=(0,_i.Z)((function(){q(!0),B&&B(),c&&re()}),i.props.onExited));var ue=p.Root||f,se=v.root||{};return(0,Nn.jsx)(Ai,{ref:ne,container:m,disablePortal:O,children:(0,Nn.jsxs)(ue,(0,xt.Z)({role:"presentation"},se,!Ei(ue)&&{as:f,ownerState:(0,xt.Z)({},oe,se.ownerState),theme:F},V,{ref:Y,onKeyDown:function(e){I&&I(e),"Escape"===e.key&&te()&&(k||(e.stopPropagation(),Z&&Z(e,"escapeKeyDown")))},className:(0,Pn.Z)(ie.root,se.className,u),children:[!T&&r?(0,Nn.jsx)(r,(0,xt.Z)({open:L,onClick:function(e){e.target===e.currentTarget&&(D&&D(e),Z&&Z(e,"backdropClick"))}},o)):null,(0,Nn.jsx)(Ui,{disableEnforceFocus:x,disableAutoFocus:g,disableRestoreFocus:j,isEnabled:te,open:L,children:t.cloneElement(i,ae)})]}))})})),Ki=$i;function Gi(e){return(0,Mn.Z)("MuiBackdrop",e)}(0,An.Z)("MuiBackdrop",["root","invisible"]);var Yi=["classes","className","invisible","component","components","componentsProps","theme"],Ji=t.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.invisible,i=void 0!==o&&o,a=e.component,u=void 0===a?"div":a,s=e.components,c=void 0===s?{}:s,l=e.componentsProps,f=void 0===l?{}:l,d=e.theme,p=(0,On.Z)(e,Yi),h=(0,xt.Z)({},e,{classes:n,invisible:i}),v=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,Cn.Z)(n,Gi,t)}(h),m=c.Root||u,y=f.root||{};return(0,Nn.jsx)(m,(0,xt.Z)({"aria-hidden":!0},y,!Ei(m)&&{as:u,ownerState:(0,xt.Z)({},h,y.ownerState),theme:d},{ref:t},p,{className:(0,Pn.Z)(v.root,y.className,r)}))})),Xi=Ji,Qi=n(5829),ea=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ta={entering:{opacity:1},entered:{opacity:1}},na={enter:Qi.x9.enteringScreen,exit:Qi.x9.leavingScreen},ra=t.forwardRef((function(e,n){var r=e.addEndListener,o=e.appear,i=void 0===o||o,a=e.children,u=e.easing,s=e.in,c=e.onEnter,l=e.onEntered,f=e.onEntering,d=e.onExit,p=e.onExited,h=e.onExiting,v=e.style,m=e.timeout,y=void 0===m?na:m,g=e.TransitionComponent,b=void 0===g?hi:g,x=(0,On.Z)(e,ea),w=yi(),k=t.useRef(null),S=(0,zr.Z)(a.ref,n),O=(0,zr.Z)(k,S),E=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},j=E(f),P=E((function(e,t){gi(e);var n=bi({style:v,timeout:y,easing:u},{mode:"enter"});e.style.webkitTransition=w.transitions.create("opacity",n),e.style.transition=w.transitions.create("opacity",n),c&&c(e,t)})),C=E(l),_=E(h),T=E((function(e){var t=bi({style:v,timeout:y,easing:u},{mode:"exit"});e.style.webkitTransition=w.transitions.create("opacity",t),e.style.transition=w.transitions.create("opacity",t),d&&d(e)})),M=E(p);return(0,Nn.jsx)(b,(0,xt.Z)({appear:i,in:s,nodeRef:k,onEnter:P,onEntered:C,onEntering:j,onExit:T,onExited:M,onExiting:_,addEndListener:function(e){r&&r(k.current,e)},timeout:y},x,{children:function(e,n){return t.cloneElement(a,(0,xt.Z)({style:(0,xt.Z)({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ta[e],v,a.props.style),ref:O},n))}}))})),oa=ra,ia=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],aa=(0,Tn.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,xt.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),ua=t.forwardRef((function(e,t){var n,r=(0,_n.Z)({props:e,name:"MuiBackdrop"}),o=r.children,i=r.components,a=void 0===i?{}:i,u=r.componentsProps,s=void 0===u?{}:u,c=r.className,l=r.invisible,f=void 0!==l&&l,d=r.open,p=r.transitionDuration,h=r.TransitionComponent,v=void 0===h?oa:h,m=(0,On.Z)(r,ia),y=function(e){return e.classes}((0,xt.Z)({},r,{invisible:f}));return(0,Nn.jsx)(v,(0,xt.Z)({in:d,timeout:p},m,{children:(0,Nn.jsx)(Xi,{className:c,invisible:f,components:(0,xt.Z)({Root:aa},a),componentsProps:{root:(0,xt.Z)({},s.root,(!a.Root||!Ei(a.Root))&&{ownerState:(0,xt.Z)({},null==(n=s.root)?void 0:n.ownerState)})},classes:y,ref:t,children:o})}))})),sa=ua,ca=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],la=(0,Tn.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),fa=(0,Tn.ZP)(sa,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),da=t.forwardRef((function(e,n){var r,o=(0,_n.Z)({name:"MuiModal",props:e}),i=o.BackdropComponent,a=void 0===i?fa:i,u=o.closeAfterTransition,s=void 0!==u&&u,c=o.children,l=o.components,f=void 0===l?{}:l,d=o.componentsProps,p=void 0===d?{}:d,h=o.disableAutoFocus,v=void 0!==h&&h,m=o.disableEnforceFocus,y=void 0!==m&&m,g=o.disableEscapeKeyDown,b=void 0!==g&&g,x=o.disablePortal,w=void 0!==x&&x,k=o.disableRestoreFocus,S=void 0!==k&&k,O=o.disableScrollLock,E=void 0!==O&&O,j=o.hideBackdrop,P=void 0!==j&&j,C=o.keepMounted,_=void 0!==C&&C,T=(0,On.Z)(o,ca),M=t.useState(!0),A=(0,bt.Z)(M,2),R=A[0],N=A[1],D={closeAfterTransition:s,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:b,disablePortal:w,disableRestoreFocus:S,disableScrollLock:E,hideBackdrop:P,keepMounted:_},Z=function(e){return e.classes}((0,xt.Z)({},o,D,{exited:R}));return(0,Nn.jsx)(Ki,(0,xt.Z)({components:(0,xt.Z)({Root:la},f),componentsProps:{root:(0,xt.Z)({},p.root,(!f.Root||!Ei(f.Root))&&{ownerState:(0,xt.Z)({},null==(r=p.root)?void 0:r.ownerState)})},BackdropComponent:a,onTransitionEnter:function(){return N(!1)},onTransitionExited:function(){return N(!0)},ref:n},T,{classes:Z},D,{children:c}))})),pa=da;function ha(e){return(0,Mn.Z)("MuiPopover",e)}(0,An.Z)("MuiPopover",["root","paper"]);var va=["onEntering"],ma=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function ya(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ga(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function ba(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function xa(e){return"function"===typeof e?e():e}var wa=(0,Tn.ZP)(pa,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ka=(0,Tn.ZP)(Hn,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Sa=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiPopover"}),o=r.action,i=r.anchorEl,a=r.anchorOrigin,u=void 0===a?{vertical:"top",horizontal:"left"}:a,s=r.anchorPosition,c=r.anchorReference,l=void 0===c?"anchorEl":c,f=r.children,d=r.className,p=r.container,h=r.elevation,v=void 0===h?8:h,m=r.marginThreshold,y=void 0===m?16:m,g=r.open,b=r.PaperProps,x=void 0===b?{}:b,w=r.transformOrigin,k=void 0===w?{vertical:"top",horizontal:"left"}:w,S=r.TransitionComponent,O=void 0===S?Oi:S,E=r.transitionDuration,j=void 0===E?"auto":E,P=r.TransitionProps,C=(P=void 0===P?{}:P).onEntering,_=(0,On.Z)(r.TransitionProps,va),T=(0,On.Z)(r,ma),M=t.useRef(),A=(0,zr.Z)(M,x.ref),R=(0,xt.Z)({},r,{anchorOrigin:u,anchorReference:l,elevation:v,marginThreshold:y,PaperProps:x,transformOrigin:k,TransitionComponent:O,transitionDuration:j,TransitionProps:_}),N=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"],paper:["paper"]},ha,t)}(R),D=t.useCallback((function(){if("anchorPosition"===l)return s;var e=xa(i),t=(e&&1===e.nodeType?e:(0,Bo.Z)(M.current).body).getBoundingClientRect();return{top:t.top+ya(t,u.vertical),left:t.left+ga(t,u.horizontal)}}),[i,u.horizontal,u.vertical,s,l]),Z=t.useCallback((function(e){return{vertical:ya(e,k.vertical),horizontal:ga(e,k.horizontal)}}),[k.horizontal,k.vertical]),I=t.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=Z(t);if("none"===l)return{top:null,left:null,transformOrigin:ba(n)};var r=D(),o=r.top-n.vertical,a=r.left-n.horizontal,u=o+t.height,s=a+t.width,c=(0,ii.Z)(xa(i)),f=c.innerHeight-y,d=c.innerWidth-y;if(o<y){var p=o-y;o-=p,n.vertical+=p}else if(u>f){var h=u-f;o-=h,n.vertical+=h}if(a<y){var v=a-y;a-=v,n.horizontal+=v}else if(s>d){var m=s-d;a-=m,n.horizontal+=m}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:ba(n)}}),[i,l,D,Z,y]),L=t.useCallback((function(){var e=M.current;if(e){var t=I(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[I]);t.useEffect((function(){g&&L()})),t.useImperativeHandle(o,(function(){return g?{updatePosition:function(){L()}}:null}),[g,L]),t.useEffect((function(){if(g){var e=(0,oi.Z)((function(){L()})),t=(0,ii.Z)(i);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[i,g,L]);var F=j;"auto"!==j||O.muiSupportAuto||(F=void 0);var z=p||(i?(0,Bo.Z)(xa(i)).body:void 0);return(0,Nn.jsx)(wa,(0,xt.Z)({BackdropProps:{invisible:!0},className:(0,Pn.Z)(N.root,d),container:z,open:g,ref:n,ownerState:R},T,{children:(0,Nn.jsx)(O,(0,xt.Z)({appear:!0,in:g,onEntering:function(e,t){C&&C(e,t),L()},timeout:F},_,{children:(0,Nn.jsx)(ka,(0,xt.Z)({elevation:v},x,{ref:A,className:(0,Pn.Z)(N.paper,x.className),children:f}))}))}))})),Oa=Sa;function Ea(e){return(0,Mn.Z)("MuiMenu",e)}(0,An.Z)("MuiMenu",["root","paper","list"]);var ja=["onEntering"],Pa=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Ca={vertical:"top",horizontal:"right"},_a={vertical:"top",horizontal:"left"},Ta=(0,Tn.ZP)(Oa,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Ma=(0,Tn.ZP)(Hn,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Aa=(0,Tn.ZP)(ri,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),Ra=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiMenu"}),o=r.autoFocus,i=void 0===o||o,a=r.children,u=r.disableAutoFocusItem,s=void 0!==u&&u,c=r.MenuListProps,l=void 0===c?{}:c,f=r.onClose,d=r.open,p=r.PaperProps,h=void 0===p?{}:p,v=r.PopoverClasses,m=r.transitionDuration,y=void 0===m?"auto":m,g=r.TransitionProps,b=(g=void 0===g?{}:g).onEntering,x=r.variant,w=void 0===x?"selectedMenu":x,k=(0,On.Z)(r.TransitionProps,ja),S=(0,On.Z)(r,Pa),O=yi(),E="rtl"===O.direction,j=(0,xt.Z)({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:l,onEntering:b,PaperProps:h,transitionDuration:y,TransitionProps:k,variant:w}),P=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"],paper:["paper"],list:["list"]},Ea,t)}(j),C=i&&!s&&d,_=t.useRef(null),T=-1;return t.Children.map(a,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===w&&e.props.selected||-1===T)&&(T=n))})),(0,Nn.jsx)(Ta,(0,xt.Z)({classes:v,onClose:f,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?Ca:_a,PaperProps:(0,xt.Z)({component:Ma},h,{classes:(0,xt.Z)({},h.classes,{root:P.paper})}),className:P.root,open:d,ref:n,transitionDuration:y,TransitionProps:(0,xt.Z)({onEntering:function(e,t){_.current&&_.current.adjustStyleForScrollbar(e,O),b&&b(e,t)}},k),ownerState:j},S,{children:(0,Nn.jsx)(Aa,(0,xt.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},actions:_,autoFocus:i&&(-1===T||s),autoFocusItem:C,variant:w},l,{className:(0,Pn.Z)(P.list,l.className),children:a}))}))})),Na=Ra;var Da=(0,An.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var Za=(0,An.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var Ia=(0,An.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function La(e){return(0,Mn.Z)("MuiMenuItem",e)}var Fa=(0,An.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),za=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Ba=(0,Tn.ZP)(To,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat(n.palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:n.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,p.Z)(t,"&.".concat(Fa.selected),(0,p.Z)({backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(Fa.focusVisible),{backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,p.Z)(t,"&.".concat(Fa.selected,":hover"),{backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(0,Fn.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,p.Z)(t,"&.".concat(Fa.focusVisible),{backgroundColor:n.palette.action.focus}),(0,p.Z)(t,"&.".concat(Fa.disabled),{opacity:n.palette.action.disabledOpacity}),(0,p.Z)(t,"& + .".concat(Da.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,p.Z)(t,"& + .".concat(Da.inset),{marginLeft:52}),(0,p.Z)(t,"& .".concat(Ia.root),{marginTop:0,marginBottom:0}),(0,p.Z)(t,"& .".concat(Ia.inset),{paddingLeft:36}),(0,p.Z)(t,"& .".concat(Za.root),{minWidth:36}),t),!r.dense&&(0,p.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,xt.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,p.Z)({},"& .".concat(Za.root," svg"),{fontSize:"1.25rem"})))})),Va=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiMenuItem"}),o=r.autoFocus,i=void 0!==o&&o,a=r.component,u=void 0===a?"li":a,s=r.dense,c=void 0!==s&&s,l=r.divider,f=void 0!==l&&l,d=r.disableGutters,p=void 0!==d&&d,h=r.focusVisibleClassName,v=r.role,m=void 0===v?"menuitem":v,y=r.tabIndex,g=(0,On.Z)(r,za),b=t.useContext(Vo),x={dense:c||b.dense||!1,disableGutters:p},w=t.useRef(null);(0,Yo.Z)((function(){i&&w.current&&w.current.focus()}),[i]);var k,S=(0,xt.Z)({},r,{dense:x.dense,divider:f,disableGutters:p}),O=function(e){var t=e.disabled,n=e.dense,r=e.divider,o=e.disableGutters,i=e.selected,a=e.classes,u={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},s=(0,Cn.Z)(u,La,a);return(0,xt.Z)({},a,s)}(r),E=(0,zr.Z)(w,n);return r.disabled||(k=void 0!==y?y:-1),(0,Nn.jsx)(Vo.Provider,{value:x,children:(0,Nn.jsx)(Ba,(0,xt.Z)({ref:E,role:m,tabIndex:k,component:u,focusVisibleClassName:(0,Pn.Z)(O.focusVisible,h)},g,{ownerState:S,classes:O}))})})),Ua=Va;function Wa(e,t){if(null==e)return{};var n,r,o=(0,On.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ha=n(6637),qa=n.n(Ha),$a=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Ka(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(qa()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp($a),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),u=[a,""];a.indexOf("=")>-1&&(u=a.split("=")),t.attrs[u[0]]=u[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var Ga=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Ya=/^\s*$/,Ja=Object.create(null);function Xa(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(Xa,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var Qa={parse:function(e,t){t||(t={}),t.components||(t.components=Ja);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");r.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(Ga,(function(u,s){if(a){if(u!=="</"+n.name+">")return;a=!1}var c,l="/"!==u.charAt(1),f=u.startsWith("\x3c!--"),d=s+u.length,p=e.charAt(d);if(f){var h=Ka(u);return i<0?(r.push(h),r):((c=o[i]).children.push(h),r)}if(l&&(i++,"tag"===(n=Ka(u)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!p||"<"===p||n.children.push({type:"text",content:e.slice(d,e.indexOf("<",d))}),0===i&&r.push(n),(c=o[i-1])&&c.children.push(n),o[i]=n),(!l||n.voidElement)&&(i>-1&&(n.voidElement||n.name===u.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==p&&p)){c=-1===i?r:o[i].children;var v=e.indexOf("<",d),m=e.slice(d,-1===v?void 0:v);Ya.test(m)&&(m=" "),(v>-1&&i+c.length>=0||" "!==m)&&c.push({type:"text",content:m})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+Xa("",t)}),"")}},eu=Qa,tu="".replace,nu=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,ru={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"'};function ou(e){return ru[e]}function iu(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var au={};function uu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"===typeof t[0]&&au[t[0]]||("string"===typeof t[0]&&(au[t[0]]=new Date),iu.apply(void 0,t))}var su=["format"],cu=["children","count","parent","i18nKey","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lu(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function du(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function pu(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function hu(e){return Array.isArray(e)?e:[e]}function vu(e,n){if(!e)return"";var r="",i=hu(e),a=n.transKeepBasicHtmlNodesFor||[];return i.forEach((function(e,i){if("string"===typeof e)r+="".concat(e);else if(t.isValidElement(e)){var u=Object.keys(e.props).length,s=a.indexOf(e.type)>-1,c=e.props.children;if(!c&&s&&0===u)r+="<".concat(e.type,"/>");else if(c||s&&0===u)if(e.props.i18nIsDynamicList)r+="<".concat(i,"></").concat(i,">");else if(s&&1===u&&"string"===typeof c)r+="<".concat(e.type,">").concat(c,"</").concat(e.type,">");else{var l=vu(c,n);r+="<".concat(i,">").concat(l,"</").concat(i,">")}else r+="<".concat(i,"></").concat(i,">")}else if(null===e)iu("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===o(e)){var f=e.format,d=Wa(e,su),p=Object.keys(d);if(1===p.length){var h=f?"".concat(p[0],", ").concat(f):p[0];r+="{{".concat(h,"}}")}else iu("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else iu("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),r}function mu(e,n,r,i,a,u){if(""===n)return[];var s=i.transKeepBasicHtmlNodesFor||[],c=n&&new RegExp(s.join("|")).test(n);if(!e&&!c)return[n];var l={};!function e(n){hu(n).forEach((function(n){"string"!==typeof n&&(du(n)?e(pu(n)):"object"!==o(n)||t.isValidElement(n)||Object.assign(l,n))}))}(e);var f=eu.parse("<0>".concat(n,"</0>")),d=fu(fu({},l),a);function p(e,n,r){var o=pu(e),i=v(o,n.children,r);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return t.isValidElement(e)}))}(o)&&0===i.length?o:i}function h(e,n,r,o,i){e.dummy&&(e.children=n),r.push(t.cloneElement(e,fu(fu({},e.props),{},{key:o}),i?void 0:n))}function v(n,a,l){var f=hu(n);return hu(a).reduce((function(n,a,m){var y,g=a.children&&a.children[0]&&a.children[0].content&&r.services.interpolator.interpolate(a.children[0].content,d,r.language);if("tag"===a.type){var b=f[parseInt(a.name,10)];!b&&1===l.length&&l[0][a.name]&&(b=l[0][a.name]),b||(b={});var x=0!==Object.keys(a.attrs).length?function(e,t){var n=fu({},t);return n.props=Object.assign(e.props,t.props),n}({props:a.attrs},b):b,w=t.isValidElement(x),k=w&&du(a,!0)&&!a.voidElement,S=c&&"object"===o(x)&&x.dummy&&!w,O="object"===o(e)&&null!==e&&Object.hasOwnProperty.call(e,a.name);if("string"===typeof x){var E=r.services.interpolator.interpolate(x,d,r.language);n.push(E)}else if(du(x)||k){h(x,p(x,a,l),n,m)}else if(S){var j=v(f,a.children,l);n.push(t.cloneElement(x,fu(fu({},x.props),{},{key:m}),j))}else if(Number.isNaN(parseFloat(a.name))){if(O)h(x,p(x,a,l),n,m,a.voidElement);else if(i.transSupportBasicHtmlNodes&&s.indexOf(a.name)>-1)if(a.voidElement)n.push(t.createElement(a.name,{key:"".concat(a.name,"-").concat(m)}));else{var P=v(f,a.children,l);n.push(t.createElement(a.name,{key:"".concat(a.name,"-").concat(m)},P))}else if(a.voidElement)n.push("<".concat(a.name," />"));else{var C=v(f,a.children,l);n.push("<".concat(a.name,">").concat(C,"</").concat(a.name,">"))}}else if("object"!==o(x)||w)1===a.children.length&&g?n.push(t.cloneElement(x,fu(fu({},x.props),{},{key:m}),g)):n.push(t.cloneElement(x,fu(fu({},x.props),{},{key:m})));else{var _=a.children[0]?g:null;_&&n.push(_)}}else if("text"===a.type){var T=i.transWrapTextNodes,M=u?(y=r.services.interpolator.interpolate(a.content,d,r.language),tu.call(y,nu,ou)):r.services.interpolator.interpolate(a.content,d,r.language);T?n.push(t.createElement(T,{key:"".concat(a.name,"-").concat(m)},M)):n.push(M)}return n}),[])}return pu(v([{dummy:!0,children:e||[]}],f,hu(e||[]))[0])}function yu(e){var n=e.children,r=e.count,o=e.parent,i=e.i18nKey,a=e.tOptions,u=void 0===a?{}:a,s=e.values,c=e.defaults,l=e.components,f=e.ns,d=e.i18n,p=e.t,h=e.shouldUnescape,v=Wa(e,cu),m=(0,t.useContext)(Ce)||{},y=m.i18n,g=m.defaultNS,b=d||y||_e();if(!b)return uu("You will need to pass in an i18next instance by using i18nextReactModule"),n;var x=p||b.t.bind(b)||function(e){return e},w=fu(fu({},Pe),b.options&&b.options.react),k=f||x.ns||g||b.options&&b.options.defaultNS;k="string"===typeof k?[k]:k||["translation"];var S=c||vu(n,w)||w.transEmptyNodeValue||i,O=w.hashTransKey,E=i||(O?O(S):S),j=s?u.interpolation:{interpolation:fu(fu({},u.interpolation),{},{prefix:"#$?",suffix:"?$#"})},P=fu(fu(fu(fu({},u),{},{count:r},s),j),{},{defaultValue:S,ns:k}),C=mu(l||n,E?x(E,P):S,b,w,P,h),_=void 0!==o?o:w.defaultTransParent;return _?t.createElement(_,v,C):C}var gu=n(4406);function bu(e){return(0,Mn.Z)("MuiCard",e)}(0,An.Z)("MuiCard",["root"]);var xu=["className","raised"],wu=(0,Tn.ZP)(Hn,{name:"MuiCard",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{overflow:"hidden"}})),ku=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiCard"}),r=n.className,o=n.raised,i=void 0!==o&&o,a=(0,On.Z)(n,xu),u=(0,xt.Z)({},n,{raised:i}),s=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},bu,t)}(u);return(0,Nn.jsx)(wu,(0,xt.Z)({className:(0,Pn.Z)(s.root,r),elevation:i?8:void 0,ref:t,ownerState:u},a))})),Su=ku;function Ou(e){return(0,Mn.Z)("MuiTypography",e)}(0,An.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var Eu=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ju=(0,Tn.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,pr.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),Pu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Cu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},_u=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiTypography"}),r=function(e){return Cu[e]||e}(n.color),o=Rr((0,xt.Z)({},n,{color:r})),i=o.align,a=void 0===i?"inherit":i,u=o.className,s=o.component,c=o.gutterBottom,l=void 0!==c&&c,f=o.noWrap,d=void 0!==f&&f,p=o.paragraph,h=void 0!==p&&p,v=o.variant,m=void 0===v?"body1":v,y=o.variantMapping,g=void 0===y?Pu:y,b=(0,On.Z)(o,Eu),x=(0,xt.Z)({},o,{align:a,color:r,className:u,component:s,gutterBottom:l,noWrap:d,paragraph:h,variant:m,variantMapping:g}),w=s||(h?"p":g[m]||Pu[m])||"span",k=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,u={root:["root",i,"inherit"!==e.align&&"align".concat((0,pr.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,Cn.Z)(u,Ou,a)}(x);return(0,Nn.jsx)(ju,(0,xt.Z)({as:w,ref:t,ownerState:x,className:(0,Pn.Z)(k.root,u)},b))})),Tu=_u;function Mu(e){return(0,Mn.Z)("MuiCardHeader",e)}var Au=(0,An.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Ru=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Nu=(0,Tn.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(e,t){var n;return(0,xt.Z)((n={},(0,p.Z)(n,"& .".concat(Au.title),t.title),(0,p.Z)(n,"& .".concat(Au.subheader),t.subheader),n),t.root)}})({display:"flex",alignItems:"center",padding:16}),Du=(0,Tn.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(e,t){return t.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),Zu=(0,Tn.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(e,t){return t.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Iu=(0,Tn.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(e,t){return t.content}})({flex:"1 1 auto"}),Lu=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiCardHeader"}),r=n.action,o=n.avatar,i=n.className,a=n.component,u=void 0===a?"div":a,s=n.disableTypography,c=void 0!==s&&s,l=n.subheader,f=n.subheaderTypographyProps,d=n.title,p=n.titleTypographyProps,h=(0,On.Z)(n,Ru),v=(0,xt.Z)({},n,{component:u,disableTypography:c}),m=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Mu,t)}(v),y=d;null==y||y.type===Tu||c||(y=(0,Nn.jsx)(Tu,(0,xt.Z)({variant:o?"body2":"h5",className:m.title,component:"span",display:"block"},p,{children:y})));var g=l;return null==g||g.type===Tu||c||(g=(0,Nn.jsx)(Tu,(0,xt.Z)({variant:o?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},f,{children:g}))),(0,Nn.jsxs)(Nu,(0,xt.Z)({className:(0,Pn.Z)(m.root,i),as:u,ref:t,ownerState:v},h,{children:[o&&(0,Nn.jsx)(Du,{className:m.avatar,ownerState:v,children:o}),(0,Nn.jsxs)(Iu,{className:m.content,ownerState:v,children:[y,g]}),r&&(0,Nn.jsx)(Zu,{className:m.action,ownerState:v,children:r})]}))})),Fu=Lu;function zu(e){return(0,Mn.Z)("MuiCardContent",e)}(0,An.Z)("MuiCardContent",["root"]);var Bu=["className","component"],Vu=(0,Tn.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),Uu=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiCardContent"}),r=n.className,o=n.component,i=void 0===o?"div":o,a=(0,On.Z)(n,Bu),u=(0,xt.Z)({},n,{component:i}),s=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},zu,t)}(u);return(0,Nn.jsx)(Vu,(0,xt.Z)({as:i,className:(0,Pn.Z)(s.root,r),ownerState:u,ref:t},a))})),Wu=Uu;function Hu(e){return(0,Mn.Z)("MuiCardActions",e)}(0,An.Z)("MuiCardActions",["root","spacing"]);var qu,$u,Ku=["disableSpacing","className"],Gu=(0,Tn.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),Yu=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiCardActions"}),r=n.disableSpacing,o=void 0!==r&&r,i=n.className,a=(0,On.Z)(n,Ku),u=(0,xt.Z)({},n,{disableSpacing:o}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Cn.Z)(n,Hu,t)}(u);return(0,Nn.jsx)(Gu,(0,xt.Z)({className:(0,Pn.Z)(s.root,i),ownerState:u,ref:t},a))})),Ju=Yu,Xu=function(e){var t=e.title,n=e.subtitle,r=e.isOpen,o=e.closeFn,i=e.children;return(0,Nn.jsx)(pa,{open:r,onClose:o,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:(0,Nn.jsxs)(Su,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:2,minWidth:"400px"},children:[(0,Nn.jsx)(Fu,{title:t,subheader:n}),(0,Nn.jsx)(Wu,{children:i}),(0,Nn.jsx)(Ju,{children:(0,Nn.jsx)(zo,{onClick:o,children:(0,Nn.jsx)(yu,{i18nKey:"close"})})})]})})};function Qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qu(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}try{qu=Map}catch(jV){}try{$u=Set}catch(jV){}function ts(e,t,n){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(ns);if(qu&&e instanceof qu)return new Map(Array.from(e.entries()));if($u&&e instanceof $u)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var r=Object.create(e);for(var o in n.push(r),e){var i=t.findIndex((function(t){return t===e[o]}));r[o]=i>-1?n[i]:ts(e[o],t,n)}return r}return e}function ns(e){return ts(e,[],[])}var rs=Object.prototype.toString,os=Error.prototype.toString,is=RegExp.prototype.toString,as="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},us=/^Symbol\((.*)\)(.*)$/;function ss(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function cs(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return ss(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return as.call(e).replace(us,"Symbol($1)");var r=rs.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+os.call(e)+"]":"RegExp"===r?is.call(e):null}function ls(e,t){var n=cs(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=cs(this[e],t);return null!==r?r:n}),2)}var fs={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,o=e.originalValue,i=null!=o&&o!==r,a="".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(ls(r,!0),"`")+(i?" (cast from the value `".concat(ls(o,!0),"`)."):".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},ds={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},ps={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},hs={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},vs={isValue:"${path} field must be ${value}"},ms={noUnknown:"${path} field has unspecified keys: ${unknown}"},ys={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},gs=(Object.assign(Object.create(null),{mixed:fs,string:ds,number:ps,date:hs,object:ms,array:ys,boolean:vs}),n(1912)),bs=n.n(gs),xs=function(e){return e&&e.__isYupSchema__},ws=function(){function e(t,n){if(i(this,e),this.fn=void 0,this.refs=t,this.refs=t,"function"!==typeof n){if(!bs()(n,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,a=n.otherwise,u="function"===typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return e===r}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),i=t.pop(),s=u.apply(void 0,t)?o:a;if(s)return"function"===typeof s?s(i):i.concat(s.resolve(r))}}else this.fn=n}return u(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!xs(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}]),e}(),ks=ws;function Ss(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Os(e){var t=Ss();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function Es(e,t,n){return Es=Ss()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o},Es.apply(null,arguments)}function js(e){var t="function"===typeof Map?new Map:void 0;return js=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Es(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},js(e)}function Ps(e){return null==e?[]:[].concat(e)}function Cs(){return Cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cs.apply(this,arguments)}var _s=/\$\{\s*(\w+)\s*\}/g,Ts=function(e){l(n,e);var t=Os(n);function n(e,r,o,a){var u;return i(this,n),(u=t.call(this)).value=void 0,u.path=void 0,u.type=void 0,u.errors=void 0,u.params=void 0,u.inner=void 0,u.name="ValidationError",u.value=r,u.path=o,u.type=a,u.errors=[],u.inner=[],Ps(e).forEach((function(e){var t;n.isError(e)?((t=u.errors).push.apply(t,(0,_r.Z)(e.errors)),u.inner=u.inner.concat(e.inner.length?e.inner:e)):u.errors.push(e)})),u.message=u.errors.length>1?"".concat(u.errors.length," errors occurred"):u.errors[0],Error.captureStackTrace&&Error.captureStackTrace(s(u),n),u}return u(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=Cs({},t,{path:n})),"string"===typeof e?e.replace(_s,(function(e,n){return ls(t[n])})):"function"===typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(js(Error));function Ms(e,t){var n=e.endEarly,r=e.tests,o=e.args,i=e.value,a=e.errors,u=e.sort,s=e.path,c=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(t),l=r.length,f=[];if(a=a||[],!l)return a.length?c(new Ts(a,i,s)):c(null,i);for(var d=0;d<r.length;d++){(0,r[d])(o,(function(e){if(e){if(!Ts.isError(e))return c(e,i);if(n)return e.value=i,c(e,i);f.push(e)}if(--l<=0){if(f.length&&(u&&f.sort(u),a.length&&f.push.apply(f,(0,_r.Z)(a)),a=f),a.length)return void c(new Ts(a,i,s),i);c(null,i)}}))}}var As=n(8463),Rs=n.n(As),Ns=n(3294),Ds="$",Zs=".";var Is=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Ds,this.isValue=this.key[0]===Zs,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?Ds:this.isValue?Zs:"";this.path=this.key.slice(r.length),this.getter=this.path&&(0,Ns.getter)(this.path,!0),this.map=n.map}return u(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();function Ls(){return Ls=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ls.apply(this,arguments)}function Fs(e){function t(t,n){var r=t.value,o=t.path,i=void 0===o?"":o,a=t.label,u=t.options,s=t.originalValue,c=t.sync,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["value","path","label","options","originalValue","sync"]),f=e.name,d=e.test,p=e.params,h=e.message,v=u.parent,m=u.context;function y(e){return Is.isRef(e)?e.getValue(r,v,m):e}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Rs()(Ls({value:r,originalValue:s,label:a,path:e.path||i},p,e.params),y),n=new Ts(Ts.formatError(e.message||h,t),r,t.path,e.type||f);return n.params=t,n}var b=Ls({path:i,parent:v,type:f,createError:g,resolve:y,options:u,originalValue:s},l);if(c){var x;try{var w;if("function"===typeof(null==(w=x=d.call(b,r,b))?void 0:w.then))throw new Error('Validation test of type: "'.concat(b.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(k){return void n(k)}Ts.isError(x)?n(x):x?n(null,x):n(g())}else try{Promise.resolve(d.call(b,r,b)).then((function(e){Ts.isError(e)?n(e):e?n(null,e):n(g())})).catch(n)}catch(k){n(k)}}return t.OPTIONS=e,t}Is.prototype.__isYupRef=!0;var zs=function(e){return e.substr(0,e.length-1).substr(1)};function Bs(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,Ns.forEach)(t,(function(u,s,c){var l=s?zs(u):u;if((e=e.resolve({context:a,parent:r,value:n})).innerType){var f=c?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(u,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[f],e=e.innerType}if(!c){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(i,' which is a type: "').concat(e._type,'")'));r=n,n=n&&n[l],e=e.fields[l]}o=l,i=s?"["+u+"]":"."+u})),{schema:e,parent:r,parentPath:o}):{parent:r,parentPath:t,schema:e}}function Vs(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,m.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}var Us=function(){function e(){i(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return u(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=Vs(this.list);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(u){n.e(u)}finally{n.f()}var o,i=Vs(this.refs);try{for(i.s();!(o=i.n()).done;){var a=(0,bt.Z)(o.value,2)[1];t.push(a.describe())}}catch(u){i.e(u)}finally{i.f()}return t}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"resolveAll",value:function(e){return this.toArray().reduce((function(t,n){return t.concat(Is.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){Is.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){Is.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}},{key:"clone",value:function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}},{key:"merge",value:function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n}}]),e}();function Ws(){return Ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ws.apply(this,arguments)}var Hs=function(){function e(t){var n=this;i(this,e),this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new Us,this._blacklist=new Us,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(fs.notType)})),this.type=(null==t?void 0:t.type)||"mixed",this.spec=Ws({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==t?void 0:t.spec)}return u(e,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(e){return!0}},{key:"clone",value:function(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;var t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=Ws({},this.exclusiveTests),t.deps=(0,_r.Z)(this.deps),t.conditions=(0,_r.Z)(this.conditions),t.tests=(0,_r.Z)(this.tests),t.transforms=(0,_r.Z)(this.transforms),t.spec=ns(Ws({},this.spec,e)),t}},{key:"label",value:function(e){var t=this.clone();return t.spec.label=e,t}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}},{key:"withMutation",value:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n}},{key:"concat",value:function(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));var t=this,n=e.clone(),r=Ws({},t.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=t._typeError),n._whitelistError||(n._whitelistError=t._whitelistError),n._blacklistError||(n._blacklistError=t._blacklistError),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),n.transforms=[].concat((0,_r.Z)(t.transforms),(0,_r.Z)(n.transforms)),n}},{key:"isType",value:function(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}},{key:"resolve",value:function(e){var t=this;if(t.conditions.length){var n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t}},{key:"cast",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Ws({value:e},t)),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var o=ls(e),i=ls(r);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n._type,'". \n\n')+"attempted value: ".concat(o," \n")+(i!==o?"result of cast: ".concat(i):""))}return r}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=n.sync,i=n.path,a=n.from,u=void 0===a?[]:a,s=n.originalValue,c=void 0===s?e:s,l=n.strict,f=void 0===l?this.spec.strict:l,d=n.abortEarly,p=void 0===d?this.spec.abortEarly:d,h=e;f||(h=this._cast(h,Ws({assert:!1},n)));var v={value:h,path:i,options:n,originalValue:c,schema:this,label:this.spec.label,sync:o,from:u},m=[];this._typeError&&m.push(this._typeError);var y=[];this._whitelistError&&y.push(this._whitelistError),this._blacklistError&&y.push(this._blacklistError),Ms({args:v,value:h,path:i,sync:o,tests:m,endEarly:p},(function(e){e?r(e,h):Ms({tests:t.tests.concat(y),args:v,path:i,sync:o,value:h,endEarly:p},r)}))}},{key:"validate",value:function(e,t,n){var r=this.resolve(Ws({},t,{value:e}));return"function"===typeof n?r._validate(e,t,n):new Promise((function(n,o){return r._validate(e,t,(function(e,t){e?o(e):n(t)}))}))}},{key:"validateSync",value:function(e,t){var n;return this.resolve(Ws({},t,{value:e}))._validate(e,Ws({},t,{sync:!0}),(function(e,t){if(e)throw e;n=t})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(Ts.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(Ts.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"===typeof e?e.call(this):ns(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){if(0===arguments.length)return this._getDefault();var t=this.clone({default:e});return t}},{key:"strict",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strict=e,t}},{key:"_isPresent",value:function(e){return null!=e}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fs.defined;return this.test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fs.required;return this.clone({presence:"required"}).withMutation((function(t){return t.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})}))}},{key:"notRequired",value:function(){var e=this.clone({presence:"optional"});return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}},{key:"nullable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone({nullable:!1!==e});return t}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=fs.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=Fs(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}},{key:"when",value:function(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");var n=this.clone(),r=Ps(e).map((function(e){return new Is(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push(new ks(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t._typeError=Fs({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fs.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=Fs({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fs.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=Fs({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(){var e=this.clone(),t=e.spec,n=t.label,r={meta:t.meta,label:n,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return r}}]),e}();Hs.prototype.__isYupSchema__=!0;for(var qs=function(){var e=Ks[$s];Hs.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Bs(this,t,n,r.context),i=o.parent,a=o.parentPath,u=o.schema;return u[e](i&&i[a],Ws({},r,{parent:i,path:t}))}},$s=0,Ks=["validate","validateSync"];$s<Ks.length;$s++)qs();for(var Gs=0,Ys=["equals","is"];Gs<Ys.length;Gs++){var Js=Ys[Gs];Hs.prototype[Js]=Hs.prototype.oneOf}for(var Xs=0,Qs=["not","nope"];Xs<Qs.length;Xs++){var ec=Qs[Xs];Hs.prototype[ec]=Hs.prototype.notOneOf}Hs.prototype.optional=Hs.prototype.notRequired;var tc=Hs;tc.prototype;var nc=function(e){return null==e};var rc=function(e){l(n,e);var t=Os(n);function n(){var e;return i(this,n),(e=t.call(this,{type:"boolean"})).withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))})),e}return u(n,[{key:"_typeCheck",value:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e}},{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vs.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return nc(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vs.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return nc(e)||!1===e}})}}]),n}(Hs);function oc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function ic(){return ic="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=oc(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ic.apply(this,arguments)}rc.prototype;var ac=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,uc=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,sc=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,cc=function(e){return nc(e)||e===e.trim()},lc={}.toString();var fc=function(e){l(n,e);var t=Os(n);function n(){var e;return i(this,n),(e=t.call(this,{type:"string"})).withMutation((function(){e.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;var t=null!=e&&e.toString?e.toString():e;return t===lc?e:t}))})),e}return u(n,[{key:"_typeCheck",value:function(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e}},{key:"_isPresent",value:function(e){return ic(d(n.prototype),"_isPresent",this).call(this,e)&&!!e.length}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ds.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return nc(t)||t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ds.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return nc(t)||t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ds.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return nc(t)||t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,o=!1;if(t)if("object"===typeof t){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||ds.matches,params:{regex:e},test:function(t){return nc(t)||""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.email;return this.matches(ac,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.url;return this.matches(uc,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.uuid;return this.matches(sc,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:cc})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.lowercase;return this.transform((function(e){return nc(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return nc(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds.uppercase;return this.transform((function(e){return nc(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return nc(e)||e===e.toUpperCase()}})}}]),n}(Hs);fc.prototype;function dc(){return new pc}var pc=function(e){l(n,e);var t=Os(n);function n(){var e;return i(this,n),(e=t.call(this,{type:"number"})).withMutation((function(){e.transform((function(e){var t=e;if("string"===typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))})),e}return u(n,[{key:"_typeCheck",value:function(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!function(e){return e!=+e}(e)}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ps.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return nc(t)||t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ps.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return nc(t)||t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ps.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return nc(t)||t<this.resolve(e)}})}},{key:"moreThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ps.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return nc(t)||t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ps.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ps.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ps.integer;return this.test({name:"integer",message:e,test:function(e){return nc(e)||Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return nc(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return nc(t)?t:Math[e](t)}))}}]),n}(Hs);dc.prototype=pc.prototype;var hc=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var vc=new Date("");function mc(){return new yc}var yc=function(e){l(n,e);var t=Os(n);function n(){var e;return i(this,n),(e=t.call(this,{type:"date"})).withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=hc.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?vc:new Date(e))}))})),e}return u(n,[{key:"_typeCheck",value:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}},{key:"prepareParam",value:function(e,t){var n;if(Is.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hs.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return nc(e)||e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hs.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return nc(e)||e<=this.resolve(n)}})}}]),n}(Hs);yc.INVALID_DATE=vc,mc.prototype=yc.prototype,mc.INVALID_DATE=vc;var gc=n(3796),bc=n.n(gc),xc=n(9746),wc=n.n(xc),kc=n(4129),Sc=n.n(kc),Oc=n(4064),Ec=n.n(Oc);function jc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,o=new Set(t.map((function(e){var t=(0,bt.Z)(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=(0,Ns.split)(e)[0];r.add(i),o.has("".concat(t,"-").concat(i))||n.push([t,i])}var a=function(t){if(bs()(e,t)){var n=e[t];r.add(t),Is.isRef(n)&&n.isSibling?i(n.path,t):xs(n)&&"deps"in n&&n.deps.forEach((function(e){return i(e,t)}))}};for(var u in e)a(u);return Ec().array(Array.from(r),n).reverse()}function Pc(e,t){var n=1/0;return e.some((function(e,r){var o;if(-1!==(null==(o=t.path)?void 0:o.indexOf(e)))return n=r,!0})),n}function Cc(e){return function(t,n){return Pc(e,t)-Pc(e,n)}}function _c(){return _c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_c.apply(this,arguments)}var Tc=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Mc(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var Ac=Cc([]),Rc=function(e){l(n,e);var t=Os(n);function n(e){var r;return i(this,n),(r=t.call(this,{type:"object"})).fields=Object.create(null),r._sortErrors=Ac,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){r.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&r.shape(e)})),r}return u(n,[{key:"_typeCheck",value:function(e){return Tc(e)||"function"===typeof e}},{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=ic(d(n.prototype),"_cast",this).call(this,e,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,u=this.fields,s=null!=(t=o.stripUnknown)?t:this.spec.noUnknown,c=this._nodes.concat(Object.keys(i).filter((function(e){return-1===r._nodes.indexOf(e)}))),l={},f=_c({},o,{parent:l,__validating:o.__validating||!1}),p=!1,h=Vs(c);try{for(h.s();!(a=h.n()).done;){var v=a.value,m=u[v],y=bs()(i,v);if(m){var g=void 0,b=i[v];f.path=(o.path?"".concat(o.path,"."):"")+v;var x="spec"in(m=m.resolve({value:b,context:o.context,parent:l}))?m.spec:void 0,w=null==x?void 0:x.strict;if(null==x?void 0:x.strip){p=p||v in i;continue}void 0!==(g=o.__validating&&w?i[v]:m.cast(i[v],f))&&(l[v]=g)}else y&&!s&&(l[v]=i[v]);l[v]!==i[v]&&(p=!0)}}catch(k){h.e(k)}finally{h.f()}return p?l:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=[],a=r.sync,u=r.from,s=void 0===u?[]:u,c=r.originalValue,l=void 0===c?e:c,f=r.abortEarly,p=void 0===f?this.spec.abortEarly:f,h=r.recursive,v=void 0===h?this.spec.recursive:h;s=[{schema:this,value:l}].concat((0,_r.Z)(s)),r.__validating=!0,r.originalValue=l,r.from=s,ic(d(n.prototype),"_validate",this).call(this,e,r,(function(e,n){if(e){if(!Ts.isError(e)||p)return void o(e,n);i.push(e)}if(v&&Tc(n)){l=l||n;var u=t._nodes.map((function(e){return function(o,i){var a=-1===e.indexOf(".")?(r.path?"".concat(r.path,"."):"")+e:"".concat(r.path||"",'["').concat(e,'"]'),u=t.fields[e];u&&"validate"in u?u.validate(n[e],_c({},r,{path:a,from:s,strict:!0,parent:n,originalValue:l[e]}),i):i(null)}}));Ms({sync:a,tests:u,value:n,errors:i,endEarly:p,sort:t._sortErrors,path:r.path},o)}else o(i[0]||null,n)}))}},{key:"clone",value:function(e){var t=ic(d(n.prototype),"clone",this).call(this,e);return t.fields=_c({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=ic(d(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=(0,bt.Z)(a[i],2),s=u[0],c=u[1],l=o[s];void 0===l?o[s]=c:l instanceof Hs&&c instanceof Hs&&(o[s]=c.concat(l))}return r.withMutation((function(){return r.shape(o,t._excludedEdges)}))}},{key:"getDefaultFromShape",value:function(){var e=this,t={};return this._nodes.forEach((function(n){var r=e.fields[n];t[n]="default"in r?r.getDefault():void 0})),t}},{key:"_getDefault",value:function(){return"default"in this.spec?ic(d(n.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.clone(),r=Object.assign(n.fields,e);return n.fields=r,n._sortErrors=Cc(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),n._excludedEdges=[].concat((0,_r.Z)(n._excludedEdges),(0,_r.Z)(t))),n._nodes=jc(r,n._excludedEdges),n}},{key:"pick",value:function(e){var t,n={},r=Vs(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.clone().withMutation((function(e){return e.fields={},e.shape(n)}))}},{key:"omit",value:function(e){var t=this.clone(),n=t.fields;t.fields={};var r,o=Vs(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;delete n[i]}}catch(a){o.e(a)}finally{o.f()}return t.withMutation((function(){return t.shape(n)}))}},{key:"from",value:function(e,t,n){var r=(0,Ns.getter)(e,!0);return this.transform((function(o){if(null==o)return o;var i=o;return bs()(o,e)&&(i=_c({},o),n||delete i[e],i[t]=r(o)),i}))}},{key:"noUnknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms.noUnknown;"string"===typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=Mc(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){return t&&Sc()(t,(function(t,n){return e(n)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(wc())}},{key:"snakeCase",value:function(){return this.transformKeys(bc())}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return bc()(e).toUpperCase()}))}},{key:"describe",value:function(){var e=ic(d(n.prototype),"describe",this).call(this);return e.fields=Rs()(this.fields,(function(e){return e.describe()})),e}}]),n}(Hs);function Nc(e){return new Rc(e)}function Dc(){return Dc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dc.apply(this,arguments)}Nc.prototype=Rc.prototype;var Zc=function(e){l(n,e);var t=Os(n);function n(e){var r;return i(this,n),(r=t.call(this,{type:"array"})).innerType=void 0,r.innerType=e,r.withMutation((function(){r.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))})),r}return u(n,[{key:"_typeCheck",value:function(e){return Array.isArray(e)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(e,t){var r=this,o=ic(d(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(e,n){var o=r.innerType.cast(e,Dc({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return o!==e&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(e){var t,r,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,u=[],s=i.sync,c=i.path,l=this.innerType,f=null!=(t=i.abortEarly)?t:this.spec.abortEarly,p=null!=(r=i.recursive)?r:this.spec.recursive,h=null!=i.originalValue?i.originalValue:e;ic(d(n.prototype),"_validate",this).call(this,e,i,(function(e,t){if(e){if(!Ts.isError(e)||f)return void a(e,t);u.push(e)}if(p&&l&&o._typeCheck(t)){h=h||t;for(var n=new Array(t.length),r=function(e){var r=t[e],o="".concat(i.path||"","[").concat(e,"]"),a=Dc({},i,{path:o,strict:!0,parent:t,index:e,originalValue:h[e]});n[e]=function(e,t){return l.validate(r,a,t)}},d=0;d<t.length;d++)r(d);Ms({sync:s,path:c,value:t,errors:u,endEarly:f,tests:n},a)}else a(u[0]||null,t)}))}},{key:"clone",value:function(e){var t=ic(d(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"concat",value:function(e){var t=ic(d(n.prototype),"concat",this).call(this,e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}},{key:"of",value:function(e){var t=this.clone();if(!xs(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+ls(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ys.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return nc(t)||t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||ys.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return nc(t)||t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||ys.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return nc(t)||t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(){var e=ic(d(n.prototype),"describe",this).call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}},{key:"nullable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return ic(d(n.prototype),"nullable",this).call(this,e)}},{key:"defined",value:function(){return ic(d(n.prototype),"defined",this).call(this)}},{key:"required",value:function(e){return ic(d(n.prototype),"required",this).call(this,e)}}]),n}(Hs);Zc.prototype;var Ic=n(6939),Lc=n.n(Ic),Fc=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===zc}(e)}(e)};var zc="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bc(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Uc((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Vc(e,t,n){return e.concat(t).map((function(e){return Bc(e,n)}))}function Uc(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Vc,n.isMergeableObject=n.isMergeableObject||Fc;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=Bc(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=Uc(e[o],t[o],n):r[o]=Bc(t[o],n)})),r}(e,t,n):Bc(t,n)}Uc.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Uc(e,n,t)}),{})};var Wc=Uc,Hc="object"==typeof global&&global&&global.Object===Object&&global,qc="object"==typeof self&&self&&self.Object===Object&&self,$c=Hc||qc||Function("return this")(),Kc=$c.Symbol,Gc=Object.prototype,Yc=Gc.hasOwnProperty,Jc=Gc.toString,Xc=Kc?Kc.toStringTag:void 0;var Qc=function(e){var t=Yc.call(e,Xc),n=e[Xc];try{e[Xc]=void 0;var r=!0}catch(i){}var o=Jc.call(e);return r&&(t?e[Xc]=n:delete e[Xc]),o},el=Object.prototype.toString;var tl=function(e){return el.call(e)},nl=Kc?Kc.toStringTag:void 0;var rl=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":nl&&nl in Object(e)?Qc(e):tl(e)};var ol=function(e,t){return function(n){return e(t(n))}},il=ol(Object.getPrototypeOf,Object);var al=function(e){return null!=e&&"object"==typeof e},ul=Function.prototype,sl=Object.prototype,cl=ul.toString,ll=sl.hasOwnProperty,fl=cl.call(Object);var dl=function(e){if(!al(e)||"[object Object]"!=rl(e))return!1;var t=il(e);if(null===t)return!0;var n=ll.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&cl.call(n)==fl};var pl=function(){this.__data__=[],this.size=0};var hl=function(e,t){return e===t||e!==e&&t!==t};var vl=function(e,t){for(var n=e.length;n--;)if(hl(e[n][0],t))return n;return-1},ml=Array.prototype.splice;var yl=function(e){var t=this.__data__,n=vl(t,e);return!(n<0)&&(n==t.length-1?t.pop():ml.call(t,n,1),--this.size,!0)};var gl=function(e){var t=this.__data__,n=vl(t,e);return n<0?void 0:t[n][1]};var bl=function(e){return vl(this.__data__,e)>-1};var xl=function(e,t){var n=this.__data__,r=vl(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function wl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}wl.prototype.clear=pl,wl.prototype.delete=yl,wl.prototype.get=gl,wl.prototype.has=bl,wl.prototype.set=xl;var kl=wl;var Sl=function(){this.__data__=new kl,this.size=0};var Ol=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var El=function(e){return this.__data__.get(e)};var jl=function(e){return this.__data__.has(e)};var Pl=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Cl=function(e){if(!Pl(e))return!1;var t=rl(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},_l=$c["__core-js_shared__"],Tl=function(){var e=/[^.]+$/.exec(_l&&_l.keys&&_l.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var Ml=function(e){return!!Tl&&Tl in e},Al=Function.prototype.toString;var Rl=function(e){if(null!=e){try{return Al.call(e)}catch(t){}try{return e+""}catch(t){}}return""},Nl=/^\[object .+?Constructor\]$/,Dl=Function.prototype,Zl=Object.prototype,Il=Dl.toString,Ll=Zl.hasOwnProperty,Fl=RegExp("^"+Il.call(Ll).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var zl=function(e){return!(!Pl(e)||Ml(e))&&(Cl(e)?Fl:Nl).test(Rl(e))};var Bl=function(e,t){return null==e?void 0:e[t]};var Vl=function(e,t){var n=Bl(e,t);return zl(n)?n:void 0},Ul=Vl($c,"Map"),Wl=Vl(Object,"create");var Hl=function(){this.__data__=Wl?Wl(null):{},this.size=0};var ql=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$l=Object.prototype.hasOwnProperty;var Kl=function(e){var t=this.__data__;if(Wl){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return $l.call(t,e)?t[e]:void 0},Gl=Object.prototype.hasOwnProperty;var Yl=function(e){var t=this.__data__;return Wl?void 0!==t[e]:Gl.call(t,e)};var Jl=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Wl&&void 0===t?"__lodash_hash_undefined__":t,this};function Xl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xl.prototype.clear=Hl,Xl.prototype.delete=ql,Xl.prototype.get=Kl,Xl.prototype.has=Yl,Xl.prototype.set=Jl;var Ql=Xl;var ef=function(){this.size=0,this.__data__={hash:new Ql,map:new(Ul||kl),string:new Ql}};var tf=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var nf=function(e,t){var n=e.__data__;return tf(t)?n["string"==typeof t?"string":"hash"]:n.map};var rf=function(e){var t=nf(this,e).delete(e);return this.size-=t?1:0,t};var of=function(e){return nf(this,e).get(e)};var af=function(e){return nf(this,e).has(e)};var uf=function(e,t){var n=nf(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function sf(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}sf.prototype.clear=ef,sf.prototype.delete=rf,sf.prototype.get=of,sf.prototype.has=af,sf.prototype.set=uf;var cf=sf;var lf=function(e,t){var n=this.__data__;if(n instanceof kl){var r=n.__data__;if(!Ul||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new cf(r)}return n.set(e,t),this.size=n.size,this};function ff(e){var t=this.__data__=new kl(e);this.size=t.size}ff.prototype.clear=Sl,ff.prototype.delete=Ol,ff.prototype.get=El,ff.prototype.has=jl,ff.prototype.set=lf;var df=ff;var pf=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},hf=function(){try{var e=Vl(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();var vf=function(e,t,n){"__proto__"==t&&hf?hf(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},mf=Object.prototype.hasOwnProperty;var yf=function(e,t,n){var r=e[t];mf.call(e,t)&&hl(r,n)&&(void 0!==n||t in e)||vf(e,t,n)};var gf=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],s=r?r(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),o?vf(n,u,s):yf(n,u,s)}return n};var bf=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var xf=function(e){return al(e)&&"[object Arguments]"==rl(e)},wf=Object.prototype,kf=wf.hasOwnProperty,Sf=wf.propertyIsEnumerable,Of=xf(function(){return arguments}())?xf:function(e){return al(e)&&kf.call(e,"callee")&&!Sf.call(e,"callee")},Ef=Of,jf=Array.isArray;var Pf=function(){return!1},Cf="object"==typeof exports&&exports&&!exports.nodeType&&exports,_f=Cf&&"object"==typeof module&&module&&!module.nodeType&&module,Tf=_f&&_f.exports===Cf?$c.Buffer:void 0,Mf=(Tf?Tf.isBuffer:void 0)||Pf,Af=/^(?:0|[1-9]\d*)$/;var Rf=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Af.test(e))&&e>-1&&e%1==0&&e<t};var Nf=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Df={};Df["[object Float32Array]"]=Df["[object Float64Array]"]=Df["[object Int8Array]"]=Df["[object Int16Array]"]=Df["[object Int32Array]"]=Df["[object Uint8Array]"]=Df["[object Uint8ClampedArray]"]=Df["[object Uint16Array]"]=Df["[object Uint32Array]"]=!0,Df["[object Arguments]"]=Df["[object Array]"]=Df["[object ArrayBuffer]"]=Df["[object Boolean]"]=Df["[object DataView]"]=Df["[object Date]"]=Df["[object Error]"]=Df["[object Function]"]=Df["[object Map]"]=Df["[object Number]"]=Df["[object Object]"]=Df["[object RegExp]"]=Df["[object Set]"]=Df["[object String]"]=Df["[object WeakMap]"]=!1;var Zf=function(e){return al(e)&&Nf(e.length)&&!!Df[rl(e)]};var If=function(e){return function(t){return e(t)}},Lf="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ff=Lf&&"object"==typeof module&&module&&!module.nodeType&&module,zf=Ff&&Ff.exports===Lf&&Hc.process,Bf=function(){try{var e=Ff&&Ff.require&&Ff.require("util").types;return e||zf&&zf.binding&&zf.binding("util")}catch(t){}}(),Vf=Bf&&Bf.isTypedArray,Uf=Vf?If(Vf):Zf,Wf=Object.prototype.hasOwnProperty;var Hf=function(e,t){var n=jf(e),r=!n&&Ef(e),o=!n&&!r&&Mf(e),i=!n&&!r&&!o&&Uf(e),a=n||r||o||i,u=a?bf(e.length,String):[],s=u.length;for(var c in e)!t&&!Wf.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Rf(c,s))||u.push(c);return u},qf=Object.prototype;var $f=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||qf)},Kf=ol(Object.keys,Object),Gf=Object.prototype.hasOwnProperty;var Yf=function(e){if(!$f(e))return Kf(e);var t=[];for(var n in Object(e))Gf.call(e,n)&&"constructor"!=n&&t.push(n);return t};var Jf=function(e){return null!=e&&Nf(e.length)&&!Cl(e)};var Xf=function(e){return Jf(e)?Hf(e):Yf(e)};var Qf=function(e,t){return e&&gf(t,Xf(t),e)};var ed=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},td=Object.prototype.hasOwnProperty;var nd=function(e){if(!Pl(e))return ed(e);var t=$f(e),n=[];for(var r in e)("constructor"!=r||!t&&td.call(e,r))&&n.push(r);return n};var rd=function(e){return Jf(e)?Hf(e,!0):nd(e)};var od=function(e,t){return e&&gf(t,rd(t),e)},id="object"==typeof exports&&exports&&!exports.nodeType&&exports,ad=id&&"object"==typeof module&&module&&!module.nodeType&&module,ud=ad&&ad.exports===id?$c.Buffer:void 0,sd=ud?ud.allocUnsafe:void 0;var cd=function(e,t){if(t)return e.slice();var n=e.length,r=sd?sd(n):new e.constructor(n);return e.copy(r),r};var ld=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var fd=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var dd=function(){return[]},pd=Object.prototype.propertyIsEnumerable,hd=Object.getOwnPropertySymbols,vd=hd?function(e){return null==e?[]:(e=Object(e),fd(hd(e),(function(t){return pd.call(e,t)})))}:dd,md=vd;var yd=function(e,t){return gf(e,md(e),t)};var gd=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},bd=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)gd(t,md(e)),e=il(e);return t}:dd,xd=bd;var wd=function(e,t){return gf(e,xd(e),t)};var kd=function(e,t,n){var r=t(e);return jf(e)?r:gd(r,n(e))};var Sd=function(e){return kd(e,Xf,md)};var Od=function(e){return kd(e,rd,xd)},Ed=Vl($c,"DataView"),jd=Vl($c,"Promise"),Pd=Vl($c,"Set"),Cd=Vl($c,"WeakMap"),_d="[object Map]",Td="[object Promise]",Md="[object Set]",Ad="[object WeakMap]",Rd="[object DataView]",Nd=Rl(Ed),Dd=Rl(Ul),Zd=Rl(jd),Id=Rl(Pd),Ld=Rl(Cd),Fd=rl;(Ed&&Fd(new Ed(new ArrayBuffer(1)))!=Rd||Ul&&Fd(new Ul)!=_d||jd&&Fd(jd.resolve())!=Td||Pd&&Fd(new Pd)!=Md||Cd&&Fd(new Cd)!=Ad)&&(Fd=function(e){var t=rl(e),n="[object Object]"==t?e.constructor:void 0,r=n?Rl(n):"";if(r)switch(r){case Nd:return Rd;case Dd:return _d;case Zd:return Td;case Id:return Md;case Ld:return Ad}return t});var zd=Fd,Bd=Object.prototype.hasOwnProperty;var Vd=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Bd.call(e,"index")&&(n.index=e.index,n.input=e.input),n},Ud=$c.Uint8Array;var Wd=function(e){var t=new e.constructor(e.byteLength);return new Ud(t).set(new Ud(e)),t};var Hd=function(e,t){var n=t?Wd(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},qd=/\w*$/;var $d=function(e){var t=new e.constructor(e.source,qd.exec(e));return t.lastIndex=e.lastIndex,t},Kd=Kc?Kc.prototype:void 0,Gd=Kd?Kd.valueOf:void 0;var Yd=function(e){return Gd?Object(Gd.call(e)):{}};var Jd=function(e,t){var n=t?Wd(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Xd=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Wd(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return Hd(e,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 Jd(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return $d(e);case"[object Symbol]":return Yd(e)}},Qd=Object.create,ep=function(){function e(){}return function(t){if(!Pl(t))return{};if(Qd)return Qd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),tp=ep;var np=function(e){return"function"!=typeof e.constructor||$f(e)?{}:tp(il(e))};var rp=function(e){return al(e)&&"[object Map]"==zd(e)},op=Bf&&Bf.isMap,ip=op?If(op):rp;var ap=function(e){return al(e)&&"[object Set]"==zd(e)},up=Bf&&Bf.isSet,sp=up?If(up):ap,cp="[object Arguments]",lp="[object Function]",fp="[object Object]",dp={};dp[cp]=dp["[object Array]"]=dp["[object ArrayBuffer]"]=dp["[object DataView]"]=dp["[object Boolean]"]=dp["[object Date]"]=dp["[object Float32Array]"]=dp["[object Float64Array]"]=dp["[object Int8Array]"]=dp["[object Int16Array]"]=dp["[object Int32Array]"]=dp["[object Map]"]=dp["[object Number]"]=dp["[object Object]"]=dp["[object RegExp]"]=dp["[object Set]"]=dp["[object String]"]=dp["[object Symbol]"]=dp["[object Uint8Array]"]=dp["[object Uint8ClampedArray]"]=dp["[object Uint16Array]"]=dp["[object Uint32Array]"]=!0,dp["[object Error]"]=dp[lp]=dp["[object WeakMap]"]=!1;var pp=function e(t,n,r,o,i,a){var u,s=1&n,c=2&n,l=4&n;if(r&&(u=i?r(t,o,i,a):r(t)),void 0!==u)return u;if(!Pl(t))return t;var f=jf(t);if(f){if(u=Vd(t),!s)return ld(t,u)}else{var d=zd(t),p=d==lp||"[object GeneratorFunction]"==d;if(Mf(t))return cd(t,s);if(d==fp||d==cp||p&&!i){if(u=c||p?{}:np(t),!s)return c?wd(t,od(u,t)):yd(t,Qf(u,t))}else{if(!dp[d])return i?t:{};u=Xd(t,d,s)}}a||(a=new df);var h=a.get(t);if(h)return h;a.set(t,u),sp(t)?t.forEach((function(o){u.add(e(o,n,r,o,t,a))})):ip(t)&&t.forEach((function(o,i){u.set(i,e(o,n,r,i,t,a))}));var v=f?void 0:(l?c?Od:Sd:c?rd:Xf)(t);return pf(v||t,(function(o,i){v&&(o=t[i=o]),yf(u,i,e(o,n,r,i,t,a))})),u};var hp=function(e){return pp(e,4)};var vp=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var mp=function(e){return"symbol"==typeof e||al(e)&&"[object Symbol]"==rl(e)};function yp(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(yp.Cache||cf),n}yp.Cache=cf;var gp=yp;var bp=function(e){var t=gp(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},xp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wp=/\\(\\)?/g,kp=bp((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(xp,(function(e,n,r,o){t.push(r?o.replace(wp,"$1"):n||e)})),t})),Sp=kp;var Op=function(e){if("string"==typeof e||mp(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},Ep=Kc?Kc.prototype:void 0,jp=Ep?Ep.toString:void 0;var Pp=function e(t){if("string"==typeof t)return t;if(jf(t))return vp(t,e)+"";if(mp(t))return jp?jp.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var Cp=function(e){return null==e?"":Pp(e)};var _p=function(e){return jf(e)?vp(e,Op):mp(e)?[e]:ld(Sp(Cp(e)))};var Tp=function(e,t){};var Mp=function(e){return pp(e,5)};function Ap(){return Ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ap.apply(this,arguments)}function Rp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Np(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Dp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Zp=function(e){return Array.isArray(e)&&0===e.length},Ip=function(e){return"function"===typeof e},Lp=function(e){return null!==e&&"object"===typeof e},Fp=function(e){return String(Math.floor(Number(e)))===e},zp=function(e){return"[object String]"===Object.prototype.toString.call(e)},Bp=function(e){return 0===t.Children.count(e)},Vp=function(e){return Lp(e)&&Ip(e.then)};function Up(e,t,n,r){void 0===r&&(r=0);for(var o=_p(t);e&&r<o.length;)e=e[o[r++]];return void 0===e?n:e}function Wp(e,t,n){for(var r=hp(e),o=r,i=0,a=_p(t);i<a.length-1;i++){var u=a[i],s=Up(e,a.slice(0,i+1));if(s&&(Lp(s)||Array.isArray(s)))o=o[u]=hp(s);else{var c=a[i+1];o=o[u]=Fp(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function Hp(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],u=e[a];Lp(u)?n.get(u)||(n.set(u,!0),r[a]=Array.isArray(u)?[]:{},Hp(u,t,n,r[a])):r[a]=t}return r}var qp=(0,t.createContext)(void 0);qp.displayName="FormikContext";var $p=qp.Provider;qp.Consumer;function Kp(){var e=(0,t.useContext)(qp);return e||Tp(!1),e}function Gp(e,t){switch(t.type){case"SET_VALUES":return Ap({},e,{values:t.payload});case"SET_TOUCHED":return Ap({},e,{touched:t.payload});case"SET_ERRORS":return Lc()(e.errors,t.payload)?e:Ap({},e,{errors:t.payload});case"SET_STATUS":return Ap({},e,{status:t.payload});case"SET_ISSUBMITTING":return Ap({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Ap({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Ap({},e,{values:Wp(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Ap({},e,{touched:Wp(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Ap({},e,{errors:Wp(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Ap({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Ap({},e,{touched:Hp(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Ap({},e,{isSubmitting:!1});default:return e}}var Yp={},Jp={};function Xp(e){var n=e.validateOnChange,r=void 0===n||n,o=e.validateOnBlur,i=void 0===o||o,a=e.validateOnMount,u=void 0!==a&&a,s=e.isInitialValid,c=e.enableReinitialize,l=void 0!==c&&c,f=e.onSubmit,d=Np(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Ap({validateOnChange:r,validateOnBlur:i,validateOnMount:u,onSubmit:f},d),h=(0,t.useRef)(p.initialValues),v=(0,t.useRef)(p.initialErrors||Yp),m=(0,t.useRef)(p.initialTouched||Jp),y=(0,t.useRef)(p.initialStatus),g=(0,t.useRef)(!1),b=(0,t.useRef)({});(0,t.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var x=(0,t.useReducer)(Gp,{values:p.initialValues,errors:p.initialErrors||Yp,touched:p.initialTouched||Jp,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),w=x[0],k=x[1],S=(0,t.useCallback)((function(e,t){return new Promise((function(n,r){var o=p.validate(e,t);null==o?n(Yp):Vp(o)?o.then((function(e){n(e||Yp)}),(function(e){r(e)})):n(o)}))}),[p.validate]),O=(0,t.useCallback)((function(e,t){var n=p.validationSchema,r=Ip(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var o=eh(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){o.then((function(){e(Yp)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Wp(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;Up(t,a.path)||(t=Wp(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[p.validationSchema]),E=(0,t.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),j=(0,t.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return Ip(b.current[e].validate)})),n=t.length>0?t.map((function(t){return E(t,Up(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Wp(e,t[r],n)),e}),{})}))}),[E]),P=(0,t.useCallback)((function(e){return Promise.all([j(e),p.validationSchema?O(e):{},p.validate?S(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return Wc.all([t,n,r],{arrayMerge:th})}))}),[p.validate,p.validationSchema,j,S,O]),C=rh((function(e){return void 0===e&&(e=w.values),k({type:"SET_ISVALIDATING",payload:!0}),P(e).then((function(e){return g.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:e})),e}))}));(0,t.useEffect)((function(){u&&!0===g.current&&Lc()(h.current,p.initialValues)&&C(h.current)}),[u,C]);var _=(0,t.useCallback)((function(e){var t=e&&e.values?e.values:h.current,n=e&&e.errors?e.errors:v.current?v.current:p.initialErrors||{},r=e&&e.touched?e.touched:m.current?m.current:p.initialTouched||{},o=e&&e.status?e.status:y.current?y.current:p.initialStatus;h.current=t,v.current=n,m.current=r,y.current=o;var i=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(p.onReset){var a=p.onReset(w.values,K);Vp(a)?a.then(i):i()}else i()}),[p.initialErrors,p.initialStatus,p.initialTouched]);(0,t.useEffect)((function(){!0!==g.current||Lc()(h.current,p.initialValues)||(l&&(h.current=p.initialValues,_()),u&&C(h.current))}),[l,p.initialValues,_,u,C]),(0,t.useEffect)((function(){l&&!0===g.current&&!Lc()(v.current,p.initialErrors)&&(v.current=p.initialErrors||Yp,k({type:"SET_ERRORS",payload:p.initialErrors||Yp}))}),[l,p.initialErrors]),(0,t.useEffect)((function(){l&&!0===g.current&&!Lc()(m.current,p.initialTouched)&&(m.current=p.initialTouched||Jp,k({type:"SET_TOUCHED",payload:p.initialTouched||Jp}))}),[l,p.initialTouched]),(0,t.useEffect)((function(){l&&!0===g.current&&!Lc()(y.current,p.initialStatus)&&(y.current=p.initialStatus,k({type:"SET_STATUS",payload:p.initialStatus}))}),[l,p.initialStatus,p.initialTouched]);var T=rh((function(e){if(b.current[e]&&Ip(b.current[e].validate)){var t=Up(w.values,e),n=b.current[e].validate(t);return Vp(n)?(k({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return p.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),O(w.values,e).then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),M=(0,t.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),A=(0,t.useCallback)((function(e){delete b.current[e]}),[]),R=rh((function(e,t){return k({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?C(w.values):Promise.resolve()})),N=(0,t.useCallback)((function(e){k({type:"SET_ERRORS",payload:e})}),[]),D=rh((function(e,t){var n=Ip(e)?e(w.values):e;return k({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?C(n):Promise.resolve()})),Z=(0,t.useCallback)((function(e,t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),I=rh((function(e,t,n){return k({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?C(Wp(w.values,e,t)):Promise.resolve()})),L=(0,t.useCallback)((function(e,t){var n,r=t,o=e;if(!zp(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,u=i.name,s=i.id,c=i.value,l=i.checked,f=(i.outerHTML,i.options),d=i.multiple;r=t||(u||s),o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!o)return r.concat(n);if(!o)return r;return r.slice(0,i).concat(r.slice(i+1))}(Up(w.values,r),l,c):f&&d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):c}r&&I(r,o)}),[I,w.values]),F=rh((function(e){if(zp(e))return function(t){return L(t,e)};L(e)})),z=rh((function(e,t,n){return void 0===t&&(t=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?C(w.values):Promise.resolve()})),B=(0,t.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||(r||o));z(i,!0)}),[z]),V=rh((function(e){if(zp(e))return function(t){return B(t,e)};B(e)})),U=(0,t.useCallback)((function(e){Ip(e)?k({type:"SET_FORMIK_STATE",payload:e}):k({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=(0,t.useCallback)((function(e){k({type:"SET_STATUS",payload:e})}),[]),H=(0,t.useCallback)((function(e){k({type:"SET_ISSUBMITTING",payload:e})}),[]),q=rh((function(){return k({type:"SUBMIT_ATTEMPT"}),C().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=G()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return g.current&&k({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(g.current)throw k({type:"SUBMIT_FAILURE"}),e}))}if(g.current&&(k({type:"SUBMIT_FAILURE"}),t))throw e}))})),$=rh((function(e){e&&e.preventDefault&&Ip(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ip(e.stopPropagation)&&e.stopPropagation(),q().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:_,validateForm:C,validateField:T,setErrors:N,setFieldError:Z,setFieldTouched:z,setFieldValue:I,setStatus:W,setSubmitting:H,setTouched:R,setValues:D,setFormikState:U,submitForm:q},G=rh((function(){return f(w.values,K)})),Y=rh((function(e){e&&e.preventDefault&&Ip(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ip(e.stopPropagation)&&e.stopPropagation(),_()})),J=(0,t.useCallback)((function(e){return{value:Up(w.values,e),error:Up(w.errors,e),touched:!!Up(w.touched,e),initialValue:Up(h.current,e),initialTouched:!!Up(m.current,e),initialError:Up(v.current,e)}}),[w.errors,w.touched,w.values]),X=(0,t.useCallback)((function(e){return{setValue:function(t,n){return I(e,t,n)},setTouched:function(t,n){return z(e,t,n)},setError:function(t){return Z(e,t)}}}),[I,z,Z]),Q=(0,t.useCallback)((function(e){var t=Lp(e),n=t?e.name:e,r=Up(w.values,n),o={name:n,value:r,onChange:F,onBlur:V};if(t){var i=e.type,a=e.value,u=e.as,s=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===u&&s&&(o.value=o.value||[],o.multiple=!0)}return o}),[V,F,w.values]),ee=(0,t.useMemo)((function(){return!Lc()(h.current,w.values)}),[h.current,w.values]),te=(0,t.useMemo)((function(){return"undefined"!==typeof s?ee?w.errors&&0===Object.keys(w.errors).length:!1!==s&&Ip(s)?s(p):s:w.errors&&0===Object.keys(w.errors).length}),[s,ee,w.errors,p]);return Ap({},w,{initialValues:h.current,initialErrors:v.current,initialTouched:m.current,initialStatus:y.current,handleBlur:V,handleChange:F,handleReset:Y,handleSubmit:$,resetForm:_,setErrors:N,setFormikState:U,setFieldTouched:z,setFieldValue:I,setFieldError:Z,setStatus:W,setSubmitting:H,setTouched:R,setValues:D,submitForm:q,validateForm:C,validateField:T,isValid:te,dirty:ee,unregisterField:A,registerField:M,getFieldProps:Q,getFieldMeta:J,getFieldHelpers:X,validateOnBlur:i,validateOnChange:r,validateOnMount:u})}function Qp(e){var n=Xp(e),r=e.component,o=e.children,i=e.render,a=e.innerRef;return(0,t.useImperativeHandle)(a,(function(){return n})),(0,t.createElement)($p,{value:n},r?(0,t.createElement)(r,n):i?i(n):o?Ip(o)?o(n):Bp(o)?null:t.Children.only(o):null)}function eh(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||dl(e)?eh(e):""!==e?e:void 0})):dl(e[r])?t[r]=eh(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function th(e,t,n){var r=e.slice();return t.forEach((function(t,o){if("undefined"===typeof r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?Wc(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=Wc(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var nh="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?t.useLayoutEffect:t.useEffect;function rh(e){var n=(0,t.useRef)(e);return nh((function(){n.current=e})),(0,t.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.current.apply(void 0,t)}),[])}var oh=(0,t.forwardRef)((function(e,n){var r=e.action,o=Np(e,["action"]),i=null!=r?r:"#",a=Kp(),u=a.handleReset,s=a.handleSubmit;return(0,t.createElement)("form",Object.assign({onSubmit:s,ref:n,onReset:u,action:i},o))}));oh.displayName="Form";var ih=function(e,t,n){var r=ah(e);return r.splice(t,0,n),r},ah=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(Ap({},e,{length:t+1}))}return[]},uh=function(e){function n(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o="function"===typeof r?r:e,a="function"===typeof t?t:e,u=Wp(n.values,i,e(Up(n.values,i))),s=r?o(Up(n.errors,i)):void 0,c=t?a(Up(n.touched,i)):void 0;return Zp(s)&&(s=void 0),Zp(c)&&(c=void 0),Ap({},n,{values:u,errors:r?Wp(n.errors,i,s):n.errors,touched:t?Wp(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(ah(t),[Mp(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=ah(e),o=r[t];return r[t]=r[n],r[n]=o,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=ah(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return ih(n,e,t)}),(function(t){return ih(t,e,null)}),(function(t){return ih(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=ah(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Dp(n)),n.pop=n.pop.bind(Dp(n)),n}Rp(n,e);var r=n.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Lc()(Up(e.formik.values,e.name),Up(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?ah(n):[];return t||(t=r[e]),Ip(r.splice)&&r.splice(e,1),r}),!0,!0),t},r.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},r.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},n=this.props,r=n.component,o=n.render,i=n.children,a=n.name,u=Ap({},e,{form:Np(n.formik,["validate","validationSchema"]),name:a});return r?(0,t.createElement)(r,u):o?o(u):i?"function"===typeof i?i(u):Bp(i)?null:t.Children.only(i):null},n}(t.Component);uh.defaultProps={validateOnChange:!0};t.Component,t.Component;var sh=n(3362),ch=n(7219),lh=n(4312),fh=["onChange","maxRows","minRows","style","value"];function dh(e,t){return parseInt(e[t],10)||0}var ph={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},hh=t.forwardRef((function(e,n){var r=e.onChange,o=e.maxRows,i=e.minRows,a=void 0===i?1:i,u=e.style,s=e.value,c=(0,On.Z)(e,fh),l=t.useRef(null!=s).current,f=t.useRef(null),d=(0,ji.Z)(n,f),p=t.useRef(null),h=t.useRef(0),v=t.useState({}),m=(0,bt.Z)(v,2),y=m[0],g=m[1],b=t.useCallback((function(){var t=f.current,n=(0,Ri.Z)(t).getComputedStyle(t);if("0px"!==n.width){var r=p.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],u=dh(n,"padding-bottom")+dh(n,"padding-top"),s=dh(n,"border-bottom-width")+dh(n,"border-top-width"),c=r.scrollHeight;r.value="x";var l=r.scrollHeight,d=c;a&&(d=Math.max(Number(a)*l,d)),o&&(d=Math.min(Number(o)*l,d));var v=(d=Math.max(d,l))+("border-box"===i?u+s:0),m=Math.abs(d-c)<=1;g((function(e){return h.current<20&&(v>0&&Math.abs((e.outerHeightStyle||0)-v)>1||e.overflow!==m)?(h.current+=1,{overflow:m,outerHeightStyle:v}):e}))}}),[o,a,e.placeholder]);t.useEffect((function(){var e,t=(0,lh.Z)((function(){h.current=0,b()})),n=(0,Ri.Z)(f.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(f.current),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[b]),(0,Ti.Z)((function(){b()})),t.useEffect((function(){h.current=0}),[s]);return(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)("textarea",(0,xt.Z)({value:s,onChange:function(e){h.current=0,l||b(),r&&r(e)},ref:d,rows:a,style:(0,xt.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":null},u)},c)),(0,Nn.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:(0,xt.Z)({},ph,u,{padding:0})})]})})),vh=hh;function mh(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var yh=t.createContext();function gh(){return t.useContext(yh)}function bh(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,o="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Nn.jsx)(no,{styles:o})}var xh=function(e){return(0,Nn.jsx)(bh,(0,xt.Z)({},e,{defaultTheme:mi.Z}))};function wh(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function kh(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(wh(e.value)&&""!==e.value||t&&wh(e.defaultValue)&&""!==e.defaultValue)}function Sh(e){return(0,Mn.Z)("MuiInputBase",e)}var Oh=(0,An.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Eh=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],jh=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,pr.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ph=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Ch=(0,Tn.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:jh})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({},t.typography.body1,(0,p.Z)({color:t.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(Oh.disabled),{color:t.palette.text.disabled,cursor:"default"}),n.multiline&&(0,xt.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),_h=(0,Tn.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ph})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode,i={color:"currentColor",opacity:o?.42:.5,transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})},a={opacity:"0 !important"},u={opacity:o?.42:.5};return(0,xt.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,p.Z)(t,"label[data-shrink=false] + .".concat(Oh.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus:-ms-input-placeholder":u,"&:focus::-ms-input-placeholder":u}),(0,p.Z)(t,"&.".concat(Oh.disabled),{opacity:1,WebkitTextFillColor:n.palette.text.disabled}),(0,p.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Th=(0,Nn.jsx)(xh,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Mh=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiInputBase"}),o=r["aria-describedby"],i=r.autoComplete,a=r.autoFocus,u=r.className,s=r.components,c=void 0===s?{}:s,l=r.componentsProps,f=void 0===l?{}:l,d=r.defaultValue,p=r.disabled,h=r.disableInjectingGlobalStyles,v=r.endAdornment,m=r.fullWidth,y=void 0!==m&&m,g=r.id,b=r.inputComponent,x=void 0===b?"input":b,w=r.inputProps,k=void 0===w?{}:w,S=r.inputRef,O=r.maxRows,E=r.minRows,j=r.multiline,P=void 0!==j&&j,C=r.name,_=r.onBlur,T=r.onChange,M=r.onClick,A=r.onFocus,R=r.onKeyDown,N=r.onKeyUp,D=r.placeholder,Z=r.readOnly,I=r.renderSuffix,L=r.rows,F=r.startAdornment,z=r.type,B=void 0===z?"text":z,V=r.value,U=(0,On.Z)(r,Eh),W=null!=k.value?k.value:V,H=t.useRef(null!=W).current,q=t.useRef(),$=t.useCallback((function(e){0}),[]),K=(0,zr.Z)(k.ref,$),G=(0,zr.Z)(S,K),Y=(0,zr.Z)(q,G),J=t.useState(!1),X=(0,bt.Z)(J,2),Q=X[0],ee=X[1],te=gh();var ne=mh({props:r,muiFormControl:te,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ne.focused=te?te.focused:Q,t.useEffect((function(){!te&&p&&Q&&(ee(!1),_&&_())}),[te,p,Q,_]);var re=te&&te.onFilled,oe=te&&te.onEmpty,ie=t.useCallback((function(e){kh(e)?re&&re():oe&&oe()}),[re,oe]);(0,Yo.Z)((function(){H&&ie({value:W})}),[W,ie,H]);t.useEffect((function(){ie(q.current)}),[]);var ae=x,ue=k;P&&"input"===ae&&(ue=L?(0,xt.Z)({type:void 0,minRows:L,maxRows:L},ue):(0,xt.Z)({type:void 0,maxRows:O,minRows:E},ue),ae=vh);t.useEffect((function(){te&&te.setAdornedStart(Boolean(F))}),[te,F]);var se=(0,xt.Z)({},r,{color:ne.color||"primary",disabled:ne.disabled,endAdornment:v,error:ne.error,focused:ne.focused,formControl:te,fullWidth:y,hiddenLabel:ne.hiddenLabel,multiline:P,size:ne.size,startAdornment:F,type:B}),ce=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,u=e.formControl,s=e.fullWidth,c=e.hiddenLabel,l=e.multiline,f=e.size,d=e.startAdornment,p=e.type,h={root:["root","color".concat((0,pr.Z)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",u&&"formControl","small"===f&&"sizeSmall",l&&"multiline",d&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",l&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",d&&"inputAdornedStart",i&&"inputAdornedEnd"]};return(0,Cn.Z)(h,Sh,t)}(se),le=c.Root||Ch,fe=f.root||{},de=c.Input||_h;return ue=(0,xt.Z)({},ue,f.input),(0,Nn.jsxs)(t.Fragment,{children:[!h&&Th,(0,Nn.jsxs)(le,(0,xt.Z)({},fe,!Ei(le)&&{ownerState:(0,xt.Z)({},se,fe.ownerState)},{ref:n,onClick:function(e){q.current&&e.currentTarget===e.target&&q.current.focus(),M&&M(e)}},U,{className:(0,Pn.Z)(ce.root,fe.className,u),children:[F,(0,Nn.jsx)(yh.Provider,{value:null,children:(0,Nn.jsx)(de,(0,xt.Z)({ownerState:se,"aria-invalid":ne.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:ne.disabled,id:g,onAnimationStart:function(e){ie("mui-auto-fill-cancel"===e.animationName?q.current:{value:"x"})},name:C,placeholder:D,readOnly:Z,required:ne.required,rows:L,value:W,onKeyDown:R,onKeyUp:N,type:B},ue,!Ei(de)&&{as:ae,ownerState:(0,xt.Z)({},se,ue.ownerState)},{ref:Y,className:(0,Pn.Z)(ce.input,ue.className),onBlur:function(e){_&&_(e),k.onBlur&&k.onBlur(e),te&&te.onBlur?te.onBlur(e):ee(!1)},onChange:function(e){if(!H){var t=e.target||q.current;if(null==t)throw new Error((0,ch.Z)(1));ie({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];k.onChange&&k.onChange.apply(k,[e].concat(r)),T&&T.apply(void 0,[e].concat(r))},onFocus:function(e){ne.disabled?e.stopPropagation():(A&&A(e),k.onFocus&&k.onFocus(e),te&&te.onFocus?te.onFocus(e):ee(!0))}}))}),v,I?I((0,xt.Z)({},ne,{startAdornment:F})):null]}))]})})),Ah=Mh;function Rh(e){return(0,Mn.Z)("MuiInput",e)}var Nh=(0,An.Z)("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]),Dh=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],Zh=(0,Tn.ZP)(Ch,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,_r.Z)(jh(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return(0,xt.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat(n.palette[r.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,p.Z)(t,"&.".concat(Nh.focused,":after"),{transform:"scaleX(1)"}),(0,p.Z)(t,"&.".concat(Nh.error,":after"),{borderBottomColor:n.palette.error.main,transform:"scaleX(1)"}),(0,p.Z)(t,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,p.Z)(t,"&:hover:not(.".concat(Nh.disabled,"):before"),{borderBottom:"2px solid ".concat(n.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),(0,p.Z)(t,"&.".concat(Nh.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),Ih=(0,Tn.ZP)(_h,{name:"MuiInput",slot:"Input",overridesResolver:Ph})({}),Lh=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiInput"}),r=n.disableUnderline,o=n.components,i=void 0===o?{}:o,a=n.componentsProps,u=n.fullWidth,s=void 0!==u&&u,c=n.inputComponent,l=void 0===c?"input":c,f=n.multiline,d=void 0!==f&&f,p=n.type,h=void 0===p?"text":p,v=(0,On.Z)(n,Dh),m=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Cn.Z)(n,Rh,t);return(0,xt.Z)({},t,r)}(n),y={root:{ownerState:{disableUnderline:r}}},g=a?(0,Tr.Z)(a,y):y;return(0,Nn.jsx)(Ah,(0,xt.Z)({components:(0,xt.Z)({Root:Zh,Input:Ih},i),componentsProps:g,fullWidth:s,inputComponent:l,multiline:d,ref:t,type:h},v,{classes:m}))}));Lh.muiName="Input";var Fh=Lh;function zh(e){return(0,Mn.Z)("MuiFilledInput",e)}var Bh=(0,An.Z)("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]),Vh=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],Uh=(0,Tn.ZP)(Ch,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,_r.Z)(jh(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,r=e.theme,o=e.ownerState,i="light"===r.palette.mode,a=i?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",u=i?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return(0,xt.Z)((t={position:"relative",backgroundColor:u,borderTopLeftRadius:r.shape.borderRadius,borderTopRightRadius:r.shape.borderRadius,transition:r.transitions.create("background-color",{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut}),"&:hover":{backgroundColor:i?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:u}}},(0,p.Z)(t,"&.".concat(Bh.focused),{backgroundColor:u}),(0,p.Z)(t,"&.".concat(Bh.disabled),{backgroundColor:i?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}),t),!o.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(r.palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:r.transitions.create("transform",{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut}),pointerEvents:"none"}},(0,p.Z)(n,"&.".concat(Bh.focused,":after"),{transform:"scaleX(1)"}),(0,p.Z)(n,"&.".concat(Bh.error,":after"),{borderBottomColor:r.palette.error.main,transform:"scaleX(1)"}),(0,p.Z)(n,"&:before",{borderBottom:"1px solid ".concat(a),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:r.transitions.create("border-bottom-color",{duration:r.transitions.duration.shorter}),pointerEvents:"none"}),(0,p.Z)(n,"&:hover:not(.".concat(Bh.disabled,"):before"),{borderBottom:"1px solid ".concat(r.palette.text.primary)}),(0,p.Z)(n,"&.".concat(Bh.disabled,":before"),{borderBottomStyle:"dotted"}),n),o.startAdornment&&{paddingLeft:12},o.endAdornment&&{paddingRight:12},o.multiline&&(0,xt.Z)({padding:"25px 12px 8px"},"small"===o.size&&{paddingTop:21,paddingBottom:4},o.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),Wh=(0,Tn.ZP)(_h,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ph})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),Hh=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiFilledInput"}),r=n.components,o=void 0===r?{}:r,i=n.componentsProps,a=n.fullWidth,u=void 0!==a&&a,s=n.inputComponent,c=void 0===s?"input":s,l=n.multiline,f=void 0!==l&&l,d=n.type,p=void 0===d?"text":d,h=(0,On.Z)(n,Vh),v=(0,xt.Z)({},n,{fullWidth:u,inputComponent:c,multiline:f,type:p}),m=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,Cn.Z)(n,zh,t);return(0,xt.Z)({},t,r)}(n),y={root:{ownerState:v},input:{ownerState:v}},g=i?(0,Tr.Z)(i,y):y;return(0,Nn.jsx)(Ah,(0,xt.Z)({components:(0,xt.Z)({Root:Uh,Input:Wh},o),componentsProps:g,fullWidth:u,inputComponent:c,multiline:f,ref:t,type:p},h,{classes:m}))}));Hh.muiName="Input";var qh=Hh,$h=["children","classes","className","label","notched"],Kh=(0,Tn.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Gh=(0,Tn.ZP)("legend",{skipSx:!0})((function(e){var t=e.ownerState,n=e.theme;return(0,xt.Z)({float:"unset"},void 0===t.label&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},void 0!==t.label&&(0,xt.Z)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function Yh(e){return(0,Mn.Z)("MuiOutlinedInput",e)}var Jh=(0,An.Z)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]),Xh=["components","fullWidth","inputComponent","label","multiline","notched","type"],Qh=(0,Tn.ZP)(Ch,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:jh})((function(e){var t,n=e.theme,r=e.ownerState,o="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,xt.Z)((t={position:"relative",borderRadius:n.shape.borderRadius},(0,p.Z)(t,"&:hover .".concat(Jh.notchedOutline),{borderColor:n.palette.text.primary}),(0,p.Z)(t,"@media (hover: none)",(0,p.Z)({},"&:hover .".concat(Jh.notchedOutline),{borderColor:o})),(0,p.Z)(t,"&.".concat(Jh.focused," .").concat(Jh.notchedOutline),{borderColor:n.palette[r.color].main,borderWidth:2}),(0,p.Z)(t,"&.".concat(Jh.error," .").concat(Jh.notchedOutline),{borderColor:n.palette.error.main}),(0,p.Z)(t,"&.".concat(Jh.disabled," .").concat(Jh.notchedOutline),{borderColor:n.palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,xt.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),ev=(0,Tn.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,o=(0,On.Z)(e,$h),i=(0,xt.Z)({},e,{notched:r,label:n});return(0,Nn.jsx)(Kh,(0,xt.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,Nn.jsx)(Gh,{ownerState:i,children:n?(0,Nn.jsx)("span",{children:n}):(0,Nn.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}})})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){return{borderColor:"light"===e.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),tv=(0,Tn.ZP)(_h,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ph})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),nv=t.forwardRef((function(e,n){var r,o=(0,_n.Z)({props:e,name:"MuiOutlinedInput"}),i=o.components,a=void 0===i?{}:i,u=o.fullWidth,s=void 0!==u&&u,c=o.inputComponent,l=void 0===c?"input":c,f=o.label,d=o.multiline,p=void 0!==d&&d,h=o.notched,v=o.type,m=void 0===v?"text":v,y=(0,On.Z)(o,Xh),g=function(e){var t=e.classes,n=(0,Cn.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Yh,t);return(0,xt.Z)({},t,n)}(o),b=mh({props:o,muiFormControl:gh(),states:["required"]});return(0,Nn.jsx)(Ah,(0,xt.Z)({components:(0,xt.Z)({Root:Qh,Input:tv},a),renderSuffix:function(e){return(0,Nn.jsx)(ev,{className:g.notchedOutline,label:f&&b.required?r||(r=(0,Nn.jsxs)(t.Fragment,{children:[f,"\xa0","*"]})):f,notched:"undefined"!==typeof h?h:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:s,inputComponent:l,multiline:p,ref:n,type:m},y,{classes:(0,xt.Z)({},g,{notchedOutline:null})}))}));nv.muiName="Input";var rv=nv;function ov(e){return(0,Mn.Z)("MuiFormLabel",e)}var iv=(0,An.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),av=["children","className","color","component","disabled","error","filled","focused","required"],uv=(0,Tn.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,xt.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({color:n.palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,p.Z)(t,"&.".concat(iv.focused),{color:n.palette[r.color].main}),(0,p.Z)(t,"&.".concat(iv.disabled),{color:n.palette.text.disabled}),(0,p.Z)(t,"&.".concat(iv.error),{color:n.palette.error.main}),t))})),sv=(0,Tn.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,p.Z)({},"&.".concat(iv.error),{color:t.palette.error.main})})),cv=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiFormLabel"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"label":i,u=(0,On.Z)(n,av),s=mh({props:n,muiFormControl:gh(),states:["color","required","focused","disabled","error","filled"]}),c=(0,xt.Z)({},n,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),l=function(e){var t=e.classes,n=e.color,r=e.focused,o=e.disabled,i=e.error,a=e.filled,u=e.required,s={root:["root","color".concat((0,pr.Z)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",i&&"error"]};return(0,Cn.Z)(s,ov,t)}(c);return(0,Nn.jsxs)(uv,(0,xt.Z)({as:a,ownerState:c,className:(0,Pn.Z)(l.root,o),ref:t},u,{children:[r,s.required&&(0,Nn.jsxs)(sv,{ownerState:c,"aria-hidden":!0,className:l.asterisk,children:["\u2009","*"]})]}))})),lv=cv;function fv(e){return(0,Mn.Z)("MuiInputLabel",e)}(0,An.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var dv=["disableAnimation","margin","shrink","variant"],pv=(0,Tn.ZP)(lv,{shouldForwardProp:function(e){return(0,Tn.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,p.Z)({},"& .".concat(iv.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,xt.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,xt.Z)({transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,xt.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),hv=t.forwardRef((function(e,t){var n=(0,_n.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,o=void 0!==r&&r,i=n.shrink,a=(0,On.Z)(n,dv),u=gh(),s=i;"undefined"===typeof s&&u&&(s=u.filled||u.focused||u.adornedStart);var c=mh({props:n,muiFormControl:u,states:["size","variant","required"]}),l=(0,xt.Z)({},n,{disableAnimation:o,formControl:u,shrink:s,size:c.size,variant:c.variant,required:c.required}),f=function(e){var t=e.classes,n=e.formControl,r=e.size,o=e.shrink,i={root:["root",n&&"formControl",!e.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,Cn.Z)(i,fv,t);return(0,xt.Z)({},t,a)}(l);return(0,Nn.jsx)(pv,(0,xt.Z)({"data-shrink":s,ownerState:l,ref:t},a,{classes:f}))})),vv=hv,mv=n(7816);function yv(e){return(0,Mn.Z)("MuiFormControl",e)}(0,An.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var gv=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],bv=(0,Tn.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,xt.Z)({},t.root,t["margin".concat((0,pr.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),xv=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiFormControl"}),o=r.children,i=r.className,a=r.color,u=void 0===a?"primary":a,s=r.component,c=void 0===s?"div":s,l=r.disabled,f=void 0!==l&&l,d=r.error,p=void 0!==d&&d,h=r.focused,v=r.fullWidth,m=void 0!==v&&v,y=r.hiddenLabel,g=void 0!==y&&y,b=r.margin,x=void 0===b?"none":b,w=r.required,k=void 0!==w&&w,S=r.size,O=void 0===S?"medium":S,E=r.variant,j=void 0===E?"outlined":E,P=(0,On.Z)(r,gv),C=(0,xt.Z)({},r,{color:u,component:c,disabled:f,error:p,fullWidth:m,hiddenLabel:g,margin:x,required:k,size:O,variant:j}),_=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,o={root:["root","none"!==n&&"margin".concat((0,pr.Z)(n)),r&&"fullWidth"]};return(0,Cn.Z)(o,yv,t)}(C),T=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){if((0,mv.Z)(t,["Input","Select"])){var n=(0,mv.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),M=(0,bt.Z)(T,2),A=M[0],R=M[1],N=t.useState((function(){var e=!1;return o&&t.Children.forEach(o,(function(t){(0,mv.Z)(t,["Input","Select"])&&kh(t.props,!0)&&(e=!0)})),e})),D=(0,bt.Z)(N,2),Z=D[0],I=D[1],L=t.useState(!1),F=(0,bt.Z)(L,2),z=F[0],B=F[1];f&&z&&B(!1);var V=void 0===h||f?z:h,U=t.useCallback((function(){I(!0)}),[]),W={adornedStart:A,setAdornedStart:R,color:u,disabled:f,error:p,filled:Z,focused:V,fullWidth:m,hiddenLabel:g,size:O,onBlur:function(){B(!1)},onEmpty:t.useCallback((function(){I(!1)}),[]),onFilled:U,onFocus:function(){B(!0)},registerEffect:undefined,required:k,variant:j};return(0,Nn.jsx)(yh.Provider,{value:W,children:(0,Nn.jsx)(bv,(0,xt.Z)({as:c,ownerState:C,className:(0,Pn.Z)(_.root,i),ref:n},P,{children:o}))})})),wv=xv;function kv(e){return(0,Mn.Z)("MuiFormHelperText",e)}var Sv=(0,An.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ov=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ev=(0,Tn.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,pr.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({color:n.palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,p.Z)(t,"&.".concat(Sv.disabled),{color:n.palette.text.disabled}),(0,p.Z)(t,"&.".concat(Sv.error),{color:n.palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),jv=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,o=n.className,i=n.component,a=void 0===i?"p":i,u=(0,On.Z)(n,Ov),s=mh({props:n,muiFormControl:gh(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,xt.Z)({},n,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),l=function(e){var t=e.classes,n=e.contained,r=e.size,o=e.disabled,i=e.error,a=e.filled,u=e.focused,s=e.required,c={root:["root",o&&"disabled",i&&"error",r&&"size".concat((0,pr.Z)(r)),n&&"contained",u&&"focused",a&&"filled",s&&"required"]};return(0,Cn.Z)(c,kv,t)}(c);return(0,Nn.jsx)(Ev,(0,xt.Z)({as:a,ownerState:c,className:(0,Pn.Z)(l.root,o),ref:t},u,{children:" "===r?(0,Nn.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):r}))})),Pv=jv;function Cv(e){return(0,Mn.Z)("MuiNativeSelect",e)}var _v=(0,An.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Tv=["className","disabled","IconComponent","inputRef","variant"],Mv=function(e){var t,n=e.ownerState,r=e.theme;return(0,xt.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},(0,p.Z)(t,"&.".concat(_v.disabled),{cursor:"default"}),(0,p.Z)(t,"&[multiple]",{height:"auto"}),(0,p.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:r.palette.background.paper}),(0,p.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:r.shape.borderRadius,"&:focus":{borderRadius:r.shape.borderRadius},"&&&":{paddingRight:32}})},Av=(0,Tn.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Tn.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],(0,p.Z)({},"&.".concat(_v.multiple),t.multiple)]}})(Mv),Rv=function(e){var t=e.ownerState,n=e.theme;return(0,xt.Z)((0,p.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(_v.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Nv=(0,Tn.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,pr.Z)(n.variant))],n.open&&t.iconOpen]}})(Rv),Dv=t.forwardRef((function(e,n){var r=e.className,o=e.disabled,i=e.IconComponent,a=e.inputRef,u=e.variant,s=void 0===u?"standard":u,c=(0,On.Z)(e,Tv),l=(0,xt.Z)({},e,{disabled:o,variant:s}),f=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,pr.Z)(n)),i&&"iconOpen",r&&"disabled"]};return(0,Cn.Z)(a,Cv,t)}(l);return(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)(Av,(0,xt.Z)({ownerState:l,className:(0,Pn.Z)(f.select,r),disabled:o,ref:a||n},c)),e.multiple?null:(0,Nn.jsx)(Nv,{as:i,ownerState:l,className:f.icon})]})})),Zv=Dv,Iv=n(522);function Lv(e){return(0,Mn.Z)("MuiSelect",e)}var Fv=(0,An.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),zv=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Bv=(0,Tn.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,p.Z)({},"&.".concat(Fv.select),t.select),(0,p.Z)({},"&.".concat(Fv.select),t[n.variant]),(0,p.Z)({},"&.".concat(Fv.multiple),t.multiple)]}})(Mv,(0,p.Z)({},"&.".concat(Fv.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),Vv=(0,Tn.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,pr.Z)(n.variant))],n.open&&t.iconOpen]}})(Rv),Uv=(0,Tn.ZP)("input",{shouldForwardProp:function(e){return(0,Tn.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Wv(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function Hv(e){return null==e||"string"===typeof e&&!e.trim()}var qv,$v,Kv=t.forwardRef((function(e,n){var r=e["aria-describedby"],o=e["aria-label"],i=e.autoFocus,a=e.autoWidth,u=e.children,s=e.className,c=e.defaultValue,l=e.disabled,f=e.displayEmpty,d=e.IconComponent,p=e.inputRef,h=e.labelId,v=e.MenuProps,m=void 0===v?{}:v,y=e.multiple,g=e.name,b=e.onBlur,x=e.onChange,w=e.onClose,k=e.onFocus,S=e.onOpen,O=e.open,E=e.readOnly,j=e.renderValue,P=e.SelectDisplayProps,C=void 0===P?{}:P,_=e.tabIndex,T=e.value,M=e.variant,A=void 0===M?"standard":M,R=(0,On.Z)(e,zv),N=(0,Iv.Z)({controlled:T,default:c,name:"Select"}),D=(0,bt.Z)(N,2),Z=D[0],I=D[1],L=t.useRef(null),F=t.useRef(null),z=t.useState(null),B=(0,bt.Z)(z,2),V=B[0],U=B[1],W=t.useRef(null!=O).current,H=t.useState(),q=(0,bt.Z)(H,2),$=q[0],K=q[1],G=t.useState(!1),Y=(0,bt.Z)(G,2),J=Y[0],X=Y[1],Q=(0,zr.Z)(n,p),ee=t.useCallback((function(e){F.current=e,e&&U(e)}),[]);t.useImperativeHandle(Q,(function(){return{focus:function(){F.current.focus()},node:L.current,value:Z}}),[Z]),t.useEffect((function(){i&&F.current.focus()}),[i]),t.useEffect((function(){var e=(0,Bo.Z)(F.current).getElementById(h);if(e){var t=function(){getSelection().isCollapsed&&F.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}),[h]);var te,ne,re=function(e,t){e?S&&S(t):w&&w(t),W||(K(a?null:V.clientWidth),X(e))},oe=t.Children.toArray(u),ie=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(y){n=Array.isArray(Z)?Z.slice():[];var r=Z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),Z!==n&&(I(n),x)){var o=t.nativeEvent||t,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:g}}),x(i,e)}y||re(!1,t)}}},ae=null!==V&&(W?O:J);delete R["aria-invalid"];var ue=[],se=!1;(kh({value:Z})||f)&&(j?te=j(Z):se=!0);var ce=oe.map((function(e){if(!t.isValidElement(e))return null;var n;if(y){if(!Array.isArray(Z))throw new Error((0,ch.Z)(2));(n=Z.some((function(t){return Wv(t,e.props.value)})))&&se&&ue.push(e.props.children)}else(n=Wv(Z,e.props.value))&&se&&(ne=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":"false",onClick:ie(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));se&&(te=y?0===ue.length?null:ue.reduce((function(e,t,n){return e.push(t),n<ue.length-1&&e.push(", "),e}),[]):ne);var le,fe=$;!a&&W&&V&&(fe=V.clientWidth),le="undefined"!==typeof _?_:l?null:0;var de=C.id||(g?"mui-component-select-".concat(g):void 0),pe=(0,xt.Z)({},e,{variant:A,value:Z,open:ae}),he=function(e){var t=e.classes,n=e.variant,r=e.disabled,o=e.multiple,i=e.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat((0,pr.Z)(n)),i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,Cn.Z)(a,Lv,t)}(pe);return(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)(Bv,(0,xt.Z)({ref:ee,tabIndex:le,role:"button","aria-disabled":l?"true":void 0,"aria-expanded":ae?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[h,de].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(e){if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),re(!0,e))}},onMouseDown:l||E?null:function(e){0===e.button&&(e.preventDefault(),F.current.focus(),re(!0,e))},onBlur:function(e){!ae&&b&&(Object.defineProperty(e,"target",{writable:!0,value:{value:Z,name:g}}),b(e))},onFocus:k},C,{ownerState:pe,className:(0,Pn.Z)(he.select,s,C.className),id:de,children:Hv(te)?(0,Nn.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):te})),(0,Nn.jsx)(Uv,(0,xt.Z)({value:Array.isArray(Z)?Z.join(","):Z,name:g,ref:L,"aria-hidden":!0,onChange:function(e){var t=oe.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=oe[t];I(n.props.value),x&&x(e,n)}},tabIndex:-1,disabled:l,className:he.nativeInput,autoFocus:i,ownerState:pe},R)),(0,Nn.jsx)(Vv,{as:d,className:he.icon,ownerState:pe}),(0,Nn.jsx)(Na,(0,xt.Z)({id:"menu-".concat(g||""),anchorEl:V,open:ae,onClose:function(e){re(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},m,{MenuListProps:(0,xt.Z)({"aria-labelledby":h,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:(0,xt.Z)({},m.PaperProps,{style:(0,xt.Z)({minWidth:fe},null!=m.PaperProps?m.PaperProps.style:null)}),children:ce}))]})})),Gv=Kv,Yv=n(1171),Jv=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Xv=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Qv=t.forwardRef((function(e,n){var r=(0,_n.Z)({name:"MuiSelect",props:e}),o=r.autoWidth,i=void 0!==o&&o,a=r.children,u=r.classes,s=void 0===u?{}:u,c=r.className,l=r.displayEmpty,f=void 0!==l&&l,d=r.IconComponent,p=void 0===d?Jv:d,h=r.id,v=r.input,m=r.inputProps,y=r.label,g=r.labelId,b=r.MenuProps,x=r.multiple,w=void 0!==x&&x,k=r.native,S=void 0!==k&&k,O=r.onClose,E=r.onOpen,j=r.open,P=r.renderValue,C=r.SelectDisplayProps,_=r.variant,T=void 0===_?"outlined":_,M=(0,On.Z)(r,Xv),A=S?Zv:Gv,R=mh({props:r,muiFormControl:gh(),states:["variant"]}).variant||T,N=v||{standard:qv||(qv=(0,Nn.jsx)(Fh,{})),outlined:(0,Nn.jsx)(rv,{label:y}),filled:$v||($v=(0,Nn.jsx)(qh,{}))}[R],D=function(e){return e.classes}((0,xt.Z)({},r,{classes:s})),Z=(0,zr.Z)(n,N.ref);return t.cloneElement(N,(0,xt.Z)({inputComponent:A,inputProps:(0,xt.Z)({children:a,IconComponent:p,variant:R,type:void 0,multiple:w},S?{id:h}:{autoWidth:i,displayEmpty:f,labelId:g,MenuProps:b,onClose:O,onOpen:E,open:j,renderValue:P,SelectDisplayProps:(0,xt.Z)({id:h},C)},m,{classes:m?(0,Tr.Z)(D,m.classes):D},v?v.props.inputProps:{})},w&&S&&"outlined"===R?{notched:!0}:{},{ref:Z,className:(0,Pn.Z)(N.props.className,c)},M))}));Qv.muiName="Select";var em=Qv;function tm(e){return(0,Mn.Z)("MuiTextField",e)}(0,An.Z)("MuiTextField",["root"]);var nm,rm=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],om={standard:Fh,filled:qh,outlined:rv},im=(0,Tn.ZP)(wv,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),am=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiTextField"}),r=n.autoComplete,o=n.autoFocus,i=void 0!==o&&o,a=n.children,u=n.className,s=n.color,c=void 0===s?"primary":s,l=n.defaultValue,f=n.disabled,d=void 0!==f&&f,p=n.error,h=void 0!==p&&p,v=n.FormHelperTextProps,m=n.fullWidth,y=void 0!==m&&m,g=n.helperText,b=n.id,x=n.InputLabelProps,w=n.inputProps,k=n.InputProps,S=n.inputRef,O=n.label,E=n.maxRows,j=n.minRows,P=n.multiline,C=void 0!==P&&P,_=n.name,T=n.onBlur,M=n.onChange,A=n.onFocus,R=n.placeholder,N=n.required,D=void 0!==N&&N,Z=n.rows,I=n.select,L=void 0!==I&&I,F=n.SelectProps,z=n.type,B=n.value,V=n.variant,U=void 0===V?"outlined":V,W=(0,On.Z)(n,rm),H=(0,xt.Z)({},n,{autoFocus:i,color:c,disabled:d,error:h,fullWidth:y,multiline:C,required:D,select:L,variant:U}),q=function(e){var t=e.classes;return(0,Cn.Z)({root:["root"]},tm,t)}(H);var $={};"outlined"===U&&(x&&"undefined"!==typeof x.shrink&&($.notched=x.shrink),$.label=O),L&&(F&&F.native||($.id=void 0),$["aria-describedby"]=void 0);var K=(0,sh.Z)(b),G=g&&K?"".concat(K,"-helper-text"):void 0,Y=O&&K?"".concat(K,"-label"):void 0,J=om[U],X=(0,Nn.jsx)(J,(0,xt.Z)({"aria-describedby":G,autoComplete:r,autoFocus:i,defaultValue:l,fullWidth:y,multiline:C,name:_,rows:Z,maxRows:E,minRows:j,type:z,value:B,id:K,inputRef:S,onBlur:T,onChange:M,onFocus:A,placeholder:R,inputProps:w},$,k));return(0,Nn.jsxs)(im,(0,xt.Z)({className:(0,Pn.Z)(q.root,u),disabled:d,error:h,fullWidth:y,ref:t,required:D,color:c,variant:U,ownerState:H},W,{children:[O&&(0,Nn.jsx)(vv,(0,xt.Z)({htmlFor:K,id:Y},x,{children:O})),L?(0,Nn.jsx)(em,(0,xt.Z)({"aria-describedby":G,id:K,labelId:Y,value:B,input:X},F,{children:a})):X,g&&(0,Nn.jsx)(Pv,(0,xt.Z)({id:G},v,{children:g}))]}))})),um=am;!function(e){e.SET_WEIGHTS="SET_WEIGHTS",e.UPDATE_WEIGHT="UPDATE_WEIGHT",e.ADD_WEIGHT="ADD_WEIGHT"}(nm||(nm={}));var sm=function(e,t){switch(t.type){case nm.SET_WEIGHTS:return es(es({},e),{},{weights:t.payload});case nm.UPDATE_WEIGHT:var n=e.weights.map((function(e){return e.id===t.payload.id?t.payload:e}));return es(es({},e),{},{weights:n});case nm.ADD_WEIGHT:return es(es({},e),{},{weights:[].concat((0,_r.Z)(e.weights),[t.payload])});default:return e}},cm={weights:[]},lm=(0,t.createContext)([cm,function(){return cm}]),fm=function(e){var n=e.children,r=(0,t.useReducer)(sm,cm),o=(0,bt.Z)(r,2),i=o[0],a=o[1];return(0,Nn.jsx)(lm.Provider,{value:[i,a],children:n})},dm=function(){return(0,t.useContext)(lm)},pm=n(154),hm={dayOfMonth:"d",fullDate:"DD",fullDateWithWeekday:"DDDD",fullDateTime:"ff",fullDateTime12h:"DD, hh:mm a",fullDateTime24h:"DD, T",fullTime:"t",fullTime12h:"hh:mm a",fullTime24h:"HH:mm",hours12h:"hh",hours24h:"HH",keyboardDate:"D",keyboardDateTime:"D t",keyboardDateTime12h:"D hh:mm a",keyboardDateTime24h:"D T",minutes:"mm",seconds:"ss",month:"LLLL",monthAndDate:"MMMM d",monthAndYear:"LLLL yyyy",monthShort:"MMM",weekday:"cccc",weekdayShort:"ccc",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",shortDate:"MMM d",year:"yyyy"},vm=function(e){var t=this,n=void 0===e?{}:e,r=n.locale,o=n.formats;this.lib="luxon",this.date=function(e){return"undefined"===typeof e?pm.ou.local():null===e?null:"string"===typeof e?pm.ou.fromJSDate(new Date(e),{locale:t.locale}):e instanceof pm.ou?e:pm.ou.fromJSDate(e,{locale:t.locale})},this.toJsDate=function(e){return e.toJSDate()},this.parseISO=function(e){return pm.ou.fromISO(e)},this.toISO=function(e){return e.toISO({format:"extended"})},this.parse=function(e,n){return""===e?null:pm.ou.fromFormat(e,n,{locale:t.locale})},this.is12HourCycleInCurrentLocale=function(){var e,n;return"undefined"===typeof Intl||"undefined"===typeof Intl.DateTimeFormat||Boolean(null===(n=null===(e=new Intl.DateTimeFormat(t.locale,{hour:"numeric"}))||void 0===e?void 0:e.resolvedOptions())||void 0===n?void 0:n.hour12)},this.getFormatHelperText=function(e){return""},this.getCurrentLocaleCode=function(){return t.locale||pm.Zr.defaultLocale},this.addSeconds=function(e,t){return t<0?e.minus({seconds:Math.abs(t)}):e.plus({seconds:t})},this.addMinutes=function(e,t){return t<0?e.minus({minutes:Math.abs(t)}):e.plus({minutes:t})},this.addHours=function(e,t){return t<0?e.minus({hours:Math.abs(t)}):e.plus({hours:t})},this.addDays=function(e,t){return t<0?e.minus({days:Math.abs(t)}):e.plus({days:t})},this.addWeeks=function(e,t){return t<0?e.minus({weeks:Math.abs(t)}):e.plus({weeks:t})},this.addMonths=function(e,t){return t<0?e.minus({months:Math.abs(t)}):e.plus({months:t})},this.isValid=function(e){return e instanceof pm.ou?e.isValid:null!==e&&t.date(e).isValid},this.isEqual=function(e,n){return null===e&&null===n||null!==e&&null!==n&&t.date(e).equals(t.date(n))},this.isSameDay=function(e,t){return e.hasSame(t,"day")},this.isSameMonth=function(e,t){return e.hasSame(t,"month")},this.isSameYear=function(e,t){return e.hasSame(t,"year")},this.isSameHour=function(e,t){return e.hasSame(t,"hour")},this.isAfter=function(e,t){return e>t},this.isBefore=function(e,t){return e<t},this.isBeforeDay=function(e,t){return e.diff(t.startOf("day"),"days").toObject().days<0},this.isAfterDay=function(e,t){return e.diff(t.endOf("day"),"days").toObject().days>0},this.isBeforeYear=function(e,t){return e.diff(t.startOf("year"),"years").toObject().years<0},this.isAfterYear=function(e,t){return e.diff(t.endOf("year"),"years").toObject().years>0},this.getDiff=function(e,t,n){return"string"===typeof t&&(t=pm.ou.fromJSDate(new Date(t))),n?Math.floor(e.diff(t).as(n)):e.diff(t).as("millisecond")},this.startOfDay=function(e){return e.startOf("day")},this.endOfDay=function(e){return e.endOf("day")},this.format=function(e,n){return t.formatByString(e,t.formats[n])},this.formatByString=function(e,n){return e.setLocale(t.locale).toFormat(n)},this.formatNumber=function(e){return e},this.getHours=function(e){return e.get("hour")},this.setHours=function(e,t){return e.set({hour:t})},this.getMinutes=function(e){return e.get("minute")},this.setMinutes=function(e,t){return e.set({minute:t})},this.getSeconds=function(e){return e.get("second")},this.setSeconds=function(e,t){return e.set({second:t})},this.getMonth=function(e){return e.get("month")-1},this.getDaysInMonth=function(e){return e.daysInMonth},this.setMonth=function(e,t){return e.set({month:t+1})},this.getYear=function(e){return e.get("year")},this.setYear=function(e,t){return e.set({year:t})},this.mergeDateAndTime=function(e,t){return e.set({second:t.second,hour:t.hour,minute:t.minute})},this.startOfMonth=function(e){return e.startOf("month")},this.endOfMonth=function(e){return e.endOf("month")},this.startOfWeek=function(e){return e.startOf("week")},this.endOfWeek=function(e){return e.endOf("week")},this.getNextMonth=function(e){return e.plus({months:1})},this.getPreviousMonth=function(e){return e.minus({months:1})},this.getMonthArray=function(e){for(var n=[t.date(e).startOf("year")];n.length<12;){var r=n[n.length-1];n.push(t.getNextMonth(r))}return n},this.getWeekdays=function(){return pm.kI.weekdaysFormat("narrow",{locale:t.locale})},this.getWeekArray=function(e){var t=e.endOf("month").endOf("week").diff(e.startOf("month").startOf("week"),"days").toObject().days,n=[];return new Array(Math.round(t)).fill(0).map((function(e,t){return t})).map((function(t){return e.startOf("month").startOf("week").plus({days:t})})).forEach((function(e,t){0===t||t%7===0&&t>6?n.push([e]):n[n.length-1].push(e)})),n},this.getYearRange=function(e,n){for(var r=t.date(e).startOf("year"),o=t.date(n).endOf("year"),i=r,a=[];i<o;)a.push(i),i=i.plus({year:1});return a},this.getMeridiemText=function(e){return pm.kI.meridiems({locale:t.locale}).find((function(t){return t.toLowerCase()===e.toLowerCase()}))},this.isNull=function(e){return null===e},this.isWithinRange=function(e,n){var r=n[0],o=n[1];return e.equals(r)||e.equals(o)||t.isAfter(e,r)&&t.isBefore(e,o)},this.locale=r||"en-US",this.formats=Object.assign({},hm,o)},mm=vm,ym=t.createContext(null);var gm=function(e){var n=e.children,r=e.dateAdapter,o=e.dateFormats,i=e.dateLibInstance,a=e.locale,u=t.useMemo((function(){return new r({locale:a,formats:o,instance:i})}),[r,a,o,i]),s=t.useMemo((function(){return{minDate:u.date("1900-01-01T00:00:00.000"),maxDate:u.date("2099-12-31T00:00:00.000")}}),[u]),c=t.useMemo((function(){return{utils:u,defaultDates:s}}),[s,u]);return(0,Nn.jsx)(ym.Provider,{value:c,children:n})},bm=n(4976),xm=n(4290);function wm(){var e=t.useContext(ym);if(null===e)throw new Error((0,ch.Z)(13));return e}function km(){return wm().utils}function Sm(){return wm().defaultDates}function Om(){var e=km();return t.useRef(e.date()).current}var Em=["openTo","views","minDate","maxDate"],jm=function(e){return 1===e.length&&"year"===e[0]},Pm=function(e){return 2===e.length&&-1!==e.indexOf("month")&&-1!==e.indexOf("year")},Cm=function(e,t){return jm(e)?{mask:"____",inputFormat:t.formats.year}:Pm(e)?{disableMaskedInput:!0,inputFormat:t.formats.monthAndYear}:{mask:"__/__/____",inputFormat:t.formats.keyboardDate}};function _m(e,t){var n=e.openTo,r=void 0===n?"day":n,o=e.views,i=void 0===o?["year","day"]:o,a=e.minDate,u=e.maxDate,s=(0,On.Z)(e,Em),c=km(),l=Sm(),f=null!=a?a:l.minDate,d=null!=u?u:l.maxDate;return(0,_n.Z)({props:(0,xt.Z)({views:i,openTo:r,minDate:f,maxDate:d},Cm(i,c),s),name:t})}var Tm=function(e){return e},Mm=function(){var e=Tm;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=Tm}}}(),Am={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function Rm(e,t){return Am[t]||"".concat(Mm.generate(e),"-").concat(t)}function Nm(e,t){var n={};return t.forEach((function(t){n[t]=Rm(e,t)})),n}var Dm=t.createContext();function Zm(e){return(0,Mn.Z)("MuiGrid",e)}var Im=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Lm=(0,An.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,_r.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,_r.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,_r.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,_r.Z)(Im.map((function(e){return"grid-xs-".concat(e)}))),(0,_r.Z)(Im.map((function(e){return"grid-sm-".concat(e)}))),(0,_r.Z)(Im.map((function(e){return"grid-md-".concat(e)}))),(0,_r.Z)(Im.map((function(e){return"grid-lg-".concat(e)}))),(0,_r.Z)(Im.map((function(e){return"grid-xl-".concat(e)}))))),Fm=Lm,zm=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function Bm(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Vm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]||"spacing-xs-".concat(String(e))];var r=e.xs,o=e.sm,i=e.md,a=e.lg,u=e.xl;return[Number(r)>0&&(n["spacing-xs-".concat(String(r))]||"spacing-xs-".concat(String(r))),Number(o)>0&&(n["spacing-sm-".concat(String(o))]||"spacing-sm-".concat(String(o))),Number(i)>0&&(n["spacing-md-".concat(String(i))]||"spacing-md-".concat(String(i))),Number(a)>0&&(n["spacing-lg-".concat(String(a))]||"spacing-lg-".concat(String(a))),Number(u)>0&&(n["spacing-xl-".concat(String(u))]||"spacing-xl-".concat(String(u)))]}var Um=(0,Tn.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,o=n.direction,i=n.item,a=n.lg,u=n.md,s=n.sm,c=n.spacing,l=n.wrap,f=n.xl,d=n.xs,p=n.zeroMinWidth;return[t.root,r&&t.container,i&&t.item,p&&t.zeroMinWidth].concat((0,_r.Z)(Vm(c,r,t)),["row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))],!1!==d&&t["grid-xs-".concat(String(d))],!1!==s&&t["grid-sm-".concat(String(s))],!1!==u&&t["grid-md-".concat(String(u))],!1!==a&&t["grid-lg-".concat(String(a))],!1!==f&&t["grid-xl-".concat(String(f))]])}})((function(e){var t=e.ownerState;return(0,xt.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"nowrap"===t.wrap&&{flexWrap:"nowrap"},"reverse"===t.wrap&&{flexWrap:"wrap-reverse"})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,Pr.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,Pr.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(Fm.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.rowSpacing,i={};if(r&&0!==o){var a=(0,Pr.P$)({values:o,breakpoints:t.breakpoints.values});i=(0,Pr.k9)({theme:t},a,(function(e){var n=t.spacing(e);return"0px"!==n?(0,p.Z)({marginTop:"-".concat(Bm(n))},"& > .".concat(Fm.item),{paddingTop:Bm(n)}):{}}))}return i}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,o=n.columnSpacing,i={};if(r&&0!==o){var a=(0,Pr.P$)({values:o,breakpoints:t.breakpoints.values});i=(0,Pr.k9)({theme:t},a,(function(e){var n=t.spacing(e);return"0px"!==n?(0,p.Z)({width:"calc(100% + ".concat(Bm(n),")"),marginLeft:"-".concat(Bm(n))},"& > .".concat(Fm.item),{paddingLeft:Bm(n)}):{}}))}return i}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,o){var i={};if(r[o]&&(t=r[o]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,Pr.P$)({values:r.columns,breakpoints:n.breakpoints.values}),u="object"===typeof a?a[o]:a;if(void 0===u||null===u)return e;var s="".concat(Math.round(t/u*1e8)/1e6,"%"),c={};if(r.container&&r.item&&0!==r.columnSpacing){var l=n.spacing(r.columnSpacing);if("0px"!==l){var f="calc(".concat(s," + ").concat(Bm(l),")");c={flexBasis:f,maxWidth:f}}}i=(0,xt.Z)({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===n.breakpoints.values[o]?Object.assign(e,i):e[n.breakpoints.up(o)]=i,e}),{})})),Wm=t.forwardRef((function(e,n){var r,o=Rr((0,_n.Z)({props:e,name:"MuiGrid"})),i=o.className,a=o.columns,u=o.columnSpacing,s=o.component,c=void 0===s?"div":s,l=o.container,f=void 0!==l&&l,d=o.direction,p=void 0===d?"row":d,h=o.item,v=void 0!==h&&h,m=o.lg,y=void 0!==m&&m,g=o.md,b=void 0!==g&&g,x=o.rowSpacing,w=o.sm,k=void 0!==w&&w,S=o.spacing,O=void 0===S?0:S,E=o.wrap,j=void 0===E?"wrap":E,P=o.xl,C=void 0!==P&&P,_=o.xs,T=void 0!==_&&_,M=o.zeroMinWidth,A=void 0!==M&&M,R=(0,On.Z)(o,zm),N=x||O,D=u||O,Z=t.useContext(Dm),I=a||Z||12,L=(0,xt.Z)({},o,{columns:I,container:f,direction:p,item:v,lg:y,md:b,sm:k,rowSpacing:N,columnSpacing:D,wrap:j,xl:C,xs:T,zeroMinWidth:A}),F=function(e){var t=e.classes,n=e.container,r=e.direction,o=e.item,i=e.lg,a=e.md,u=e.sm,s=e.spacing,c=e.wrap,l=e.xl,f=e.xs,d={root:["root",n&&"container",o&&"item",e.zeroMinWidth&&"zeroMinWidth"].concat((0,_r.Z)(Vm(s,n)),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==c&&"wrap-xs-".concat(String(c)),!1!==f&&"grid-xs-".concat(String(f)),!1!==u&&"grid-sm-".concat(String(u)),!1!==a&&"grid-md-".concat(String(a)),!1!==i&&"grid-lg-".concat(String(i)),!1!==l&&"grid-xl-".concat(String(l))])};return(0,Cn.Z)(d,Zm,t)}(L);return r=(0,Nn.jsx)(Um,(0,xt.Z)({ownerState:L,className:(0,Pn.Z)(F.root,i),as:c,ref:n},R)),12!==I?(0,Nn.jsx)(Dm.Provider,{value:I,children:r}):r})),Hm=Wm;function qm(e){return(0,Mn.Z)("MuiIconButton",e)}var $m,Km,Gm,Ym=(0,An.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Jm=["edge","children","className","color","disabled","disableFocusRipple","size"],Xm=(0,Tn.ZP)(To,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,pr.Z)(n.color))],n.edge&&t["edge".concat((0,pr.Z)(n.edge))],t["size".concat((0,pr.Z)(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:(0,Fn.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,xt.Z)({color:t.palette[n.color].main},!n.disableRipple&&{"&:hover":{backgroundColor:(0,Fn.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},(0,p.Z)({},"&.".concat(Ym.disabled),{backgroundColor:"transparent",color:t.palette.action.disabled}))})),Qm=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiIconButton"}),r=n.edge,o=void 0!==r&&r,i=n.children,a=n.className,u=n.color,s=void 0===u?"default":u,c=n.disabled,l=void 0!==c&&c,f=n.disableFocusRipple,d=void 0!==f&&f,p=n.size,h=void 0===p?"medium":p,v=(0,On.Z)(n,Jm),m=(0,xt.Z)({},n,{edge:o,color:s,disabled:l,disableFocusRipple:d,size:h}),y=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,pr.Z)(r)),o&&"edge".concat((0,pr.Z)(o)),"size".concat((0,pr.Z)(i))]};return(0,Cn.Z)(a,qm,t)}(m);return(0,Nn.jsx)(Xm,(0,xt.Z)({className:(0,Pn.Z)(y.root,a),centerRipple:!0,focusRipple:!d,disabled:l,ref:t,ownerState:m},v,{children:i}))})),ey=Qm,ty=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Pen"),ny=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),ry=(0,Yv.Z)((0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,Nn.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),oy=Nm("PrivatePickersToolbar",["root","dateTitleContainer"]),iy=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},n.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})})),ay=(0,Tn.ZP)(Hm,{skipSx:!0})({flex:1}),uy=function(e){return"clock"===e?$m||($m=(0,Nn.jsx)(ry,{color:"inherit"})):Km||(Km=(0,Nn.jsx)(ny,{color:"inherit"}))};function sy(e,t){return e?"text input view is open, go to ".concat(t," view"):"".concat(t," view is open, go to text input view")}var cy=t.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.getMobileKeyboardInputViewButtonText,i=void 0===o?sy:o,a=e.isLandscape,u=e.isMobileKeyboardViewOpen,s=e.landscapeDirection,c=void 0===s?"column":s,l=e.penIconClassName,f=e.toggleMobileKeyboardView,d=e.toolbarTitle,p=e.viewType,h=void 0===p?"calendar":p,v=e;return(0,Nn.jsxs)(iy,{ref:t,className:(0,Pn.Z)(oy.root,r),ownerState:v,children:[(0,Nn.jsx)(Tu,{color:"text.secondary",variant:"overline",children:d}),(0,Nn.jsxs)(ay,{container:!0,justifyContent:"space-between",className:oy.dateTitleContainer,direction:a?c:"row",alignItems:a?"flex-start":"flex-end",children:[n,(0,Nn.jsx)(ey,{onClick:f,className:l,color:"inherit","aria-label":i(u,h),children:u?uy(h):Gm||(Gm=(0,Nn.jsx)(ty,{color:"inherit"}))})]})]})})),ly=["date","isLandscape","isMobileKeyboardViewOpen","onChange","toggleMobileKeyboardView","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],fy=Nm("PrivateDatePickerToolbar",["penIcon"]),dy=(0,Tn.ZP)(cy,{skipSx:!0})((0,p.Z)({},"& .".concat(fy.penIcon),{position:"relative",top:4})),py=(0,Tn.ZP)(Tu,{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({},t.isLandscape&&{margin:"auto 16px auto auto"})})),hy=t.forwardRef((function(e,n){var r=e.date,o=e.isLandscape,i=e.isMobileKeyboardViewOpen,a=e.toggleMobileKeyboardView,u=e.toolbarFormat,s=e.toolbarPlaceholder,c=void 0===s?"\u2013\u2013":s,l=e.toolbarTitle,f=void 0===l?"Select date":l,d=e.views,p=(0,On.Z)(e,ly),h=km(),v=t.useMemo((function(){return r?u?h.formatByString(r,u):jm(d)?h.format(r,"year"):Pm(d)?h.format(r,"month"):/en/.test(h.getCurrentLocaleCode())?h.format(r,"normalDateWithWeekday"):h.format(r,"normalDate"):c}),[r,u,c,h,d]),m=e;return(0,Nn.jsx)(dy,(0,xt.Z)({ref:n,toolbarTitle:f,isMobileKeyboardViewOpen:i,toggleMobileKeyboardView:a,isLandscape:o,penIconClassName:fy.penIcon,ownerState:m},p,{children:(0,Nn.jsx)(py,{variant:"h4",align:o?"left":"center",ownerState:m,children:v})}))})),vy=hy,my=t.createContext(null);function yy(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gy(e){return e instanceof yy(e).Element||e instanceof Element}function by(e){return e instanceof yy(e).HTMLElement||e instanceof HTMLElement}function xy(e){return"undefined"!==typeof ShadowRoot&&(e instanceof yy(e).ShadowRoot||e instanceof ShadowRoot)}var wy=Math.max,ky=Math.min,Sy=Math.round;function Oy(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(by(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Sy(n.width)/a||1),i>0&&(o=Sy(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Ey(e){var t=yy(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function jy(e){return e?(e.nodeName||"").toLowerCase():null}function Py(e){return((gy(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cy(e){return Oy(Py(e)).left+Ey(e).scrollLeft}function _y(e){return yy(e).getComputedStyle(e)}function Ty(e){var t=_y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function My(e,t,n){void 0===n&&(n=!1);var r=by(t),o=by(t)&&function(e){var t=e.getBoundingClientRect(),n=Sy(t.width)/e.offsetWidth||1,r=Sy(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Py(t),a=Oy(e,o),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==jy(t)||Ty(i))&&(u=function(e){return e!==yy(e)&&by(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ey(e);var t}(t)),by(t)?((s=Oy(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Cy(i))),{x:a.left+u.scrollLeft-s.x,y:a.top+u.scrollTop-s.y,width:a.width,height:a.height}}function Ay(e){var t=Oy(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ry(e){return"html"===jy(e)?e:e.assignedSlot||e.parentNode||(xy(e)?e.host:null)||Py(e)}function Ny(e){return["html","body","#document"].indexOf(jy(e))>=0?e.ownerDocument.body:by(e)&&Ty(e)?e:Ny(Ry(e))}function Dy(e,t){var n;void 0===t&&(t=[]);var r=Ny(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=yy(r),a=o?[i].concat(i.visualViewport||[],Ty(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(Dy(Ry(a)))}function Zy(e){return["table","td","th"].indexOf(jy(e))>=0}function Iy(e){return by(e)&&"fixed"!==_y(e).position?e.offsetParent:null}function Ly(e){for(var t=yy(e),n=Iy(e);n&&Zy(n)&&"static"===_y(n).position;)n=Iy(n);return n&&("html"===jy(n)||"body"===jy(n)&&"static"===_y(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&by(e)&&"fixed"===_y(e).position)return null;for(var n=Ry(e);by(n)&&["html","body"].indexOf(jy(n))<0;){var r=_y(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Fy="top",zy="bottom",By="right",Vy="left",Uy="auto",Wy=[Fy,zy,By,Vy],Hy="start",qy="end",$y="viewport",Ky="popper",Gy=Wy.reduce((function(e,t){return e.concat([t+"-"+Hy,t+"-"+qy])}),[]),Yy=[].concat(Wy,[Uy]).reduce((function(e,t){return e.concat([t,t+"-"+Hy,t+"-"+qy])}),[]),Jy=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Xy(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Qy(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var eg={placement:"bottom",modifiers:[],strategy:"absolute"};function tg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function ng(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?eg:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},eg,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],u=!1,s={state:o,setOptions:function(n){var u="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,u),o.scrollParents={reference:gy(e)?Dy(e):e.contextElement?Dy(e.contextElement):[],popper:Dy(t)};var l=function(e){var t=Xy(e);return Jy.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var u=i({state:o,name:t,instance:s,options:r}),c=function(){};a.push(u||c)}})),s.update()},forceUpdate:function(){if(!u){var e=o.elements,t=e.reference,n=e.popper;if(tg(t,n)){o.rects={reference:My(t,Ly(n),"fixed"===o.options.strategy),popper:Ay(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,l=void 0===c?{}:c,f=i.name;"function"===typeof a&&(o=a({state:o,options:l,name:f,instance:s})||o)}else o.reset=!1,r=-1}}},update:Qy((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){c(),u=!0}};if(!tg(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var rg={passive:!0};var og={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,s=yy(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,rg)})),u&&s.addEventListener("resize",n.update,rg),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rg)})),u&&s.removeEventListener("resize",n.update,rg)}},data:{}};function ig(e){return e.split("-")[0]}function ag(e){return e.split("-")[1]}function ug(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sg(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ig(o):null,a=o?ag(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Fy:t={x:u,y:n.y-r.height};break;case zy:t={x:u,y:n.y+n.height};break;case By:t={x:n.x+n.width,y:s};break;case Vy:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?ug(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case Hy:t[c]=t[c]-(n[l]/2-r[l]/2);break;case qy:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var cg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lg(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Sy(t*r)/r||0,y:Sy(n*r)/r||0}}(a):"function"===typeof l?l(a):a,p=d.x,h=void 0===p?0:p,v=d.y,m=void 0===v?0:v,y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Vy,x=Fy,w=window;if(c){var k=Ly(n),S="clientHeight",O="clientWidth";if(k===yy(n)&&"static"!==_y(k=Py(n)).position&&"absolute"===u&&(S="scrollHeight",O="scrollWidth"),k=k,o===Fy||(o===Vy||o===By)&&i===qy)x=zy,m-=(f&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===Vy||(o===Fy||o===zy)&&i===qy)b=By,h-=(f&&w.visualViewport?w.visualViewport.width:k[O])-r.width,h*=s?1:-1}var E,j=Object.assign({position:u},c&&cg);return s?Object.assign({},j,((E={})[x]=g?"0":"",E[b]=y?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E)):Object.assign({},j,((t={})[x]=g?m+"px":"",t[b]=y?h+"px":"",t.transform="",t))}var fg={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];by(o)&&jy(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});by(r)&&jy(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var dg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Yy.reduce((function(e,n){return e[n]=function(e,t,n){var r=ig(e),o=[Vy,Fy].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[Vy,By].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,t.rects,i),e}),{}),u=a[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},pg={left:"right",right:"left",bottom:"top",top:"bottom"};function hg(e){return e.replace(/left|right|bottom|top/g,(function(e){return pg[e]}))}var vg={start:"end",end:"start"};function mg(e){return e.replace(/start|end/g,(function(e){return vg[e]}))}function yg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bg(e,t){return t===$y?gg(function(e){var t=yy(e),n=Py(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+Cy(e),y:u}}(e)):gy(t)?function(e){var t=Oy(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):gg(function(e){var t,n=Py(e),r=Ey(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=wy(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=wy(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Cy(e),s=-r.scrollTop;return"rtl"===_y(o||n).direction&&(u+=wy(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(Py(e)))}function xg(e,t,n){var r="clippingParents"===t?function(e){var t=Dy(Ry(e)),n=["absolute","fixed"].indexOf(_y(e).position)>=0,r=n&&by(e)?Ly(e):e;return gy(r)?t.filter((function(e){return gy(e)&&yg(e,r)&&"body"!==jy(e)&&(!n||"static"!==_y(e).position)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=bg(e,n);return t.top=wy(r.top,t.top),t.right=ky(r.right,t.right),t.bottom=ky(r.bottom,t.bottom),t.left=wy(r.left,t.left),t}),bg(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function wg(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function kg(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Sg(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,u=n.rootBoundary,s=void 0===u?$y:u,c=n.elementContext,l=void 0===c?Ky:c,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,v=wg("number"!==typeof h?h:kg(h,Wy)),m=l===Ky?"reference":Ky,y=e.rects.popper,g=e.elements[d?m:l],b=xg(gy(g)?g:g.contextElement||Py(e.elements.popper),a,s),x=Oy(e.elements.reference),w=sg({reference:x,element:y,strategy:"absolute",placement:o}),k=gg(Object.assign({},y,w)),S=l===Ky?k:x,O={top:b.top-S.top+v.top,bottom:S.bottom-b.bottom+v.bottom,left:b.left-S.left+v.left,right:S.right-b.right+v.right},E=e.modifiersData.offset;if(l===Ky&&E){var j=E[o];Object.keys(O).forEach((function(e){var t=[By,zy].indexOf(e)>=0?1:-1,n=[Fy,zy].indexOf(e)>=0?"y":"x";O[e]+=j[n]*t}))}return O}var Og={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0===a||a,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,y=ig(m),g=s||(y===m||!h?[hg(m)]:function(e){if(ig(e)===Uy)return[];var t=hg(e);return[mg(e),t,mg(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(ig(n)===Uy?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Yy:s,l=ag(r),f=l?u?Gy:Gy.filter((function(e){return ag(e)===l})):Wy,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Sg(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ig(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,O=b[0],E=0;E<b.length;E++){var j=b[E],P=ig(j),C=ag(j)===Hy,_=[Fy,zy].indexOf(P)>=0,T=_?"width":"height",M=Sg(t,{placement:j,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),A=_?C?By:Vy:C?zy:Fy;x[T]>w[T]&&(A=hg(A));var R=hg(A),N=[];if(i&&N.push(M[P]<=0),u&&N.push(M[A]<=0,M[R]<=0),N.every((function(e){return e}))){O=j,S=!1;break}k.set(j,N)}if(S)for(var D=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},Z=h?3:1;Z>0;Z--){if("break"===D(Z))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Eg(e,t,n){return wy(e,ky(t,n))}var jg={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,v=void 0===h?0:h,m=Sg(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),y=ig(t.placement),g=ag(t.placement),b=!g,x=ug(y),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,E="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,j="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(k){if(i){var _,T="y"===x?Fy:Vy,M="y"===x?zy:By,A="y"===x?"height":"width",R=k[x],N=R+m[T],D=R-m[M],Z=p?-O[A]/2:0,I=g===Hy?S[A]:O[A],L=g===Hy?-O[A]:-S[A],F=t.elements.arrow,z=p&&F?Ay(F):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=B[T],U=B[M],W=Eg(0,S[A],z[A]),H=b?S[A]/2-Z-W-V-j.mainAxis:I-W-V-j.mainAxis,q=b?-S[A]/2+Z+W+U+j.mainAxis:L+W+U+j.mainAxis,$=t.elements.arrow&&Ly(t.elements.arrow),K=$?"y"===x?$.clientTop||0:$.clientLeft||0:0,G=null!=(_=null==P?void 0:P[x])?_:0,Y=R+q-G,J=Eg(p?ky(N,R+H-G-K):N,R,p?wy(D,Y):D);k[x]=J,C[x]=J-R}if(u){var X,Q="x"===x?Fy:Vy,ee="x"===x?zy:By,te=k[w],ne="y"===w?"height":"width",re=te+m[Q],oe=te-m[ee],ie=-1!==[Fy,Vy].indexOf(y),ae=null!=(X=null==P?void 0:P[w])?X:0,ue=ie?re:te-S[ne]-O[ne]-ae+j.altAxis,se=ie?te+S[ne]+O[ne]-ae-j.altAxis:oe,ce=p&&ie?function(e,t,n){var r=Eg(e,t,n);return r>n?n:r}(ue,te,se):Eg(p?ue:re,te,p?se:oe);k[w]=ce,C[w]=ce-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]};var Pg={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,u=ig(n.placement),s=ug(u),c=[Vy,By].indexOf(u)>=0?"height":"width";if(i&&a){var l=function(e,t){return wg("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:kg(e,Wy))}(o.padding,n),f=Ay(i),d="y"===s?Fy:Vy,p="y"===s?zy:By,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],v=a[s]-n.rects.reference[s],m=Ly(i),y=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=l[d],x=y-f[c]-l[p],w=y/2-f[c]/2+g,k=Eg(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&yg(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Cg(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _g(e){return[Fy,By,zy,Vy].some((function(t){return e[t]>=0}))}var Tg=ng({defaultModifiers:[og,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=sg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,u=n.roundOffsets,s=void 0===u||u,c={placement:ig(t.placement),variation:ag(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,lg(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,lg(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},fg,dg,Og,jg,Pg,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Sg(t,{elementContext:"reference"}),u=Sg(t,{altBoundary:!0}),s=Cg(a,r),c=Cg(u,o,i),l=_g(s),f=_g(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Mg=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],Ag=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Rg(e){return"function"===typeof e?e():e}var Ng={},Dg=t.forwardRef((function(e,n){var r=e.anchorEl,o=e.children,i=e.direction,a=e.disablePortal,u=e.modifiers,s=e.open,c=e.placement,l=e.popperOptions,f=e.popperRef,d=e.TransitionProps,p=(0,On.Z)(e,Mg),h=t.useRef(null),v=(0,ji.Z)(h,n),m=t.useRef(null),y=(0,ji.Z)(m,f),g=t.useRef(y);(0,Ti.Z)((function(){g.current=y}),[y]),t.useImperativeHandle(f,(function(){return m.current}),[]);var b=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,i),x=t.useState(b),w=(0,bt.Z)(x,2),k=w[0],S=w[1];t.useEffect((function(){m.current&&m.current.forceUpdate()})),(0,Ti.Z)((function(){if(r&&s){Rg(r);var e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;S(t.placement)}}];null!=u&&(e=e.concat(u)),l&&null!=l.modifiers&&(e=e.concat(l.modifiers));var t=Tg(Rg(r),h.current,(0,xt.Z)({placement:b},l,{modifiers:e}));return g.current(t),function(){t.destroy(),g.current(null)}}}),[r,a,u,s,l,b]);var O={placement:k};return null!==d&&(O.TransitionProps=d),(0,Nn.jsx)("div",(0,xt.Z)({ref:v,role:"tooltip"},p,{children:"function"===typeof o?o(O):o}))})),Zg=t.forwardRef((function(e,n){var r=e.anchorEl,o=e.children,i=e.container,a=e.direction,u=void 0===a?"ltr":a,s=e.disablePortal,c=void 0!==s&&s,l=e.keepMounted,f=void 0!==l&&l,d=e.modifiers,p=e.open,h=e.placement,v=void 0===h?"bottom":h,m=e.popperOptions,y=void 0===m?Ng:m,g=e.popperRef,b=e.style,x=e.transition,w=void 0!==x&&x,k=(0,On.Z)(e,Ag),S=t.useState(!0),O=(0,bt.Z)(S,2),E=O[0],j=O[1];if(!f&&!p&&(!w||E))return null;var P=i||(r?(0,Pi.Z)(Rg(r)).body:void 0);return(0,Nn.jsx)(Ai,{disablePortal:c,container:P,children:(0,Nn.jsx)(Dg,(0,xt.Z)({anchorEl:r,direction:u,disablePortal:c,modifiers:d,ref:n,open:w?!E:p,placement:v,popperOptions:y,popperRef:g},k,{style:(0,xt.Z)({position:"fixed",top:0,left:0,display:p||!f||w&&!E?null:"none"},b),TransitionProps:w?{in:p,onEnter:function(){j(!1)},onExited:function(){j(!0)}}:null,children:o}))})})),Ig=Zg,Lg=t.forwardRef((function(e,t){var n=(0,bm.Z)();return(0,Nn.jsx)(Ig,(0,xt.Z)({direction:null==n?void 0:n.direction},e,{ref:t}))})),Fg=Lg,zg=["onClick","onTouchStart"],Bg=(0,Tn.ZP)(Fg,{skipSx:!0})((function(e){return{zIndex:e.theme.zIndex.modal}})),Vg=(0,Tn.ZP)(Hn,{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({transformOrigin:"top center",outline:0},"top"===t.placement&&{transformOrigin:"bottom center"})}));var Ug=function(e){var n=e.anchorEl,r=e.children,o=e.containerRef,i=void 0===o?null:o,a=e.onClose,u=e.open,s=e.PopperProps,c=e.role,l=e.TransitionComponent,f=void 0===l?Oi:l,d=e.TrapFocusProps,p=e.PaperProps,h=void 0===p?{}:p;t.useEffect((function(){function e(e){"Escape"!==e.key&&"Esc"!==e.key||a()}return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[a]);var v=t.useRef(null);t.useEffect((function(){"tooltip"!==c&&(u?v.current=document.activeElement:v.current&&v.current instanceof HTMLElement&&v.current.focus())}),[u,c]);var m=function(e,n){var r=t.useRef(!1),o=t.useRef(!1),i=t.useRef(null),a=t.useRef(!1);t.useEffect((function(){if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),function(){document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),a.current=!1};function t(){a.current=!0}}),[e]);var u=(0,Br.Z)((function(e){if(a.current){var t=o.current;o.current=!1;var u=(0,Bo.Z)(i.current);!i.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,u)||(r.current?r.current=!1:(e.composedPath?e.composedPath().indexOf(i.current)>-1:!u.documentElement.contains(e.target)||i.current.contains(e.target))||t||n(e))}})),s=function(){o.current=!0};return t.useEffect((function(){if(e){var t=(0,Bo.Z)(i.current),n=function(){r.current=!0};return t.addEventListener("touchstart",u),t.addEventListener("touchmove",n),function(){t.removeEventListener("touchstart",u),t.removeEventListener("touchmove",n)}}}),[e,u]),t.useEffect((function(){if(e){var t=(0,Bo.Z)(i.current);return t.addEventListener("click",u),function(){t.removeEventListener("click",u),o.current=!1}}}),[e,u]),[i,s,s]}(u,a),y=(0,bt.Z)(m,3),g=y[0],b=y[1],x=y[2],w=t.useRef(null),k=(0,zr.Z)(w,i),S=(0,zr.Z)(k,g),O=e,E=h.onClick,j=h.onTouchStart,P=(0,On.Z)(h,zg);return(0,Nn.jsx)(Bg,(0,xt.Z)({transition:!0,role:c,open:u,anchorEl:n,ownerState:O},s,{children:function(e){var t=e.TransitionProps,n=e.placement;return(0,Nn.jsx)(Ui,(0,xt.Z)({open:u,disableAutoFocus:!0,disableEnforceFocus:"tooltip"===c,isEnabled:function(){return!0}},d,{children:(0,Nn.jsx)(f,(0,xt.Z)({},t,{children:(0,Nn.jsx)(Vg,(0,xt.Z)({tabIndex:-1,elevation:8,ref:S,onClick:function(e){b(e),E&&E(e)},onTouchStart:function(e){x(e),j&&j(e)},ownerState:(0,xt.Z)({},O,{placement:n})},P,{children:r}))}))}))}}))};var Wg=function(e){var n=e.children,r=e.DateInputProps,o=e.KeyboardDateInputComponent,i=e.onDismiss,a=e.open,u=e.PopperProps,s=e.PaperProps,c=e.TransitionComponent,l=t.useRef(null),f=(0,zr.Z)(r.inputRef,l);return(0,Nn.jsxs)(my.Provider,{value:"desktop",children:[(0,Nn.jsx)(o,(0,xt.Z)({},r,{inputRef:f})),(0,Nn.jsx)(Ug,{role:"dialog",open:a,anchorEl:l.current,TransitionComponent:c,PopperProps:u,PaperProps:s,onClose:i,children:n})]})};function Hg(e,t){return Array.isArray(t)?t.every((function(t){return-1!==e.indexOf(t)})):-1!==e.indexOf(t)}var qg=function(e,t){return function(n){"Enter"!==n.key&&" "!==n.key||(e(),n.preventDefault(),n.stopPropagation()),t&&t(n)}},$g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduceRight((function(e,t){return function(){return t(e.apply(void 0,arguments))}}),(function(e){return e}))};function Kg(e,t){return function(n){e(n),t&&t(n)}}function Gg(e){var n,r,o=e.onChange,i=e.onViewChange,a=e.openTo,u=e.view,s=e.views,c=(0,Iv.Z)({name:"Picker",state:"view",controlled:u,default:a&&Hg(s,a)?a:s[0]}),l=(0,bt.Z)(c,2),f=l[0],d=l[1],p=null!=(n=s[s.indexOf(f)-1])?n:null,h=null!=(r=s[s.indexOf(f)+1])?r:null,v=t.useCallback((function(e){d(e),i&&i(e)}),[d,i]),m=t.useCallback((function(){h&&v(h)}),[h,v]),y=t.useCallback((function(e,t){var n="finish"===t,r=n&&Boolean(h)?"partial":t;o(e,r),n&&m()}),[h,o,m]);return{handleChangeAndOpenNext:y,nextView:h,previousView:p,openNext:m,openView:f,setOpenView:v}}function Yg(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}var Jg=220,Xg=36,Qg={x:110,y:110},eb=Qg.x-Qg.x,tb=0-Qg.y,nb=function(e,t,n){var r=t-Qg.x,o=n-Qg.y,i=Math.atan2(eb,tb)-Math.atan2(r,o),a=i*(180/Math.PI);a=Math.round(a/e)*e,a%=360;var u=Math.floor(a/e)||0,s=Math.pow(r,2)+Math.pow(o,2);return{value:u,distance:Math.sqrt(s)}},rb=["className","hasSelected","isInner","type","value"],ob=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({width:2,backgroundColor:t.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},n.toAnimateTransform&&{transition:t.transitions.create(["transform","height"])})})),ib=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({width:4,height:4,backgroundColor:t.palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - ".concat(18,"px)"),border:"".concat(16,"px solid ").concat(t.palette.primary.main),boxSizing:"content-box"},n.hasSelected&&{backgroundColor:t.palette.primary.main})})),ab=function(e){l(n,e);var t=Os(n);function n(){var e;i(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={toAnimateTransform:!1,previousType:void 0},e}return u(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.isInner,r=e.type,o=e.value,i=(0,On.Z)(e,rb),a=(0,xt.Z)({},this.props,this.state);return(0,Nn.jsx)(ob,(0,xt.Z)({style:function(){var e=360/("hours"===r?12:60)*o;return"hours"===r&&o>12&&(e-=360),{height:Math.round((n?.26:.4)*Jg),transform:"rotateZ(".concat(e,"deg)")}}(),className:t,ownerState:a},i,{children:(0,Nn.jsx)(ib,{ownerState:a})}))}}]),n}(t.Component);ab.getDerivedStateFromProps=function(e,t){return e.type!==t.previousType?{toAnimateTransform:!0,previousType:e.type}:{toAnimateTransform:!1,previousType:e.type}};var ub,sb,cb,lb=ab,fb=(0,Tn.ZP)("div",{skipSx:!0})((function(e){return{display:"flex",justifyContent:"center",alignItems:"center",margin:e.theme.spacing(2)}})),db=(0,Tn.ZP)("div",{skipSx:!0})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),pb=(0,Tn.ZP)("div",{skipSx:!0})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none","@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}),hb=(0,Tn.ZP)("div",{skipSx:!0})((function(e){return{width:6,height:6,borderRadius:"50%",backgroundColor:e.theme.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),vb=(0,Tn.ZP)(ey,{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,left:8},"am"===n.meridiemMode&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})})),mb=(0,Tn.ZP)(ey,{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,right:8},"pm"===n.meridiemMode&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})}));var yb=function(e){var n=e.ampm,r=e.ampmInClock,o=e.autoFocus,i=e.children,a=e.date,u=e.getClockLabelText,s=e.handleMeridiemChange,c=e.isTimeDisabled,l=e.meridiemMode,f=e.minutesStep,d=void 0===f?1:f,p=e.onChange,h=e.selectedId,v=e.type,m=e.value,y=e,g=km(),b=t.useContext(my),x=t.useRef(!1),w=c(m,v),k=!n&&"hours"===v&&(m<1||m>12),S=function(e,t){c(e,v)||p(e,t)},O=function(e,t){var r=e.offsetX,o=e.offsetY;if(void 0===r){var i=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-i.left,o=e.changedTouches[0].clientY-i.top}var a="seconds"===v||"minutes"===v?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=nb(6*n,e,t).value;return r*n%60}(r,o,d):function(e,t,n){var r=nb(30,e,t),o=r.value,i=r.distance,a=o||12;return n?a%=12:i<74&&(a+=12,a%=24),a}(r,o,Boolean(n));S(a,t)},E=t.useMemo((function(){return"hours"===v||m%5===0}),[v,m]),j="minutes"===v?d:1,P=t.useRef(null);return(0,Ti.Z)((function(){o&&P.current.focus()}),[o]),(0,Nn.jsxs)(fb,{children:[(0,Nn.jsxs)(db,{children:[(0,Nn.jsx)(pb,{onTouchMove:function(e){x.current=!0,O(e,"shallow")},onTouchEnd:function(e){x.current&&(O(e,"finish"),x.current=!1)},onMouseUp:function(e){x.current&&(x.current=!1),O(e.nativeEvent,"finish")},onMouseMove:function(e){e.buttons>0&&O(e.nativeEvent,"shallow")}}),!w&&(0,Nn.jsxs)(t.Fragment,{children:[ub||(ub=(0,Nn.jsx)(hb,{})),a&&(0,Nn.jsx)(lb,{type:v,value:m,isInner:k,hasSelected:E})]}),(0,Nn.jsx)("div",{"aria-activedescendant":h,"aria-label":u(v,a,g),ref:P,role:"listbox",onKeyDown:function(e){if(!x.current)switch(e.key){case"Home":S(0,"partial"),e.preventDefault();break;case"End":S("minutes"===v?59:23,"partial"),e.preventDefault();break;case"ArrowUp":S(m+j,"partial"),e.preventDefault();break;case"ArrowDown":S(m-j,"partial"),e.preventDefault()}},tabIndex:0,children:i})]}),n&&("desktop"===b||r)&&(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)(vb,{onClick:function(){return s("am")},disabled:null===l,ownerState:y,children:sb||(sb=(0,Nn.jsx)(Tu,{variant:"caption",children:"AM"}))}),(0,Nn.jsx)(mb,{disabled:null===l,onClick:function(){return s("pm")},ownerState:y,children:cb||(cb=(0,Nn.jsx)(Tu,{variant:"caption",children:"PM"}))})]})]})},gb=["className","disabled","index","inner","label","selected"],bb=Nm("PrivateClockNumber",["selected","disabled"]),xb=(0,Tn.ZP)("span",{skipSx:!0})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)((t={height:Xg,width:Xg,position:"absolute",left:"calc((100% - ".concat(Xg,"px) / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:n.palette.text.primary,"&:focused":{backgroundColor:n.palette.background.paper}},(0,p.Z)(t,"&.".concat(bb.selected),{color:n.palette.primary.contrastText}),(0,p.Z)(t,"&.".concat(bb.disabled),{pointerEvents:"none",color:n.palette.text.disabled}),t),r.inner&&(0,xt.Z)({},n.typography.body2,{color:n.palette.text.secondary}))}));var wb=function(e){var t=e.className,n=e.disabled,r=e.index,o=e.inner,i=e.label,a=e.selected,u=(0,On.Z)(e,gb),s=e,c=r%12/12*Math.PI*2-Math.PI/2,l=91*(o?.65:1),f=Math.round(Math.cos(c)*l),d=Math.round(Math.sin(c)*l);return(0,Nn.jsx)(xb,(0,xt.Z)({className:(0,Pn.Z)(t,a&&bb.selected,n&&bb.disabled),"aria-disabled":!!n||void 0,"aria-selected":!!a||void 0,role:"option",style:{transform:"translate(".concat(f,"px, ").concat(d+92,"px")},ownerState:s},u,{children:i}))},kb=function(e){for(var t=e.ampm,n=e.date,r=e.getClockNumberText,o=e.isDisabled,i=e.selectedId,a=e.utils,u=n?a.getHours(n):null,s=[],c=t?12:23,l=function(e){return null!==u&&(t?12===e?12===u||0===u:u===e||u-12===e:u===e)},f=t?1:0;f<=c;f+=1){var d=f.toString();0===f&&(d="00");var p=!t&&(0===f||f>12);d=a.formatNumber(d);var h=l(f);s.push((0,Nn.jsx)(wb,{id:h?i:void 0,index:f,inner:p,selected:h,disabled:o(f),label:d,"aria-label":r(d)},f))}return s},Sb=function(e){var t=e.utils,n=e.value,r=e.isDisabled,o=e.getClockNumberText,i=e.selectedId,a=t.formatNumber;return[[5,a("05")],[10,a("10")],[15,a("15")],[20,a("20")],[25,a("25")],[30,a("30")],[35,a("35")],[40,a("40")],[45,a("45")],[50,a("50")],[55,a("55")],[0,a("00")]].map((function(e,t){var a=(0,bt.Z)(e,2),u=a[0],s=a[1],c=u===n;return(0,Nn.jsx)(wb,{label:s,id:c?i:void 0,index:t+1,inner:!1,disabled:r(u),selected:c,"aria-label":o(s)},u)}))},Ob=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),Eb=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),jb=["children","className","components","componentsProps","isLeftDisabled","isLeftHidden","isRightDisabled","isRightHidden","leftArrowButtonText","onLeftClick","onRightClick","rightArrowButtonText"],Pb=(0,Tn.ZP)("div")({display:"flex"}),Cb=(0,Tn.ZP)("div",{skipSx:!0})((function(e){return{width:e.theme.spacing(3)}})),_b=(0,Tn.ZP)(ey,{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({},t.hidden&&{visibility:"hidden"})})),Tb=t.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.components,i=void 0===o?{}:o,a=e.componentsProps,u=void 0===a?{}:a,s=e.isLeftDisabled,c=e.isLeftHidden,l=e.isRightDisabled,f=e.isRightHidden,d=e.leftArrowButtonText,p=e.onLeftClick,h=e.onRightClick,v=e.rightArrowButtonText,m=(0,On.Z)(e,jb),y="rtl"===yi().direction,g=u.leftArrowButton||{},b=i.LeftArrowIcon||Ob,x=u.rightArrowButton||{},w=i.RightArrowIcon||Eb,k=e;return(0,Nn.jsxs)(Pb,(0,xt.Z)({ref:t,className:r,ownerState:k},m,{children:[(0,Nn.jsx)(_b,(0,xt.Z)({as:i.LeftArrowButton,size:"small","aria-label":d,title:d,disabled:s,edge:"end",onClick:p},g,{className:g.className,ownerState:(0,xt.Z)({},k,g,{hidden:c}),children:y?(0,Nn.jsx)(w,{}):(0,Nn.jsx)(b,{})})),n?(0,Nn.jsx)(Tu,{variant:"subtitle1",component:"span",children:n}):(0,Nn.jsx)(Cb,{ownerState:k}),(0,Nn.jsx)(_b,(0,xt.Z)({as:i.RightArrowButton,size:"small","aria-label":v,title:v,edge:"start",disabled:l,onClick:h},x,{className:x.className,ownerState:(0,xt.Z)({},k,x,{hidden:f}),children:y?(0,Nn.jsx)(b,{}):(0,Nn.jsx)(w,{})}))]}))})),Mb=function(e,t,n){if(n&&(e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12;return e};function Ab(e,t){return 3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e)}var Rb=function(e,t){return function(n,r){return e?t.isAfter(n,r):Ab(n,t)>Ab(r,t)}};function Nb(e,n,r){var o=km(),i=function(e,t){return e?t.getHours(e)>=12?"pm":"am":null}(e,o),a=t.useCallback((function(t){var i=function(e,t,n,r){var o=Mb(r.getHours(e),t,n);return r.setHours(e,o)}(e,t,Boolean(n),o);r(i,"partial")}),[n,e,r,o]);return{meridiemMode:i,handleMeridiemChange:a}}function Db(e){return Rm("MuiClockPicker",e)}Nm("MuiClockPicker",["arrowSwitcher"]);var Zb=(0,Tn.ZP)(Tb,{name:"MuiClockPicker",slot:"ArrowSwitcher",overridesResolver:function(e,t){return t.arrowSwitcher}})({position:"absolute",right:12,top:15}),Ib=function(e,t,n){return"Select ".concat(e,". ").concat(null===t?"No time selected":"Selected time is ".concat(n.format(t,"fullTime")))},Lb=function(e){return"".concat(e," minutes")},Fb=function(e){return"".concat(e," hours")},zb=function(e){return"".concat(e," seconds")};var Bb=function(e){var n=(0,_n.Z)({props:e,name:"MuiClockPicker"}),r=n.ampm,o=void 0!==r&&r,i=n.ampmInClock,a=void 0!==i&&i,u=n.autoFocus,s=n.components,c=n.componentsProps,l=n.date,f=n.disableIgnoringDatePartForTimeValidation,d=void 0!==f&&f,p=n.getClockLabelText,h=void 0===p?Ib:p,v=n.getHoursClockNumberText,m=void 0===v?Fb:v,y=n.getMinutesClockNumberText,g=void 0===y?Lb:y,b=n.getSecondsClockNumberText,x=void 0===b?zb:b,w=n.leftArrowButtonText,k=void 0===w?"open previous view":w,S=n.maxTime,O=n.minTime,E=n.minutesStep,j=void 0===E?1:E,P=n.nextViewAvailable,C=n.onChange,_=n.openNextView,T=n.openPreviousView,M=n.previousViewAvailable,A=n.rightArrowButtonText,R=void 0===A?"open next view":A,N=n.shouldDisableTime,D=n.showViewSwitcher,Z=n.view,I=Om(),L=km(),F=L.setSeconds(L.setMinutes(L.setHours(I,0),0),0),z=l||F,B=Nb(z,o,C),V=B.meridiemMode,U=B.handleMeridiemChange,W=t.useCallback((function(e,t){if(null===l)return!1;var n=function(n){var r=Rb(d,L);return Boolean(O&&r(O,n("end"))||S&&r(n("start"),S)||N&&N(e,t))};switch(t){case"hours":var r=Mb(e,V,o);return n((function(e){return $g((function(e){return L.setHours(e,r)}),(function(t){return L.setMinutes(t,"start"===e?0:59)}),(function(t){return L.setSeconds(t,"start"===e?0:59)}))(l)}));case"minutes":return n((function(t){return $g((function(t){return L.setMinutes(t,e)}),(function(e){return L.setSeconds(e,"start"===t?0:59)}))(l)}));case"seconds":return n((function(){return L.setSeconds(l,e)}));default:throw new Error("not supported")}}),[o,l,d,S,V,O,N,L]),H=(0,sh.Z)(),q=t.useMemo((function(){switch(Z){case"hours":var e=function(e,t){var n=Mb(e,V,o);C(L.setHours(z,n),t)};return{onChange:e,value:L.getHours(z),children:kb({date:l,utils:L,ampm:o,onChange:e,getClockNumberText:m,isDisabled:function(e){return W(e,"hours")},selectedId:H})};case"minutes":var t=L.getMinutes(z),n=function(e,t){C(L.setMinutes(z,e),t)};return{value:t,onChange:n,children:Sb({utils:L,value:t,onChange:n,getClockNumberText:g,isDisabled:function(e){return W(e,"minutes")},selectedId:H})};case"seconds":var r=L.getSeconds(z),i=function(e,t){C(L.setSeconds(z,e),t)};return{value:r,onChange:i,children:Sb({utils:L,value:r,onChange:i,getClockNumberText:x,isDisabled:function(e){return W(e,"seconds")},selectedId:H})};default:throw new Error("You must provide the type for ClockView")}}),[Z,L,l,o,m,g,x,V,C,z,W,H]),$=n,K=function(e){return Yg({arrowSwitcher:["arrowSwitcher"]},Db,e.classes)}($);return(0,Nn.jsxs)(t.Fragment,{children:[D&&(0,Nn.jsx)(Zb,{className:K.arrowSwitcher,leftArrowButtonText:k,rightArrowButtonText:R,components:s,componentsProps:c,onLeftClick:T,onRightClick:_,isLeftDisabled:M,isRightDisabled:P,ownerState:$}),(0,Nn.jsx)(yb,(0,xt.Z)({autoFocus:u,date:l,ampmInClock:a,type:Z,ampm:o,getClockLabelText:h,minutesStep:j,isTimeDisabled:W,meridiemMode:V,handleMeridiemChange:U,selectedId:H},q))]})},Vb=["disabled","onSelect","selected","value"],Ub=Nm("PrivatePickersMonth",["root","selected"]),Wb=(0,Tn.ZP)(Tu,{skipSx:!0})((function(e){var t=e.theme;return(0,xt.Z)({flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,(0,p.Z)({margin:"8px 0",height:36,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:(0,Fn.Fq)(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{pointerEvents:"none",color:t.palette.text.secondary}},"&.".concat(Ub.selected),{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}))})),Hb=function(e){var t=e.disabled,n=e.onSelect,r=e.selected,o=e.value,i=(0,On.Z)(e,Vb),a=function(){n(o)};return(0,Nn.jsx)(Wb,(0,xt.Z)({component:"button",className:(0,Pn.Z)(Ub.root,r&&Ub.selected),tabIndex:t?-1:0,onClick:a,onKeyDown:qg(a),color:r?"primary":void 0,variant:r?"h5":"subtitle1",disabled:t},i))},qb=["className","date","disabled","disableFuture","disablePast","maxDate","minDate","onChange","onMonthChange","readOnly"];function $b(e){return Rm("MuiMonthPicker",e)}Nm("MuiMonthPicker",["root"]);var Kb=(0,Tn.ZP)("div",{name:"MuiMonthPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch",margin:"0 4px"}),Gb=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiMonthPicker"}),r=n.className,o=n.date,i=n.disabled,a=n.disableFuture,u=n.disablePast,s=n.maxDate,c=n.minDate,l=n.onChange,f=n.onMonthChange,d=n.readOnly,p=(0,On.Z)(n,qb),h=n,v=function(e){return Yg({root:["root"]},$b,e.classes)}(h),m=km(),y=Om(),g=m.getMonth(o||y),b=function(e){var t=m.startOfMonth(u&&m.isAfter(y,c)?y:c),n=m.startOfMonth(a&&m.isBefore(y,s)?y:s),r=m.isBefore(e,t),o=m.isAfter(e,n);return r||o},x=function(e){if(!d){var t=m.setMonth(o||y,e);l(t,"finish"),f&&f(t)}};return(0,Nn.jsx)(Kb,(0,xt.Z)({ref:t,className:(0,Pn.Z)(v.root,r),ownerState:h},p,{children:m.getMonthArray(o||y).map((function(e){var t=m.getMonth(e),n=m.format(e,"monthShort");return(0,Nn.jsx)(Hb,{value:t,selected:t===g,onSelect:x,disabled:i||b(e),children:n},n)}))}))})),Yb=Gb,Jb=function(e){var t=e.date,n=e.disableFuture,r=e.disablePast,o=e.maxDate,i=e.minDate,a=e.shouldDisableDate,u=e.utils,s=u.startOfDay(u.date());r&&u.isBefore(i,s)&&(i=s),n&&u.isAfter(o,s)&&(o=s);var c=t,l=t;for(u.isBefore(t,i)&&(c=u.date(i),l=null),u.isAfter(t,o)&&(l&&(l=u.date(o)),c=null);c||l;){if(c&&u.isAfter(c,o)&&(c=null),l&&u.isBefore(l,i)&&(l=null),c){if(!a(c))return c;c=u.addDays(c,1)}if(l){if(!a(l))return l;l=u.addDays(l,-1)}}return s};function Xb(e,t){var n=e.date(t);return e.isValid(n)?n:null}var Qb=function(e,t,n){var r=n.disablePast,o=n.disableFuture,i=n.minDate,a=n.maxDate,u=n.shouldDisableDate,s=e.date(),c=e.date(t);if(null===c)return null;switch(!0){case!e.isValid(t):return"invalidDate";case Boolean(u&&u(c)):return"shouldDisableDate";case Boolean(o&&e.isAfterDay(c,s)):return"disableFuture";case Boolean(r&&e.isBeforeDay(c,s)):return"disablePast";case Boolean(i&&e.isBeforeDay(c,i)):return"minDate";case Boolean(a&&e.isAfterDay(c,a)):return"maxDate";default:return null}};function ex(e){var n,r=e.date,o=e.defaultCalendarMonth,i=e.disableFuture,a=e.disablePast,u=e.disableSwitchToMonthOnDayFocus,s=void 0!==u&&u,c=e.maxDate,l=e.minDate,f=e.onMonthChange,d=e.reduceAnimations,p=e.shouldDisableDate,h=Om(),v=km(),m=t.useRef(function(e,t,n){return function(r,o){switch(o.type){case"changeMonth":return(0,xt.Z)({},r,{slideDirection:o.direction,currentMonth:o.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,xt.Z)({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":if(null!==r.focusedDay&&n.isSameDay(o.focusedDay,r.focusedDay))return r;var i=Boolean(o.focusedDay)&&!t&&!n.isSameMonth(r.currentMonth,o.focusedDay);return(0,xt.Z)({},r,{focusedDay:o.focusedDay,isMonthSwitchingAnimating:i&&!e,currentMonth:i?n.startOfMonth(o.focusedDay):r.currentMonth,slideDirection:n.isAfterDay(o.focusedDay,r.currentMonth)?"left":"right"});default:throw new Error("missing support")}}}(Boolean(d),s,v)).current,y=t.useReducer(m,{isMonthSwitchingAnimating:!1,focusedDay:r||h,currentMonth:v.startOfMonth(null!=(n=null!=r?r:o)?n:h),slideDirection:"left"}),g=(0,bt.Z)(y,2),b=g[0],x=g[1],w=t.useCallback((function(e){x((0,xt.Z)({type:"changeMonth"},e)),f&&f(e.newMonth)}),[f]),k=t.useCallback((function(e){var t=null!=e?e:h;v.isSameMonth(t,b.currentMonth)||w({newMonth:v.startOfMonth(t),direction:v.isAfterDay(t,b.currentMonth)?"left":"right"})}),[b.currentMonth,w,h,v]),S=t.useCallback((function(e){return null!==Qb(v,e,{disablePast:a,disableFuture:i,minDate:l,maxDate:c,shouldDisableDate:p})}),[i,a,c,l,p,v]),O=t.useCallback((function(){x({type:"finishMonthSwitchingAnimation"})}),[]),E=t.useCallback((function(e){S(e)||x({type:"changeFocusedDay",focusedDay:e})}),[S]);return{calendarState:b,changeMonth:k,changeFocusedDay:E,isDateDisabled:S,onMonthSwitchingAnimationEnd:O,handleChangeMonth:w}}var tx=Nm("PrivatePickersFadeTransitionGroup",["root"]),nx=(0,Tn.ZP)(Jr,{skipSx:!0})({display:"block",position:"relative"}),rx=function(e){var t=e.children,n=e.className,r=e.reduceAnimations,o=e.transKey;return r?t:(0,Nn.jsx)(nx,{className:(0,Pn.Z)(tx.root,n),children:(0,Nn.jsx)(oa,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:500,enter:250,exit:0},children:t},o)})},ox=["allowSameDateSelection","autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDayFocus","onDaySelect","onFocus","onKeyDown","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today"];function ix(e){return Rm("MuiPickersDay",e)}var ax=Nm("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),ux=function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({},n.typography.caption,(t={width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:n.palette.background.paper,color:n.palette.text.primary,"&:hover":{backgroundColor:(0,Fn.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)},"&:focus":(0,p.Z)({backgroundColor:(0,Fn.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)},"&.".concat(ax.selected),{willChange:"background-color",backgroundColor:n.palette.primary.dark})},(0,p.Z)(t,"&.".concat(ax.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,fontWeight:n.typography.fontWeightMedium,transition:n.transitions.create("background-color",{duration:n.transitions.duration.short}),"&:hover":{willChange:"background-color",backgroundColor:n.palette.primary.dark}}),(0,p.Z)(t,"&.".concat(ax.disabled),{color:n.palette.text.disabled}),t),!r.disableMargin&&{margin:"0 ".concat(2,"px")},r.outsideCurrentMonth&&r.showDaysOutsideCurrentMonth&&{color:n.palette.text.secondary},!r.disableHighlightToday&&r.today&&(0,p.Z)({},"&:not(.".concat(ax.selected,")"),{border:"1px solid ".concat(n.palette.text.secondary)}))},sx=function(e,t){var n=e.ownerState;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},cx=(0,Tn.ZP)(To,{name:"MuiPickersDay",slot:"Root",overridesResolver:sx})(ux),lx=(0,Tn.ZP)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:sx})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({},ux({theme:t,ownerState:n}),{visibility:"hidden"})})),fx=function(){},dx=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiPickersDay"}),o=r.allowSameDateSelection,i=void 0!==o&&o,a=r.autoFocus,u=void 0!==a&&a,s=r.className,c=r.day,l=r.disabled,f=void 0!==l&&l,d=r.disableHighlightToday,p=void 0!==d&&d,h=r.disableMargin,v=void 0!==h&&h,m=r.isAnimating,y=r.onClick,g=r.onDayFocus,b=void 0===g?fx:g,x=r.onDaySelect,w=r.onFocus,k=r.onKeyDown,S=r.outsideCurrentMonth,O=r.selected,E=void 0!==O&&O,j=r.showDaysOutsideCurrentMonth,P=void 0!==j&&j,C=r.children,_=r.today,T=void 0!==_&&_,M=(0,On.Z)(r,ox),A=(0,xt.Z)({},r,{allowSameDateSelection:i,autoFocus:u,disabled:f,disableHighlightToday:p,disableMargin:v,selected:E,showDaysOutsideCurrentMonth:P,today:T}),R=function(e){var t=e.selected,n=e.disableMargin,r=e.disableHighlightToday,o=e.today,i=e.outsideCurrentMonth,a=e.showDaysOutsideCurrentMonth;return Yg({root:["root",t&&"selected",!n&&"dayWithMargin",!r&&o&&"today",i&&a&&"dayOutsideMonth"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},ix,e.classes)}(A),N=km(),D=t.useRef(null),Z=(0,zr.Z)(D,n);(0,Ti.Z)((function(){!u||f||m||S||D.current.focus()}),[u,f,m,S]);var I=yi();return S&&!P?(0,Nn.jsx)(lx,{className:(0,Pn.Z)(R.root,R.hiddenDaySpacingFiller,s),ownerState:A}):(0,Nn.jsx)(cx,(0,xt.Z)({className:(0,Pn.Z)(R.root,s),ownerState:A,ref:Z,centerRipple:!0,disabled:f,"aria-label":C?void 0:N.format(c,"fullDate"),tabIndex:E?0:-1,onFocus:function(e){b&&b(c),w&&w(e)},onKeyDown:function(e){switch(void 0!==k&&k(e),e.key){case"ArrowUp":b(N.addDays(c,-7)),e.preventDefault();break;case"ArrowDown":b(N.addDays(c,7)),e.preventDefault();break;case"ArrowLeft":b(N.addDays(c,"ltr"===I.direction?-1:1)),e.preventDefault();break;case"ArrowRight":b(N.addDays(c,"ltr"===I.direction?1:-1)),e.preventDefault();break;case"Home":b(N.startOfWeek(c)),e.preventDefault();break;case"End":b(N.endOfWeek(c)),e.preventDefault();break;case"PageUp":b(N.getNextMonth(c)),e.preventDefault();break;case"PageDown":b(N.getPreviousMonth(c)),e.preventDefault()}},onClick:function(e){!i&&E||(f||x(c,"finish"),y&&y(e))}},M,{children:C||N.format(c,"dayOfMonth")}))})),px=function(e,t){return e.autoFocus===t.autoFocus&&e.isAnimating===t.isAnimating&&e.today===t.today&&e.disabled===t.disabled&&e.selected===t.selected&&e.disableMargin===t.disableMargin&&e.showDaysOutsideCurrentMonth===t.showDaysOutsideCurrentMonth&&e.disableHighlightToday===t.disableHighlightToday&&e.className===t.className&&e.outsideCurrentMonth===t.outsideCurrentMonth&&e.onDayFocus===t.onDayFocus&&e.onDaySelect===t.onDaySelect},hx=t.memo(dx,px);function vx(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var mx=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=vx(n.className,r):n.setAttribute("class",vx(n.className&&n.className.baseVal||"",r)));var n,r}))},yx=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}Wr(n,e);var r=n.prototype;return r.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},r.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&mx(e,r),o&&mx(e,o),i&&mx(e,i)},r.render=function(){var e=this.props,n=(e.classNames,(0,On.Z)(e,["classNames"]));return t.createElement(hi,(0,xt.Z)({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(t.Component);yx.defaultProps={classNames:""},yx.propTypes={};var gx,bx=yx,xx=["children","className","reduceAnimations","slideDirection","transKey"],wx=Nm("PrivatePickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),kx=(0,Tn.ZP)(Jr,{skipSx:!0})((function(e){var t,n=e.theme.transitions.create("transform",{duration:350,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return t={display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0}},(0,p.Z)(t,"& .".concat(wx["slideEnter-left"]),{willChange:"transform",transform:"translate(100%)",zIndex:1}),(0,p.Z)(t,"& .".concat(wx["slideEnter-right"]),{willChange:"transform",transform:"translate(-100%)",zIndex:1}),(0,p.Z)(t,"& .".concat(wx.slideEnterActive),{transform:"translate(0%)",transition:n}),(0,p.Z)(t,"& .".concat(wx.slideExit),{transform:"translate(0%)"}),(0,p.Z)(t,"& .".concat(wx["slideExitActiveLeft-left"]),{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0}),(0,p.Z)(t,"& .".concat(wx["slideExitActiveLeft-right"]),{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}),t})),Sx=function(e){var n=e.children,r=e.className,o=e.reduceAnimations,i=e.slideDirection,a=e.transKey,u=(0,On.Z)(e,xx);if(o)return(0,Nn.jsx)("div",{className:(0,Pn.Z)(wx.root,r),children:n});var s={exit:wx.slideExit,enterActive:wx.slideEnterActive,enter:wx["slideEnter-".concat(i)],exitActive:wx["slideExitActiveLeft-".concat(i)]};return(0,Nn.jsx)(kx,{className:(0,Pn.Z)(wx.root,r),childFactory:function(e){return t.cloneElement(e,{classNames:s})},children:(0,Nn.jsx)(bx,(0,xt.Z)({mountOnEnter:!0,unmountOnExit:!0,timeout:350,classNames:s},u,{children:n}),a)})},Ox=(0,Tn.ZP)("div",{skipSx:!0})({display:"flex",justifyContent:"center",alignItems:"center"}),Ex=(0,Tn.ZP)(Tu,{skipSx:!0})((function(e){return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.theme.palette.text.secondary}})),jx=(0,Tn.ZP)("div",{skipSx:!0})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:264}),Px=(0,Tn.ZP)(Sx,{skipSx:!0})({minHeight:264}),Cx=(0,Tn.ZP)("div",{skipSx:!0})({overflow:"hidden"}),_x=(0,Tn.ZP)("div",{skipSx:!0})({margin:"".concat(2,"px 0"),display:"flex",justifyContent:"center"});var Tx=function(e){var n=e.allowSameDateSelection,r=e.autoFocus,o=e.onFocusedDayChange,i=e.className,a=e.currentMonth,u=e.date,s=e.disabled,c=e.disableHighlightToday,l=e.focusedDay,f=e.isDateDisabled,d=e.isMonthSwitchingAnimating,p=e.loading,h=e.onChange,v=e.onMonthSwitchingAnimationEnd,m=e.readOnly,y=e.reduceAnimations,g=e.renderDay,b=e.renderLoading,x=void 0===b?function(){return gx||(gx=(0,Nn.jsx)("span",{children:"..."}))}:b,w=e.showDaysOutsideCurrentMonth,k=e.slideDirection,S=e.TransitionProps,O=Om(),E=km(),j=t.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"finish";if(!m){var n=Array.isArray(u)?e:E.mergeDateAndTime(e,u||O);h(n,t)}}),[u,O,h,m,E]),P=E.getMonth(a),C=(Array.isArray(u)?u:[u]).filter(Boolean).map((function(e){return e&&E.startOfDay(e)})),_=P,T=t.useMemo((function(){return t.createRef()}),[_]);return(0,Nn.jsxs)(t.Fragment,{children:[(0,Nn.jsx)(Ox,{children:E.getWeekdays().map((function(e,t){return(0,Nn.jsx)(Ex,{"aria-hidden":!0,variant:"caption",children:e.charAt(0).toUpperCase()},e+t.toString())}))}),p?(0,Nn.jsx)(jx,{children:x()}):(0,Nn.jsx)(Px,(0,xt.Z)({transKey:_,onExited:v,reduceAnimations:y,slideDirection:k,className:i},S,{nodeRef:T,children:(0,Nn.jsx)(Cx,{ref:T,role:"grid",children:E.getWeekArray(a).map((function(e){return(0,Nn.jsx)(_x,{role:"row",children:e.map((function(e){var t={key:null==e?void 0:e.toString(),day:e,isAnimating:d,disabled:s||f(e),allowSameDateSelection:n,autoFocus:r&&null!==l&&E.isSameDay(e,l),today:E.isSameDay(e,O),outsideCurrentMonth:E.getMonth(e)!==P,selected:C.some((function(t){return t&&E.isSameDay(t,e)})),disableHighlightToday:c,showDaysOutsideCurrentMonth:w,onDayFocus:o,onDaySelect:j};return g?g(e,C,t):(0,Nn.jsx)("div",{role:"cell",children:(0,Nn.jsx)(hx,(0,xt.Z)({},t))},t.key)}))},"week-".concat(e[0]))}))})}))]})},Mx=(0,Yv.Z)((0,Nn.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Ax=(0,Tn.ZP)("div",{skipSx:!0})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),Rx=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.theme;return(0,xt.Z)({display:"flex",maxHeight:30,overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})})),Nx=(0,Tn.ZP)("div",{skipSx:!0})({marginRight:6}),Dx=(0,Tn.ZP)(ey,{skipSx:!0})({marginRight:"auto"}),Zx=(0,Tn.ZP)(Mx,{skipSx:!0})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"},"year"===n.openView&&{transform:"rotate(180deg)"})}));function Ix(e){return"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view"}var Lx=function(e){var n=e.components,r=void 0===n?{}:n,o=e.componentsProps,i=void 0===o?{}:o,a=e.currentMonth,u=e.disabled,s=e.disableFuture,c=e.disablePast,l=e.getViewSwitchingButtonText,f=void 0===l?Ix:l,d=e.leftArrowButtonText,p=void 0===d?"Previous month":d,h=e.maxDate,v=e.minDate,m=e.onMonthChange,y=e.onViewChange,g=e.openView,b=e.reduceAnimations,x=e.rightArrowButtonText,w=void 0===x?"Next month":x,k=e.views,S=km(),O=i.switchViewButton||{},E=function(e,n){var r=n.disableFuture,o=n.maxDate,i=km();return t.useMemo((function(){var t=i.date(),n=i.startOfMonth(r&&i.isBefore(t,o)?t:o);return!i.isAfter(n,e)}),[r,o,e,i])}(a,{disableFuture:s||u,maxDate:h}),j=function(e,n){var r=n.disablePast,o=n.minDate,i=km();return t.useMemo((function(){var t=i.date(),n=i.startOfMonth(r&&i.isAfter(t,o)?t:o);return!i.isBefore(n,e)}),[r,o,e,i])}(a,{disablePast:c||u,minDate:v});if(1===k.length&&"year"===k[0])return null;var P=e;return(0,Nn.jsxs)(Ax,{ownerState:P,children:[(0,Nn.jsxs)(Rx,{role:"presentation",onClick:function(){if(1!==k.length&&y&&!u)if(2===k.length)y(k.find((function(e){return e!==g}))||k[0]);else{var e=0!==k.indexOf(g)?0:1;y(k[e])}},ownerState:P,children:[(0,Nn.jsx)(rx,{reduceAnimations:b,transKey:S.format(a,"month"),children:(0,Nn.jsx)(Nx,{"aria-live":"polite",ownerState:P,children:S.format(a,"month")})}),(0,Nn.jsx)(rx,{reduceAnimations:b,transKey:S.format(a,"year"),children:(0,Nn.jsx)(Nx,{"aria-live":"polite",ownerState:P,children:S.format(a,"year")})}),k.length>1&&!u&&(0,Nn.jsx)(Dx,(0,xt.Z)({size:"small",as:r.SwitchViewButton,"aria-label":f(g)},O,{children:(0,Nn.jsx)(Zx,{as:r.SwitchViewIcon,ownerState:P})}))]}),(0,Nn.jsx)(oa,{in:"day"===g,children:(0,Nn.jsx)(Tb,{leftArrowButtonText:p,rightArrowButtonText:w,components:r,componentsProps:i,onLeftClick:function(){return m(S.getPreviousMonth(a),"right")},onRightClick:function(){return m(S.getNextMonth(a),"left")},isLeftDisabled:j,isRightDisabled:E})})]})};function Fx(e){return Rm("PrivatePickersYear",e)}var zx=Nm("PrivatePickersYear",["root","modeMobile","modeDesktop","yearButton","disabled","selected"]),Bx=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({flexBasis:"33.3%",display:"flex",alignItems:"center",justifyContent:"center"},"desktop"===(null==t?void 0:t.wrapperVariant)&&{flexBasis:"25%"})})),Vx=(0,Tn.ZP)("button",{skipSx:!0})((function(e){var t,n=e.theme;return(0,xt.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},n.typography.subtitle1,(t={margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:(0,Fn.Fq)(n.palette.action.active,n.palette.action.hoverOpacity)}},(0,p.Z)(t,"&.".concat(zx.disabled),{color:n.palette.text.secondary}),(0,p.Z)(t,"&.".concat(zx.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,"&:focus, &:hover":{backgroundColor:n.palette.primary.dark}}),t))})),Ux=t.forwardRef((function(e,n){var r=e.autoFocus,o=e.className,i=e.children,a=e.disabled,u=e.onClick,s=e.onKeyDown,c=e.selected,l=e.value,f=t.useRef(null),d=(0,zr.Z)(f,n),p=t.useContext(my),h=(0,xt.Z)({},e,{wrapperVariant:p}),v=function(e){var t=e.wrapperVariant,n=e.disabled,r=e.selected,o=e.classes;return Yg({root:["root",t&&"mode".concat((0,pr.Z)(t))],yearButton:["yearButton",n&&"disabled",r&&"selected"]},Fx,o)}(h);return t.useEffect((function(){r&&f.current.focus()}),[r]),(0,Nn.jsx)(Bx,{className:(0,Pn.Z)(v.root,o),ownerState:h,children:(0,Nn.jsx)(Vx,{ref:d,disabled:a,type:"button",tabIndex:c?0:-1,onClick:function(e){return u(e,l)},onKeyDown:function(e){return s(e,l)},className:v.yearButton,ownerState:h,children:i})})})),Wx=Ux;function Hx(e){return Rm("MuiYearPicker",e)}Nm("MuiYearPicker",["root"]);var qx,$x=(0,Tn.ZP)("div",{name:"MuiYearPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",margin:"0 4px"}),Kx=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiYearPicker"}),o=r.autoFocus,i=r.className,a=r.date,u=r.disabled,s=r.disableFuture,c=r.disablePast,l=r.isDateDisabled,f=r.maxDate,d=r.minDate,p=r.onChange,h=r.onFocusedDayChange,v=r.onYearChange,m=r.readOnly,y=r.shouldDisableYear,g=r,b=function(e){return Yg({root:["root"]},Hx,e.classes)}(g),x=Om(),w=yi(),k=km(),S=a||x,O=k.getYear(S),E=t.useContext(my),j=t.useRef(null),P=t.useState(O),C=(0,bt.Z)(P,2),_=C[0],T=C[1],M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"finish";if(!m){var r=function(e){p(e,n),h&&h(e||x),v&&v(e)},o=k.setYear(S,t);if(l(o)){var i=Jb({utils:k,date:o,minDate:d,maxDate:f,disablePast:Boolean(c),disableFuture:Boolean(s),shouldDisableDate:l});r(i||x)}else r(o)}},A=t.useCallback((function(e){l(k.setYear(S,e))||T(e)}),[S,l,k]),R="desktop"===E?4:3,N=function(e,t){switch(e.key){case"ArrowUp":A(t-R),e.preventDefault();break;case"ArrowDown":A(t+R),e.preventDefault();break;case"ArrowLeft":A(t+("ltr"===w.direction?-1:1)),e.preventDefault();break;case"ArrowRight":A(t+("ltr"===w.direction?1:-1)),e.preventDefault()}};return(0,Nn.jsx)($x,{ref:n,className:(0,Pn.Z)(b.root,i),ownerState:g,children:k.getYearRange(d,f).map((function(e){var t=k.getYear(e),n=t===O;return(0,Nn.jsx)(Wx,{selected:n,value:t,onClick:M,onKeyDown:N,autoFocus:o&&t===_,ref:n?j:void 0,disabled:u||c&&k.isBeforeYear(e,x)||s&&k.isAfterYear(e,x)||y&&y(e),children:k.format(e,"year")},k.format(e,"year"))}))})})),Gx=Kx,Yx=(0,Tn.ZP)("div")({overflowX:"hidden",width:320,maxHeight:358,display:"flex",flexDirection:"column",margin:"0 auto"}),Jx=["autoFocus","onViewChange","date","disableFuture","disablePast","defaultCalendarMonth","loading","maxDate","minDate","onChange","onMonthChange","reduceAnimations","renderLoading","shouldDisableDate","shouldDisableYear","view","views","openTo","className"];function Xx(e){return Rm("MuiCalendarPicker",e)}Nm("MuiCalendarPicker",["root","viewTransitionContainer"]);var Qx=(0,Tn.ZP)(Yx,{name:"MuiCalendarPicker",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"flex",flexDirection:"column"}),ew=(0,Tn.ZP)(rx,{name:"MuiCalendarPicker",slot:"ViewTransitionContainer",overridesResolver:function(e,t){return t.viewTransitionContainer}})({overflowY:"auto"}),tw="undefined"!==typeof navigator&&/(android)/i.test(navigator.userAgent),nw=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiCalendarPicker"}),o=r.autoFocus,i=r.onViewChange,a=r.date,u=r.disableFuture,s=void 0!==u&&u,c=r.disablePast,l=void 0!==c&&c,f=r.defaultCalendarMonth,d=r.loading,p=void 0!==d&&d,h=r.maxDate,v=r.minDate,m=r.onChange,y=r.onMonthChange,g=r.reduceAnimations,b=void 0===g?tw:g,x=r.renderLoading,w=void 0===x?function(){return qx||(qx=(0,Nn.jsx)("span",{children:"..."}))}:x,k=r.shouldDisableDate,S=r.shouldDisableYear,O=r.view,E=r.views,j=void 0===E?["year","day"]:E,P=r.openTo,C=void 0===P?"day":P,_=r.className,T=(0,On.Z)(r,Jx),M=km(),A=Sm(),R=null!=v?v:A.minDate,N=null!=h?h:A.maxDate,D=Gg({view:O,views:j,openTo:C,onChange:m,onViewChange:i}),Z=D.openView,I=D.setOpenView,L=ex({date:a,defaultCalendarMonth:f,reduceAnimations:b,onMonthChange:y,minDate:R,maxDate:N,shouldDisableDate:k,disablePast:l,disableFuture:s}),F=L.calendarState,z=L.changeFocusedDay,B=L.changeMonth,V=L.isDateDisabled,U=L.handleChangeMonth,W=L.onMonthSwitchingAnimationEnd;t.useEffect((function(){if(a&&V(a)){var e=Jb({utils:M,date:a,minDate:R,maxDate:N,disablePast:l,disableFuture:s,shouldDisableDate:V});m(e,"partial")}}),[]),t.useEffect((function(){a&&B(a)}),[a]);var H=r,q=function(e){return Yg({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},Xx,e.classes)}(H),$={className:_,date:a,disabled:T.disabled,disablePast:l,disableFuture:s,onChange:m,minDate:R,maxDate:N,onMonthChange:y,readOnly:T.readOnly};return(0,Nn.jsxs)(Qx,{ref:n,className:(0,Pn.Z)(q.root,_),ownerState:H,children:[(0,Nn.jsx)(Lx,(0,xt.Z)({},T,{views:j,openView:Z,currentMonth:F.currentMonth,onViewChange:I,onMonthChange:function(e,t){return U({newMonth:e,direction:t})},minDate:R,maxDate:N,disablePast:l,disableFuture:s,reduceAnimations:b})),(0,Nn.jsx)(ew,{reduceAnimations:b,className:q.viewTransitionContainer,transKey:Z,ownerState:H,children:(0,Nn.jsxs)("div",{children:["year"===Z&&(0,Nn.jsx)(Gx,(0,xt.Z)({},T,{autoFocus:o,date:a,onChange:m,minDate:R,maxDate:N,disableFuture:s,disablePast:l,isDateDisabled:V,shouldDisableYear:S,onFocusedDayChange:z})),"month"===Z&&(0,Nn.jsx)(Yb,(0,xt.Z)({},$)),"day"===Z&&(0,Nn.jsx)(Tx,(0,xt.Z)({},T,F,{autoFocus:o,onMonthSwitchingAnimationEnd:W,onFocusedDayChange:z,reduceAnimations:b,date:a,onChange:m,isDateDisabled:V,loading:p,renderLoading:w}))]})})]})})),rw=nw;function ow(e){return(0,Mn.Z)("MuiInputAdornment",e)}var iw=(0,An.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),aw=["children","className","component","disablePointerEvents","disableTypography","position","variant"],uw=(0,Tn.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,pr.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:t.palette.action.active},"filled"===n.variant&&(0,p.Z)({},"&.".concat(iw.positionStart,"&:not(.").concat(iw.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),sw=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiInputAdornment"}),o=r.children,i=r.className,a=r.component,u=void 0===a?"div":a,s=r.disablePointerEvents,c=void 0!==s&&s,l=r.disableTypography,f=void 0!==l&&l,d=r.position,p=r.variant,h=(0,On.Z)(r,aw),v=gh()||{},m=p;p&&v.variant,v&&!m&&(m=v.variant);var y=(0,xt.Z)({},r,{hiddenLabel:v.hiddenLabel,size:v.size,disablePointerEvents:c,position:d,variant:m}),g=function(e){var t=e.classes,n=e.disablePointerEvents,r=e.hiddenLabel,o=e.position,i=e.size,a=e.variant,u={root:["root",n&&"disablePointerEvents",o&&"position".concat((0,pr.Z)(o)),a,r&&"hiddenLabel",i&&"size".concat((0,pr.Z)(i))]};return(0,Cn.Z)(u,ow,t)}(y);return(0,Nn.jsx)(yh.Provider,{value:null,children:(0,Nn.jsx)(uw,(0,xt.Z)({as:u,ownerState:y,className:(0,Pn.Z)(g.root,i),ref:n},h,{children:"string"!==typeof o||f?(0,Nn.jsxs)(t.Fragment,{children:["start"===d?(0,Nn.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):null,o]}):(0,Nn.jsx)(Tu,{color:"text.secondary",children:o})}))})})),cw=sw,lw=function(e){var n=(0,t.useReducer)((function(e){return e+1}),0),r=(0,bt.Z)(n,2)[1],o=(0,t.useRef)(null),i=e.replace,a=e.append,u=i?i(e.format(e.value)):e.format(e.value),s=(0,t.useRef)(!1);return(0,t.useLayoutEffect)((function(){if(null!=o.current){var t=(0,bt.Z)(o.current,5),n=t[0],s=t[1],c=t[2],l=t[3],f=t[4];o.current=null;var d=l&&f,p=n.slice(s.selectionStart).search(e.accept||/\d/g),h=-1!==p?p:0,v=function(t){return(t.match(e.accept||/\d/g)||[]).join("")},m=v(n.substr(0,s.selectionStart)),y=function(e){for(var t=0,n=0,r=0;r!==m.length;++r){var o=e.indexOf(m[r],t)+1,i=v(e).indexOf(m[r],n)+1;i-n>1&&(o=t,i=n),n=Math.max(i,n),t=Math.max(t,o)}return t};if(!0===e.mask&&c&&!f){var g=y(n),b=v(n.substr(g))[0];g=n.indexOf(b,g),n="".concat(n.substr(0,g)).concat(n.substr(g+1))}var x=e.format(n);null==a||s.selectionStart!==n.length||f||(c?x=a(x):""===v(x.slice(-1))&&(x=x.slice(0,-1)));var w=i?i(x):x;return u===w?r():e.onChange(w),function(){var t=y(x);if(null!=e.mask&&(c||l&&!d))for(;x[t]&&""===v(x[t]);)t+=1;s.selectionStart=s.selectionEnd=t+(d?1+h:0)}}})),(0,t.useEffect)((function(){var e=function(e){"Delete"===e.code&&(s.current=!0)},t=function(e){"Delete"===e.code&&(s.current=!1)};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),function(){document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),{value:null!=o.current?o.current[0]:u,onChange:function(t){var n=t.target.value;o.current=[n,t.target,n.length>u.length,s.current,u===e.format(n)],r()}}};function fw(e,t){return e&&t.isValid(t.date(e))?"Choose date, selected date is ".concat(t.format(t.date(e),"fullDate")):"Choose date"}var dw=function(e,t,n){var r=e.date(t);return null===t?"":e.isValid(r)?e.formatByString(r,n):""};function pw(e){var n=e.acceptRegex,r=void 0===n?/[\d]/gi:n,o=e.disabled,i=e.disableMaskedInput,a=e.ignoreInvalidInputs,u=e.inputFormat,s=e.inputProps,c=e.label,l=e.mask,f=e.onChange,d=e.rawValue,p=e.readOnly,h=e.rifmFormatter,v=e.TextFieldProps,m=e.validationError,y=km(),g=t.useState(!1),b=(0,bt.Z)(g,2),x=b[0],w=b[1],k=y.getFormatHelperText(u),S=t.useMemo((function(){return!(!l||i)&&function(e,t,n,r){var o=r.formatByString(r.date("2019-01-01T09:00:00.000"),t).replace(n,"_"),i=r.formatByString(r.date("2019-11-21T22:30:00.000"),t).replace(n,"_")===e&&o===e;return!i&&r.lib,i}(l,u,r,y)}),[r,i,u,l,y]),O=t.useMemo((function(){return S&&l?function(e,t){return function(n){return n.split("").map((function(r,o){if(t.lastIndex=0,o>e.length-1)return"";var i=e[o],a=e[o+1],u=t.test(r)?r:"",s="_"===i?u:i+u;return o===n.length-1&&a&&"_"!==a?s?s+a:"":s})).join("")}}(l,r):function(e){return e}}),[r,l,S]),E=dw(y,d,u),j=t.useState(E),P=(0,bt.Z)(j,2),C=P[0],_=P[1],T=t.useRef(E);t.useEffect((function(){T.current=E}),[E]);var M=!x,A=T.current!==E;M&&A&&(null===d||y.isValid(d))&&E!==C&&_(E);var R=function(e){var t=""===e||e===l?"":e;_(t);var n=null===t?null:y.parse(t,u);a&&!y.isValid(n)||f(n,t||void 0)},N=lw({value:C,onChange:R,format:h||O}),D=S?N:{value:C,onChange:function(e){R(e.currentTarget.value)}};return(0,xt.Z)({label:c,disabled:o,error:m,inputProps:(0,xt.Z)({},D,{disabled:o,placeholder:k,readOnly:p,type:S?"tel":"text"},s,{onFocus:Kg((function(){w(!0)}),null==s?void 0:s.onFocus),onBlur:Kg((function(){w(!1)}),null==s?void 0:s.onBlur)})},v)}var hw=["components","disableOpenPicker","getOpenDialogAriaText","InputAdornmentProps","InputProps","inputRef","openPicker","OpenPickerButtonProps","renderInput"],vw=t.forwardRef((function(e,t){var n=e.components,r=void 0===n?{}:n,o=e.disableOpenPicker,i=e.getOpenDialogAriaText,a=void 0===i?fw:i,u=e.InputAdornmentProps,s=e.InputProps,c=e.inputRef,l=e.openPicker,f=e.OpenPickerButtonProps,d=e.renderInput,h=(0,On.Z)(e,hw),v=km(),m=pw(h),y=(null==u?void 0:u.position)||"end",g=r.OpenPickerIcon||ny;return d((0,xt.Z)({ref:t,inputRef:c},m,{InputProps:(0,xt.Z)({},s,(0,p.Z)({},"".concat(y,"Adornment"),o?void 0:(0,Nn.jsx)(cw,(0,xt.Z)({position:y},u,{children:(0,Nn.jsx)(ey,(0,xt.Z)({edge:y,disabled:h.disabled||h.readOnly,"aria-label":a(h.rawValue,v)},f,{onClick:l,children:(0,Nn.jsx)(g,{})}))}))))}))}));function mw(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}function yw(e,n){var r=t.useState(mw),o=(0,bt.Z)(r,2),i=o[0],a=o[1];return(0,Ti.Z)((function(){var e=function(){a(mw())};return window.addEventListener("orientationchange",e),function(){window.removeEventListener("orientationchange",e)}}),[]),!Hg(e,["hours","minutes","seconds"])&&"landscape"===(n||i)}var gw=["autoFocus","className","date","DateInputProps","isMobileKeyboardViewOpen","onDateChange","onViewChange","openTo","orientation","showToolbar","toggleMobileKeyboardView","ToolbarComponent","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],bw=(0,Tn.ZP)("div")({padding:"16px 24px"}),xw=(0,Tn.ZP)("div",{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"flex",flexDirection:"column"},t.isLandscape&&{flexDirection:"row"})})),ww={fullWidth:!0},kw=function(e){return"year"===e||"month"===e||"day"===e};var Sw=function(e){var n,r=e.autoFocus,o=e.date,i=e.DateInputProps,a=e.isMobileKeyboardViewOpen,u=e.onDateChange,s=e.onViewChange,c=e.openTo,l=e.orientation,f=e.showToolbar,d=e.toggleMobileKeyboardView,p=e.ToolbarComponent,h=void 0===p?function(){return null}:p,v=e.toolbarFormat,m=e.toolbarPlaceholder,y=e.toolbarTitle,g=e.views,b=(0,On.Z)(e,gw),x=yw(g,l),w=t.useContext(my),k="undefined"===typeof f?"desktop"!==w:f,S=t.useCallback((function(e,t){u(e,w,t)}),[u,w]),O=Gg({view:void 0,views:g,openTo:c,onChange:S,onViewChange:t.useCallback((function(e){a&&d(),s&&s(e)}),[a,s,d])}),E=O.openView,j=O.nextView,P=O.previousView,C=O.setOpenView,_=O.handleChangeAndOpenNext;return(0,Nn.jsxs)(xw,{ownerState:{isLandscape:x},children:[k&&(0,Nn.jsx)(h,(0,xt.Z)({},b,{views:g,isLandscape:x,date:o,onChange:S,setOpenView:C,openView:E,toolbarTitle:y,toolbarFormat:v,toolbarPlaceholder:m,isMobileKeyboardViewOpen:a,toggleMobileKeyboardView:d})),(0,Nn.jsx)(Yx,{children:a?(0,Nn.jsx)(bw,{children:(0,Nn.jsx)(vw,(0,xt.Z)({},i,{ignoreInvalidInputs:!0,disableOpenPicker:!0,TextFieldProps:ww}))}):(0,Nn.jsxs)(t.Fragment,{children:[kw(E)&&(0,Nn.jsx)(rw,(0,xt.Z)({autoFocus:r,date:o,onViewChange:C,onChange:_,view:E,views:g.filter(kw)},b)),(n=E,("hours"===n||"minutes"===n||"seconds"===n)&&(0,Nn.jsx)(Bb,(0,xt.Z)({},b,{autoFocus:r,date:o,view:E,onChange:_,openNextView:function(){return C(j)},openPreviousView:function(){return C(P)},nextViewAvailable:!j,previousViewAvailable:!P||kw(P),showViewSwitcher:"desktop"===w})))]})})]})};function Ow(e,t){return e===t}function Ew(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ow,o=e.value,i=e.onError,a=km(),u=t.useRef(null),s=n(a,o,e);return t.useEffect((function(){i&&!r(s,u.current)&&i(s,o),u.current=s}),[r,i,u,s,o]),s}function jw(e){return Ew(e,Qb,Ow)}function Pw(e){var n=e.open,r=e.onOpen,o=e.onClose,i=t.useRef("boolean"===typeof n).current,a=t.useState(!1),u=(0,bt.Z)(a,2),s=u[0],c=u[1];return t.useEffect((function(){if(i){if("boolean"!==typeof n)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");c(n)}}),[i,n]),{isOpen:s,setIsOpen:t.useCallback((function(e){i||c(e),e&&r&&r(),!e&&o&&o()}),[i,r,o])}}function Cw(e,n){var r=e.disableCloseOnSelect,o=e.onAccept,i=e.onChange,a=e.value,u=km(),s=Pw(e),c=s.isOpen,l=s.setIsOpen;function f(e){return{committed:e,draft:e}}var d=n.parseInput(u,a),p=t.useReducer((function(e,t){switch(t.type){case"reset":return f(t.payload);case"update":return(0,xt.Z)({},e,{draft:t.payload});default:return e}}),d,f),h=(0,bt.Z)(p,2),v=h[0],m=h[1];n.areValuesEqual(u,v.committed,d)||m({type:"reset",payload:d});var y=t.useState(!1),g=(0,bt.Z)(y,2),b=g[0],x=g[1],w=t.useCallback((function(e,t){i(e),t&&(l(!1),o&&o(e))}),[o,i,l]),k=t.useMemo((function(){return{open:c,onClear:function(){return w(n.emptyValue,!0)},onAccept:function(){return w(v.draft,!0)},onDismiss:function(){return l(!1)},onSetToday:function(){var e=u.date();m({type:"update",payload:e}),w(e,!r)}}}),[w,r,c,u,v.draft,l,n.emptyValue]),S=t.useMemo((function(){return{date:v.draft,isMobileKeyboardViewOpen:b,toggleMobileKeyboardView:function(){return x(!b)},onDateChange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"partial";if(m({type:"update",payload:e}),"partial"===n&&w(e,!1),"finish"===n){var o=!(null!=r?r:"mobile"===t);w(e,o)}}}}),[w,r,b,v.draft]),O={pickerProps:S,inputProps:t.useMemo((function(){return{onChange:i,open:c,rawValue:a,openPicker:function(){return l(!0)}}}),[i,c,a,l]),wrapperProps:k};return t.useDebugValue(O,(function(){return{MuiPickerState:{pickerDraft:v,other:O}}})),O}var _w=["onChange","PopperProps","PaperProps","ToolbarComponent","TransitionComponent","value"],Tw={emptyValue:null,parseInput:Xb,areValuesEqual:function(e,t,n){return e.isEqual(t,n)}},Mw=t.forwardRef((function(e,t){var n=_m(e,"MuiDesktopDatePicker"),r=null!==jw(n),o=Cw(n,Tw),i=o.pickerProps,a=o.inputProps,u=o.wrapperProps,s=n.PopperProps,c=n.PaperProps,l=n.ToolbarComponent,f=void 0===l?vy:l,d=n.TransitionComponent,p=(0,On.Z)(n,_w),h=(0,xt.Z)({},a,p,{ref:t,validationError:r});return(0,Nn.jsx)(Wg,(0,xt.Z)({},u,{DateInputProps:h,KeyboardDateInputComponent:vw,PopperProps:s,PaperProps:c,TransitionComponent:d,children:(0,Nn.jsx)(Sw,(0,xt.Z)({},i,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:f,DateInputProps:h},p))}))}));function Aw(e){return(0,Mn.Z)("MuiDialogActions",e)}(0,An.Z)("MuiDialogActions",["root","spacing"]);var Rw=["className","disableSpacing"],Nw=(0,Tn.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,xt.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),Dw=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiDialogActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=(0,On.Z)(n,Rw),u=(0,xt.Z)({},n,{disableSpacing:i}),s=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,Cn.Z)(n,Aw,t)}(u);return(0,Nn.jsx)(Nw,(0,xt.Z)({className:(0,Pn.Z)(s.root,r),ownerState:u,ref:t},a))})),Zw=Dw;function Iw(e){return(0,Mn.Z)("MuiDialogContent",e)}(0,An.Z)("MuiDialogContent",["root","dividers"]);var Lw=(0,An.Z)("MuiDialogTitle",["root"]),Fw=["className","dividers"],zw=(0,Tn.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}:(0,p.Z)({},".".concat(Lw.root," + &"),{paddingTop:0}))})),Bw=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiDialogContent"}),r=n.className,o=n.dividers,i=void 0!==o&&o,a=(0,On.Z)(n,Fw),u=(0,xt.Z)({},n,{dividers:i}),s=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,Cn.Z)(n,Iw,t)}(u);return(0,Nn.jsx)(zw,(0,xt.Z)({className:(0,Pn.Z)(s.root,r),ownerState:u,ref:t},a))})),Vw=Bw;function Uw(e){return(0,Mn.Z)("MuiDialog",e)}var Ww=(0,An.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var Hw,qw=(0,t.createContext)({}),$w=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Kw=(0,Tn.ZP)(sa,{name:"MuiDialog",slot:"Backdrop",overrides:function(e,t){return t.backdrop}})({zIndex:-1}),Gw=(0,Tn.ZP)(pa,{name:"MuiDialog",slot:"Root",overridesResolver:function(e,t){return t.root}})({"@media print":{position:"absolute !important"}}),Yw=(0,Tn.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(e,t){var n=e.ownerState;return[t.container,t["scroll".concat((0,pr.Z)(n.scroll))]]}})((function(e){var t=e.ownerState;return(0,xt.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),Jw=(0,Tn.ZP)(Hn,{name:"MuiDialog",slot:"Paper",overridesResolver:function(e,t){var n=e.ownerState;return[t.paper,t["scrollPaper".concat((0,pr.Z)(n.scroll))],t["paperWidth".concat((0,pr.Z)(String(n.maxWidth)))],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&(0,p.Z)({maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit)},"&.".concat(Ww.paperScrollBody),(0,p.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),"xs"!==n.maxWidth&&(0,p.Z)({maxWidth:"".concat(t.breakpoints.values[n.maxWidth]).concat(t.breakpoints.unit)},"&.".concat(Ww.paperScrollBody),(0,p.Z)({},t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&(0,p.Z)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(Ww.paperScrollBody),{margin:0,maxWidth:"100%"}))})),Xw={enter:Qi.x9.enteringScreen,exit:Qi.x9.leavingScreen},Qw=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiDialog"}),o=r["aria-describedby"],i=r["aria-labelledby"],a=r.BackdropComponent,u=r.BackdropProps,s=r.children,c=r.className,l=r.disableEscapeKeyDown,f=void 0!==l&&l,d=r.fullScreen,p=void 0!==d&&d,h=r.fullWidth,v=void 0!==h&&h,m=r.maxWidth,y=void 0===m?"sm":m,g=r.onBackdropClick,b=r.onClose,x=r.open,w=r.PaperComponent,k=void 0===w?Hn:w,S=r.PaperProps,O=void 0===S?{}:S,E=r.scroll,j=void 0===E?"paper":E,P=r.TransitionComponent,C=void 0===P?oa:P,_=r.transitionDuration,T=void 0===_?Xw:_,M=r.TransitionProps,A=(0,On.Z)(r,$w),R=(0,xt.Z)({},r,{disableEscapeKeyDown:f,fullScreen:p,fullWidth:v,maxWidth:y,scroll:j}),N=function(e){var t=e.classes,n=e.scroll,r=e.maxWidth,o=e.fullWidth,i=e.fullScreen,a={root:["root"],container:["container","scroll".concat((0,pr.Z)(n))],paper:["paper","paperScroll".concat((0,pr.Z)(n)),"paperWidth".concat((0,pr.Z)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,Cn.Z)(a,Uw,t)}(R),D=t.useRef(),Z=(0,sh.Z)(i),I=t.useMemo((function(){return{titleId:Z}}),[Z]);return(0,Nn.jsx)(Gw,(0,xt.Z)({className:(0,Pn.Z)(N.root,c),BackdropProps:(0,xt.Z)({transitionDuration:T,as:a},u),closeAfterTransition:!0,BackdropComponent:Kw,disableEscapeKeyDown:f,onClose:b,open:x,ref:n,onClick:function(e){D.current&&(D.current=null,g&&g(e),b&&b(e,"backdropClick"))},ownerState:R},A,{children:(0,Nn.jsx)(C,(0,xt.Z)({appear:!0,in:x,timeout:T,role:"presentation"},M,{children:(0,Nn.jsx)(Yw,{className:(0,Pn.Z)(N.container),onMouseDown:function(e){D.current=e.target===e.currentTarget},ownerState:R,children:(0,Nn.jsx)(Jw,(0,xt.Z)({as:k,elevation:24,role:"dialog","aria-describedby":o,"aria-labelledby":Z},O,{className:(0,Pn.Z)(N.paper,O.className),ownerState:R,children:(0,Nn.jsx)(qw.Provider,{value:I,children:s})}))})}))}))})),ek=Qw,tk=(0,Tn.ZP)(ek,{skipSx:!0})((Hw={},(0,p.Z)(Hw,"& .".concat(Ww.container),{outline:0}),(0,p.Z)(Hw,"& .".concat(Ww.paper),{outline:0,minWidth:320}),Hw)),nk=(0,Tn.ZP)(Vw,{skipSx:!0})({"&:first-of-type":{padding:0}}),rk=(0,Tn.ZP)(Zw,{skipSx:!0})((function(e){var t=e.ownerState;return(0,xt.Z)({},(t.clearable||t.showTodayButton)&&{justifyContent:"flex-start","& > *:first-of-type":{marginRight:"auto"}})})),ok=function(e){var t=e.cancelText,n=void 0===t?"Cancel":t,r=e.children,o=e.clearable,i=void 0!==o&&o,a=e.clearText,u=void 0===a?"Clear":a,s=e.DialogProps,c=void 0===s?{}:s,l=e.okText,f=void 0===l?"OK":l,d=e.onAccept,p=e.onClear,h=e.onDismiss,v=e.onSetToday,m=e.open,y=e.showTodayButton,g=void 0!==y&&y,b=e.todayText,x=void 0===b?"Today":b,w=e;return(0,Nn.jsxs)(tk,(0,xt.Z)({open:m,onClose:h},c,{children:[(0,Nn.jsx)(nk,{children:r}),(0,Nn.jsxs)(rk,{ownerState:w,children:[i&&(0,Nn.jsx)(zo,{onClick:p,children:u}),g&&(0,Nn.jsx)(zo,{onClick:v,children:x}),n&&(0,Nn.jsx)(zo,{onClick:h,children:n}),f&&(0,Nn.jsx)(zo,{onClick:d,children:f})]})]}))},ik=["cancelText","children","clearable","clearText","DateInputProps","DialogProps","okText","onAccept","onClear","onDismiss","onSetToday","open","PureDateInputComponent","showTodayButton","todayText"];var ak=function(e){var t=e.cancelText,n=e.children,r=e.clearable,o=e.clearText,i=e.DateInputProps,a=e.DialogProps,u=e.okText,s=e.onAccept,c=e.onClear,l=e.onDismiss,f=e.onSetToday,d=e.open,p=e.PureDateInputComponent,h=e.showTodayButton,v=e.todayText,m=(0,On.Z)(e,ik);return(0,Nn.jsxs)(my.Provider,{value:"mobile",children:[(0,Nn.jsx)(p,(0,xt.Z)({},m,i)),(0,Nn.jsx)(ok,{cancelText:t,clearable:r,clearText:o,DialogProps:a,okText:u,onAccept:s,onClear:c,onDismiss:l,onSetToday:f,open:d,showTodayButton:h,todayText:v,children:n})]})},uk=t.forwardRef((function(e,n){var r=e.disabled,o=e.getOpenDialogAriaText,i=void 0===o?fw:o,a=e.inputFormat,u=e.InputProps,s=e.inputRef,c=e.label,l=e.openPicker,f=e.rawValue,d=e.renderInput,p=e.TextFieldProps,h=void 0===p?{}:p,v=e.validationError,m=km(),y=t.useMemo((function(){return(0,xt.Z)({},u,{readOnly:!0})}),[u]),g=dw(m,f,a);return d((0,xt.Z)({label:c,disabled:r,ref:n,inputRef:s,error:v,InputProps:y,inputProps:{disabled:r,readOnly:!0,"aria-readonly":!0,"aria-label":i(f,m),value:g,onClick:l,onKeyDown:qg(l)}},h))}));uk.propTypes={getOpenDialogAriaText:jn().func,renderInput:jn().func.isRequired};var sk=["ToolbarComponent","value","onChange"],ck={emptyValue:null,parseInput:Xb,areValuesEqual:function(e,t,n){return e.isEqual(t,n)}},lk=t.forwardRef((function(e,t){var n=_m(e,"MuiMobileDatePicker"),r=null!==jw(n),o=Cw(n,ck),i=o.pickerProps,a=o.inputProps,u=o.wrapperProps,s=n.ToolbarComponent,c=void 0===s?vy:s,l=(0,On.Z)(n,sk),f=(0,xt.Z)({},a,l,{ref:t,validationError:r});return(0,Nn.jsx)(ak,(0,xt.Z)({},l,u,{DateInputProps:f,PureDateInputComponent:uk,children:(0,Nn.jsx)(Sw,(0,xt.Z)({},i,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:c,DateInputProps:f},l))}))})),fk=["cancelText","clearable","clearText","desktopModeMediaQuery","DialogProps","okText","PopperProps","showTodayButton","todayText","TransitionComponent"],dk=t.forwardRef((function(e,n){var r=(0,_n.Z)({props:e,name:"MuiDatePicker"}),o=r.cancelText,i=r.clearable,a=r.clearText,u=r.desktopModeMediaQuery,s=void 0===u?"@media (pointer: fine)":u,c=r.DialogProps,l=r.okText,f=r.PopperProps,d=r.showTodayButton,p=r.todayText,h=r.TransitionComponent,v=(0,On.Z)(r,fk),m=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,bm.Z)(),o="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,i=(0,xm.Z)({name:"MuiUseMediaQuery",props:n,theme:r}),a=i.defaultMatches,u=void 0!==a&&a,s=i.matchMedia,c=void 0===s?o?window.matchMedia:null:s,l=i.noSsr,f=void 0!==l&&l,d=i.ssrMatchMedia,p=void 0===d?null:d,h="function"===typeof e?e(r):e;h=h.replace(/^@media( ?)/m,"");var v=t.useState((function(){return f&&o?c(h).matches:p?p(h).matches:u})),m=(0,bt.Z)(v,2),y=m[0],g=m[1];return(0,Yo.Z)((function(){var e=!0;if(o){var t=c(h),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[h,c,o]),y}(s);return m?(0,Nn.jsx)(Mw,(0,xt.Z)({ref:n,PopperProps:f,TransitionComponent:h},v)):(0,Nn.jsx)(lk,(0,xt.Z)({ref:n,cancelText:o,clearable:i,clearText:a,DialogProps:c,okText:l,showTodayButton:d,todayText:p},v))})),pk=dk,hk=function(e){var n=e.weightEntry,r=e.closeFn,o=dm(),i=(0,bt.Z)(o,2),a=i[0],u=i[1],s=t.useState(n?n.date:new Date),c=(0,bt.Z)(s,2),l=c[0],f=c[1],d=(0,t.useCallback)(function(){var e=cn(fn().mark((function e(t){var n;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n={type:nm.UPDATE_WEIGHT,payload:t},u(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u]),p=(0,t.useCallback)(function(){var e=cn(fn().mark((function e(t){var n;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n={type:nm.ADD_WEIGHT,payload:t},u(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u]),h=Nc({weight:dc().min(30,"Min weight is 30 kg").max(300,"Max weight is 300 kg").required("Weight field is required")});return(0,Nn.jsx)(Qp,{initialValues:{weight:n?n.weight:0,date:n?n.date.toISOString().split("T")[0]:Date.toString()},validationSchema:h,onSubmit:function(){var e=cn(fn().mark((function e(t){var o,i;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=10;break}return n.weight=t.weight,n.date=new Date(t.date),e.next=5,kn(n);case 5:return o=e.sent,e.next=8,d(o);case 8:e.next=16;break;case 10:return n=new vn(new Date(t.date),t.weight),e.next=13,Sn(n);case 13:return i=e.sent,e.next=16,p(i);case 16:r&&r();case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),children:function(e){return(0,Nn.jsxs)(oh,{children:[(0,Nn.jsxs)(Lr,{spacing:2,children:[(0,Nn.jsx)(um,es({fullWidth:!0,id:"weight",label:ke("weight"),error:Boolean(e.errors.weight&&e.touched.weight),helperText:Boolean(e.errors.weight&&e.touched.weight)?e.errors.weight:""},e.getFieldProps("weight"))),(0,Nn.jsx)(gm,{dateAdapter:mm,locale:Se.language,children:(0,Nn.jsx)(pk,{label:ke("date"),value:l,renderInput:function(t){return(0,Nn.jsx)(um,es(es({},t),e.getFieldProps("date")))},disableFuture:!0,onChange:function(t){t&&e.setFieldValue("date",t),f(t)},shouldDisableDate:function(e){return!(!n||hn(n.date)!==e.toISODate())||(!e||a.weights.some((function(t){return hn(t.date)===e.toISODate()})))}})})]}),(0,Nn.jsx)(zo,{color:"primary",variant:"contained",type:"submit",sx:{mt:2},children:(0,Nn.jsx)(yu,{i18nKey:"submit"})})]})}})},vk=function(e){var n=e.weight,r=e.handleDeleteWeight,o=t.useState(null),i=(0,bt.Z)(o,2),a=i[0],u=i[1],s=t.useState(!1),c=(0,bt.Z)(s,2),l=c[0],f=c[1],d=Boolean(a),p=function(){u(null)},h=function(){return f(!0)},v=function(){return f(!1)};return(0,Nn.jsxs)("div",{children:[(0,Nn.jsx)(zo,{onClick:function(e){u(e.currentTarget)},children:(0,Nn.jsx)(gu.Z,{})}),(0,Nn.jsxs)(Na,{anchorEl:a,open:d,onClose:p,MenuListProps:{"aria-labelledby":"basic-button"},children:[(0,Nn.jsx)(Ua,{onClick:function(){p(),h()},children:(0,Nn.jsx)(yu,{i18nKey:"edit"})}),(0,Nn.jsx)(Ua,{onClick:function(){r(n),u(null)},children:(0,Nn.jsx)(yu,{i18nKey:"delete"})})]}),(0,Nn.jsx)(Xu,{title:ke("edit"),isOpen:l,closeFn:v,children:(0,Nn.jsx)(hk,{weightEntry:n,closeFn:v})})]})},mk="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yk="object"===("undefined"===typeof window?"undefined":mk(window))&&"object"===("undefined"===typeof document?"undefined":mk(document))&&9===document.nodeType,gk={}.constructor;function bk(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(bk);if(e.constructor!==gk)return e;var t={};for(var n in e)t[n]=bk(e[n]);return t}function xk(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=bk(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var wk=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},kk=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=wk(e[r]," ");else n=wk(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function Sk(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function Ok(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Ek(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var u=Sk(n),s=u.linebreak,c=u.space;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var f=a[l];for(var d in f){var p=f[d];null!=p&&(r&&(r+=s),r+=Ok(d+":"+c+kk(p)+";",i))}}else for(var h in a){var v=a[h];null!=v&&(r&&(r+=s),r+=Ok(h+":"+c+kk(v)+";",i))}for(var m in t){var y=t[m];null!=y&&"fallbacks"!==m&&(r&&(r+=s),r+=Ok(m+":"+c+kk(y)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+s+r+s),Ok(""+e+c+"{"+r,--i)+Ok("}",i)):r}var jk=/([[\].#*$><+~=|^:(),"'`\s])/g,Pk="undefined"!==typeof CSS&&CSS.escape,Ck=function(e){return Pk?Pk(e):e.replace(jk,"\\$1")},_k=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var u=i&&a;if(u?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Tk=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,u=r.sheet,c=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=c(s(s(o)),u),o.selectorText="."+Ck(o.id)),o}Wr(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=kk(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,xt.Z)({},e,{allowEmpty:!0}):e;return Ek(this.selectorText,this.style,n)},u(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(_k),Mk={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Tk(e,t,n)}},Ak={indent:1,children:!0},Rk=/@([\w-]+)/,Nk=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(Rk);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new oS((0,xt.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=Ak);var t=Sk(e).linebreak;if(null==e.indent&&(e.indent=Ak.indent),null==e.children&&(e.children=Ak.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),Dk=/@media|@supports\s+/,Zk={onCreateRule:function(e,t,n){return Dk.test(e)?new Nk(e,t,n):null}},Ik={indent:1,children:!0},Lk=/@keyframes\s+([\w-]+)/,Fk=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(Lk);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var u in this.id=!1===o?this.name:Ck(a(this,i)),this.rules=new oS((0,xt.Z)({},n,{parent:this})),t)this.rules.add(u,t[u],(0,xt.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Ik);var t=Sk(e).linebreak;if(null==e.indent&&(e.indent=Ik.indent),null==e.children&&(e.children=Ik.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),zk=/@keyframes\s+/,Bk=/\$([\w-]+)/g,Vk=function(e,t){return"string"===typeof e?e.replace(Bk,(function(e,n){return n in t?t[n]:e})):e},Uk=function(e,t,n){var r=e[t],o=Vk(r,n);o!==r&&(e[t]=o)},Wk={onCreateRule:function(e,t,n){return"string"===typeof e&&zk.test(e)?new Fk(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Uk(e,"animation-name",n.keyframes),"animation"in e&&Uk(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Vk(e,r.keyframes);default:return e}}},Hk=function(e){function t(){return e.apply(this,arguments)||this}return Wr(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,xt.Z)({},e,{allowEmpty:!0}):e;return Ek(this.key,this.style,n)},t}(_k),qk={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Hk(e,t,n):null}},$k=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=Sk(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=Ek(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return Ek(this.at,this.style,e)},e}(),Kk=/@font-face/,Gk={onCreateRule:function(e,t,n){return Kk.test(e)?new $k(e,t,n):null}},Yk=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Ek(this.key,this.style,e)},e}(),Jk={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Yk(e,t,n):null}},Xk=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Qk={"@charset":!0,"@import":!0,"@namespace":!0},eS={onCreateRule:function(e,t,n){return e in Qk?new Xk(e,t,n):null}},tS=[Mk,Zk,Wk,qk,Gk,Jk,eS],nS={process:!0},rS={force:!0,process:!0},oS=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,u=r.Renderer,s=r.generateId,c=r.scoped,l=(0,xt.Z)({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:u,generateId:s,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(l.selector="."+Ck(this.classes[f]));var d=xk(f,t,l);if(!d)return null;this.register(d);var p=void 0===l.index?this.index.length:l.index;return this.index.splice(p,0,d),d},t.replace=function(e,t,n){var r=this.get(e),o=this.index.indexOf(r);r&&this.remove(r);var i=n;return-1!==o&&(i=(0,xt.Z)({},n,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Tk?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Fk&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Tk?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Fk&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=nS);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var u=t.style;if(i.onUpdate(n,t,a,r),r.process&&u&&u!==t.style){for(var s in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[s];c!==u[s]&&t.prop(s,c,rS)}for(var l in u){var f=t.style[l],d=u[l];null==f&&f!==d&&t.prop(l,null,rS)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=Sk(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),iS=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,xt.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new oS(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),aS=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),uS=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,On.Z)(t,["attached"]),o=Sk(r).linebreak,i="",a=0;a<this.registry.length;a++){var u=this.registry[a];null!=n&&u.attached!==n||(i&&(i+=o),i+=u.toString(r))}return i},u(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),sS=new uS,cS="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),lS="2f1acc6c3a606b082e5eef5e54414ffb";null==cS[lS]&&(cS[lS]=0);var fS=cS[lS]++,dS=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+fS+o+t:i+n.key+"-"+fS+(o?"-"+o:"")+"-"+t}},pS=function(e){var t;return function(){return t||(t=e()),t}},hS=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},vS=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=kk(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(o){return!1}return!0},mS=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},yS=function(e,t){return e.selectorText=t,e.selectorText===t},gS=pS((function(){return document.querySelector("head")}));function bS(e){var t=sS.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=gS(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var xS=pS((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),wS=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(r){return!1}return e.cssRules[n]},kS=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},SS=function(){function e(e){this.getPropertyValue=hS,this.setProperty=vS,this.removeProperty=mS,this.setSelector=yS,this.hasInsertedRules=!1,this.cssRules=[],e&&sS.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=xS();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=bS(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else gS().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=kS(n,t);if(!1===(o=wS(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var u=kS(n,t),s=wS(n,a,u);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,u,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof iS&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),OS=0,ES=function(){function e(e){this.id=OS++,this.version="10.9.0",this.plugins=new aS,this.options={id:{minify:!1},createGenerateId:dS,Renderer:yk?SS:null,plugins:[]},this.generateId=dS({minify:!1});for(var t=0;t<tS.length;t++)this.plugins.use(tS[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,xt.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===sS.index?0:sS.index+1);var r=new iS(e,(0,xt.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),sS.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var r=(0,xt.Z)({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=xk(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),jS=function(e){return new ES(e)},PS="object"===typeof CSS&&null!=CSS&&"number"in CSS;function CS(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=CS(r);i&&(t||(t={}),t[n]=i)}}return t}jS();function _S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var r=(0,xt.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}var TS={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},MS=TS,AS=n(201),RS="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",NS=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var DS=Date.now(),ZS="fnValues"+DS,IS="fnStyle"+ ++DS,LS=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=xk(e,{},n);return r[IS]=t,r},onProcessStyle:function(e,t){if(ZS in t||IS in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[ZS]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[IS];i&&(o.style=i(e)||{});var a=o[ZS];if(a)for(var u in a)o.prop(u,a[u](e),r)}}},FS="@global",zS="@global ",BS=function(){function e(e,t,n){for(var r in this.type="global",this.at=FS,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new oS((0,xt.Z)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),VS=function(){function e(e,t,n){this.type="global",this.at=FS,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(zS.length);this.rule=n.jss.createRule(r,t,(0,xt.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),US=/\s*,\s*/g;function WS(e,t){for(var n=e.split(US),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var HS=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===FS)return new BS(e,t,n);if("@"===e[0]&&e.substr(0,zS.length)===zS)return new VS(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[FS]:null;if(o){for(var i in o)t.addRule(i,o[i],(0,xt.Z)({},n,{selector:WS(i,e.selector)}));delete r[FS]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,FS.length)===FS){var i=WS(o.substr(FS.length),e.selector);t.addRule(i,r[o],(0,xt.Z)({},n,{selector:i})),delete r[o]}}(e,t))}}},qS=/\s*,\s*/g,$S=/&/g,KS=/\$([\w-]+)/g;var GS=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(qS),r=e.split(qS),o="",i=0;i<n.length;i++)for(var a=n[i],u=0;u<r.length;u++){var s=r[u];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace($S,a):a+" "+s}return o}function n(e,t,n){if(n)return(0,xt.Z)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=(0,xt.Z)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,u,s=o,c=s.options.parent;for(var l in r){var f=-1!==l.indexOf("&"),d="@"===l[0];if(f||d){if(a=n(s,c,a),f){var p=t(l,s.selector);u||(u=e(c,i)),p=p.replace(KS,u);var h=s.key+"-"+l;"replaceRule"in c?c.replaceRule(h,r[l],(0,xt.Z)({},a,{selector:p})):c.addRule(h,r[l],(0,xt.Z)({},a,{selector:p}))}else d&&c.addRule(l,{},a).addRule(s.key,r[l],{selector:s.selector});delete r[l]}}return r}}},YS=/[A-Z]/g,JS=/^ms-/,XS={};function QS(e){return"-"+e.toLowerCase()}var eO=function(e){if(XS.hasOwnProperty(e))return XS[e];var t=e.replace(YS,QS);return XS[e]=JS.test(t)?"-"+t:t};function tO(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:eO(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(tO):t.fallbacks=tO(e.fallbacks)),t}var nO=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=tO(e[t]);return e}return tO(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=eO(t);return t===r?e:(n.prop(r,e),null)}}},rO=PS&&CSS?CSS.px:"px",oO=PS&&CSS?CSS.ms:"ms",iO=PS&&CSS?CSS.percent:"%";function aO(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var uO=aO({"animation-delay":oO,"animation-duration":oO,"background-position":rO,"background-position-x":rO,"background-position-y":rO,"background-size":rO,border:rO,"border-bottom":rO,"border-bottom-left-radius":rO,"border-bottom-right-radius":rO,"border-bottom-width":rO,"border-left":rO,"border-left-width":rO,"border-radius":rO,"border-right":rO,"border-right-width":rO,"border-top":rO,"border-top-left-radius":rO,"border-top-right-radius":rO,"border-top-width":rO,"border-width":rO,"border-block":rO,"border-block-end":rO,"border-block-end-width":rO,"border-block-start":rO,"border-block-start-width":rO,"border-block-width":rO,"border-inline":rO,"border-inline-end":rO,"border-inline-end-width":rO,"border-inline-start":rO,"border-inline-start-width":rO,"border-inline-width":rO,"border-start-start-radius":rO,"border-start-end-radius":rO,"border-end-start-radius":rO,"border-end-end-radius":rO,margin:rO,"margin-bottom":rO,"margin-left":rO,"margin-right":rO,"margin-top":rO,"margin-block":rO,"margin-block-end":rO,"margin-block-start":rO,"margin-inline":rO,"margin-inline-end":rO,"margin-inline-start":rO,padding:rO,"padding-bottom":rO,"padding-left":rO,"padding-right":rO,"padding-top":rO,"padding-block":rO,"padding-block-end":rO,"padding-block-start":rO,"padding-inline":rO,"padding-inline-end":rO,"padding-inline-start":rO,"mask-position-x":rO,"mask-position-y":rO,"mask-size":rO,height:rO,width:rO,"min-height":rO,"max-height":rO,"min-width":rO,"max-width":rO,bottom:rO,left:rO,top:rO,right:rO,inset:rO,"inset-block":rO,"inset-block-end":rO,"inset-block-start":rO,"inset-inline":rO,"inset-inline-end":rO,"inset-inline-start":rO,"box-shadow":rO,"text-shadow":rO,"column-gap":rO,"column-rule":rO,"column-rule-width":rO,"column-width":rO,"font-size":rO,"font-size-delta":rO,"letter-spacing":rO,"text-decoration-thickness":rO,"text-indent":rO,"text-stroke":rO,"text-stroke-width":rO,"word-spacing":rO,motion:rO,"motion-offset":rO,outline:rO,"outline-offset":rO,"outline-width":rO,perspective:rO,"perspective-origin-x":iO,"perspective-origin-y":iO,"transform-origin":iO,"transform-origin-x":iO,"transform-origin-y":iO,"transform-origin-z":iO,"transition-delay":oO,"transition-duration":oO,"vertical-align":rO,"flex-basis":rO,"shape-margin":rO,size:rO,gap:rO,grid:rO,"grid-gap":rO,"row-gap":rO,"grid-row-gap":rO,"grid-column-gap":rO,"grid-template-rows":rO,"grid-template-columns":rO,"grid-auto-rows":rO,"grid-auto-columns":rO,"box-shadow-x":rO,"box-shadow-y":rO,"box-shadow-blur":rO,"box-shadow-spread":rO,"font-line-height":rO,"text-shadow-x":rO,"text-shadow-y":rO,"text-shadow-blur":rO});function sO(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=sO(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var o in t)t[o]=sO(o,t[o],n);else for(var i in t)t[i]=sO(e+"-"+i,t[i],n);else if("number"===typeof t&&!1===isNaN(t)){var a=n[e]||uO[e];return!a||0===t&&a===rO?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}var cO=function(e){void 0===e&&(e={});var t=aO(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=sO(r,e[r],t);return e},onChangeValue:function(e,n){return sO(n,e,t)}}},lO="",fO="",dO="",pO="",hO=yk&&"ontouchstart"in document.documentElement;if(yk){var vO={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},mO=document.createElement("p").style;for(var yO in vO)if(yO+"Transform"in mO){lO=yO,fO=vO[yO];break}"Webkit"===lO&&"msHyphens"in mO&&(lO="ms",fO=vO.ms,pO="edge"),"Webkit"===lO&&"-apple-trailing-word"in mO&&(dO="apple")}var gO=lO,bO=fO,xO=dO,wO=pO,kO=hO;var SO={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===gO?"-webkit-"+e:bO+e)}},OO={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===gO?bO+"print-"+e:e)}},EO=/[-\s]+(.)?/g;function jO(e,t){return t?t.toUpperCase():""}function PO(e){return e.replace(EO,jO)}function CO(e){return PO("-"+e)}var _O,TO={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===gO){var n="mask-image";if(PO(n)in t)return e;if(gO+CO(n)in t)return bO+e}return e}},MO={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==xO||kO?e:bO+e)}},AO={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:bO+e)}},RO={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:bO+e)}},NO={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===gO||"ms"===gO&&"edge"!==wO?bO+e:e)}},DO={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===gO||"ms"===gO||"apple"===xO?bO+e:e)}},ZO={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===gO?"WebkitColumn"+CO(e)in t&&bO+"column-"+e:"Moz"===gO&&("page"+CO(e)in t&&"page-"+e))}},IO={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===gO)return e;var n=e.replace("-inline","");return gO+CO(n)in t&&bO+n}},LO={supportedProperty:function(e,t){return PO(e)in t&&e}},FO={supportedProperty:function(e,t){var n=CO(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:gO+n in t?bO+e:"Webkit"!==gO&&"Webkit"+n in t&&"-webkit-"+e}},zO={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===gO?""+bO+e:e)}},BO={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===gO?bO+"scroll-chaining":e)}},VO={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},UO={supportedProperty:function(e,t){var n=VO[e];return!!n&&(gO+CO(n)in t&&bO+n)}},WO={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},HO=Object.keys(WO),qO=function(e){return bO+e},$O={supportedProperty:function(e,t,n){var r=n.multiple;if(HO.indexOf(e)>-1){var o=WO[e];if(!Array.isArray(o))return gO+CO(o)in t&&bO+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(gO+CO(o[0])in t))return!1;return o.map(qO)}return!1}},KO=[SO,OO,TO,MO,AO,RO,NO,DO,ZO,IO,LO,FO,zO,BO,UO,$O],GO=KO.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),YO=KO.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,_r.Z)(t.noPrefill)),e}),[]),JO={};if(yk){_O=document.createElement("p");var XO=window.getComputedStyle(document.documentElement,"");for(var QO in XO)isNaN(QO)||(JO[XO[QO]]=XO[QO]);YO.forEach((function(e){return delete JO[e]}))}function eE(e,t){if(void 0===t&&(t={}),!_O)return e;if(null!=JO[e])return JO[e];"transition"!==e&&"transform"!==e||(t[e]=e in _O.style);for(var n=0;n<GO.length&&(JO[e]=GO[n](e,_O.style,t),!JO[e]);n++);try{_O.style[e]=""}catch(r){return!1}return JO[e]}var tE,nE={},rE={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},oE=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function iE(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?eE(t):", "+eE(n);return r||(t||n)}function aE(e,t){var n=t;if(!tE||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=nE[r])return nE[r];try{tE.style[e]=n}catch(o){return nE[r]=!1,!1}if(rE[e])n=n.replace(oE,iE);else if(""===tE.style[e]&&("-ms-flex"===(n=bO+n)&&(tE.style[e]="-ms-flexbox"),tE.style[e]=n,""===tE.style[e]))return nE[r]=!1,!1;return tE.style[e]="",nE[r]=n,nE[r]}yk&&(tE=document.createElement("p"));var uE=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=eE(n);i&&i!==n&&(o=!0);var a=!1,u=aE(i,kk(r));u&&u!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=u||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===gO?e:"@"+bO+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return aE(t,kk(e))||e}}};var sE=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};var cE=jS({plugins:[LS(),HS(),GS(),nO(),cO(),"undefined"===typeof window?null:uE(),sE()]}),lE=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,u=""===a?"":"".concat(a,"-"),s=0,c=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==NS.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(u).concat(r,"-").concat(e.key);return t.options.theme[RS]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(u).concat(o).concat(c())}}(),fE={disableGeneration:!1,generateClassName:lE,jss:cE,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},dE=t.createContext(fE);var pE=-1e9;function hE(){return pE+=1}var vE=n(114),mE=["variant"];function yE(e){return 0===e.length}function gE(e){var t="function"===typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(s){throw s}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return o;var i=n.components[r].styleOverrides||{},a=n.components[r].variants||[],u=(0,xt.Z)({},o);return Object.keys(i).forEach((function(e){u[e]=(0,Tr.Z)(u[e]||{},i[e])})),a.forEach((function(e){var t=function(e){var t=e.variant,n=(0,On.Z)(e,mE),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?yE(r)?e[t]:(0,vE.Z)(e[t]):"".concat(yE(r)?t:(0,vE.Z)(t)).concat((0,vE.Z)(e[t].toString()))})),r}(e.props);u[t]=(0,Tr.Z)(u[t]||{},e.style)})),u},options:{}}}var bE={},xE=["name","classNamePrefix","Component","defaultTheme"];function wE(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=_S({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function kE(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var u=MS.get(o.sheetsManager,i,r);u||(u={refs:0,staticSheet:null,dynamicStyles:null},MS.set(o.sheetsManager,i,r,u));var s=(0,xt.Z)({},i.options,o,{theme:r,flip:"boolean"===typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var c=o.sheetsRegistry;if(0===u.refs){var l;o.sheetsCache&&(l=MS.get(o.sheetsCache,i,r));var f=i.create(r,a);l||((l=o.jss.createStyleSheet(f,(0,xt.Z)({link:!1},s))).attach(),o.sheetsCache&&MS.set(o.sheetsCache,i,r,l)),c&&c.add(l),u.staticSheet=l,u.dynamicStyles=CS(f)}if(u.dynamicStyles){var d=o.jss.createStyleSheet(u.dynamicStyles,(0,xt.Z)({link:!0},s));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=_S({baseClasses:u.staticSheet.classes,newClasses:d.classes}),c&&c.add(d)}else n.classes=u.staticSheet.classes;u.refs+=1}}function SE(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function OE(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=MS.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(MS.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function EE(e,n){var r,o=t.useRef([]),i=t.useMemo((function(){return{}}),n);o.current!==i&&(o.current=i,r=e()),t.useEffect((function(){return function(){r&&r()}}),[i])}function jE(e){return(0,Mn.Z)("MuiFab",e)}var PE=(0,An.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge"]),CE=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],_E=(0,Tn.ZP)(To,{name:"MuiFab",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,pr.Z)(n.size))],"inherit"===n.color&&t.colorInherit,"primary"===n.color&&t.primary,"secondary"===n.color&&t.secondary]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,xt.Z)({},n.typography.button,(t={minHeight:36,transition:n.transitions.create(["background-color","box-shadow","border-color"],{duration:n.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:n.shadows[6],"&:active":{boxShadow:n.shadows[12]},color:n.palette.getContrastText(n.palette.grey[300]),backgroundColor:n.palette.grey[300],"&:hover":{backgroundColor:n.palette.grey.A100,"@media (hover: none)":{backgroundColor:n.palette.grey[300]},textDecoration:"none"}},(0,p.Z)(t,"&.".concat(PE.focusVisible),{boxShadow:n.shadows[6]}),(0,p.Z)(t,"&.".concat(PE.disabled),{color:n.palette.action.disabled,boxShadow:n.shadows[0],backgroundColor:n.palette.action.disabledBackground}),t),"small"===r.size&&{width:40,height:40},"medium"===r.size&&{width:48,height:48},"extended"===r.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===r.variant&&"small"===r.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===r.variant&&"medium"===r.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===r.color&&{color:"inherit"})}),(function(e){var t=e.theme,n=e.ownerState;return(0,xt.Z)({},"primary"===n.color&&{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},"secondary"===n.color&&{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}})})),TE=t.forwardRef((function(e,t){var n=(0,_n.Z)({props:e,name:"MuiFab"}),r=n.children,o=n.className,i=n.color,a=void 0===i?"default":i,u=n.component,s=void 0===u?"button":u,c=n.disabled,l=void 0!==c&&c,f=n.disableFocusRipple,d=void 0!==f&&f,p=n.focusVisibleClassName,h=n.size,v=void 0===h?"large":h,m=n.variant,y=void 0===m?"circular":m,g=(0,On.Z)(n,CE),b=(0,xt.Z)({},n,{color:a,component:s,disabled:l,disableFocusRipple:d,size:v,variant:y}),x=function(e){var t=e.color,n=e.variant,r=e.classes,o=e.size,i={root:["root",n,"size".concat((0,pr.Z)(o)),"inherit"===t&&"colorInherit","primary"===t&&"primary","secondary"===t&&"secondary"]};return(0,Cn.Z)(i,jE,r)}(b);return(0,Nn.jsx)(_E,(0,xt.Z)({className:(0,Pn.Z)(x.root,o),component:s,disabled:l,focusRipple:!d,focusVisibleClassName:(0,Pn.Z)(x.focusVisible,p),ownerState:b,ref:t},g,{children:r}))})),ME=TE,AE=n(5211),RE=function(){var e=t.useState(!1),n=(0,bt.Z)(e,2),r=n[0],o=n[1],i=function(){return o(!1)};return(0,Nn.jsxs)("div",{children:[(0,Nn.jsx)(ME,{color:"primary","aria-label":"add",onClick:function(){return o(!0)},children:(0,Nn.jsx)(AE.Z,{})}),(0,Nn.jsx)(Xu,{title:ke("add"),isOpen:r,closeFn:i,children:(0,Nn.jsx)(hk,{closeFn:i})})]})},NE=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.name,o=n.classNamePrefix,i=n.Component,a=n.defaultTheme,u=void 0===a?bE:a,s=(0,On.Z)(n,xE),c=gE(e),l=r||o||"makeStyles";c.options={index:hE(),name:r,meta:l,classNamePrefix:l};var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,AS.Z)()||u,o=(0,xt.Z)({},t.useContext(dE),s),a=t.useRef(),l=t.useRef();EE((function(){var t={name:r,state:{},stylesCreator:c,stylesOptions:o,theme:n};return kE(t,e),l.current=!1,a.current=t,function(){OE(t)}}),[n,c]),t.useEffect((function(){l.current&&SE(a.current,e),l.current=!0}));var f=wE(a.current,e.classes,i);return f};return f}((function(e){return{table:{"& .MuiPaper-root":{border:"1px solid #bababa"}}}})),DE=function(e){var t=e.weights,n=e.fetchNewWeights,r=NE(),o=function(e){var t=e.map((function(t,n){return 0===n?{entry:t,change:0,days:Math.abs(t.date.getTime()-t.date.getTime())/864e5}:{entry:t,change:e[n].weight-e[n-1].weight,days:Math.abs(t.date.getTime()-e[n-1].date.getTime())/864e5}}));return t.sort((function(e,t){return e.entry.date.getTime()>t.entry.date.getTime()?-1:t.entry.date.getTime()>e.entry.date.getTime()?1:0})),t}(t),i=function(){var e=cn(fn().mark((function e(t){return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,wn(t.id);case 3:e.sent,n(),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return(0,Nn.jsxs)("div",{className:r.table,children:[(0,Nn.jsx)(Ln,{component:Hn,children:(0,Nn.jsxs)(Xn,{sx:{minWidth:650},"aria-label":"simple table",children:[(0,Nn.jsx)(ar,{children:(0,Nn.jsxs)(dr,{children:[(0,Nn.jsx)(br,{align:"center",children:(0,Nn.jsx)(yu,{i18nKey:"date"})}),(0,Nn.jsx)(br,{align:"center",children:(0,Nn.jsx)(yu,{i18nKey:"weight"})}),(0,Nn.jsx)(br,{align:"center",children:(0,Nn.jsx)(yu,{i18nKey:"difference"})}),(0,Nn.jsx)(br,{align:"center",children:(0,Nn.jsx)(yu,{i18nKey:"days"})}),(0,Nn.jsx)(br,{align:"center"})]})}),(0,Nn.jsx)(jr,{children:o.map((function(e){return(0,Nn.jsxs)(dr,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,Nn.jsx)(br,{component:"th",scope:"row",align:"center",children:e.entry.date.toLocaleDateString()}),(0,Nn.jsx)(br,{align:"center",children:e.entry.weight}),(0,Nn.jsx)(br,{align:"center",children:+e.change.toFixed(2)}),(0,Nn.jsx)(br,{align:"center",children:e.days}),(0,Nn.jsx)(br,{align:"center",children:(0,Nn.jsx)(vk,{handleDeleteWeight:i,weight:e.entry})})]},e.entry.date.toLocaleDateString())}))})]})}),(0,Nn.jsx)(Lr,{direction:"row",justifyContent:"end",sx:{mt:2},children:(0,Nn.jsx)(RE,{})})]})},ZE="body_weight_root__pGxIc",IE=n(2279),LE=n.n(IE),FE=n(6123),zE=n.n(FE),BE=n(8556),VE=n(9706),UE=n.n(VE),WE=n(5585),HE=n.n(WE),qE=n(6783),$E=n.n(qE),KE=n(9714),GE=n.n(KE),YE=n(5406),JE=n.n(YE),XE=function(e){return 0===e?0:e>0?1:-1},QE=function(e){return JE()(e)&&e.indexOf("%")===e.length-1},ej=function(e){return GE()(e)&&!$E()(e)},tj=function(e){return ej(e)||JE()(e)},nj=0,rj=function(e){var t=++nj;return"".concat(e||"").concat(t)},oj=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!ej(e)&&!JE()(e))return r;if(QE(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return $E()(n)&&(n=r),o&&n>t&&(n=t),n},ij=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},aj=function(e,t){return ej(e)&&ej(t)?function(n){return e+n*(t-e)}:function(){return t}};function uj(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"===typeof t?t(e):UE()(e,t))===n})):null}var sj=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]};function cj(){return cj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cj.apply(this,arguments)}function lj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return fj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fj(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var dj=(0,t.forwardRef)((function(e,n){var r=e.aspect,o=e.width,i=void 0===o?"100%":o,a=e.height,u=void 0===a?"100%":a,s=e.minWidth,c=e.minHeight,l=e.maxHeight,f=e.children,d=e.debounce,p=void 0===d?0:d,h=e.id,v=e.className,m=lj((0,t.useState)({containerWidth:-1,containerHeight:-1}),2),y=m[0],g=m[1],b=(0,t.useRef)(null);(0,t.useImperativeHandle)(n,(function(){return b}),[b]);var x=lj((0,t.useState)(!1),2),w=x[0],k=x[1],S=function(){return b.current?{containerWidth:b.current.clientWidth,containerHeight:b.current.clientHeight}:null},O=function(){if(w){var e=S();if(e){var t=y.containerWidth,n=y.containerHeight,r=e.containerWidth,o=e.containerHeight;r===t&&o===n||g({containerWidth:r,containerHeight:o})}}},E=p>0?LE()(O,p):O;(0,t.useEffect)((function(){if(w){var e=S();e&&g(e)}}),[w]),(0,t.useEffect)((function(){k(!0)}),[]);var j={width:i,height:u,minWidth:s,minHeight:c,maxHeight:l};return t.createElement(BE.ZP,{handleWidth:!0,handleHeight:!0,onResize:E,targetRef:b},t.createElement("div",cj({},null!=h?{id:"".concat(h)}:{},{className:zE()("recharts-responsive-container",v),style:j,ref:b}),function(){var e=y.containerWidth,n=y.containerHeight;if(e<0||n<0)return null;sj(QE(i)||QE(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",i,u),sj(!r||r>0,"The aspect(%s) must be greater than zero.",r);var o=QE(i)?e:i,a=QE(u)?n:u;return r&&r>0&&(o?a=o/r:a&&(o=a*r),l&&a>l&&(a=l)),sj(o>0||a>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",o,a,i,u,s,c,r),(0,t.cloneElement)(f,{width:o,height:a})}()))})),pj=n(5499),hj=n.n(pj),vj=n(3709),mj=n.n(vj),yj=n(375),gj=n.n(yj),bj=n(1909),xj=n.n(bj),wj=n(163),kj=n.n(wj),Sj=n(3575),Oj=n.n(Sj),Ej=n(1450),jj=n.n(Ej),Pj=n(9877),Cj=n.n(Pj),_j=n(1845),Tj=n.n(_j);function Mj(e){return Mj="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mj(e)}var Aj=["viewBox","children"],Rj=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Nj=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Dj=function(e,n,r){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var o=e;if((0,t.isValidElement)(e)&&(o=e.props),!Tj()(o))return null;var i={};return Object.keys(o).forEach((function(e){(Rj.includes(e)||r&&Aj.includes(e)||n&&Nj.includes(e))&&(i[e]=o[e])})),i},Zj=function(e,n){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var r=e;if((0,t.isValidElement)(e)&&(r=e.props),!Tj()(r))return null;var o={};return Object.keys(r).forEach((function(e){Nj.includes(e)&&(o[e]=n||function(t){return r[e](r,t)})})),o},Ij=function(e,t,n){if(!Tj()(e)||"object"!==Mj(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];Nj.includes(o)&&"function"===typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r};function Lj(){return Lj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lj.apply(this,arguments)}function Fj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function zj(e){var n=e.children,r=e.width,o=e.height,i=e.viewBox,a=e.className,u=e.style,s=Fj(e,["children","width","height","viewBox","className","style"]),c=i||{width:r,height:o,x:0,y:0},l=zE()("recharts-surface",a);return t.createElement("svg",Lj({},Dj(s,!0,!0),{className:l,width:r,height:o,style:u,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height),version:"1.1"}),n)}function Bj(){return Bj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bj.apply(this,arguments)}function Vj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Uj(e){var n=e.children,r=e.className,o=Vj(e,["children","className"]),i=zE()("recharts-layer",r);return t.createElement("g",Bj({className:i},Dj(o,!0)),n)}var Wj=n(5487),Hj=n.n(Wj),qj=n(1831),$j=n(4903),Kj=n.n($j);function Gj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):Kj()(r)};Kj()(r)}function Yj(e){return Yj="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yj(e)}function Jj(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return Xj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xj(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qj(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=Jj(r),i=o[0],a=o.slice(1);return"number"===typeof i?void Gj(n.bind(null,a),i):(n(i),void Gj(n.bind(null,a)))}"object"===Yj(r)&&e(r),"function"===typeof r&&r()}};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function eP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eP(Object(n),!0).forEach((function(t){nP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rP=["Webkit","Moz","O","ms"],oP=["-webkit-","-moz-","-o-","-ms-"],iP=["transform","transformOrigin","transition"],aP=function(e){return e},uP=function(e,t){return Object.keys(t).reduce((function(n,r){return tP(tP({},n),{},nP({},r,e(r,t[r])))}),{})},sP=function(e){return Object.keys(e).reduce((function(e,t){return tP(tP({},e),function(e,t){if(-1===iP.indexOf(e))return nP({},e,t);var n="transition"===e,r=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),o=t;return rP.reduce((function(e,i,a){return n&&(o=t.replace(/(transform|transform-origin)/gim,"".concat(oP[a],"$1"))),tP(tP({},e),{},nP({},i+r,o))}),{})}(t,e[t]))}),e)},cP=function(e,t,n){return e.map((function(e){return"".concat((r=e,r.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(n);var r})).join(",")};function lP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||dP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fP(e){return function(e){if(Array.isArray(e))return pP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||dP(e)||function(){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 dP(e,t){if(e){if("string"===typeof e)return pP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pP(e,t):void 0}}function pP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hP=1e-4,vP=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},mP=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},yP=function(e,t){return function(n){var r=vP(e,t);return mP(r,n)}},gP=function(e,t){return function(n){var r=vP(e,t),o=[].concat(fP(r.map((function(e,t){return e*t})).slice(1)),[0]);return mP(o,n)}},bP=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var u=t[0].split("(");if("cubic-bezier"===u[0]&&4===u[1].split(")")[0].split(",").length){var s=u[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),c=lP(s,4);r=c[0],o=c[1],i=c[2],a=c[3]}}[r,i,o,a].every((function(e){return"number"===typeof e&&e>=0&&e<=1}));var l=yP(r,i),f=yP(o,a),d=gP(r,i),p=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=l(n)-t,i=d(n);if(Math.abs(o-t)<hP||i<hP)return f(n);n=p(n-o/i)}return f(n)};return h.isStepper=!1,h},xP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,u=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,u=r*a/1e3+e;return Math.abs(u-t)<hP&&Math.abs(i)<hP?[t,0]:[u,i]};return u.isStepper=!0,u.dt=a,u};function wP(e){return function(e){if(Array.isArray(e))return PP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||jP(e)||function(){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 kP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kP(Object(n),!0).forEach((function(t){OP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function OP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||jP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jP(e,t){if(e){if("string"===typeof e)return PP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?PP(e,t):void 0}}function PP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var CP=function(e,t,n){return e+(t-e)*n},_P=function(e){return e.from!==e.to},TP=function e(t,n,r){var o=uP((function(e,n){if(_P(n)){var r=EP(t(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return SP(SP({},n),{},{from:o,velocity:i})}return n}),n);return r<1?uP((function(e,t){return _P(t)?SP(SP({},t),{},{velocity:CP(t.velocity,o[e].velocity,r),from:CP(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)},MP=function(e,t,n,r,o){var i,a,u,s,c=(i=e,a=t,[Object.keys(i),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),l=c.reduce((function(n,r){return SP(SP({},n),{},OP({},r,[e[r],t[r]]))}),{}),f=c.reduce((function(n,r){return SP(SP({},n),{},OP({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),d=-1,p=function(){return null};return p=n.isStepper?function(r){u||(u=r);var i=(r-u)/n.dt;f=TP(n,f,i),o(SP(SP(SP({},e),t),uP((function(e,t){return t.from}),f))),u=r,Object.values(f).filter(_P).length&&(d=Kj()(p))}:function(i){s||(s=i);var a=(i-s)/r,u=uP((function(e,t){return CP.apply(void 0,wP(t).concat([n(a)]))}),l);if(o(SP(SP(SP({},e),t),u)),a<1)d=Kj()(p);else{var c=uP((function(e,t){return CP.apply(void 0,wP(t).concat([n(1)]))}),l);o(SP(SP(SP({},e),t),c))}},function(){return Kj()(p),function(){(0,$j.cancel)(d)}}};function AP(e){return AP="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AP(e)}function RP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function NP(e){return function(e){if(Array.isArray(e))return DP(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return DP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DP(e,t)}(e)||function(){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 DP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ZP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function IP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZP(Object(n),!0).forEach((function(t){LP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zP(e,t){return zP=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zP(e,t)}function BP(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=WP(e);if(t){var o=WP(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VP(this,n)}}function VP(e,t){return!t||"object"!==AP(t)&&"function"!==typeof t?UP(e):t}function UP(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WP(e){return WP=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},WP(e)}var HP=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zP(e,t)}(a,e);var n,r,o,i=BP(a);function a(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,e,t)).props,o=r.isActive,u=r.attributeName,s=r.from,c=r.to,l=r.steps,f=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(UP(n)),n.changeStyle=n.changeStyle.bind(UP(n)),!o)return n.state={style:{}},"function"===typeof f&&(n.state={style:c}),VP(n);if(l&&l.length)n.state={style:l[0].style};else if(s){if("function"===typeof f)return n.state={style:s},VP(n);n.state={style:u?LP({},u,s):s}}else n.state={style:{}};return n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate;if(r)if(n){if(!((0,qj.deepEqual)(e.to,this.props.to)&&e.canBegin&&e.isActive)){var a=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=a||i?this.props.from:e.to;if(this.state&&this.state.style){var s={style:o?LP({},o,u):u};(o&&this.state.style[o]!==u||!o&&this.state.style!==u)&&this.setState(s)}this.runAnimation(IP(IP({},this.props),{},{from:u,begin:0}))}}else{var c={style:o?LP({},o,this.props.to):this.props.to};this.state&&this.state.style&&(o&&this.state.style[o]!==this.props.to||!o&&this.state.style!==this.props.to)&&this.setState(c)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,u=e.onAnimationEnd,s=e.onAnimationStart,c=MP(n,r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return bP(r);case"spring":return xP();default:if("cubic-bezier"===r.split("(")[0])return bP(r)}return"function"===typeof r?r:null}(i),o,this.changeStyle);this.manager.start([s,a,function(){t.stopJSAnimation=c()},o,u])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,u=i.duration,s=void 0===u?0:u;return this.manager.start([o].concat(NP(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,u=void 0===a?"ease":a,s=r.style,c=r.properties,l=r.onAnimationEnd,f=o>0?n[o-1]:r,d=c||Object.keys(s);if("function"===typeof u||"spring"===u)return[].concat(NP(e),[t.runJSAnimation.bind(t,{from:f.style,to:s,duration:i,easing:u}),i]);var p=cP(d,i,u),h=IP(IP(IP({},f.style),s),{},{transition:p});return[].concat(NP(e),[h,i,l]).filter(aP)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Qj());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,u=e.onAnimationEnd,s=e.steps,c=e.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var f=r?LP({},r,o):o,d=cP(Object.keys(f),n,i);l.start([a,t,IP(IP({},f),{},{transition:d}),n,u])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,n=e.children,r=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),o=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,RP(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=t.Children.count(n),a=sP(this.state.style);if("function"===typeof n)return n(a);if(!r||0===i)return n;var u=function(e){var n=e.props,r=n.style,i=void 0===r?{}:r,u=n.className;return(0,t.cloneElement)(e,IP(IP({},o),{},{style:IP(IP({},i),a),className:u}))};return 1===i?u(t.Children.only(n)):t.createElement("div",null,t.Children.map(n,(function(e){return u(e)})))}}],r&&FP(n.prototype,r),o&&FP(n,o),a}(t.PureComponent);HP.displayName="Animate",HP.propTypes={from:jn().oneOfType([jn().object,jn().string]),to:jn().oneOfType([jn().object,jn().string]),attributeName:jn().string,duration:jn().number,begin:jn().number,easing:jn().oneOfType([jn().string,jn().func]),steps:jn().arrayOf(jn().shape({duration:jn().number.isRequired,style:jn().object.isRequired,easing:jn().oneOfType([jn().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),jn().func]),properties:jn().arrayOf("string"),onAnimationEnd:jn().func})),children:jn().oneOfType([jn().node,jn().func]),isActive:jn().bool,canBegin:jn().bool,onAnimationEnd:jn().func,shouldReAnimate:jn().bool,onAnimationStart:jn().func,onAnimationReStart:jn().func},HP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var qP=HP,$P=n(7558);function KP(e){return KP="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KP(e)}function GP(){return GP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GP.apply(this,arguments)}function YP(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JP(Object(n),!0).forEach((function(t){QP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nC(e,t){return nC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},nC(e,t)}function rC(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=iC(e);if(t){var o=iC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return oC(this,n)}}function oC(e,t){return!t||"object"!==KP(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function iC(e){return iC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iC(e)}void 0===Number.isFinite&&(Number.isFinite=function(e){return"number"===typeof e&&isFinite(e)});var aC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},uC=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nC(e,t)}(a,e);var n,r,o,i=rC(a);function a(){var e;eC(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={isActive:!1},e.handleEnter=function(t,n){var r=e.props,o=r.appearOptions,i=r.enterOptions;e.handleStyleActive(n?o:i)},e.handleExit=function(){e.handleStyleActive(e.props.leaveOptions)},e}return n=a,r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(XP(XP({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return aC(t)+aC(n)+aC(r)}},{key:"render",value:function(){var e=this,n=this.props,r=n.children,o=(n.appearOptions,n.enterOptions,n.leaveOptions,YP(n,["children","appearOptions","enterOptions","leaveOptions"]));return t.createElement($P.Transition,GP({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return t.createElement(qP,e.state,t.Children.only(r))}))}}],r&&tC(n.prototype,r),o&&tC(n,o),a}(t.Component);uC.propTypes={appearOptions:jn().object,enterOptions:jn().object,leaveOptions:jn().object,children:jn().element};var sC=uC;function cC(e){var n=e.component,r=e.children,o=e.appear,i=e.enter,a=e.leave;return t.createElement($P.TransitionGroup,{component:n},t.Children.map(r,(function(e,n){return t.createElement(sC,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(n)},e)})))}cC.propTypes={appear:jn().object,enter:jn().object,leave:jn().object,children:jn().oneOfType([jn().array,jn().element]),component:jn().any},cC.defaultProps={component:"span"};var lC=qP;function fC(e){return fC="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fC(e)}function dC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return pC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pC(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hC(Object(n),!0).forEach((function(t){mC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bC(e,t){return bC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},bC(e,t)}function xC(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kC(e);if(t){var o=kC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wC(this,n)}}function wC(e,t){return!t||"object"!==fC(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kC(e){return kC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kC(e)}function SC(e){return HE()(e)&&tj(e[0])&&tj(e[1])?e.join(" ~ "):e}var OC=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bC(e,t)}(a,e);var n,r,o,i=xC(a);function a(){return yC(this,a),i.apply(this,arguments)}return n=a,r=[{key:"renderContent",value:function(){var e=this.props,n=e.payload,r=e.separator,o=e.formatter,i=e.itemStyle,a=e.itemSorter;if(n&&n.length){var u=(a?kj()(n,a):n).map((function(e,a){if("none"===e.type)return null;var u=vC({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),s=e.formatter||o||SC,c=e.name,l=e.value;if(s){var f=s(l,c,e,a,n);if(Array.isArray(f)){var d=dC(f,2);l=d[0],c=d[1]}else l=f}return t.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(a),style:u},tj(c)?t.createElement("span",{className:"recharts-tooltip-item-name"},c):null,tj(c)?t.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,t.createElement("span",{className:"recharts-tooltip-item-value"},l),t.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return t.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},u)}return null}},{key:"render",value:function(){var e=this.props,n=e.wrapperClassName,r=e.contentStyle,o=e.labelClassName,i=e.labelStyle,a=e.label,u=e.labelFormatter,s=e.payload,c=vC({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),l=vC({margin:0},i),f=!jj()(a),d=f?a:"",p=zE()("recharts-default-tooltip",n),h=zE()("recharts-tooltip-label",o);return f&&u&&(d=u(a,s)),t.createElement("div",{className:p,style:c},t.createElement("p",{className:h,style:l},t.isValidElement(d)?d:"".concat(d)),this.renderContent())}}],r&&gC(n.prototype,r),o&&gC(n,o),a}(t.PureComponent);OC.displayName="DefaultTooltipContent",OC.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var EC={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return EC[e]},set:function(e,t){if("string"===typeof e)EC[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){EC[t]=e[t]}))}}};function jC(e){return jC="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jC(e)}function PC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PC(Object(n),!0).forEach((function(t){_C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AC(e,t){return AC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},AC(e,t)}function RC(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=DC(e);if(t){var o=DC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return NC(this,n)}}function NC(e,t){return!t||"object"!==jC(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function DC(e){return DC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},DC(e)}var ZC="recharts-tooltip-wrapper";function IC(e){return e.dataKey}var LC=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AC(e,t)}(a,e);var n,r,o,i=RC(a);function a(){var e;TC(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},e.wrapperNode=void 0,e.getTranslate=function(t){var n=t.key,r=t.tooltipDimension,o=t.viewBoxDimension,i=e.props,a=i.allowEscapeViewBox,u=i.coordinate,s=i.offset,c=i.position,l=i.viewBox;if(c&&ej(c[n]))return c[n];var f=u[n]-r-s,d=u[n]+s;return a[n]?d:u[n]+r+s>l[n]+o?Math.max(f,l[n]):Math.max(d,l[n])},e}return n=a,r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-t)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,n,r,o=this,i=this.props,a=i.payload,u=i.isAnimationActive,s=i.animationDuration,c=i.animationEasing,l=i.filterNull,f=function(e,t){return!0===e?Hj()(t,IC):gj()(e)?Hj()(t,e):t}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(e){return!jj()(e.value)})):a),d=f&&f.length,p=this.props,h=p.content,v=p.viewBox,m=p.coordinate,y=p.position,g=p.active,b=CC({pointerEvents:"none",visibility:g&&d?"visible":"hidden",position:"absolute",top:0,left:0},p.wrapperStyle);if(y&&ej(y.x)&&ej(y.y))n=y.x,r=y.y;else{var x=this.state,w=x.boxWidth,k=x.boxHeight;w>0&&k>0&&m?(n=this.getTranslate({key:"x",tooltipDimension:w,viewBoxDimension:v.width}),r=this.getTranslate({key:"y",tooltipDimension:k,viewBoxDimension:v.height})):b.visibility="hidden"}b=CC(CC({},sP({transform:this.props.useTranslate3d?"translate3d(".concat(n,"px, ").concat(r,"px, 0)"):"translate(".concat(n,"px, ").concat(r,"px)")})),b),u&&g&&(b=CC(CC({},sP({transition:"transform ".concat(s,"ms ").concat(c)})),b));var S=zE()(ZC,(_C(e={},"".concat(ZC,"-right"),ej(n)&&m&&ej(m.x)&&n>=m.x),_C(e,"".concat(ZC,"-left"),ej(n)&&m&&ej(m.x)&&n<m.x),_C(e,"".concat(ZC,"-bottom"),ej(r)&&m&&ej(m.y)&&r>=m.y),_C(e,"".concat(ZC,"-top"),ej(r)&&m&&ej(m.y)&&r<m.y),e));return t.createElement("div",{className:S,style:b,ref:function(e){o.wrapperNode=e}},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?t.createElement(e,n):t.createElement(OC,n)}(h,CC(CC({},this.props),{},{payload:f})))}}],r&&MC(n.prototype,r),o&&MC(n,o),a}(t.PureComponent);LC.displayName="Tooltip",LC.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!EC.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var FC=n(4569),zC=n.n(FC),BC=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),VC=2*BC;var UC={draw:function(e,t){var n=Math.sqrt(t/BC);e.moveTo(n,0),e.arc(0,0,n,0,VC)}},WC={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},HC=Math.sqrt(1/3),qC=2*HC,$C={draw:function(e,t){var n=Math.sqrt(t/qC),r=n*HC;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},KC={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},GC=Math.sin(BC/10)/Math.sin(7*BC/10),YC=Math.sin(VC/10)*GC,JC=-Math.cos(VC/10)*GC,XC={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=YC*n,o=JC*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=VC*i/5,u=Math.cos(a),s=Math.sin(a);e.lineTo(s*n,-u*n),e.lineTo(u*r-s*o,s*r+u*o)}e.closePath()}},QC=Math.sqrt(3),e_={draw:function(e,t){var n=-Math.sqrt(t/(3*QC));e.moveTo(0,2*n),e.lineTo(-QC*n,-n),e.lineTo(QC*n,-n),e.closePath()}},t_=-.5,n_=Math.sqrt(3)/2,r_=1/Math.sqrt(12),o_=3*(r_/2+1),i_={draw:function(e,t){var n=Math.sqrt(t/o_),r=n/2,o=n*r_,i=r,a=n*r_+n,u=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(u,s),e.lineTo(t_*r-n_*o,n_*r+t_*o),e.lineTo(t_*i-n_*a,n_*i+t_*a),e.lineTo(t_*u-n_*s,n_*u+t_*s),e.lineTo(t_*r+n_*o,t_*o-n_*r),e.lineTo(t_*i+n_*a,t_*a-n_*i),e.lineTo(t_*u+n_*s,t_*s-n_*u),e.closePath()}},a_=Math.PI,u_=2*a_,s_=1e-6,c_=u_-s_;function l_(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f_(){return new l_}l_.prototype=f_.prototype={constructor:l_,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var i=this._x1,a=this._y1,u=n-e,s=r-t,c=i-e,l=a-t,f=c*c+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>s_)if(Math.abs(l*u-s*c)>s_&&o){var d=n-i,p=r-a,h=u*u+s*s,v=d*d+p*p,m=Math.sqrt(h),y=Math.sqrt(f),g=o*Math.tan((a_-Math.acos((h+f-v)/(2*m*y)))/2),b=g/y,x=g/m;Math.abs(b-1)>s_&&(this._+="L"+(e+b*c)+","+(t+b*l)),this._+="A"+o+","+o+",0,0,"+ +(l*d>c*p)+","+(this._x1=e+x*u)+","+(this._y1=t+x*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,i){e=+e,t=+t,i=!!i;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),s=e+a,c=t+u,l=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>s_||Math.abs(this._y1-c)>s_)&&(this._+="L"+s+","+c),n&&(f<0&&(f=f%u_+u_),f>c_?this._+="A"+n+","+n+",0,1,"+l+","+(e-a)+","+(t-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>s_&&(this._+="A"+n+","+n+",0,"+ +(f>=a_)+","+l+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var d_=f_;function p_(e){return function(){return e}}function h_(e){return h_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h_(e)}function v_(){return v_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v_.apply(this,arguments)}function m_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g_(e,t){return g_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g_(e,t)}function b_(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w_(e);if(t){var o=w_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x_(this,n)}}function x_(e,t){return!t||"object"!==h_(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w_(e)}var k_={symbolCircle:UC,symbolCross:WC,symbolDiamond:$C,symbolSquare:KC,symbolStar:XC,symbolTriangle:e_,symbolWye:i_},S_=Math.PI/180,O_=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}(a,e);var n,r,o,i=b_(a);function a(){return m_(this,a),i.apply(this,arguments)}return n=a,r=[{key:"getPath",value:function(){var e=this.props,t=e.size,n=e.sizeType,r=e.type,o=function(e){var t="symbol".concat(zC()(e));return k_[t]||UC}(r),i=function(e,t){var n=null;function r(){var r;if(n||(n=r=d_()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return e="function"===typeof e?e:p_(e||UC),t="function"===typeof t?t:p_(void 0===t?64:+t),r.type=function(t){return arguments.length?(e="function"===typeof t?t:p_(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:p_(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r}().type(o).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*S_;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(t,n,r));return i()}},{key:"render",value:function(){var e=this.props,n=e.className,r=e.cx,o=e.cy,i=e.size;return r===+r&&o===+o&&i===+i?t.createElement("path",v_({},Dj(this.props,!0),{className:zE()("recharts-symbols",n),transform:"translate(".concat(r,", ").concat(o,")"),d:this.getPath()})):null}}],r&&y_(n.prototype,r),o&&y_(n,o),a}(t.PureComponent);function E_(e){return E_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E_(e)}function j_(){return j_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j_.apply(this,arguments)}function P_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function __(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M_(e,t){return M_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},M_(e,t)}function A_(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N_(e);if(t){var o=N_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R_(this,n)}}function R_(e,t){return!t||"object"!==E_(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N_(e)}O_.defaultProps={type:"circle",size:64,sizeType:"area"},O_.registerSymbol=function(e,t){k_["symbol".concat(zC()(e))]=t};var D_=32,Z_=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}(a,e);var n,r,o,i=A_(a);function a(){return __(this,a),i.apply(this,arguments)}return n=a,r=[{key:"renderIcon",value:function(e){var n=this.props.inactiveColor,r=16,o=D_/6,i=D_/3,a=e.inactive?n:e.color;if("plainline"===e.type)return t.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:D_,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return t.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(D_,"M").concat(2*i,",").concat(r,"\n A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return t.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(D_,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(t.isValidElement(e.legendIcon)){var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P_(Object(n),!0).forEach((function(t){C_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete u.legendIcon,t.cloneElement(e.legendIcon,u)}return t.createElement(O_,{fill:a,cx:r,cy:r,size:D_,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,n=this.props,r=n.payload,o=n.iconSize,i=n.layout,a=n.formatter,u=n.inactiveColor,s={x:0,y:0,width:D_,height:D_},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(n,r){var i,f=n.formatter||a,d=zE()((C_(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),C_(i,"inactive",n.inactive),i));if("none"===n.type)return null;var p=n.inactive?u:n.color;return t.createElement("li",j_({className:d,style:c,key:"legend-item-".concat(r)},Ij(e.props,n,r)),t.createElement(zj,{width:o,height:o,viewBox:s,style:l},e.renderIcon(n)),t.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},f?f(n.value,n,r):n.value))}))}},{key:"render",value:function(){var e=this.props,n=e.payload,r=e.layout,o=e.align;if(!n||!n.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return t.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],r&&T_(n.prototype,r),o&&T_(n,o),a}(t.PureComponent);function I_(e){return I_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I_(e)}function L_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L_(Object(n),!0).forEach((function(t){z_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U_(e,t){return U_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},U_(e,t)}function W_(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q_(e);if(t){var o=q_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H_(this,n)}}function H_(e,t){return!t||"object"!==I_(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},q_(e)}function $_(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function K_(e){return e.value}function G_(e,t){return!0===e?Hj()(t,K_):gj()(e)?Hj()(t,e):t}Z_.displayName="Legend",Z_.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Y_=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}(a,e);var n,r,o,i=W_(a);function a(){var e;B_(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).wrapperNode=void 0,e.state={boxWidth:-1,boxHeight:-1},e}return n=a,r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;return t>=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,u=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===i?{right:u&&u.right||0}:{left:u&&u.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),F_(F_({},t),n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-t)>1||Math.abs(o.height-n)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},(function(){r&&r(o)}))}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var e=this,n=this.props,r=n.content,o=n.width,i=n.height,a=n.wrapperStyle,u=n.payloadUniqBy,s=n.payload,c=F_(F_({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return t.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,n){if(t.isValidElement(e))return t.cloneElement(e,n);if(gj()(e))return t.createElement(e,n);n.ref;var r=$_(n,["ref"]);return t.createElement(Z_,r)}(r,F_(F_({},this.props),{},{payload:G_(u,s)})))}}],o=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&ej(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],r&&V_(n.prototype,r),o&&V_(n,o),a}(t.PureComponent);function J_(){}function X_(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Q_(e){this._context=e}function eT(e){this._context=e}function tT(e){this._context=e}function nT(e){this._context=e}function rT(e){this._context=e}function oT(e){return new rT(e)}function iT(e){return e<0?-1:1}function aT(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),u=(i*o+a*r)/(r+o);return(iT(i)+iT(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function uT(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function sT(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,u=(i-r)/3;e._context.bezierCurveTo(r+u,o+u*t,i-u,a-u*n,i,a)}function cT(e){this._context=e}function lT(e){this._context=new fT(e)}function fT(e){this._context=e}function dT(e){this._context=e}function pT(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function hT(e,t){this._context=e,this._t=t}Y_.displayName="Legend",Y_.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Q_.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:X_(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:X_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},eT.prototype={areaStart:J_,areaEnd:J_,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:X_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},tT.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(e,t){switch(e=+e,t=+t,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+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:X_(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},nT.prototype={areaStart:J_,areaEnd:J_,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},rT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},cT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:sT(this,this._t0,uT(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,sT(this,uT(this,n=aT(this,e,t)),n);break;default:sT(this,this._t0,n=aT(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(lT.prototype=Object.create(cT.prototype)).point=function(e,t){cT.prototype.point.call(this,t,e)},fT.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},dT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=pT(e),o=pT(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},hT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};Array.prototype.slice;function vT(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function mT(e){return e[0]}function yT(e){return e[1]}function gT(e,t){var n=p_(!0),r=null,o=oT,i=null;function a(a){var u,s,c,l=(a=vT(a)).length,f=!1;for(null==r&&(i=o(c=d_())),u=0;u<=l;++u)!(u<l&&n(s=a[u],u,a))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(s,u,a),+t(s,u,a));if(c)return i=null,c+""||null}return e="function"===typeof e?e:void 0===e?mT:p_(e),t="function"===typeof t?t:void 0===t?yT:p_(t),a.x=function(t){return arguments.length?(e="function"===typeof t?t:p_(+t),a):e},a.y=function(e){return arguments.length?(t="function"===typeof e?e:p_(+e),a):t},a.defined=function(e){return arguments.length?(n="function"===typeof e?e:p_(!!e),a):n},a.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),a):o},a.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),a):r},a}function bT(e,t,n){var r=null,o=p_(!0),i=null,a=oT,u=null;function s(s){var c,l,f,d,p,h=(s=vT(s)).length,v=!1,m=new Array(h),y=new Array(h);for(null==i&&(u=a(p=d_())),c=0;c<=h;++c){if(!(c<h&&o(d=s[c],c,s))===v)if(v=!v)l=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=c-1;f>=l;--f)u.point(m[f],y[f]);u.lineEnd(),u.areaEnd()}v&&(m[c]=+e(d,c,s),y[c]=+t(d,c,s),u.point(r?+r(d,c,s):m[c],n?+n(d,c,s):y[c]))}if(p)return u=null,p+""||null}function c(){return gT().defined(o).curve(a).context(i)}return e="function"===typeof e?e:void 0===e?mT:p_(+e),t="function"===typeof t?t:p_(void 0===t?0:+t),n="function"===typeof n?n:void 0===n?yT:p_(+n),s.x=function(t){return arguments.length?(e="function"===typeof t?t:p_(+t),r=null,s):e},s.x0=function(t){return arguments.length?(e="function"===typeof t?t:p_(+t),s):e},s.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:p_(+e),s):r},s.y=function(e){return arguments.length?(t="function"===typeof e?e:p_(+e),n=null,s):t},s.y0=function(e){return arguments.length?(t="function"===typeof e?e:p_(+e),s):t},s.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:p_(+e),s):n},s.lineX0=s.lineY0=function(){return c().x(e).y(t)},s.lineY1=function(){return c().x(e).y(n)},s.lineX1=function(){return c().x(r).y(t)},s.defined=function(e){return arguments.length?(o="function"===typeof e?e:p_(!!e),s):o},s.curve=function(e){return arguments.length?(a=e,null!=i&&(u=a(i)),s):a},s.context=function(e){return arguments.length?(null==e?i=u=null:u=a(i=e),s):i},s}function xT(e){return xT="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xT(e)}function wT(){return wT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wT.apply(this,arguments)}function kT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ST(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kT(Object(n),!0).forEach((function(t){OT(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function OT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ET(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function PT(e,t){return PT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},PT(e,t)}function CT(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=TT(e);if(t){var o=TT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _T(this,n)}}function _T(e,t){return!t||"object"!==xT(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function TT(e){return TT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},TT(e)}var MT={curveBasisClosed:function(e){return new eT(e)},curveBasisOpen:function(e){return new tT(e)},curveBasis:function(e){return new Q_(e)},curveLinearClosed:function(e){return new nT(e)},curveLinear:oT,curveMonotoneX:function(e){return new cT(e)},curveMonotoneY:function(e){return new lT(e)},curveNatural:function(e){return new dT(e)},curveStep:function(e){return new hT(e,.5)},curveStepAfter:function(e){return new hT(e,1)},curveStepBefore:function(e){return new hT(e,0)}},AT=function(e){return e.x===+e.x&&e.y===+e.y},RT=function(e){return e.x},NT=function(e){return e.y},DT=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PT(e,t)}(a,e);var n,r,o,i=CT(a);function a(){return ET(this,a),i.apply(this,arguments)}return n=a,r=[{key:"getPath",value:function(){var e,t=this.props,n=t.type,r=t.points,o=t.baseLine,i=t.layout,a=t.connectNulls,u=function(e,t){if(gj()(e))return e;var n="curve".concat(zC()(e));return"curveMonotone"===n&&t?MT["".concat(n).concat("vertical"===t?"Y":"X")]:MT[n]||oT}(n,i),s=a?r.filter((function(e){return AT(e)})):r;if(HE()(o)){var c=a?o.filter((function(e){return AT(e)})):o,l=s.map((function(e,t){return ST(ST({},e),{},{base:c[t]})}));return(e="vertical"===i?bT().y(NT).x1(RT).x0((function(e){return e.base.x})):bT().x(RT).y1(NT).y0((function(e){return e.base.y}))).defined(AT).curve(u),e(l)}return(e="vertical"===i&&ej(o)?bT().y(NT).x1(RT).x0(o):ej(o)?bT().x(RT).y1(NT).y0(o):gT().x(RT).y(NT)).defined(AT).curve(u),e(s)}},{key:"render",value:function(){var e=this.props,n=e.className,r=e.points,o=e.path,i=e.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?this.getPath():o;return t.createElement("path",wT({},Dj(this.props),Zj(this.props),{className:zE()("recharts-curve",n),d:a,ref:i}))}}],r&&jT(n.prototype,r),o&&jT(n,o),a}(t.PureComponent);function ZT(e){return ZT="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZT(e)}function IT(){return IT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IT.apply(this,arguments)}function LT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zT(e,t){return zT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zT(e,t)}function BT(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=UT(e);if(t){var o=UT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VT(this,n)}}function VT(e,t){return!t||"object"!==ZT(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function UT(e){return UT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},UT(e)}DT.defaultProps={type:"linear",points:[],connectNulls:!1};var WT=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zT(e,t)}(a,e);var n,r,o,i=BT(a);function a(){return LT(this,a),i.apply(this,arguments)}return n=a,r=[{key:"render",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,u=e.top,s=e.left,c=e.className;return ej(n)&&ej(r)&&ej(o)&&ej(i)&&ej(u)&&ej(s)?t.createElement("path",IT({},Dj(this.props,!0),{className:zE()("recharts-cross",c),d:a.getPath(n,r,o,i,u,s)})):null}}],o=[{key:"getPath",value:function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)}}],r&&FT(n.prototype,r),o&&FT(n,o),a}(t.PureComponent);function HT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HT(Object(n),!0).forEach((function(t){$T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}WT.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var KT=Math.PI/180,GT=function(e){return 180*e/Math.PI},YT=function(e,t,n,r){return{x:e+Math.cos(-KT*r)*n,y:t+Math.sin(-KT*r)*n}},JT=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var u=(n-o)/a,s=Math.acos(u);return r>i&&(s=2*Math.PI-s),{radius:a,angle:GT(s),angleInRadian:s}},XT=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},QT=function(e,t){var n=e.x,r=e.y,o=JT({x:n,y:r},t),i=o.radius,a=o.angle,u=t.innerRadius,s=t.outerRadius;if(i<u||i>s)return!1;if(0===i)return!0;var c,l=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),f=l.startAngle,d=l.endAngle,p=a;if(f<=d){for(;p>d;)p-=360;for(;p<f;)p+=360;c=p>=f&&p<=d}else{for(;p>f;)p-=360;for(;p<d;)p+=360;c=p>=d&&p<=f}return c?qT(qT({},t),{},{radius:i,angle:XT(p,t)}):null};function eM(e){return eM="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eM(e)}function tM(){return tM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tM.apply(this,arguments)}function nM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oM(e,t){return oM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},oM(e,t)}function iM(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uM(e);if(t){var o=uM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return aM(this,n)}}function aM(e,t){return!t||"object"!==eM(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function uM(e){return uM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},uM(e)}var sM=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,a=e.isExternal,u=e.cornerRadius,s=e.cornerIsExternal,c=u*(a?1:-1)+r,l=Math.asin(u/c)/KT,f=s?o:o+i*l,d=s?o-i*l:o;return{center:YT(t,n,c,f),circleTangency:YT(t,n,r,f),lineTangency:YT(t,n,c*Math.cos(l*KT),d),theta:l}},cM=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,a=function(e,t){return XE(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),u=i+a,s=YT(t,n,o,i),c=YT(t,n,o,u),l="M ".concat(s.x,",").concat(s.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>u),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var f=YT(t,n,r,i),d=YT(t,n,r,u);l+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=u),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(t,",").concat(n," Z");return l},lM=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oM(e,t)}(a,e);var n,r,o,i=iM(a);function a(){return nM(this,a),i.apply(this,arguments)}return n=a,r=[{key:"render",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,u=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,f=e.className;if(i<o||c===l)return null;var d,p=zE()("recharts-sector",f),h=i-o,v=oj(a,h,0,!0);return d=v>0&&Math.abs(c-l)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,c=e.endAngle,l=XE(c-s),f=sM({cx:t,cy:n,radius:o,angle:s,sign:l,cornerRadius:i,cornerIsExternal:u}),d=f.circleTangency,p=f.lineTangency,h=f.theta,v=sM({cx:t,cy:n,radius:o,angle:c,sign:-l,cornerRadius:i,cornerIsExternal:u}),m=v.circleTangency,y=v.lineTangency,g=v.theta,b=u?Math.abs(s-c):Math.abs(s-c)-h-g;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):cM({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c});var x="M ".concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n ");if(r>0){var w=sM({cx:t,cy:n,radius:r,angle:s,sign:l,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),k=w.circleTangency,S=w.lineTangency,O=w.theta,E=sM({cx:t,cy:n,radius:r,angle:c,sign:-l,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),j=E.circleTangency,P=E.lineTangency,C=E.theta,_=u?Math.abs(s-c):Math.abs(s-c)-O-C;if(_<0&&0===i)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(P.x,",").concat(P.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(j.x,",").concat(j.y,"\n A").concat(r,",").concat(r,",0,").concat(+(_>180),",").concat(+(l>0),",").concat(k.x,",").concat(k.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(S.x,",").concat(S.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:n,cy:r,innerRadius:o,outerRadius:i,cornerRadius:Math.min(v,h/2),forceCornerRadius:u,cornerIsExternal:s,startAngle:c,endAngle:l}):cM({cx:n,cy:r,innerRadius:o,outerRadius:i,startAngle:c,endAngle:l}),t.createElement("path",tM({},Dj(this.props,!0),{className:p,d:d}))}}],r&&rM(n.prototype,r),o&&rM(n,o),a}(t.PureComponent);function fM(e){return fM="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fM(e)}function dM(){return dM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dM.apply(this,arguments)}function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vM(e,t){return vM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vM(e,t)}function mM(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gM(e);if(t){var o=gM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yM(this,n)}}function yM(e,t){return!t||"object"!==fM(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function gM(e){return gM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gM(e)}lM.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var bM=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vM(e,t)}(a,e);var n,r,o,i=mM(a);function a(){return pM(this,a),i.apply(this,arguments)}return n=a,r=[{key:"render",value:function(){var e=this.props,n=e.cx,r=e.cy,o=e.r,i=e.className,a=zE()("recharts-dot",i);return n===+n&&r===+r&&o===+o?t.createElement("circle",dM({},Dj(this.props),Zj(this.props),{className:a,cx:n,cy:r,r:o})):null}}],r&&hM(n.prototype,r),o&&hM(n,o),a}(t.PureComponent);function xM(e){return xM="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xM(e)}function wM(){return wM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wM.apply(this,arguments)}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OM(e,t){return OM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},OM(e,t)}function EM(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=PM(e);if(t){var o=PM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jM(this,n)}}function jM(e,t){return!t||"object"!==xM(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function PM(e){return PM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},PM(e)}var CM=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),u=r>=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=o[f]>a?a:o[f];i="M".concat(e,",").concat(t+u*l[0]),l[0]>0&&(i+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(c,",").concat(e+s*l[0],",").concat(t)),i+="L ".concat(e+n-s*l[1],",").concat(t),l[1]>0&&(i+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+u*l[1])),i+="L ".concat(e+n,",").concat(t+r-u*l[2]),l[2]>0&&(i+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(c,",\n ").concat(e+n-s*l[2],",").concat(t+r)),i+="L ".concat(e+s*l[3],",").concat(t+r),l[3]>0&&(i+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-u*l[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var d=Math.min(a,o);i="M ".concat(e,",").concat(t+u*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(c,",").concat(e+s*d,",").concat(t,"\n L ").concat(e+n-s*d,",").concat(t,"\n A ").concat(d,",").concat(d,",0,0,").concat(c,",").concat(e+n,",").concat(t+u*d,"\n L ").concat(e+n,",").concat(t+r-u*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(c,",").concat(e+n-s*d,",").concat(t+r,"\n L ").concat(e+s*d,",").concat(t+r,"\n A ").concat(d,",").concat(d,",0,0,").concat(c,",").concat(e,",").concat(t+r-u*d," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},_M=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,u=t.height;if(Math.abs(a)>0&&Math.abs(u)>0){var s=Math.min(o,o+a),c=Math.max(o,o+a),l=Math.min(i,i+u),f=Math.max(i,i+u);return n>=s&&n<=c&&r>=l&&r<=f}return!1},TM=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OM(e,t)}(a,e);var n,r,o,i=EM(a);function a(){var e;kM(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={totalLength:-1},e.node=void 0,e}return n=a,r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var e=this.node.getTotalLength();e&&this.setState({totalLength:e})}catch(t){}}},{key:"render",value:function(){var e=this,n=this.props,r=n.x,o=n.y,i=n.width,a=n.height,u=n.radius,s=n.className,c=this.state.totalLength,l=this.props,f=l.animationEasing,d=l.animationDuration,p=l.animationBegin,h=l.isAnimationActive,v=l.isUpdateAnimationActive;if(r!==+r||o!==+o||i!==+i||a!==+a||0===i||0===a)return null;var m=zE()("recharts-rectangle",s);return v?t.createElement(lC,{canBegin:c>0,from:{width:i,height:a,x:r,y:o},to:{width:i,height:a,x:r,y:o},duration:d,animationEasing:f,isActive:v},(function(n){var r=n.width,o=n.height,i=n.x,a=n.y;return t.createElement(lC,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:d,isActive:h,easing:f},t.createElement("path",wM({},Dj(e.props,!0),{className:m,d:CM(i,a,r,o,u),ref:function(t){e.node=t}})))})):t.createElement("path",wM({},Dj(this.props,!0),{className:m,d:CM(r,o,i,a,u)}))}}],r&&SM(n.prototype,r),o&&SM(n,o),a}(t.PureComponent);TM.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var MM=n(4963);function AM(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function RM(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var NM={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},DM=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},ZM=null,IM=null,LM=function e(n){if(n===ZM&&HE()(IM))return IM;var r=[];return t.Children.forEach(n,(function(t){jj()(t)||((0,MM.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))})),IM=r,ZM=n,r},FM=function(e,t){var n=[],r=[];return r=HE()(t)?t.map((function(e){return DM(e)})):[DM(t)],LM(e).forEach((function(e){var t=UE()(e,"type.displayName")||UE()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n},zM=function(e,t){var n=FM(e,t);return n&&n[0]},BM=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!ej(n)||n<=0||!ej(r)||r<=0)},VM=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],UM=function(e){return e&&e.type&&JE()(e.type)&&VM.indexOf(e.type)>=0},WM=function e(n,r){if(n===r)return!0;var o=t.Children.count(n);if(o!==t.Children.count(r))return!1;if(0===o)return!0;if(1===o)return HM(HE()(n)?n[0]:n,HE()(r)?r[0]:r);for(var i=0;i<o;i++){var a=n[i],u=r[i];if(HE()(a)||HE()(u)){if(!e(a,u))return!1}else if(!HM(a,u))return!1}return!0},HM=function(e,t){if(jj()(e)&&jj()(t))return!0;if(!jj()(e)&&!jj()(t)){var n=e.props||{},r=n.children,o=RM(n,["children"]),i=t.props||{},a=i.children,u=RM(i,["children"]);return r&&a?AM(o,u)&&WM(r,a):!r&&!a&&AM(o,u)}return!1},qM=function(e,t){var n=[],r={};return LM(e).forEach((function(e,o){if(UM(e))n.push(e);else if(e){var i=DM(e.type),a=t[i]||{},u=a.handler,s=a.once;if(u&&(!s||!r[i])){var c=u(e,i,o);n.push(c),r[i]=!0}}})),n};function $M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$M(Object(n),!0).forEach((function(t){GM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YM(e){return function(e){if(Array.isArray(e))return JM(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return JM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JM(e,t)}(e)||function(){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 JM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XM={widthCache:{},cacheCount:0},QM={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},eA=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],tA="recharts_measurement_span";var nA=function(e){return Object.keys(e).reduce((function(t,n){return"".concat(t).concat((r=n,r.split("").reduce((function(e,t){return t===t.toUpperCase()?[].concat(YM(e),["-",t.toLowerCase()]):[].concat(YM(e),[t])}),[]).join("")),":").concat(function(e,t){return eA.indexOf(e)>=0&&t===+t?"".concat(t,"px"):t}(n,e[n]),";");var r}),"")},rA=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||EC.isSsr)return{width:0,height:0};var n="".concat(e),r=nA(t),o="".concat(n,"-").concat(r);if(XM.widthCache[o])return XM.widthCache[o];try{var i=document.getElementById(tA);i||((i=document.createElement("span")).setAttribute("id",tA),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=KM(KM({},QM),t);Object.keys(a).map((function(e){return i.style[e]=a[e],e})),i.textContent=n;var u=i.getBoundingClientRect(),s={width:u.width,height:u.height};return XM.widthCache[o]=s,++XM.cacheCount>2e3&&(XM.cacheCount=0,XM.widthCache={}),s}catch(c){return{width:0,height:0}}},oA=n(17),iA=n.n(oA);function aA(e){return aA="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aA(e)}function uA(){return uA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uA.apply(this,arguments)}function sA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fA(e,t){return fA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fA(e,t)}function dA(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hA(e);if(t){var o=hA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pA(this,n)}}function pA(e,t){return!t||"object"!==aA(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function hA(e){return hA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hA(e)}function vA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return mA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mA(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yA(Object(n),!0).forEach((function(t){bA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xA=/[ \f\n\r\t\v\u2028\u2029]+/,wA=function(e){try{var t=[];return jj()(e.children)||(t=e.breakAll?e.children.toString().split(""):e.children.toString().split(xA)),{wordsWithComputedWidth:t.map((function(t){return{word:t,width:rA(t,e.style).width}})),spaceWidth:e.breakAll?0:rA("\xa0",e.style).width}}catch(n){return null}},kA=function(e){return[{words:jj()(e)?[]:e.toString().split(xA)}]},SA=function(e,t){if((e.width||e.scaleToFit)&&!EC.isSsr&&t){var n=wA(e);return n?function(e,t,n,r,o){var i=ej(e.maxLines),a=e.children,u=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,u=e[e.length-1];if(u&&(null==r||o||u.width+a+n<r))u.words.push(i),u.width+=a+n;else{var s={words:[i],width:a};e.push(s)}return e}),[])},s=u(t);if(!i)return s;for(var c,l=function(t){var n=a.slice(0,t),o=wA(gA(gA({},e),{},{children:n+"\u2026"})).wordsWithComputedWidth,i=u(o),s=i.length>e.maxLines||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>r;return[s,i]},f=0,d=a.length-1,p=0;f<=d&&p<=a.length-1;){var h=Math.floor((f+d)/2),v=vA(l(h-1),2),m=v[0],y=v[1],g=vA(l(h),1)[0];if(m||g||(f=h+1),m&&g&&(d=h-1),!m&&g){c=y;break}p++}return c||s}(e,n.wordsWithComputedWidth,n.spaceWidth,e.width,e.scaleToFit):kA(e.children)}return kA(e.children)},OA=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fA(e,t)}(a,e);var n,r,o,i=dA(a);function a(){var e;cA(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).state={},e}return n=a,r=[{key:"render",value:function(){var e=this.props,n=e.dx,r=e.dy,o=e.textAnchor,i=e.verticalAnchor,a=e.scaleToFit,u=e.angle,s=e.lineHeight,c=e.capHeight,l=e.className,f=e.breakAll,d=sA(e,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),p=this.state.wordsByLines;if(!tj(d.x)||!tj(d.y))return null;var h,v=d.x+(ej(n)?n:0),m=d.y+(ej(r)?r:0);switch(i){case"start":h=iA()("calc(".concat(c,")"));break;case"middle":h=iA()("calc(".concat((p.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:h=iA()("calc(".concat(p.length-1," * -").concat(s,")"))}var y=[];if(a){var g=p[0].width,b=this.props.width;y.push("scale(".concat((ej(b)?b/g:1)/g,")"))}return u&&y.push("rotate(".concat(u,", ").concat(v,", ").concat(m,")")),y.length&&(d.transform=y.join(" ")),t.createElement("text",uA({},Dj(d,!0),{x:v,y:m,className:zE()("recharts-text",l),textAnchor:o}),p.map((function(e,n){return t.createElement("tspan",{x:v,dy:0===n?h:s,key:n},e.words.join(f?"":" "))})))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.width!==t.prevWidth||e.scaleToFit!==t.prevScaleToFit||e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll){var n=e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll;return{prevWidth:e.width,prevScaleToFit:e.scaleToFit,prevChildren:e.children,prevStyle:e.style,wordsByLines:SA(e,n)}}return null}}],r&&lA(n.prototype,r),o&&lA(n,o),a}(t.Component);function EA(e){return function(e){if(Array.isArray(e))return jA(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return jA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jA(e,t)}(e)||function(){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 jA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PA(Object(n),!0).forEach((function(t){_A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TA(){return TA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TA.apply(this,arguments)}OA.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var MA=function(e,n,r){var o,i,a=e.position,u=e.viewBox,s=e.offset,c=e.className,l=u,f=l.cx,d=l.cy,p=l.innerRadius,h=l.outerRadius,v=l.startAngle,m=l.endAngle,y=l.clockWise,g=(p+h)/2,b=function(e,t){return XE(t-e)*Math.min(Math.abs(t-e),360)}(v,m),x=b>=0?1:-1;"insideStart"===a?(o=v+x*s,i=y):"insideEnd"===a?(o=m-x*s,i=!y):"end"===a&&(o=m+x*s,i=y),i=b<=0?i:!i;var w=YT(f,d,g,o),k=YT(f,d,g,o+359*(i?1:-1)),S="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(k.x,",").concat(k.y),O=jj()(e.id)?rj("recharts-radial-line-"):e.id;return t.createElement("text",TA({},r,{dominantBaseline:"central",className:zE()("recharts-radial-bar-label",c)}),t.createElement("defs",null,t.createElement("path",{id:O,d:S})),t.createElement("textPath",{xlinkHref:"#".concat(O)},n))};function AA(e){var n,r=e.viewBox,o=e.position,i=e.value,a=e.children,u=e.content,s=e.className,c=void 0===s?"":s,l=e.textBreakAll;if(!r||jj()(i)&&jj()(a)&&!(0,t.isValidElement)(u)&&!gj()(u))return null;if((0,t.isValidElement)(u))return(0,t.cloneElement)(u,e);if(gj()(u)){if(n=(0,t.createElement)(u,e),(0,t.isValidElement)(n))return n}else n=function(e){var t=e.value,n=e.formatter,r=jj()(e.children)?t:e.children;return gj()(n)?n(r):r}(e);var f=function(e){return ej(e.cx)}(r),d=Dj(e,!0);if(f&&("insideStart"===o||"insideEnd"===o||"end"===o))return MA(e,n,d);var p=f?function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,u=o.innerRadius,s=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var l=YT(i,a,s+n,c),f=l.x;return{x:f,y:l.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var d=YT(i,a,(u+s)/2,c);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,u=i.y,s=i.width,c=i.height,l=c>=0?1:-1,f=l*r,d=l>0?"end":"start",p=l>0?"start":"end",h=s>=0?1:-1,v=h*r,m=h>0?"end":"start",y=h>0?"start":"end";if("top"===o)return CA(CA({},{x:a+s/2,y:u-l*r,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(u-n.y,0),width:s}:{});if("bottom"===o)return CA(CA({},{x:a+s/2,y:u+c+f,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(n.y+n.height-(u+c),0),width:s}:{});if("left"===o){var g={x:a-v,y:u+c/2,textAnchor:m,verticalAnchor:"middle"};return CA(CA({},g),n?{width:Math.max(g.x-n.x,0),height:c}:{})}if("right"===o){var b={x:a+s+v,y:u+c/2,textAnchor:y,verticalAnchor:"middle"};return CA(CA({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var x=n?{width:s,height:c}:{};return"insideLeft"===o?CA({x:a+v,y:u+c/2,textAnchor:y,verticalAnchor:"middle"},x):"insideRight"===o?CA({x:a+s-v,y:u+c/2,textAnchor:m,verticalAnchor:"middle"},x):"insideTop"===o?CA({x:a+s/2,y:u+f,textAnchor:"middle",verticalAnchor:p},x):"insideBottom"===o?CA({x:a+s/2,y:u+c-f,textAnchor:"middle",verticalAnchor:d},x):"insideTopLeft"===o?CA({x:a+v,y:u+f,textAnchor:y,verticalAnchor:p},x):"insideTopRight"===o?CA({x:a+s-v,y:u+f,textAnchor:m,verticalAnchor:p},x):"insideBottomLeft"===o?CA({x:a+v,y:u+c-f,textAnchor:y,verticalAnchor:d},x):"insideBottomRight"===o?CA({x:a+s-v,y:u+c-f,textAnchor:m,verticalAnchor:d},x):Tj()(o)&&(ej(o.x)||QE(o.x))&&(ej(o.y)||QE(o.y))?CA({x:a+oj(o.x,s),y:u+oj(o.y,c),textAnchor:"end",verticalAnchor:"end"},x):CA({x:a+s/2,y:u+c/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(e);return t.createElement(OA,TA({className:zE()("recharts-label",c)},d,p,{breakAll:l}),n)}AA.displayName="Label",AA.defaultProps={offset:5};var RA=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,u=e.radius,s=e.innerRadius,c=e.outerRadius,l=e.x,f=e.y,d=e.top,p=e.left,h=e.width,v=e.height,m=e.clockWise,y=e.labelViewBox;if(y)return y;if(ej(h)&&ej(v)){if(ej(l)&&ej(f))return{x:l,y:f,width:h,height:v};if(ej(d)&&ej(p))return{x:d,y:p,width:h,height:v}}return ej(l)&&ej(f)?{x:l,y:f,width:0,height:0}:ej(t)&&ej(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||u||a||0,clockWise:m}:e.viewBox?e.viewBox:{}},NA=function(e,n){return e?!0===e?t.createElement(AA,{key:"label-implicit",viewBox:n}):tj(e)?t.createElement(AA,{key:"label-implicit",viewBox:n,value:e}):(0,t.isValidElement)(e)?e.type===AA?(0,t.cloneElement)(e,{key:"label-implicit",viewBox:n}):t.createElement(AA,{key:"label-implicit",content:e,viewBox:n}):gj()(e)?t.createElement(AA,{key:"label-implicit",content:e,viewBox:n}):Tj()(e)?t.createElement(AA,TA({viewBox:n},e,{key:"label-implicit"})):null:null};function DA(e){return DA="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DA(e)}function ZA(){return ZA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZA.apply(this,arguments)}function IA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IA(Object(n),!0).forEach((function(t){FA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function FA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function BA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UA(e,t){return UA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},UA(e,t)}function WA(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qA(e);if(t){var o=qA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HA(this,n)}}function HA(e,t){return!t||"object"!==DA(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qA(e){return qA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qA(e)}AA.parseViewBox=RA,AA.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=RA(e),a=FM(o,AA.displayName).map((function(e,r){return(0,t.cloneElement)(e,{viewBox:n||i,key:"label-".concat(r)})}));if(!r)return a;var u=NA(e.label,n||i);return[u].concat(EA(a))};var $A=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UA(e,t)}(a,e);var n,r,o,i=WA(a);function a(){return BA(this,a),i.apply(this,arguments)}return n=a,r=[{key:"shouldComponentUpdate",value:function(e){var t=e.viewBox,n=zA(e,["viewBox"]),r=this.props,o=r.viewBox,i=zA(r,["viewBox"]);return!AM(t,o)||!AM(n,i)}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,u=this.props,s=u.x,c=u.y,l=u.width,f=u.height,d=u.orientation,p=u.tickSize,h=u.mirror,v=u.tickMargin,m=h?-1:1,y=e.tickSize||p,g=ej(e.tickCoord)?e.tickCoord:e.coordinate;switch(d){case"top":t=n=e.coordinate,a=(r=(o=c+ +!h*f)-m*y)-m*v,i=g;break;case"left":r=o=e.coordinate,i=(t=(n=s+ +!h*l)-m*y)-m*v,a=g;break;case"right":r=o=e.coordinate,i=(t=(n=s+ +h*l)+m*y)+m*v,a=g;break;default:t=n=e.coordinate,a=(r=(o=c+ +h*f)+m*y)+m*v,i=g}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.orientation,u=e.mirror,s=e.axisLine,c=LA(LA(LA({},Dj(this.props)),Dj(s)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!u||"bottom"===a&&u);c=LA(LA({},c),{},{x1:n,y1:r+l*i,x2:n+o,y2:r+l*i})}else{var f=+("left"===a&&!u||"right"===a&&u);c=LA(LA({},c),{},{x1:n+f*o,y1:r,x2:n+f*o,y2:r+i})}return t.createElement("line",ZA({},c,{className:zE()("recharts-cartesian-axis-line",UE()(s,"className"))}))}},{key:"renderTicks",value:function(e){var n=this,r=this.props,o=r.tickLine,i=r.stroke,u=r.tick,s=r.tickFormatter,c=r.unit,l=a.getTicks(LA(LA({},this.props),{},{ticks:e})),f=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),p=Dj(this.props),h=Dj(u),v=LA(LA({},p),{},{fill:"none"},Dj(o)),m=l.map((function(e,r){var m=n.getTickLineCoord(e),y=m.line,g=m.tick,b=LA(LA(LA(LA({textAnchor:f,verticalAnchor:d},p),{},{stroke:"none",fill:i},h),g),{},{index:r,payload:e,visibleTicksCount:l.length,tickFormatter:s});return t.createElement(Uj,ZA({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Ij(n.props,e,r)),o&&t.createElement("line",ZA({},v,y,{className:zE()("recharts-cartesian-axis-tick-line",UE()(o,"className"))})),u&&a.renderTickItem(u,b,"".concat(gj()(s)?s(e.value,r):e.value).concat(c||"")))}));return t.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,n=e.axisLine,r=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var u=this.props,s=u.ticks,c=zA(u,["ticks"]),l=s;return gj()(i)&&(l=s&&s.length>0?i(this.props):i(c)),r<=0||o<=0||!l||!l.length?null:t.createElement(Uj,{className:zE()("recharts-cartesian-axis",a)},n&&this.renderAxisLine(),this.renderTicks(l),AA.renderCallByParent(this.props))}}],o=[{key:"getTicks",value:function(e){var t=e.tick,n=e.ticks,r=e.viewBox,o=e.minTickGap,i=e.orientation,u=e.interval,s=e.tickFormatter,c=e.unit;return n&&n.length&&t?ej(u)||EC.isSsr?a.getNumberIntervalTicks(n,"number"===typeof u&&ej(u)?u:0):"preserveStartEnd"===u?a.getTicksStart({ticks:n,tickFormatter:s,viewBox:r,orientation:i,minTickGap:o,unit:c},!0):"preserveStart"===u?a.getTicksStart({ticks:n,tickFormatter:s,viewBox:r,orientation:i,minTickGap:o,unit:c}):a.getTicksEnd({ticks:n,tickFormatter:s,viewBox:r,orientation:i,minTickGap:o,unit:c}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter((function(e,n){return n%(t+1)===0}))}},{key:"getTicksStart",value:function(e,t){var n,r,o=e.ticks,i=e.tickFormatter,a=e.viewBox,u=e.orientation,s=e.minTickGap,c=e.unit,l=a.x,f=a.y,d=a.width,p=a.height,h="top"===u||"bottom"===u?"width":"height",v=(o||[]).slice(),m=c&&"width"===h?rA(c)[h]:0,y=v.length,g=y>=2?XE(v[1].coordinate-v[0].coordinate):1;if(1===g?(n="width"===h?l:f,r="width"===h?l+d:f+p):(n="width"===h?l+d:f+p,r="width"===h?l:f),t){var b=o[y-1],x=gj()(i)?i(b.value,y-1):b.value,w=rA(x)[h]+m,k=g*(b.coordinate+g*w/2-r);v[y-1]=b=LA(LA({},b),{},{tickCoord:k>0?b.coordinate-k*g:b.coordinate}),g*(b.tickCoord-g*w/2-n)>=0&&g*(b.tickCoord+g*w/2-r)<=0&&(r=b.tickCoord-g*(w/2+s),v[y-1]=LA(LA({},b),{},{isShow:!0}))}for(var S=t?y-1:y,O=0;O<S;O++){var E=v[O],j=gj()(i)?i(E.value,O):E.value,P=rA(j)[h]+m;if(0===O){var C=g*(E.coordinate-g*P/2-n);v[O]=E=LA(LA({},E),{},{tickCoord:C<0?E.coordinate-C*g:E.coordinate})}else v[O]=E=LA(LA({},E),{},{tickCoord:E.coordinate});g*(E.tickCoord-g*P/2-n)>=0&&g*(E.tickCoord+g*P/2-r)<=0&&(n=E.tickCoord+g*(P/2+s),v[O]=LA(LA({},E),{},{isShow:!0}))}return v.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,o=e.tickFormatter,i=e.viewBox,a=e.orientation,u=e.minTickGap,s=e.unit,c=i.x,l=i.y,f=i.width,d=i.height,p="top"===a||"bottom"===a?"width":"height",h=s&&"width"===p?rA(s)[p]:0,v=(r||[]).slice(),m=v.length,y=m>=2?XE(v[1].coordinate-v[0].coordinate):1;1===y?(t="width"===p?c:l,n="width"===p?c+f:l+d):(t="width"===p?c+f:l+d,n="width"===p?c:l);for(var g=m-1;g>=0;g--){var b=v[g],x=gj()(o)?o(b.value,m-g-1):b.value,w=rA(x)[p]+h;if(g===m-1){var k=y*(b.coordinate+y*w/2-n);v[g]=b=LA(LA({},b),{},{tickCoord:k>0?b.coordinate-k*y:b.coordinate})}else v[g]=b=LA(LA({},b),{},{tickCoord:b.coordinate});y*(b.tickCoord-y*w/2-t)>=0&&y*(b.tickCoord+y*w/2-n)<=0&&(n=b.tickCoord-y*(w/2+u),v[g]=LA(LA({},b),{},{isShow:!0}))}return v.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,n,r){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?e(n):t.createElement(OA,ZA({},n,{className:"recharts-cartesian-axis-tick-value"}),r)}}],r&&VA(n.prototype,r),o&&VA(n,o),a}(t.Component);function KA(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}function GA(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function YA(e,t){switch(arguments.length){case 0:break;case 1:"function"===typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"===typeof t?this.interpolator(t):this.range(t)}return this}$A.displayName="CartesianAxis",$A.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var JA=Symbol("implicit");function XA(){var e=new Map,t=[],n=[],r=JA;function o(o){var i=o+"",a=e.get(i);if(!a){if(r!==JA)return r;e.set(i,a=t.push(o))}return n[(a-1)%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;var r,i=Vs(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,u=a+"";e.has(u)||e.set(u,t.push(a))}}catch(s){i.e(s)}finally{i.f()}return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return XA(t,n).unknown(r)},GA.apply(o,arguments),o}function QA(){var e,t,n=XA().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var n=r().length,f=a<i,d=f?a:i,p=f?i:a;e=(p-d)/Math.max(1,n-s+2*c),u&&(e=Math.floor(e)),d+=(p-d-e*(n-s))*l,t=e*(1-s),u&&(d=Math.round(d),t=Math.round(t));var h=KA(n).map((function(t){return d+e*t}));return o(f?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){var t,n;return arguments.length?(t=e,n=(0,bt.Z)(t,2),i=n[0],a=n[1],i=+i,a=+a,f()):[i,a]},n.rangeRound=function(e){var t,n;return t=e,n=(0,bt.Z)(t,2),i=n[0],a=n[1],i=+i,a=+a,u=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(u=!!e,f()):u},n.padding=function(e){return arguments.length?(s=Math.min(1,c=+e),f()):s},n.paddingInner=function(e){return arguments.length?(s=Math.min(1,e),f()):s},n.paddingOuter=function(e){return arguments.length?(c=+e,f()):c},n.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},n.copy=function(){return QA(r(),[i,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},GA.apply(f(),arguments)}function eR(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return eR(t())},e}function tR(){return eR(QA.apply(null,arguments).paddingInner(1))}var nR=n(1905),rR=n.n(nR),oR=n(4402),iR=n.n(oR),aR=n(2507),uR=n.n(aR),sR=n(2572),cR=n.n(sR),lR=n(1759),fR=n.n(lR);function dR(e){return function(e){if(Array.isArray(e))return pR(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return pR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pR(e,t)}(e)||function(){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 pR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hR=function(e){return e},vR={"@@functional/placeholder":!0},mR=function(e){return e===vR},yR=function(e){return function t(){return 0===arguments.length||1===arguments.length&&mR(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},gR=function e(t,n){return 1===t?n:yR((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==vR})).length;return a>=t?n.apply(void 0,o):e(t-a,yR((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=o.map((function(e){return mR(e)?t.shift():e}));return n.apply(void 0,dR(i).concat(t))})))}))},bR=function(e){return gR(e.length,e)},xR=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},wR=bR((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),kR=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return hR;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}},SR=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},OR=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}};var ER=bR((function(e,t,n){var r=+e;return r+n*(+t-r)})),jR=bR((function(e,t,n){var r=t-+e;return(n-e)/(r=r||1/0)})),PR=bR((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))})),CR={rangeStep:function(e,t,n){for(var r=new(fR())(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(fR())(e).abs().log(10).toNumber())+1},interpolateNumber:ER,uninterpolateNumber:jR,uninterpolateTruncation:PR};function _R(e){return function(e){if(Array.isArray(e))return AR(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||MR(e)||function(){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 TR(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||MR(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function MR(e,t){if(e){if("string"===typeof e)return AR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?AR(e,t):void 0}}function AR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function RR(e){var t=TR(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function NR(e,t,n){if(e.lte(0))return new(fR())(0);var r=CR.getDigitCount(e.toNumber()),o=new(fR())(10).pow(r),i=e.div(o),a=1!==r?.05:.1,u=new(fR())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?u:new(fR())(Math.ceil(u))}function DR(e,t,n){var r=1,o=new(fR())(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new(fR())(10).pow(CR.getDigitCount(e)-1),o=new(fR())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(fR())(Math.floor(e)))}else 0===e?o=new(fR())(Math.floor((t-1)/2)):n||(o=new(fR())(Math.floor(e)));var a=Math.floor((t-1)/2),u=kR(wR((function(e){return o.add(new(fR())(e-a).mul(r)).toNumber()})),xR);return u(0,t)}function ZR(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(fR())(0),tickMin:new(fR())(0),tickMax:new(fR())(0)};var i,a=NR(new(fR())(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new(fR())(0):(i=new(fR())(e).add(t).div(2)).sub(new(fR())(i).mod(a));var u=Math.ceil(i.sub(e).div(a).toNumber()),s=Math.ceil(new(fR())(t).sub(i).div(a).toNumber()),c=u+s+1;return c>n?ZR(e,t,n,r,o+1):(c<n&&(s=t>0?s+(n-c):s,u=t>0?u:u+(n-c)),{step:a,tickMin:i.sub(new(fR())(u).mul(a)),tickMax:i.add(new(fR())(s).mul(a))})}var IR=OR((function(e){var t=TR(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),u=RR([n,r]),s=TR(u,2),c=s[0],l=s[1];if(c===-1/0||l===1/0){var f=l===1/0?[c].concat(_R(xR(0,o-1).map((function(){return 1/0})))):[].concat(_R(xR(0,o-1).map((function(){return-1/0}))),[l]);return n>r?SR(f):f}if(c===l)return DR(c,o,i);var d=ZR(c,l,a,i),p=d.step,h=d.tickMin,v=d.tickMax,m=CR.rangeStep(h,v.add(new(fR())(.1).mul(p)),p);return n>r?SR(m):m})),LR=(OR((function(e){var t=TR(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),u=RR([n,r]),s=TR(u,2),c=s[0],l=s[1];if(c===-1/0||l===1/0)return[n,r];if(c===l)return DR(c,o,i);var f=NR(new(fR())(l).sub(c).div(a-1),i,0),d=kR(wR((function(e){return new(fR())(c).add(new(fR())(e).mul(f)).toNumber()})),xR),p=d(0,a).filter((function(e){return e>=c&&e<=l}));return n>r?SR(p):p})),OR((function(e,t){var n=TR(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=RR([r,o]),u=TR(a,2),s=u[0],c=u[1];if(s===-1/0||c===1/0)return[r,o];if(s===c)return[s];var l=Math.max(t,2),f=NR(new(fR())(c).sub(s).div(l-1),i,0),d=[].concat(_R(CR.rangeStep(new(fR())(s),new(fR())(c).sub(new(fR())(.99).mul(f)),f)),[c]);return r>o?SR(d):d}))),FR=Math.sqrt(50),zR=Math.sqrt(10),BR=Math.sqrt(2);function VR(e,t,n){var r,o,i,a,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=UR(e,t,n))||!isFinite(a))return[];if(a>0){var s=Math.round(e/a),c=Math.round(t/a);for(s*a<e&&++s,c*a>t&&--c,i=new Array(o=c-s+1);++u<o;)i[u]=(s+u)*a}else{a=-a;var l=Math.round(e*a),f=Math.round(t*a);for(l/a<e&&++l,f/a>t&&--f,i=new Array(o=f-l+1);++u<o;)i[u]=(l+u)/a}return r&&i.reverse(),i}function UR(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=FR?10:i>=zR?5:i>=BR?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=FR?10:i>=zR?5:i>=BR?2:1)}function WR(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=FR?o*=10:i>=zR?o*=5:i>=BR&&(o*=2),t<e?-o:o}function HR(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function qR(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return HR(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}var $R=fn().mark(GR);function KR(e){return null===e?NaN:+e}function GR(e,t){var n,r,o,i,a,u,s;return fn().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(void 0!==t){c.next=21;break}n=Vs(e),c.prev=2,n.s();case 4:if((r=n.n()).done){c.next=11;break}if(!(null!=(o=r.value)&&(o=+o)>=o)){c.next=9;break}return c.next=9,o;case 9:c.next=4;break;case 11:c.next=16;break;case 13:c.prev=13,c.t0=c.catch(2),n.e(c.t0);case 16:return c.prev=16,n.f(),c.finish(16);case 19:c.next=40;break;case 21:i=-1,a=Vs(e),c.prev=23,a.s();case 25:if((u=a.n()).done){c.next=32;break}if(s=u.value,!(null!=(s=t(s,++i,e))&&(s=+s)>=s)){c.next=30;break}return c.next=30,s;case 30:c.next=25;break;case 32:c.next=37;break;case 34:c.prev=34,c.t1=c.catch(23),a.e(c.t1);case 37:return c.prev=37,a.f(),c.finish(37);case 40:case"end":return c.stop()}}),$R,null,[[2,13,16,19],[23,34,37,40]])}var YR=qR(HR),JR=YR.right,XR=(YR.left,qR(KR).center,JR);function QR(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function eN(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function tN(){}var nN=.7,rN=1/nN,oN="\\s*([+-]?\\d+)\\s*",iN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",aN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",uN=/^#([0-9a-f]{3,8})$/,sN=new RegExp("^rgb\\("+[oN,oN,oN]+"\\)$"),cN=new RegExp("^rgb\\("+[aN,aN,aN]+"\\)$"),lN=new RegExp("^rgba\\("+[oN,oN,oN,iN]+"\\)$"),fN=new RegExp("^rgba\\("+[aN,aN,aN,iN]+"\\)$"),dN=new RegExp("^hsl\\("+[iN,aN,aN]+"\\)$"),pN=new RegExp("^hsla\\("+[iN,aN,aN,iN]+"\\)$"),hN={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function vN(){return this.rgb().formatHex()}function mN(){return this.rgb().formatRgb()}function yN(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=uN.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?gN(t):3===n?new kN(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?bN(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?bN(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=sN.exec(e))?new kN(t[1],t[2],t[3],1):(t=cN.exec(e))?new kN(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=lN.exec(e))?bN(t[1],t[2],t[3],t[4]):(t=fN.exec(e))?bN(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=dN.exec(e))?jN(t[1],t[2]/100,t[3]/100,1):(t=pN.exec(e))?jN(t[1],t[2]/100,t[3]/100,t[4]):hN.hasOwnProperty(e)?gN(hN[e]):"transparent"===e?new kN(NaN,NaN,NaN,0):null}function gN(e){return new kN(e>>16&255,e>>8&255,255&e,1)}function bN(e,t,n,r){return r<=0&&(e=t=n=NaN),new kN(e,t,n,r)}function xN(e){return e instanceof tN||(e=yN(e)),e?new kN((e=e.rgb()).r,e.g,e.b,e.opacity):new kN}function wN(e,t,n,r){return 1===arguments.length?xN(e):new kN(e,t,n,null==r?1:r)}function kN(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function SN(){return"#"+EN(this.r)+EN(this.g)+EN(this.b)}function ON(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}function EN(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function jN(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new CN(e,t,n,r)}function PN(e){if(e instanceof CN)return new CN(e.h,e.s,e.l,e.opacity);if(e instanceof tN||(e=yN(e)),!e)return new CN;if(e instanceof CN)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,s=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n<r):n===i?(r-t)/u+2:(t-n)/u+4,u/=s<.5?i+o:2-i-o,a*=60):u=s>0&&s<1?0:a,new CN(a,u,s,e.opacity)}function CN(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function _N(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function TN(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}QR(tN,yN,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:vN,formatHex:vN,formatHsl:function(){return PN(this).formatHsl()},formatRgb:mN,toString:mN}),QR(kN,wN,eN(tN,{brighter:function(e){return e=null==e?rN:Math.pow(rN,e),new kN(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?nN:Math.pow(nN,e),new kN(this.r*e,this.g*e,this.b*e,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:SN,formatHex:SN,formatRgb:ON,toString:ON})),QR(CN,(function(e,t,n,r){return 1===arguments.length?PN(e):new CN(e,t,n,null==r?1:r)}),eN(tN,{brighter:function(e){return e=null==e?rN:Math.pow(rN,e),new CN(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?nN:Math.pow(nN,e),new CN(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new kN(_N(e>=240?e-240:e+120,o,r),_N(e,o,r),_N(e<120?e+240:e-120,o,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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var MN=function(e){return function(){return e}};function AN(e,t){return function(n){return e+n*t}}function RN(e){return 1===(e=+e)?NN:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):MN(isNaN(t)?n:t)}}function NN(e,t){var n=t-e;return n?AN(e,n):MN(isNaN(e)?t:e)}var DN=function e(t){var n=RN(t);function r(e,t){var r=n((e=wN(e)).r,(t=wN(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=NN(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function ZN(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=wN(t[n]),i[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return i=e(i),a=e(a),u=e(u),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=u(e),r+""}}}ZN((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=r<t-1?e[r+2]:2*i-o;return TN((n-r/t)*t,a,o,i,u)}})),ZN((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],u=e[(r+2)%t];return TN((n-r/t)*t,o,i,a,u)}}));function IN(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=HN(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function LN(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function FN(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function zN(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=HN(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var BN=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,VN=new RegExp(BN.source,"g");function UN(e,t){var n,r,o,i=BN.lastIndex=VN.lastIndex=0,a=-1,u=[],s=[];for(e+="",t+="";(n=BN.exec(e))&&(r=VN.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:FN(n,r)})),i=VN.lastIndex;return i<t.length&&(o=t.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)u[(n=s[r]).i]=n.x(e);return u.join("")})}function WN(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function HN(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?MN(t):("number"===o?FN:"string"===o?(n=yN(t))?(t=n,DN):UN:t instanceof yN?DN:t instanceof Date?LN:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?IN:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?zN:FN:WN))(e,t)}function qN(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function $N(e){return+e}var KN=[0,1];function GN(e){return e}function YN(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function JN(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=YN(o,r),i=n(a,i)):(r=YN(r,o),i=n(i,a)),function(e){return i(r(e))}}function XN(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=YN(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=XR(e,t,1,r)-1;return i[n](o[n](t))}}function QN(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function eD(){var e,t,n,r,o,i,a=KN,u=KN,s=HN,c=GN;function l(){var e=Math.min(a.length,u.length);return c!==GN&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?XN:JN,o=i=null,f}function f(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),u,s)))(e(c(t)))}return f.invert=function(n){return c(t((i||(i=r(u,a.map(e),FN)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,$N),l()):a.slice()},f.range=function(e){return arguments.length?(u=Array.from(e),l()):u.slice()},f.rangeRound=function(e){return u=Array.from(e),s=qN,l()},f.clamp=function(e){return arguments.length?(c=!!e||GN,l()):c!==GN},f.interpolate=function(e){return arguments.length?(s=e,l()):s},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,l()}}function tD(){return eD()(GN,GN)}var nD,rD=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oD(e){if(!(t=rD.exec(e)))throw new Error("invalid format: "+e);var t;return new iD({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function iD(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function aD(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function uD(e){return(e=aD(Math.abs(e)))?e[1]:NaN}function sD(e,t){var n=aD(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}oD.prototype=iD.prototype,iD.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 cD={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return sD(100*e,t)},r:sD,s:function(e,t){var n=aD(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(nD=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+aD(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function lD(e){return e}var fD,dD,pD,hD=Array.prototype.map,vD=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function mD(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?lD:(t=hD.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],s=0;o>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(e.substring(o-=u,o+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?lD:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(hD.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"\u2212":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=oD(e)).fill,n=e.align,f=e.sign,d=e.symbol,p=e.zero,h=e.width,v=e.comma,m=e.precision,y=e.trim,g=e.type;"n"===g?(v=!0,g="g"):cD[g]||(void 0===m&&(m=12),y=!0,g="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",x="$"===d?i:/[%p]/.test(g)?s:"",w=cD[g],k=/[defgprs%]/.test(g);function S(e){var o,i,s,d=b,S=x;if("c"===g)S=w(e)+S,e="";else{var O=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),m),y&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),O&&0===+e&&"+"!==f&&(O=!1),d=(O?"("===f?f:c:"-"===f||"("===f?"":f)+d,S=("s"===g?vD[8+nD/3]:"")+S+(O&&"("===f?")":""),k)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){S=(46===s?a+e.slice(o+1):e.slice(o))+S,e=e.slice(0,o);break}}v&&!p&&(e=r(e,1/0));var E=d.length+e.length+S.length,j=E<h?new Array(h-E+1).join(t):"";switch(v&&p&&(e=r(j+e,j.length?h-S.length:1/0),j=""),n){case"<":e=d+e+S+j;break;case"=":e=d+j+e+S;break;case"^":e=j.slice(0,E=j.length>>1)+d+e+S+j.slice(E);break;default:e=j+d+e+S}return u(e)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var n=f(((e=oD(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(uD(t)/3))),o=Math.pow(10,-r),i=vD[8+r/3];return function(e){return n(o*e)+i}}}}function yD(e,t,n,r){var o,i=WR(e,t,n);switch((r=oD(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(uD(t)/3)))-uD(Math.abs(e)))}(i,a))||(r.precision=o),pD(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,uD(t)-uD(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-uD(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return dD(r)}function gD(e){var t=e.domain;return e.ticks=function(e){var n=t();return VR(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return yD(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,u=i.length-1,s=i[a],c=i[u],l=10;for(c<s&&(o=s,s=c,c=o,o=a,a=u,u=o);l-- >0;){if((o=UR(s,c,n))===r)return i[a]=s,i[u]=c,t(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function bD(){var e=tD();return e.copy=function(){return QN(e,bD())},GA.apply(e,arguments),gD(e)}function xD(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,$N),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return xD(e).unknown(t)},e=arguments.length?Array.from(e,$N):[0,1],gD(n)}function wD(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function kD(e){return Math.log(e)}function SD(e){return Math.exp(e)}function OD(e){return-Math.log(-e)}function ED(e){return-Math.exp(-e)}function jD(e){return isFinite(e)?+("1e"+e):e<0?0:e}function PD(e){return function(t){return-e(-t)}}function CD(e){var t,n,r=e(kD,SD),o=r.domain,i=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(i),n=function(e){return 10===e?jD:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(i),o()[0]<0?(t=PD(t),n=PD(n),e(OD,ED)):e(kD,SD),r}return r.base=function(e){return arguments.length?(i=+e,a()):i},r.domain=function(e){return arguments.length?(o(e),a()):o()},r.ticks=function(e){var r,a=o(),u=a[0],s=a[a.length-1];(r=s<u)&&(d=u,u=s,s=d);var c,l,f,d=t(u),p=t(s),h=null==e?10:+e,v=[];if(!(i%1)&&p-d<h){if(d=Math.floor(d),p=Math.ceil(p),u>0){for(;d<=p;++d)for(l=1,c=n(d);l<i;++l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}}else for(;d<=p;++d)for(l=i-1,c=n(d);l>=1;--l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}2*v.length<h&&(v=VR(u,s,h))}else v=VR(d,p,Math.min(p-d,h)).map(n);return r?v.reverse():v},r.tickFormat=function(e,o){if(null==o&&(o=10===i?".0e":","),"function"!==typeof o&&(o=dD(o)),e===1/0)return o;null==e&&(e=10);var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i<i-.5&&(r*=i),r<=a?o(e):""}},r.nice=function(){return o(wD(o(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function _D(){var e=CD(eD()).domain([1,10]);return e.copy=function(){return QN(e,_D()).base(e.base())},GA.apply(e,arguments),e}function TD(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function MD(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function AD(e){var t=1,n=e(TD(t),MD(t));return n.constant=function(n){return arguments.length?e(TD(t=+n),MD(t)):t},gD(n)}function RD(){var e=AD(eD());return e.copy=function(){return QN(e,RD()).constant(e.constant())},GA.apply(e,arguments)}function ND(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function DD(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function ZD(e){return e<0?-e*e:e*e}function ID(e){var t=e(GN,GN),n=1;function r(){return 1===n?e(GN,GN):.5===n?e(DD,ZD):e(ND(n),ND(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},gD(t)}function LD(){var e=ID(eD());return e.copy=function(){return QN(e,LD()).exponent(e.exponent())},GA.apply(e,arguments),e}function FD(){return LD.apply(null,arguments).exponent(.5)}function zD(e){return Math.sign(e)*e*e}function BD(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function VD(){var e,t=tD(),n=[0,1],r=!1;function o(n){var o=BD(t(n));return isNaN(o)?e:r?Math.round(o):o}return o.invert=function(e){return t.invert(zD(e))},o.domain=function(e){return arguments.length?(t.domain(e),o):t.domain()},o.range=function(e){return arguments.length?(t.range((n=Array.from(e,$N)).map(zD)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(r=!!e,o):r},o.clamp=function(e){return arguments.length?(t.clamp(e),o):t.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return VD(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},GA.apply(o,arguments),gD(o)}function UD(e,t){var n;if(void 0===t){var r,o=Vs(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n<i||void 0===n&&i>=i)&&(n=i)}}catch(l){o.e(l)}finally{o.f()}}else{var a,u=-1,s=Vs(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++u,e))&&(n<c||void 0===n&&c>=c)&&(n=c)}}catch(l){s.e(l)}finally{s.f()}}return n}function WD(e,t){var n;if(void 0===t){var r,o=Vs(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(l){o.e(l)}finally{o.f()}}else{var a,u=-1,s=Vs(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++u,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(l){s.e(l)}finally{s.f()}}return n}function HD(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:HR;r>n;){if(r-n>600){var i=r-n+1,a=t-n+1,u=Math.log(i),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(i-s)/i)*(a-i/2<0?-1:1),l=Math.max(n,Math.floor(t-a*s/i+c)),f=Math.min(r,Math.floor(t+(i-a)*s/i+c));HD(e,t,l,f,o)}var d=e[t],p=n,h=r;for(qD(e,n,t),o(e[r],d)>0&&qD(e,n,r);p<h;){for(qD(e,p,h),++p,--h;o(e[p],d)<0;)++p;for(;o(e[h],d)>0;)--h}0===o(e[n],d)?qD(e,n,h):qD(e,++h,r),h<=t&&(n=h+1),t<=h&&(r=h-1)}return e}function qD(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function $D(e,t,n){if(r=(e=Float64Array.from(GR(e,n))).length){if((t=+t)<=0||r<2)return WD(e);if(t>=1)return UD(e);var r,o=(r-1)*t,i=Math.floor(o),a=UD(HD(e,i).subarray(0,i+1));return a+(WD(e.subarray(i+1))-a)*(o-i)}}function KD(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:KR;if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),u=+n(e[i+1],i+1,e);return a+(u-a)*(o-i)}}function GD(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e<o;)r[e-1]=KD(t,e/o);return i}function i(t){return null==t||isNaN(t=+t)?e:n[XR(r,t)]}return i.invertExtent=function(e){var o=n.indexOf(e);return o<0?[NaN,NaN]:[o>0?r[o-1]:t[0],o<r.length?r[o]:t[t.length-1]]},i.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,r=Vs(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;null==i||isNaN(i=+i)||t.push(i)}}catch(a){r.e(a)}finally{r.f()}return t.sort(HR),o()},i.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.quantiles=function(){return r.slice()},i.copy=function(){return GD().domain(t).range(n).unknown(e)},GA.apply(i,arguments)}function YD(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[XR(o,t,0,r)]:e}function u(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){var r,o;return arguments.length?(r=e,o=(0,bt.Z)(r,2),t=o[0],n=o[1],t=+t,n=+n,u()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,u()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return YD().domain([t,n]).range(i).unknown(e)},GA.apply(gD(a),arguments)}function JD(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[XR(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return JD().domain(t).range(n).unknown(e)},GA.apply(o,arguments)}fD=mD({thousands:",",grouping:[3],currency:["$",""]}),dD=fD.format,pD=fD.formatPrefix;var XD=1e3,QD=6e4,eZ=36e5,tZ=864e5,nZ=6048e5,rZ=2592e6,oZ=31536e6,iZ=new Date,aZ=new Date;function uZ(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,u=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return u},o.filter=function(n){return uZ((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return iZ.setTime(+t),aZ.setTime(+r),e(iZ),e(aZ),Math.floor(n(iZ,aZ))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var sZ=uZ((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));sZ.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?uZ((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):sZ:null};var cZ=sZ,lZ=(sZ.range,uZ((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*XD)}),(function(e,t){return(t-e)/XD}),(function(e){return e.getUTCSeconds()}))),fZ=lZ,dZ=(lZ.range,uZ((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*XD)}),(function(e,t){e.setTime(+e+t*QD)}),(function(e,t){return(t-e)/QD}),(function(e){return e.getMinutes()}))),pZ=dZ,hZ=(dZ.range,uZ((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*XD-e.getMinutes()*QD)}),(function(e,t){e.setTime(+e+t*eZ)}),(function(e,t){return(t-e)/eZ}),(function(e){return e.getHours()}))),vZ=hZ,mZ=(hZ.range,uZ((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*QD)/tZ}),(function(e){return e.getDate()-1}))),yZ=mZ;mZ.range;function gZ(e){return uZ((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*QD)/nZ}))}var bZ=gZ(0),xZ=gZ(1),wZ=gZ(2),kZ=gZ(3),SZ=gZ(4),OZ=gZ(5),EZ=gZ(6),jZ=(bZ.range,xZ.range,wZ.range,kZ.range,SZ.range,OZ.range,EZ.range,uZ((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),PZ=jZ,CZ=(jZ.range,uZ((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));CZ.every=function(e){return isFinite(e=Math.floor(e))&&e>0?uZ((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var _Z=CZ,TZ=(CZ.range,uZ((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*QD)}),(function(e,t){return(t-e)/QD}),(function(e){return e.getUTCMinutes()}))),MZ=TZ,AZ=(TZ.range,uZ((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*eZ)}),(function(e,t){return(t-e)/eZ}),(function(e){return e.getUTCHours()}))),RZ=AZ,NZ=(AZ.range,uZ((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/tZ}),(function(e){return e.getUTCDate()-1}))),DZ=NZ;NZ.range;function ZZ(e){return uZ((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/nZ}))}var IZ=ZZ(0),LZ=ZZ(1),FZ=ZZ(2),zZ=ZZ(3),BZ=ZZ(4),VZ=ZZ(5),UZ=ZZ(6),WZ=(IZ.range,LZ.range,FZ.range,zZ.range,BZ.range,VZ.range,UZ.range,uZ((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),HZ=WZ,qZ=(WZ.range,uZ((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));qZ.every=function(e){return isFinite(e=Math.floor(e))&&e>0?uZ((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var $Z=qZ;qZ.range;function KZ(e,t,n,r,o,i){var a=[[fZ,1,XD],[fZ,5,5e3],[fZ,15,15e3],[fZ,30,3e4],[i,1,QD],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,eZ],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,tZ],[r,2,1728e5],[n,1,nZ],[t,1,rZ],[t,3,7776e6],[e,1,oZ]];function u(t,n,r){var o=Math.abs(n-t)/r,i=qR((function(e){return(0,bt.Z)(e,3)[2]})).right(a,o);if(i===a.length)return e.every(WR(t/oZ,n/oZ,r));if(0===i)return cZ.every(Math.max(WR(t,n,r),1));var u=(0,bt.Z)(a[o/a[i-1][2]<a[i][2]/o?i-1:i],2),s=u[0],c=u[1];return s.every(c)}return[function(e,t,n){var r=t<e;if(r){var o=[t,e];e=o[0],t=o[1]}var i=n&&"function"===typeof n.range?n:u(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},u]}var GZ=KZ($Z,HZ,IZ,DZ,RZ,MZ),YZ=(0,bt.Z)(GZ,2),JZ=YZ[0],XZ=YZ[1],QZ=KZ(_Z,PZ,bZ,yZ,vZ,pZ),eI=(0,bt.Z)(QZ,2),tI=eI[0],nI=eI[1];function rI(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function oI(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function iI(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var aI,uI,sI,cI={"-":"",_:" ",0:"0"},lI=/^\s*\d+/,fI=/^%/,dI=/[\\^$*+?|[\]().{}]/g;function pI(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function hI(e){return e.replace(dI,"\\$&")}function vI(e){return new RegExp("^(?:"+e.map(hI).join("|")+")","i")}function mI(e){return new Map(e.map((function(e,t){return[e.toLowerCase(),t]})))}function yI(e,t,n){var r=lI.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function gI(e,t,n){var r=lI.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function bI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function xI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function wI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function kI(e,t,n){var r=lI.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function SI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function OI(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function EI(e,t,n){var r=lI.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function jI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function PI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function CI(e,t,n){var r=lI.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function _I(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function TI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function MI(e,t,n){var r=lI.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function AI(e,t,n){var r=lI.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function RI(e,t,n){var r=lI.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function NI(e,t,n){var r=fI.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function DI(e,t,n){var r=lI.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ZI(e,t,n){var r=lI.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function II(e,t){return pI(e.getDate(),t,2)}function LI(e,t){return pI(e.getHours(),t,2)}function FI(e,t){return pI(e.getHours()%12||12,t,2)}function zI(e,t){return pI(1+yZ.count(_Z(e),e),t,3)}function BI(e,t){return pI(e.getMilliseconds(),t,3)}function VI(e,t){return BI(e,t)+"000"}function UI(e,t){return pI(e.getMonth()+1,t,2)}function WI(e,t){return pI(e.getMinutes(),t,2)}function HI(e,t){return pI(e.getSeconds(),t,2)}function qI(e){var t=e.getDay();return 0===t?7:t}function $I(e,t){return pI(bZ.count(_Z(e)-1,e),t,2)}function KI(e){var t=e.getDay();return t>=4||0===t?SZ(e):SZ.ceil(e)}function GI(e,t){return e=KI(e),pI(SZ.count(_Z(e),e)+(4===_Z(e).getDay()),t,2)}function YI(e){return e.getDay()}function JI(e,t){return pI(xZ.count(_Z(e)-1,e),t,2)}function XI(e,t){return pI(e.getFullYear()%100,t,2)}function QI(e,t){return pI((e=KI(e)).getFullYear()%100,t,2)}function eL(e,t){return pI(e.getFullYear()%1e4,t,4)}function tL(e,t){var n=e.getDay();return pI((e=n>=4||0===n?SZ(e):SZ.ceil(e)).getFullYear()%1e4,t,4)}function nL(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+pI(t/60|0,"0",2)+pI(t%60,"0",2)}function rL(e,t){return pI(e.getUTCDate(),t,2)}function oL(e,t){return pI(e.getUTCHours(),t,2)}function iL(e,t){return pI(e.getUTCHours()%12||12,t,2)}function aL(e,t){return pI(1+DZ.count($Z(e),e),t,3)}function uL(e,t){return pI(e.getUTCMilliseconds(),t,3)}function sL(e,t){return uL(e,t)+"000"}function cL(e,t){return pI(e.getUTCMonth()+1,t,2)}function lL(e,t){return pI(e.getUTCMinutes(),t,2)}function fL(e,t){return pI(e.getUTCSeconds(),t,2)}function dL(e){var t=e.getUTCDay();return 0===t?7:t}function pL(e,t){return pI(IZ.count($Z(e)-1,e),t,2)}function hL(e){var t=e.getUTCDay();return t>=4||0===t?BZ(e):BZ.ceil(e)}function vL(e,t){return e=hL(e),pI(BZ.count($Z(e),e)+(4===$Z(e).getUTCDay()),t,2)}function mL(e){return e.getUTCDay()}function yL(e,t){return pI(LZ.count($Z(e)-1,e),t,2)}function gL(e,t){return pI(e.getUTCFullYear()%100,t,2)}function bL(e,t){return pI((e=hL(e)).getUTCFullYear()%100,t,2)}function xL(e,t){return pI(e.getUTCFullYear()%1e4,t,4)}function wL(e,t){var n=e.getUTCDay();return pI((e=n>=4||0===n?BZ(e):BZ.ceil(e)).getUTCFullYear()%1e4,t,4)}function kL(){return"+0000"}function SL(){return"%"}function OL(e){return+e}function EL(e){return Math.floor(+e/1e3)}function jL(e){return new Date(e)}function PL(e){return e instanceof Date?+e:+new Date(+e)}function CL(e,t,n,r,o,i,a,u,s,c){var l=tD(),f=l.invert,d=l.domain,p=c(".%L"),h=c(":%S"),v=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),g=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(s(e)<e?p:u(e)<e?h:a(e)<e?v:i(e)<e?m:r(e)<e?o(e)<e?y:g:n(e)<e?b:x)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?d(Array.from(e,PL)):d().map(jL)},l.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?w:c(t)},l.nice=function(e){var n=d();return e&&"function"===typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(wD(n,e)):l},l.copy=function(){return QN(l,CL(e,t,n,r,o,i,a,u,s,c))},l}function _L(){return GA.apply(CL(tI,nI,_Z,PZ,bZ,yZ,vZ,pZ,fZ,uI).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function TL(){return GA.apply(CL(JZ,XZ,$Z,HZ,IZ,DZ,RZ,MZ,fZ,sI).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ML(){var e,t,n,r,o,i=0,a=1,u=GN,s=!1;function c(t){return null==t||isNaN(t=+t)?o:u(0===n?.5:(t=(r(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function l(e){return function(t){var n,r,o,i;return arguments.length?(n=t,o=(r=(0,bt.Z)(n,2))[0],i=r[1],u=e(o,i),c):[u(0),u(1)]}}return c.domain=function(o){var u,s;return arguments.length?(u=o,s=(0,bt.Z)(u,2),i=s[0],a=s[1],e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(s=!!e,c):s},c.interpolator=function(e){return arguments.length?(u=e,c):u},c.range=l(HN),c.rangeRound=l(qN),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function AL(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function RL(){var e=gD(ML()(GN));return e.copy=function(){return AL(e,RL())},YA.apply(e,arguments)}function NL(){var e=CD(ML()).domain([1,10]);return e.copy=function(){return AL(e,NL()).base(e.base())},YA.apply(e,arguments)}function DL(){var e=AD(ML());return e.copy=function(){return AL(e,DL()).constant(e.constant())},YA.apply(e,arguments)}function ZL(){var e=ID(ML());return e.copy=function(){return AL(e,ZL()).exponent(e.exponent())},YA.apply(e,arguments)}function IL(){return ZL.apply(null,arguments).exponent(.5)}function LL(){var e=[],t=GN;function n(n){if(null!=n&&!isNaN(n=+n))return t((XR(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,o=Vs(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){o.e(a)}finally{o.f()}return e.sort(HR),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((function(n,r){return t(r/(e.length-1))}))},n.quantiles=function(t){return Array.from({length:t+1},(function(n,r){return $D(e,r/t)}))},n.copy=function(){return LL(t).domain(e)},YA.apply(n,arguments)}function FL(e,t){void 0===t&&(t=e,e=HN);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}function zL(){var e,t,n,r,o,i,a,u=0,s=.5,c=1,l=1,f=GN,d=!1;function p(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(l*e<l*t?r:o),f(d?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var n,r,o,i,a;return arguments.length?(n=t,o=(r=(0,bt.Z)(n,3))[0],i=r[1],a=r[2],f=FL(e,[o,i,a]),p):[f(0),f(.5),f(1)]}}return p.domain=function(a){var f,d;return arguments.length?(f=a,d=(0,bt.Z)(f,3),u=d[0],s=d[1],c=d[2],e=i(u=+u),t=i(s=+s),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),l=t<e?-1:1,p):[u,s,c]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(f=e,p):f},p.range=h(HN),p.rangeRound=h(qN),p.unknown=function(e){return arguments.length?(a=e,p):a},function(a){return i=a,e=a(u),t=a(s),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),l=t<e?-1:1,p}}function BL(){var e=gD(zL()(GN));return e.copy=function(){return AL(e,BL())},YA.apply(e,arguments)}function VL(){var e=CD(zL()).domain([.1,1,10]);return e.copy=function(){return AL(e,VL()).base(e.base())},YA.apply(e,arguments)}function UL(){var e=AD(zL());return e.copy=function(){return AL(e,UL()).constant(e.constant())},YA.apply(e,arguments)}function WL(){var e=ID(zL());return e.copy=function(){return AL(e,WL()).exponent(e.exponent())},YA.apply(e,arguments)}function HL(){return WL.apply(null,arguments).exponent(.5)}function qL(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],u=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function $L(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function KL(e,t){return e[t]}function GL(e){var t=[];return t.key=e,t}function YL(e){return function(e){if(Array.isArray(e))return JL(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return JL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JL(e,t)}(e)||function(){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 JL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function QL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XL(Object(n),!0).forEach((function(t){eF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tF(e,t,n){return jj()(e)||jj()(t)?n:tj(t)?UE()(e,t,n):gj()(t)?t(e):n}function nF(e,t,n,r){var o=cR()(e,(function(e){return tF(e,t)}));if("number"===n){var i=o.filter((function(e){return ej(e)||parseFloat(e)}));return i.length?[uR()(i),iR()(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!jj()(e)})):o).map((function(e){return tj(e)||e instanceof Date?e:""}))}!function(e){aI=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,s=e.shortMonths,c=vI(o),l=mI(o),f=vI(i),d=mI(i),p=vI(a),h=mI(a),v=vI(u),m=mI(u),y=vI(s),g=mI(s),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:II,e:II,f:VI,g:QI,G:tL,H:LI,I:FI,j:zI,L:BI,m:UI,M:WI,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:OL,s:EL,S:HI,u:qI,U:$I,V:GI,w:YI,W:JI,x:null,X:null,y:XI,Y:eL,Z:nL,"%":SL},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:rL,e:rL,f:sL,g:bL,G:wL,H:oL,I:iL,j:aL,L:uL,m:cL,M:lL,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:OL,s:EL,S:fL,u:dL,U:pL,V:vL,w:mL,W:yL,x:null,X:null,y:gL,Y:xL,Z:kL,"%":SL},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return O(e,t,n,r)},d:PI,e:PI,f:RI,g:SI,G:kI,H:_I,I:_I,j:CI,L:AI,m:jI,M:TI,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:EI,Q:DI,s:ZI,S:MI,u:gI,U:bI,V:xI,w:yI,W:wI,x:function(e,t,r){return O(e,n,t,r)},X:function(e,t,n){return O(e,r,t,n)},y:SI,Y:kI,Z:OI,"%":NI};function k(e,t){return function(n){var r,o,i,a=[],u=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===e.charCodeAt(u)&&(a.push(e.slice(s,u)),null!=(o=cI[r=e.charAt(++u)])?r=e.charAt(++u):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),s=u+1);return a.push(e.slice(s,u)),a.join("")}}function S(e,t){return function(n){var r,o,i=iI(1900,void 0,1);if(O(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=oI(iI(i.y,0,1))).getUTCDay(),r=o>4||0===o?LZ.ceil(r):LZ(r),r=DZ.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=rI(iI(i.y,0,1))).getDay(),r=o>4||0===o?xZ.ceil(r):xZ(r),r=yZ.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?oI(iI(i.y,0,1)).getUTCDay():rI(iI(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,oI(i)):rI(i)}}function O(e,t,n,r){for(var o,i,a=0,u=t.length,s=n.length;a<u;){if(r>=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in cI?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=k(n,b),b.X=k(r,b),b.c=k(t,b),x.x=k(n,x),x.X=k(r,x),x.c=k(t,x),{format:function(e){var t=k(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),uI=aI.format,aI.parse,sI=aI.utcFormat,aI.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var rF=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},oF=function(e){var t,n=e.children,r=e.formattedGraphicalItems,o=e.legendWidth,i=e.legendContent,a=zM(n,Y_.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(r||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:rF(t),value:o||r,payload:t.props}})),QL(QL(QL({},a.props),Y_.getWithHeight(a,o)),{},{payload:t,item:a})):null},iF=function(e,t,n,r){var o=t.props.children,i=FM(o,"ErrorBar").filter((function(e){var t=e.props.direction;return!(!jj()(t)&&!jj()(r))||r.indexOf(t)>=0}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=tF(t,n,0),o=HE()(r)?[uR()(r),iR()(r)]:[r,r],i=a.reduce((function(e,n){var r=tF(t,n,0),i=o[0]-Math.abs(HE()(r)?r[0]:r),a=o[1]+Math.abs(HE()(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},aF=function(e,t,n,r){var o=t.map((function(t){var o=t.props.dataKey;return"number"===n&&o&&iF(e,t,o)||nF(e,o,n,r)}));if("number"===n)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var i={};return o.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)i[t[n]]||(i[t[n]]=!0,e.push(t[n]));return e}),[])},uF=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},sF=function(e,t,n){var r,o,i=e.map((function(e){return e.coordinate===t&&(r=!0),e.coordinate===n&&(o=!0),e.coordinate}));return r||i.push(t),o||i.push(n),i},cF=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,u=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/2:0;return u="angleAxis"===e.axisType?2*XE(a[0]-a[1])*u:u,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+u,value:e,offset:u}})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+u,value:e,index:t,offset:u}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+u,value:e,offset:u}})):r.domain().map((function(e,t){return{coordinate:r(e)+u,value:o?o[e]:e,index:t,offset:u}}))},lF=function(e,t,n){var r;return gj()(n)?r=n:gj()(t)&&(r=t),gj()(e)||r?function(t,n,o,i){gj()(e)&&e(t,n,o,i),gj()(r)&&r(t,n,o,i)}:null},fF=1e-4,dF={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var u=$E()(e[a][n][1])?e[a][n][0]:e[a][n][1];u>=0?(e[a][n][0]=o,e[a][n][1]=o+u,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+u,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}qL(e,t)}},none:qL,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,u=0;a<n;++a)u+=e[a][r][1]||0;o[r][1]+=o[r][0]=-u/2}qL(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<o;++u){for(var l=e[t[u]],f=l[a][1]||0,d=(f-(l[a-1][1]||0))/2,p=0;p<u;++p){var h=e[t[p]];d+=(h[a][1]||0)-(h[a-1][1]||0)}s+=f,c+=d*f}n[a-1][1]+=n[a-1][0]=i,s&&(i-=c/s)}n[a-1][1]+=n[a-1][0]=i,qL(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=$E()(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},pF=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=function(){var e=p_([]),t=$L,n=qL,r=KL;function o(o){var i,a,u,s=Array.from(e.apply(this,arguments),GL),c=s.length,l=-1,f=Vs(o);try{for(f.s();!(u=f.n()).done;){var d=u.value;for(i=0,++l;i<c;++i)(s[i][l]=[0,+r(d,s[i].key,l,o)]).data=d}}catch(p){f.e(p)}finally{f.f()}for(i=0,a=vT(t(s));i<c;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"===typeof t?t:p_(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"===typeof e?e:p_(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?$L:"function"===typeof e?e:p_(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?qL:e,o):n},o}().keys(r).value((function(e,t){return+tF(e,t,0)})).order($L).offset(dF[n]);return o(e)},hF=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,u=n||t.scale;if("auto"!==u&&"linear"!==u)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var s=e.domain();if(!s.length)return null;var c=IR(s,o,a);return e.domain(function(e,t){return"number"===t?[uR()(e),iR()(e)]:e}(c,r)),{niceTicks:c}}if(o&&"number"===r){var l=e.domain();return{niceTicks:LR(l,o,a)}}return null},vF=function(e){var t=e.axis,n=e.ticks,r=e.bandSize,o=e.entry,i=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!jj()(o[t.dataKey])){var u=uj(n,"value",o[t.dataKey]);if(u)return u.coordinate+r/2}return n[i]?n[i].coordinate+r/2:null}var s=tF(o,jj()(a)?t.dataKey:a);return jj()(s)?null:t.scale(s)},mF=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[uR()(t.concat([e[0]]).filter(ej)),iR()(t.concat([e[1]]).filter(ej))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},yF=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,gF=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,bF=function(e,t,n){if(!HE()(e))return t;var r=[];if(ej(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(yF.test(e[0])){var o=+yF.exec(e[0])[1];r[0]=t[0]-o}else gj()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(ej(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(gF.test(e[1])){var i=+gF.exec(e[1])[1];r[1]=t[1]+i}else gj()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},xF=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=kj()(t,(function(e){return e.coordinate})),i=1/0,a=1,u=o.length;a<u;a++){var s=o[a],c=o[a-1];i=Math.min((s.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},wF=function(e,t,n){return e&&e.length?rR()(e,UE()(n,"type.defaultProps.domain"))?t:e:t},kF=function(e,t){var n=e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,u=n.tooltipType,s=n.chartType;return QL(QL({},Dj(e)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:rF(e),value:tF(t,r),type:u,payload:t,chartType:s})};function SF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function OF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SF(Object(n),!0).forEach((function(t){EF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jF=["Webkit","Moz","O","ms"];function PF(e){return PF="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PF(e)}function CF(){return CF=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CF.apply(this,arguments)}function _F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function TF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_F(Object(n),!0).forEach((function(t){MF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RF(e,t){return RF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},RF(e,t)}function NF(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IF(e);if(t){var o=IF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return DF(this,n)}}function DF(e,t){return!t||"object"!==PF(t)&&"function"!==typeof t?ZF(e):t}function ZF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IF(e){return IF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},IF(e)}var LF=function(e){return e.changedTouches&&!!e.changedTouches.length},FF=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RF(e,t)}(a,e);var n,r,o,i=NF(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).leaveTimer=void 0,t.travellerDragStartHandlers=void 0,t.handleDrag=function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var n=LF(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(ZF(t),"startX"),endX:t.handleTravellerDragStart.bind(ZF(t),"endX")},t.state={},t}return n=a,r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.state.scaleValues,o=this.props,i=o.gap,u=o.data.length-1,s=Math.min(t,n),c=Math.max(t,n),l=a.getIndexInRange(r,s),f=a.getIndexInRange(r,c);return{startIndex:l-l%i,endIndex:f===u?u:f-f%i}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=tF(n[e],o,e);return gj()(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,u=i.width,s=i.travellerWidth,c=i.startIndex,l=i.endIndex,f=i.onChange,d=e.pageX-n;d>0?d=Math.min(d,a+u-s-o,a+u-s-r):d<0&&(d=Math.max(d,a-r,a-o));var p=this.getIndex({startX:r+d,endX:o+d});p.startIndex===c&&p.endIndex===l||!f||f(p),this.setState({startX:r+d,endX:o+d,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=LF(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,u=this.state[o],s=this.props,c=s.x,l=s.width,f=s.travellerWidth,d=s.onChange,p=s.gap,h=s.data,v={startX:this.state.startX,endX:this.state.endX},m=e.pageX-r;m>0?m=Math.min(m,c+l-f-u):m<0&&(m=Math.max(m,c-u)),v[o]=u+m;var y=this.getIndex(v),g=y.startIndex,b=y.endIndex;this.setState((MF(t={},o,u+m),MF(t,"brushMoveStartX",e.pageX),t),(function(){d&&function(){var e=h.length-1;return"startX"===o&&(i>a?g%p===0:b%p===0)||i<a&&b===e||"endX"===o&&(i>a?b%p===0:g%p===0)||i>a&&b===e}()&&d(y)}))}},{key:"renderBackground",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,u=e.stroke;return t.createElement("rect",{stroke:u,fill:a,x:n,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.data,u=e.children,s=e.padding,c=t.Children.only(u);return c?t.cloneElement(c,{x:n,y:r,width:o,height:i,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,n){var r=this.props,o=r.y,i=r.travellerWidth,u=r.height,s=r.traveller,c=Math.max(e,this.props.x),l=TF(TF({},Dj(this.props)),{},{x:c,y:o,width:i,height:u});return t.createElement(Uj,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],style:{cursor:"col-resize"}},a.renderTraveller(s,l))}},{key:"renderSlide",value:function(e,n){var r=this.props,o=r.y,i=r.height,a=r.stroke,u=r.travellerWidth,s=Math.min(e,n)+u,c=Math.max(Math.abs(n-e)-u,0);return t.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:s,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,n=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,u=e.stroke,s=this.state,c=s.startX,l=s.endX,f={pointerEvents:"none",fill:u};return t.createElement(Uj,{className:"recharts-brush-texts"},t.createElement(OA,CF({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:o+i/2},f),this.getTextOfTick(n)),t.createElement(OA,CF({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+a+5,y:o+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,n=e.data,r=e.className,o=e.children,i=e.x,a=e.y,u=e.width,s=e.height,c=e.alwaysShowText,l=this.state,f=l.startX,d=l.endX,p=l.isTextActive,h=l.isSlideMoving,v=l.isTravellerMoving;if(!n||!n.length||!ej(i)||!ej(a)||!ej(u)||!ej(s)||u<=0||s<=0)return null;var m=zE()("recharts-brush",r),y=1===t.Children.count(o),g=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=jF.reduce((function(e,r){return OF(OF({},e),{},EF({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return t.createElement(Uj,{className:m,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(f,d),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(d,"endX"),(p||h||v||c)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(e){var n=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,u=Math.floor(r+i/2)-1;return t.createElement(t.Fragment,null,t.createElement("rect",{x:n,y:r,width:o,height:i,fill:a,stroke:"none"}),t.createElement("line",{x1:n+1,y1:u,x2:n+o-1,y2:u,fill:"none",stroke:"#fff"}),t.createElement("line",{x1:n+1,y1:u+2,x2:n+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?e(n):a.renderDefaultTraveller(n)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,u=e.startIndex,s=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return TF({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var u=t.length,s=tR().domain(Oj()(0,u)).range([o,o+i-a]),c=s.domain().map((function(e){return s(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:s(n),endX:s(r),scale:s,scaleValues:c}}({data:n,width:r,x:o,travellerWidth:i,startIndex:u,endIndex:s}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var c=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],r&&AF(n.prototype,r),o&&AF(n,o),a}(t.PureComponent);FF.displayName="Brush",FF.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var zF=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t};function BF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function VF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VF(Object(n),!0).forEach((function(t){WF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HF=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},qF=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&BF(t.prototype,n),r&&BF(t,r),e}();qF.EPS=1e-4;var $F=function(e){var t=Object.keys(e).reduce((function(t,n){return UF(UF({},t),{},WF({},n,qF.create(e[n])))}),{});return UF(UF({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return Rs()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return hj()(e,(function(e,n){return t[n].isInRange(e)}))}})};function KF(){return KF=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KF.apply(this,arguments)}function GF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GF(Object(n),!0).forEach((function(t){JF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XF(e){var n=e.x,r=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,u=tj(n),s=tj(r);if(sj(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!s)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=$F({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return zF(e,"discard")&&!i.isInRange(a)?null:a}(e);if(!c)return null;var l=c.x,f=c.y,d=e.shape,p=e.className,h=YF(YF({clipPath:zF(e,"hidden")?"url(#".concat(a,")"):void 0},Dj(e,!0)),{},{cx:l,cy:f});return t.createElement(Uj,{className:zE()("recharts-reference-dot",p)},XF.renderDot(d,h),AA.renderCallByParent(e,{x:l-o,y:f-o,width:2*o,height:2*o}))}XF.displayName="ReferenceDot",XF.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},XF.renderDot=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?e(n):t.createElement(bM,KF({},n,{cx:n.cx,cy:n.cy,className:"recharts-reference-dot-dot"}))};var QF=n(6366),ez=n.n(QF);function tz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tz(Object(n),!0).forEach((function(t){rz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return iz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iz(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function az(){return az=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},az.apply(this,arguments)}function uz(e){var n=e.x,r=e.y,o=e.segment,i=e.xAxis,a=e.yAxis,u=e.shape,s=e.className,c=e.alwaysShow,l=e.clipPathId;sj(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(e,t,n,r,o){var i=o.viewBox,a=i.x,u=i.y,s=i.width,c=i.height,l=o.position;if(n){var f=o.y,d=o.yAxis.orientation,p=e.y.apply(f,{position:l});if(zF(o,"discard")&&!e.y.isInRange(p))return null;var h=[{x:a+s,y:p},{x:a,y:p}];return"left"===d?h.reverse():h}if(t){var v=o.x,m=o.xAxis.orientation,y=e.x.apply(v,{position:l});if(zF(o,"discard")&&!e.x.isInRange(y))return null;var g=[{x:y,y:u+c},{x:y,y:u}];return"top"===m?g.reverse():g}if(r){var b=o.segment.map((function(t){return e.apply(t,{position:l})}));return zF(o,"discard")&&ez()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}($F({x:i.scale,y:a.scale}),tj(n),tj(r),o&&2===o.length,e);if(!f)return null;var d=oz(f,2),p=d[0],h=p.x,v=p.y,m=d[1],y=m.x,g=m.y,b=nz(nz({clipPath:zF(e,"hidden")?"url(#".concat(l,")"):void 0},Dj(e,!0)),{},{x1:h,y1:v,x2:y,y2:g});return t.createElement(Uj,{className:zE()("recharts-reference-line",s)},function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?e(n):t.createElement("line",az({},n,{className:"recharts-reference-line-line"}))}(u,b),AA.renderCallByParent(e,function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return HF({x:t,y:n},{x:r,y:o})}({x1:h,y1:v,x2:y,y2:g})))}function sz(){return sz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sz.apply(this,arguments)}function cz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cz(Object(n),!0).forEach((function(t){fz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uz.displayName="ReferenceLine",uz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function dz(e){var n=e.x1,r=e.x2,o=e.y1,i=e.y2,a=e.className,u=e.alwaysShow,s=e.clipPathId;sj(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=tj(n),l=tj(r),f=tj(o),d=tj(i),p=e.shape;if(!c&&!l&&!f&&!d&&!p)return null;var h=function(e,t,n,r,o){var i=o.x1,a=o.x2,u=o.y1,s=o.y2,c=o.xAxis,l=o.yAxis;if(!c||!l)return null;var f=$F({x:c.scale,y:l.scale}),d={x:e?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(u,{position:"start"}):f.y.rangeMin},p={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(s,{position:"end"}):f.y.rangeMax};return!zF(o,"discard")||f.isInRange(d)&&f.isInRange(p)?HF(d,p):null}(c,l,f,d,e);if(!h&&!p)return null;var v=zF(e,"hidden")?"url(#".concat(s,")"):void 0;return t.createElement(Uj,{className:zE()("recharts-reference-area",a)},dz.renderRect(p,lz(lz({clipPath:v},Dj(e,!0)),h)),AA.renderCallByParent(e,h))}dz.displayName="ReferenceArea",dz.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},dz.renderRect=function(e,n){return t.isValidElement(e)?t.cloneElement(e,n):gj()(e)?e(n):t.createElement(TM,sz({},n,{className:"recharts-reference-area-rect"}))};var pz=function(e,t,n,r,o){var i=FM(e,uz.displayName),a=FM(e,XF.displayName),u=i.concat(a),s=FM(e,dz.displayName),c="".concat(r,"Id"),l=r[0],f=t;if(u.length&&(f=u.reduce((function(e,t){if(t.props[c]===n&&zF(t.props,"extendDomain")&&ej(t.props[l])){var r=t.props[l];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),f)),s.length){var d="".concat(l,"1"),p="".concat(l,"2");f=s.reduce((function(e,t){if(t.props[c]===n&&zF(t.props,"extendDomain")&&ej(t.props[d])&&ej(t.props[p])){var r=t.props[d],o=t.props[p];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),f)}return o&&o.length&&(f=o.reduce((function(e,t){return ej(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},hz=n(548),vz=new(n.n(hz)());vz.setMaxListeners&&vz.setMaxListeners(10);var mz="recharts.syncMouseEvents";function yz(e){return yz="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yz(e)}function gz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||Cz(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bz(){return bz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bz.apply(this,arguments)}function xz(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kz(e,t){return kz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kz(e,t)}function Sz(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jz(e);if(t){var o=jz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Oz(this,n)}}function Oz(e,t){return!t||"object"!==yz(t)&&"function"!==typeof t?Ez(e):t}function Ez(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jz(e){return jz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jz(e)}function Pz(e){return function(e){if(Array.isArray(e))return _z(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Cz(e)||function(){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 Cz(e,t){if(e){if("string"===typeof e)return _z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_z(e,t):void 0}}function _z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tz(Object(n),!0).forEach((function(t){Az(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Az(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rz={xAxis:["bottom","top"],yAxis:["left","right"]},Nz={x:0,y:0},Dz=Number.isFinite?Number.isFinite:isFinite,Zz="function"===typeof requestAnimationFrame?requestAnimationFrame:"function"===typeof setImmediate?setImmediate:setTimeout,Iz="function"===typeof cancelAnimationFrame?cancelAnimationFrame:"function"===typeof clearImmediate?clearImmediate:clearTimeout,Lz=function(e,t,n){var r=t.graphicalItems,o=t.dataStartIndex,i=t.dataEndIndex,a=(r||[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(Pz(e),Pz(n)):e}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:e&&e.length&&ej(o)&&ej(i)?e.slice(o,i+1):[]},Fz=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=Lz(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(e,t){if(t.props.hide)return e;var o,u=t.props.data;i.dataKey&&!i.allowDuplicatedCategory?o=uj(void 0===u?a:u,i.dataKey,r):o=u&&u[n]||a[n];return o?[].concat(Pz(e),[kF(t,o)]):e}),[])},zz=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,u=e.tooltipAxis,s=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null===n||void 0===n?void 0:n.length)&&void 0!==t?t:0;if(a>1){if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var u=o.range,s=0;s<a;s++){var c=s>0?r[s-1].coordinate:r[a-1].coordinate,l=r[s].coordinate,f=s>=a-1?r[0].coordinate:r[s+1].coordinate,d=void 0;if(XE(l-c)!==XE(f-l)){var p=[];if(XE(f-l)===XE(u[1]-u[0])){d=f;var h=l+u[1]-u[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{d=c;var v=f+u[1]-u[0];p[0]=Math.min(l,(v+l)/2),p[1]=Math.max(l,(v+l)/2)}var m=[Math.min(l,(d+l)/2),Math.max(l,(d+l)/2)];if(e>m[0]&&e<=m[1]||e>=p[0]&&e<=p[1]){i=r[s].index;break}}else{var y=Math.min(c,f),g=Math.max(c,f);if(e>(y+l)/2&&e<=(g+l)/2){i=r[s].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}}else i=0;return i}(i,a,s,u);if(c>=0&&s){var l=s[c]&&s[c].value,f=Fz(e,t,c,l),d=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return Mz(Mz(Mz({},r),YT(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,s=r.angle;return Mz(Mz(Mz({},r),YT(r.cx,r.cy,u,s)),{},{angle:s,radius:u})}return Nz}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:l,activePayload:f,activeCoordinate:d}}return null},Bz=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,l=e.children,f=e.stackOffset,d=uF(c,o),p=n.reduce((function(t,n){var p=n.props,h=p.type,v=p.dataKey,m=p.allowDataOverflow,y=p.allowDuplicatedCategory,g=p.scale,b=p.ticks,x=n.props[i],w=Lz(e.data,{graphicalItems:r.filter((function(e){return e.props[i]===x})),dataStartIndex:u,dataEndIndex:s}),k=w.length;if(!t[x]){var S,O,E;if(v){if(S=nF(w,v,h),"category"===h&&d){var j=function(e){if(!HE()(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(S);y&&j?(O=S,S=Oj()(0,k)):y||(S=wF(n.props.domain,S,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(Pz(e),[t])}),[]))}else if("category"===h)S=y?S.filter((function(e){return""!==e&&!jj()(e)})):wF(n.props.domain,S,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||jj()(t)?e:[].concat(Pz(e),[t])}),[]);else if("number"===h){var P=function(e,t,n,r){var o=t.map((function(t){return iF(e,t,n,r)})).filter((function(e){return!jj()(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(w,r.filter((function(e){return e.props[i]===x&&!e.props.hide})),v,o);P&&(S=P)}!d||"number"!==h&&"auto"===g||(E=nF(w,v,"category"))}else S=d?Oj()(0,k):a&&a[x]&&a[x].hasStack&&"number"===h?"expand"===f?[0,1]:mF(a[x].stackGroups,u,s):aF(w,r.filter((function(e){return e.props[i]===x&&!e.props.hide})),h,!0);if("number"===h)S=pz(l,S,x,o,b),n.props.domain&&(S=bF(n.props.domain,S,m));else if("category"===h&&n.props.domain){var C=n.props.domain;S.every((function(e){return C.indexOf(e)>=0}))&&(S=C)}return Mz(Mz({},t),{},Az({},x,Mz(Mz({},n.props),{},{axisType:o,domain:S,categoricalDomain:E,duplicateDomain:O,originalDomain:n.props.domain,isCategorical:d,layout:c})))}return t}),{});return p},Vz=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,c=e.children,l="".concat(r,"Id"),f=FM(c,o),d={};return f&&f.length?d=Bz(e,{axes:f,graphicalItems:i,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:s}):i&&i.length&&(d=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,l=e.children,f=Lz(e.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:s}),d=f.length,p=uF(c,o),h=-1;return n.reduce((function(e,t){var v,m=t.props[i];return e[m]?e:(h++,p?v=Oj()(0,d):a&&a[m]&&a[m].hasStack?(v=mF(a[m].stackGroups,u,s),v=pz(l,v,m,o)):(v=bF(r.defaultProps.domain,aF(f,n.filter((function(e){return e.props[i]===m&&!e.props.hide})),"number"),r.defaultProps.allowDataOverflow),v=pz(l,v,m,o)),Mz(Mz({},e),{},Az({},m,Mz(Mz({axisType:o},r.defaultProps),{},{hide:!0,orientation:UE()(Rz,"".concat(o,".").concat(h%2),null),domain:v,originalDomain:r.defaultProps.domain,isCategorical:p,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:s})),d},Uz=function(e){var t=e.children,n=e.defaultShowTooltip,r=zM(t,FF.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!jj()(n)&&n}},Wz=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Hz=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,u=n.width,s=n.height,c=n.children,l=n.margin||{},f=zM(c,FF.displayName),d=zM(c,Y_.displayName),p=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:Mz(Mz({},e),{},Az({},r,e[r]+n.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:Mz(Mz({},e),{},Az({},r,UE()(e,"".concat(r))+n.height))}),{top:l.top||0,bottom:l.bottom||0}),v=Mz(Mz({},h),p),m=v.bottom;return f&&(v.bottom+=f.props.height||FF.defaultProps.height),d&&t&&(v=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,u=i-(a.left||0)-(a.right||0),s=oF({children:o,legendWidth:u}),c=e;if(s){var l=r||{},f=s.align,d=s.verticalAlign,p=s.layout;("vertical"===p||"horizontal"===p&&"center"===d)&&ej(e[f])&&(c=QL(QL({},e),{},eF({},f,c[f]+(l.width||0)))),("horizontal"===p||"vertical"===p&&"center"===f)&&ej(e[d])&&(c=QL(QL({},e),{},eF({},d,c[d]+(l.height||0))))}return c}(v,0,n,t)),Mz(Mz({brushBottom:m},v),{},{width:u-v.left-v.right,height:s-v.top-v.bottom})},qz=n(2699),$z=n.n(qz);function Kz(e){return function(e){if(Array.isArray(e))return Gz(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return Gz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gz(e,t)}(e)||function(){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 Gz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Yz(){return Yz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yz.apply(this,arguments)}function Jz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jz(Object(n),!0).forEach((function(t){Qz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var tB={valueAccessor:function(e){return HE()(e.value)?$z()(e.value):e.value}};function nB(e){var n=e.data,r=e.valueAccessor,o=e.dataKey,i=e.clockWise,a=e.id,u=e.textBreakAll,s=eB(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return n&&n.length?t.createElement(Uj,{className:"recharts-label-list"},n.map((function(e,n){var c=jj()(o)?r(e,n):tF(e&&e.payload,o),l=jj()(a)?{}:{id:"".concat(a,"-").concat(n)};return t.createElement(AA,Yz({},Dj(e,!0),s,l,{parentViewBox:e.parentViewBox,index:n,value:c,textBreakAll:u,viewBox:AA.parseViewBox(jj()(i)?e:Xz(Xz({},e),{},{clockWise:i})),key:"label-".concat(n)}))}))):null}function rB(e,n){return e?!0===e?t.createElement(nB,{key:"labelList-implicit",data:n}):t.isValidElement(e)||gj()(e)?t.createElement(nB,{key:"labelList-implicit",data:n,content:e}):Tj()(e)?t.createElement(nB,Yz({data:n},e,{key:"labelList-implicit"})):null:null}function oB(){return oB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oB.apply(this,arguments)}function iB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return aB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aB(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sB(e){var n=e.offset,r=e.layout,o=e.width,i=e.dataKey,a=e.data,u=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,l=uB(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=Dj(l),d=a.map((function(e,a){var l=u(e,i),d=l.x,p=l.y,h=l.value,v=l.errorVal;if(!v)return null;var m,y,g=[];if(Array.isArray(v)){var b=iB(v,2);m=b[0],y=b[1]}else m=y=v;if("vertical"===r){var x=s.scale,w=p+n,k=w+o,S=w-o,O=x(h-m),E=x(h+y);g.push({x1:E,y1:k,x2:E,y2:S}),g.push({x1:O,y1:w,x2:E,y2:w}),g.push({x1:O,y1:k,x2:O,y2:S})}else if("horizontal"===r){var j=c.scale,P=d+n,C=P-o,_=P+o,T=j(h-m),M=j(h+y);g.push({x1:C,y1:M,x2:_,y2:M}),g.push({x1:P,y1:T,x2:P,y2:M}),g.push({x1:C,y1:T,x2:_,y2:T})}return t.createElement(Uj,oB({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(e,n){return t.createElement("line",oB({},e,{key:"line-".concat(n)}))})))}));return t.createElement(Uj,{className:"recharts-errorBars"},d)}function cB(e){return cB="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cB(e)}function lB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fB(){return fB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fB.apply(this,arguments)}function dB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dB(Object(n),!0).forEach((function(t){hB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vB(e){return function(e){if(Array.isArray(e))return mB(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return mB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mB(e,t)}(e)||function(){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 mB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bB(e,t){return bB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},bB(e,t)}function xB(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kB(e);if(t){var o=kB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wB(this,n)}}function wB(e,t){return!t||"object"!==cB(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kB(e){return kB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kB(e)}nB.displayName="LabelList",nB.renderCallByParent=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=FM(o,nB.displayName).map((function(e,r){return(0,t.cloneElement)(e,{data:n,key:"labelList-".concat(r)})}));if(!r)return i;var a=rB(e.label,n);return[a].concat(Kz(i))},nB.defaultProps=tB,sB.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},sB.displayName="ErrorBar";var SB=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bB(e,t)}(a,e);var n,r,o,i=xB(a);function a(){var e;yB(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).mainCurve=void 0,e.state={isAnimationFinished:!0,totalLength:0},e.getStrokeDasharray=function(e,t,n){for(var r=n.reduce((function(e,t){return e+t})),o=Math.floor(e/r),i=e%r,u=t-e,s=[],c=0,l=0;;l+=n[c],++c)if(l+n[c]>i){s=[].concat(vB(n.slice(0,c)),[i-l]);break}var f=s.length%2===0?[0,u]:[u];return[].concat(vB(a.repeat(n,o)),vB(s),f).map((function(e){return"".concat(e,"px")})).join(", ")},e.id=rj("recharts-line-"),e.pathRef=function(t){e.mainCurve=t},e.handleAnimationEnd=function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()},e.handleAnimationStart=function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()},e}return n=a,r=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,n=e.points,r=e.xAxis,o=e.yAxis,i=e.layout,a=e.children,u=FM(a,sB.displayName);if(!u)return null;function s(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:tF(e.payload,t)}}return u.map((function(e,a){return t.cloneElement(e,{key:"bar-".concat(a),data:n,xAxis:r,yAxis:o,layout:i,dataPointFormatter:s})}))}},{key:"renderDots",value:function(e,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.dot,i=r.points,u=r.dataKey,s=Dj(this.props),c=Dj(o,!0),l=i.map((function(e,t){var n=pB(pB(pB({key:"dot-".concat(t),r:3},s),c),{},{value:e.value,dataKey:u,cx:e.x,cy:e.y,index:t,payload:e.payload});return a.renderDotItem(o,n)})),f={clipPath:e?"url(#clipPath-".concat(n,")"):null};return t.createElement(Uj,fB({className:"recharts-line-dots",key:"dots"},f),l)}},{key:"renderCurveStatically",value:function(e,n,r,o){var i=this.props,a=i.type,u=i.layout,s=i.connectNulls,c=(i.ref,lB(i,["type","layout","connectNulls","ref"])),l=pB(pB(pB({},Dj(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:n?"url(#clipPath-".concat(r,")"):null,points:e},o),{},{type:a,layout:u,connectNulls:s});return t.createElement(DT,fB({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,n){var r=this,o=this.props,i=o.points,a=o.strokeDasharray,u=o.isAnimationActive,s=o.animationBegin,c=o.animationDuration,l=o.animationEasing,f=o.animationId,d=o.animateNewValues,p=o.width,h=o.height,v=this.state,m=v.prevPoints,y=v.totalLength;return t.createElement(lC,{begin:s,duration:c,isActive:u,easing:l,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var o=t.t;if(m){var u=m.length/i.length,s=i.map((function(e,t){var n=Math.floor(t*u);if(m[n]){var r=m[n],i=aj(r.x,e.x),a=aj(r.y,e.y);return pB(pB({},e),{},{x:i(o),y:a(o)})}if(d){var s=aj(2*p,e.x),c=aj(h/2,e.y);return pB(pB({},e),{},{x:s(o),y:c(o)})}return pB(pB({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(s,e,n)}var c,l=aj(0,y)(o);if(a){var f="".concat(a).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));c=r.getStrokeDasharray(l,y,f)}else c="".concat(l,"px ").concat(y-l,"px");return r.renderCurveStatically(i,e,n,{strokeDasharray:c})}))}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,o=n.isAnimationActive,i=this.state,a=i.prevPoints,u=i.totalLength;return o&&r&&r.length&&(!a&&u>0||!rR()(a,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e=this.props,n=e.hide,r=e.dot,o=e.points,i=e.className,a=e.xAxis,u=e.yAxis,s=e.top,c=e.left,l=e.width,f=e.height,d=e.isAnimationActive,p=e.id;if(n||!o||!o.length)return null;var h=this.state.isAnimationFinished,v=1===o.length,m=zE()("recharts-line",i),y=a&&a.allowDataOverflow||u&&u.allowDataOverflow,g=jj()(p)?this.id:p;return t.createElement(Uj,{className:m},y?t.createElement("defs",null,t.createElement("clipPath",{id:"clipPath-".concat(g)},t.createElement("rect",{x:c,y:s,width:l,height:f}))):null,!v&&this.renderCurve(y,g),this.renderErrorBar(),(v||r)&&this.renderDots(y,g),(!d||h)&&nB.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!==0?[].concat(vB(e),[0]):e,r=[],o=0;o<t;++o)r=[].concat(vB(r),vB(n));return r}},{key:"renderDotItem",value:function(e,n){var r;if(t.isValidElement(e))r=t.cloneElement(e,n);else if(gj()(e))r=e(n);else{var o=zE()("recharts-line-dot",e?e.className:"");r=t.createElement(bM,fB({},n,{className:o}))}return r}}],r&&gB(n.prototype,r),o&&gB(n,o),a}(t.PureComponent);SB.displayName="Line",SB.defaultProps={xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!EC.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1},SB.getComposedData=function(e){var t=e.props,n=e.xAxis,r=e.yAxis,o=e.xAxisTicks,i=e.yAxisTicks,a=e.dataKey,u=e.bandSize,s=e.displayedData,c=e.offset,l=t.layout,f=s.map((function(e,t){var s=tF(e,a);return"horizontal"===l?{x:vF({axis:n,ticks:o,bandSize:u,entry:e,index:t}),y:jj()(s)?null:r.scale(s),value:s,payload:e}:{x:jj()(s)?null:n.scale(s),y:vF({axis:r,ticks:i,bandSize:u,entry:e,index:t}),value:s,payload:e}}));return pB({points:f,layout:l},c)};var OB=function(){return null};OB.displayName="XAxis",OB.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var EB=function(){return null};EB.displayName="YAxis",EB.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var jB=function(e){var n,r,o=e.chartName,i=e.GraphicalChild,a=e.defaultTooltipEventType,u=void 0===a?"axis":a,s=e.validateTooltipEventTypes,c=void 0===s?["axis"]:s,l=e.axisComponents,f=e.legendContent,d=e.formatAxisMap,p=e.defaultProps,h=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,u=t.dataEndIndex,s=e.barSize,c=e.layout,f=e.barGap,d=e.barCategoryGap,p=e.maxBarSize,h=Wz(c),v=h.numericAxisName,m=h.cateAxisName,y=function(e){return!(!e||!e.length)&&e.some((function(e){var t=DM(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),g=y&&function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,u=i.length;a<u;a++)for(var s=r[i[a]].stackGroups,c=Object.keys(s),l=0,f=c.length;l<f;l++){var d=s[c[l]],p=d.items,h=d.cateAxisId,v=p.filter((function(e){return DM(e.type).indexOf("Bar")>=0}));if(v&&v.length){var m=v[0].props.barSize,y=v[0].props[h];o[y]||(o[y]=[]),o[y].push({item:v[0],stackList:v.slice(1),barSize:jj()(m)?t:m})}}return o}({barSize:s,stackGroups:r}),b=[];return n.forEach((function(n,s){var h=Lz(e.data,{dataStartIndex:a,dataEndIndex:u},n),y=n.props,x=y.dataKey,w=y.maxBarSize,k=n.props["".concat(v,"Id")],S=n.props["".concat(m,"Id")],O=l.reduce((function(e,r){var o,i=t["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],u=i&&i[a];return Mz(Mz({},e),{},(Az(o={},r.axisType,u),Az(o,"".concat(r.axisType,"Ticks"),cF(u)),o))}),{}),E=O[m],j=O["".concat(m,"Ticks")],P=r&&r[k]&&r[k].hasStack&&function(e,t){var n=e.props.stackId;if(tj(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,i=0,a=r.items.length;i<a;i++)if(r.items[i]===e){o=i;break}return o>=0?r.stackedData[o]:null}}return null}(n,r[k].stackGroups),C=DM(n.type).indexOf("Bar")>=0,_=xF(E,j),T=[];if(C){var M,A,R=jj()(w)?p:w,N=null!==(M=null!==(A=xF(E,j,!0))&&void 0!==A?A:R)&&void 0!==M?M:0;T=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,u=i.length;if(u<1)return null;var s,c=oj(t,r,0,!0);if(i[0].barSize===+i[0].barSize){var l=!1,f=r/u,d=i.reduce((function(e,t){return e+t.barSize||0}),0);(d+=(u-1)*c)>=r&&(d-=(u-1)*c,c=0),d>=r&&f>0&&(l=!0,d=u*(f*=.9));var p={offset:((r-d)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n=[].concat(YL(e),[{item:t.item,position:{offset:p.offset+p.size+c,size:l?f:t.barSize}}]);return p=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:p})})),n}),[])}else{var h=oj(n,r,0,!0);r-2*h-(u-1)*c<=0&&(c=0);var v=(r-2*h-(u-1)*c)/u;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(YL(e),[{item:t.item,position:{offset:h+(v+c)*n+(v-m)/2,size:m}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),[])}return s}({barGap:f,barCategoryGap:d,bandSize:N!==_?N:_,sizeList:g[S],maxBarSize:R}),N!==_&&(T=T.map((function(e){return Mz(Mz({},e),{},{position:Mz(Mz({},e.position),{},{offset:e.position.offset-N/2})})})))}var D,Z,I,L=n&&n.type&&n.type.getComposedData;L&&b.push({props:Mz(Mz({},L(Mz(Mz({},O),{},{displayedData:h,props:e,dataKey:x,item:n,bandSize:_,barPosition:T,offset:o,stackedData:P,layout:c,dataStartIndex:a,dataEndIndex:u}))),{},(D={key:n.key||"item-".concat(s)},Az(D,v,O[v]),Az(D,m,O[m]),Az(D,"animationId",i),D)),childIndex:(Z=n,I=e.children,LM(I).indexOf(Z)),item:n})})),b},v=function(e,t){var n=e.props,r=e.dataStartIndex,a=e.dataEndIndex,u=e.updateId;if(!BM({props:n}))return null;var s=n.children,c=n.layout,f=n.stackOffset,p=n.data,v=n.reverseStackOrder,m=Wz(c),y=m.numericAxisName,g=m.cateAxisName,b=FM(s,i),x=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],u=e[a]||{hasStack:!1,stackGroups:{}};if(tj(i)){var s=u.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};s.items.push(t),u.hasStack=!0,u.stackGroups[i]=s}else u.stackGroups[rj("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return QL(QL({},e),{},eF({},a,u))}),{});return Object.keys(a).reduce((function(t,i){var u=a[i];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce((function(t,i){var a=u.stackGroups[i];return QL(QL({},t),{},eF({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:pF(e,a.items,o)}))}),{})),QL(QL({},t),{},eF({},i,u))}),{})}(p,b,"".concat(y,"Id"),"".concat(g,"Id"),f,v),w=l.reduce((function(e,t){var o="".concat(t.axisType,"Map");return Mz(Mz({},e),{},Az({},o,Vz(n,Mz(Mz({},t),{},{graphicalItems:b,stackGroups:t.axisType===y&&x,dataStartIndex:r,dataEndIndex:a}))))}),{}),k=Hz(Mz(Mz({},w),{},{props:n,graphicalItems:b}),null===t||void 0===t?void 0:t.legendBBox);Object.keys(w).forEach((function(e){w[e]=d(n,w[e],k,e.replace("Map",""),o)}));var S=function(e){var t=ij(e),n=cF(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:kj()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:xF(t,n)}}(w["".concat(g,"Map")]),O=h(n,Mz(Mz({},w),{},{dataStartIndex:r,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:x,offset:k}));return Mz(Mz({formattedGraphicalItems:O,graphicalItems:b,offset:k,stackGroups:x},S),w)};return r=n=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kz(e,t)}(s,e);var n,r,i,a=Sz(s);function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=a.call(this,e)).uniqueChartId=void 0,n.clipPathId=void 0,n.legendInstance=void 0,n.deferId=void 0,n.container=void 0,n.clearDeferId=function(){!jj()(n.deferId)&&Iz&&Iz(n.deferId),n.deferId=null},n.handleLegendBBoxUpdate=function(e){if(e&&n.legendInstance){var t=n.state,r=t.dataStartIndex,o=t.dataEndIndex,i=t.updateId;n.setState(Mz({legendBBox:e},v({props:n.props,dataStartIndex:r,dataEndIndex:o,updateId:i},Mz(Mz({},n.state),{},{legendBBox:e}))))}},n.handleReceiveSyncEvent=function(e,t,r){n.props.syncId===e&&t!==n.uniqueChartId&&(n.clearDeferId(),n.deferId=Zz&&Zz(n.applySyncEvent.bind(Ez(n),r)))},n.handleBrushChange=function(e){var t=e.startIndex,r=e.endIndex;if(t!==n.state.dataStartIndex||r!==n.state.dataEndIndex){var o=n.state.updateId;n.setState((function(){return Mz({dataStartIndex:t,dataEndIndex:r},v({props:n.props,dataStartIndex:t,dataEndIndex:r,updateId:o},n.state))})),n.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter,r=n.getMouseInfo(e);if(r){var o=Mz(Mz({},r),{},{isTooltipActive:!0});n.setState(o),n.triggerSyncEvent(o),gj()(t)&&t(o,e)}},n.triggeredAfterMouseMove=function(e){var t=n.props.onMouseMove,r=n.getMouseInfo(e),o=r?Mz(Mz({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};n.setState(o),n.triggerSyncEvent(o),gj()(t)&&t(o,e)},n.handleItemMouseEnter=function(e){n.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},n.handleItemMouseLeave=function(){n.setState((function(){return{isTooltipActive:!1}}))},n.handleMouseMove=function(e){e&&gj()(e.persist)&&e.persist(),n.triggeredAfterMouseMove(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave,r={isTooltipActive:!1};n.setState(r),n.triggerSyncEvent(r),gj()(t)&&t(r,e),n.cancelThrottledTriggerAfterMouseMove()},n.handleOuterEvent=function(e){var t=function(e){var t=e&&e.type;return t&&NM[t]?NM[t]:null}(e),r=UE()(n.props,"".concat(t));t&&gj()(r)&&r(/.*touch.*/i.test(t)?n.getMouseInfo(e.changedTouches[0]):n.getMouseInfo(e),e)},n.handleClick=function(e){var t=n.props.onClick,r=n.getMouseInfo(e);if(r){var o=Mz(Mz({},r),{},{isTooltipActive:!0});n.setState(o),n.triggerSyncEvent(o),gj()(t)&&t(o,e)}},n.handleMouseDown=function(e){var t=n.props.onMouseDown;gj()(t)&&t(n.getMouseInfo(e),e)},n.handleMouseUp=function(e){var t=n.props.onMouseUp;gj()(t)&&t(n.getMouseInfo(e),e)},n.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,o=e.offset;return sF($A.getTicks(Mz(Mz(Mz({},$A.defaultProps),t),{},{ticks:cF(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.left,o.left+o.width)},n.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,o=e.offset;return sF($A.getTicks(Mz(Mz(Mz({},$A.defaultProps),t),{},{ticks:cF(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.top,o.top+o.height)},n.axesTicksGenerator=function(e){return cF(e,!0)},n.renderCursor=function(e){var r=n.state,i=r.isTooltipActive,a=r.activeCoordinate,u=r.activePayload,s=r.offset,c=r.activeTooltipIndex,l=n.getTooltipEventType();if(!e||!e.props.cursor||!i||!a||"ScatterChart"!==o&&"axis"!==l)return null;var f,d=n.props.layout,p=DT;if("ScatterChart"===o)f=a,p=WT;else if("BarChart"===o)f=n.getCursorRectangle(),p=TM;else if("radial"===d){var h=n.getCursorPoints(),v=h.cx,m=h.cy,y=h.radius;f={cx:v,cy:m,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:y,outerRadius:y},p=lM}else f={points:n.getCursorPoints()},p=DT;var g=e.key||"_recharts-cursor",b=Mz(Mz(Mz(Mz({stroke:"#ccc",pointerEvents:"none"},s),f),Dj(e.props.cursor)),{},{payload:u,payloadIndex:c,key:g,className:"recharts-tooltip-cursor"});return(0,t.isValidElement)(e.props.cursor)?(0,t.cloneElement)(e.props.cursor,b):(0,t.createElement)(p,b)},n.renderPolarAxis=function(e,r,o){var i=UE()(e,"type.axisType"),a=UE()(n.state,"".concat(i,"Map"))[e.props["".concat(i,"Id")]];return(0,t.cloneElement)(e,Mz(Mz({},a),{},{className:i,key:e.key||"".concat(r,"-").concat(o),ticks:cF(a,!0)}))},n.renderXAxis=function(e,t,r){var o=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(o,e,t,r)},n.renderYAxis=function(e,t,r){var o=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(o,e,t,r)},n.renderGrid=function(e){var r=n.state,o=r.xAxisMap,i=r.yAxisMap,a=r.offset,u=n.props,s=u.width,c=u.height,l=ij(o),f=mj()(i,(function(e){return hj()(e.domain,Dz)}))||ij(i),d=e.props||{};return(0,t.cloneElement)(e,{key:e.key||"grid",x:ej(d.x)?d.x:a.left,y:ej(d.y)?d.y:a.top,width:ej(d.width)?d.width:a.width,height:ej(d.height)?d.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:s,chartHeight:c,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var r=e.props,o=r.radialLines,i=r.polarAngles,a=r.polarRadius,u=n.state,s=u.radiusAxisMap,c=u.angleAxisMap,l=ij(s),f=ij(c),d=f.cx,p=f.cy,h=f.innerRadius,v=f.outerRadius;return(0,t.cloneElement)(e,{polarAngles:HE()(i)?i:cF(f,!0).map((function(e){return e.coordinate})),polarRadius:HE()(a)?a:cF(l,!0).map((function(e){return e.coordinate})),cx:d,cy:p,innerRadius:h,outerRadius:v,key:e.key||"polar-grid",radialLines:o})},n.renderLegend=function(){var e=n.state.formattedGraphicalItems,r=n.props,o=r.children,i=r.width,a=r.height,u=n.props.margin||{},s=i-(u.left||0)-(u.right||0),c=oF({children:o,formattedGraphicalItems:e,legendWidth:s,legendContent:f});if(!c)return null;var l=c.item,d=xz(c,["item"]);return(0,t.cloneElement)(l,Mz(Mz({},d),{},{chartWidth:i,chartHeight:a,margin:u,ref:function(e){n.legendInstance=e},onBBoxUpdate:n.handleLegendBBoxUpdate}))},n.renderTooltip=function(){var e=n.props.children,r=zM(e,LC.displayName);if(!r)return null;var o=n.state,i=o.isTooltipActive,a=o.activeCoordinate,u=o.activePayload,s=o.activeLabel,c=o.offset;return(0,t.cloneElement)(r,{viewBox:Mz(Mz({},c),{},{x:c.left,y:c.top}),active:i,label:s,payload:i?u:[],coordinate:a})},n.renderBrush=function(e){var r=n.props,o=r.margin,i=r.data,a=n.state,u=a.offset,s=a.dataStartIndex,c=a.dataEndIndex,l=a.updateId;return(0,t.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:lF(n.handleBrushChange,null,e.props.onChange),data:i,x:ej(e.props.x)?e.props.x:u.left,y:ej(e.props.y)?e.props.y:u.top+u.height+u.brushBottom-(o.bottom||0),width:ej(e.props.width)?e.props.width:u.width,startIndex:s,endIndex:c,updateId:"brush-".concat(l)})},n.renderReferenceElement=function(e,r,o){if(!e)return null;var i=Ez(n).clipPathId,a=n.state,u=a.xAxisMap,s=a.yAxisMap,c=a.offset,l=e.props,f=l.xAxisId,d=l.yAxisId;return(0,t.cloneElement)(e,{key:e.key||"".concat(r,"-").concat(o),xAxis:u[f],yAxis:s[d],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})},n.renderActivePoints=function(e){var t=e.item,n=e.activePoint,r=e.basePoint,o=e.childIndex,i=e.isRange,a=[],u=t.props.key,c=t.item.props,l=c.activeDot,f=Mz(Mz({index:o,dataKey:c.dataKey,cx:n.x,cy:n.y,r:4,fill:rF(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(u,"-activePoint-").concat(o)},Dj(l)),Zj(l));return a.push(s.renderActiveDot(l,f)),r?a.push(s.renderActiveDot(l,Mz(Mz({},f),{},{cx:r.x,cy:r.y,key:"".concat(u,"-basePoint-").concat(o)}))):i&&a.push(null),a},n.renderGraphicChild=function(e,r,o){var i=n.filterFormatItem(e,r,o);if(!i)return null;var a=n.getTooltipEventType(),u=n.state,s=u.isTooltipActive,c=u.tooltipAxis,l=u.activeTooltipIndex,f=u.activeLabel,d=n.props.children,p=zM(d,LC.displayName),h=i.props,v=h.points,m=h.isRange,y=h.baseLine,g=i.item.props,b=g.activeDot,x=!g.hide&&s&&p&&b&&l>=0,w={};"axis"!==a&&p&&"click"===p.props.trigger?w={onClick:lF(n.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==a&&(w={onMouseLeave:lF(n.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:lF(n.handleItemMouseEnter,null,e.props.onMouseEnter)});var k=(0,t.cloneElement)(e,Mz(Mz({},i.props),w));if(x){var S,O;if(c.dataKey&&!c.allowDuplicatedCategory){var E="function"===typeof c.dataKey?function(e){return"function"===typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());S=uj(v,E,f),O=m&&y&&uj(y,E,f)}else S=v[l],O=m&&y&&y[l];if(!jj()(S))return[k].concat(Pz(n.renderActivePoints({item:i,activePoint:S,basePoint:O,childIndex:l,isRange:m})))}return m?[k,null,null]:[k,null]},n.renderCustomized=function(e,r,o){return(0,t.cloneElement)(e,Mz(Mz({key:"recharts-customized-".concat(o)},n.props),n.state))},n.uniqueChartId=jj()(e.id)?rj("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=xj()(n.triggeredAfterMouseMove,e.throttleDelay)),n.state={},n}return n=s,r=[{key:"componentDidMount",value:function(){jj()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){jj()(e.syncId)&&!jj()(this.props.syncId)&&this.addListener(),!jj()(e.syncId)&&jj()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),jj()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=zM(this.props.children,LC.displayName);if(e&&Cj()(e.props.shared)){var t=e.props.shared?"axis":"item";return c.indexOf(t)>=0?t:u}return u}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}(this.container),n=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,t),r=this.inRange(n.chartX,n.chartY);if(!r)return null;var o=this.state,i=o.xAxisMap,a=o.yAxisMap;if("axis"!==this.getTooltipEventType()&&i&&a){var u=ij(i).scale,s=ij(a).scale,c=u&&u.invert?u.invert(n.chartX):null,l=s&&s.invert?s.invert(n.chartY):null;return Mz(Mz({},n),{},{xValue:c,yValue:l})}var f=zz(this.state,this.props.data,this.props.layout,r);return f?Mz(Mz({},n),f):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,o=t.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-i,width:"horizontal"===e?o:r.width-1,height:"horizontal"===e?r.height-1:o}}},{key:"getCursorPoints",value:function(){var e,t,n,r,o=this.props.layout,i=this.state,a=i.activeCoordinate,u=i.offset;if("horizontal"===o)n=e=a.x,t=u.top,r=u.top+u.height;else if("vertical"===o)r=t=a.y,e=u.left,n=u.left+u.width;else if(!jj()(a.cx)||!jj()(a.cy)){if("centric"!==o){var s=a.cx,c=a.cy,l=a.radius,f=a.startAngle,d=a.endAngle;return{points:[YT(s,c,l,f),YT(s,c,l,d)],cx:s,cy:c,radius:l,startAngle:f,endAngle:d}}var p=a.cx,h=a.cy,v=a.innerRadius,m=a.outerRadius,y=a.angle,g=YT(p,h,v,y),b=YT(p,h,m,y);e=g.x,t=g.y,n=b.x,r=b.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var u=ij(i);return QT({x:e,y:t},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=zM(e,LC.displayName),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Mz(Mz({},Zj(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){vz.on(mz,this.handleReceiveSyncEvent),vz.setMaxListeners&&vz._maxListeners&&vz.setMaxListeners(vz._maxListeners+1)}},{key:"removeListener",value:function(){vz.removeListener(mz,this.handleReceiveSyncEvent),vz.setMaxListeners&&vz._maxListeners&&vz.setMaxListeners(vz._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;jj()(t)||vz.emit(mz,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,n=t.layout,r=t.syncMethod,o=this.state.updateId,i=e.dataStartIndex,a=e.dataEndIndex;if(jj()(e.dataStartIndex)&&jj()(e.dataEndIndex))if(jj()(e.activeTooltipIndex))this.setState(e);else{var u=e.chartX,s=e.chartY,c=e.activeTooltipIndex,l=this.state,f=l.offset,d=l.tooltipTicks;if(!f)return;if("function"===typeof r)c=r(d,e);else if("value"===r){c=-1;for(var p=0;p<d.length;p++)if(d[p].value===e.activeLabel){c=p;break}}var h=Mz(Mz({},f),{},{x:f.left,y:f.top}),m=Math.min(u,h.x+h.width),y=Math.min(s,h.y+h.height),g=d[c]&&d[c].value,b=Fz(this.state,this.props.data,c),x=d[c]?{x:"horizontal"===n?d[c].coordinate:m,y:"horizontal"===n?y:d[c].coordinate}:Nz;this.setState(Mz(Mz({},e),{},{activeLabel:g,activeCoordinate:x,activePayload:b,activeTooltipIndex:c}))}else this.setState(Mz({dataStartIndex:i,dataEndIndex:a},v({props:this.props,dataStartIndex:i,dataEndIndex:a,updateId:o},this.state)))}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===DM(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(e,n,r,o){var i=this.props,a=i.width,u=i.height;return t.createElement($A,bz({},e,{className:"recharts-".concat(e.axisType," ").concat(e.axisType),key:n.key||"".concat(r,"-").concat(o),viewBox:{x:0,y:0,width:a,height:u},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var e=this.clipPathId,n=this.state.offset,r=n.left,o=n.top,i=n.height,a=n.width;return t.createElement("defs",null,t.createElement("clipPath",{id:e},t.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gz(t,2),r=n[0],o=n[1];return Mz(Mz({},e),{},Az({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=gz(t,2),r=n[0],o=n[1];return Mz(Mz({},e),{},Az({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t,n;return null===(t=this.state.xAxisMap)||void 0===t||null===(n=t[e])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(e){var t,n;return null===(t=this.state.yAxisMap)||void 0===t||null===(n=t[e])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(e){var t=this.state.formattedGraphicalItems;if(t&&t.length)for(var n=0,r=t.length;n<r;n++){var o=t[n],i=o.props,a=o.item,u=DM(a.type);if("Bar"===u){var s=(i.data||[]).find((function(t){return _M(e,t)}));if(s)return{graphicalItem:o,payload:s}}else if("RadialBar"===u){var c=(i.data||[]).find((function(t){return QT(e,t)}));if(c)return{graphicalItem:o,payload:c}}}return null}},{key:"render",value:function(){var e=this;if(!BM(this))return null;var n=this.props,r=n.children,o=n.className,i=n.width,a=n.height,u=n.style,s=n.compact,c=xz(n,["children","className","width","height","style","compact"]),l=Dj(c),f={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return t.createElement(zj,bz({},l,{width:i,height:a}),this.renderClipPath(),qM(r,f));var d=this.parseEventsOfWrapper();return t.createElement("div",bz({className:zE()("recharts-wrapper",o),style:Mz({position:"relative",cursor:"default",width:i,height:a},u)},d,{ref:function(t){e.container=t}}),t.createElement(zj,bz({},l,{width:i,height:a}),this.renderClipPath(),qM(r,f)),this.renderLegend(),this.renderTooltip())}}],r&&wz(n.prototype,r),i&&wz(n,i),s}(t.Component),n.displayName=o,n.defaultProps=Mz({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p),n.getDerivedStateFromProps=function(e,t){var n=e.data,r=e.children,o=e.width,i=e.height,a=e.layout,u=e.stackOffset,s=e.margin;if(jj()(t.updateId)){var c=Uz(e);return Mz(Mz(Mz({},c),{},{updateId:0},v(Mz(Mz({props:e},c),{},{updateId:0}),t)),{},{prevData:n,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:u,prevMargin:s,prevChildren:r})}if(n!==t.prevData||o!==t.prevWidth||i!==t.prevHeight||a!==t.prevLayout||u!==t.prevStackOffset||!AM(s,t.prevMargin)){var l=Uz(e),f={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},d=Mz(Mz({},zz(t,n,a)),{},{updateId:t.updateId+1}),p=Mz(Mz(Mz({},l),f),d);return Mz(Mz(Mz({},p),v(Mz({props:e},p),t)),{},{prevData:n,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:u,prevMargin:s,prevChildren:r})}if(!WM(r,t.prevChildren)){var h=!jj()(n)?t.updateId:t.updateId+1;return Mz(Mz({updateId:h},v(Mz(Mz({props:e},t),{},{updateId:h}),t)),{},{prevChildren:r})}return null},n.renderActiveDot=function(e,n){var r;return r=(0,t.isValidElement)(e)?(0,t.cloneElement)(e,n):gj()(e)?e(n):t.createElement(bM,n),t.createElement(Uj,{className:"recharts-active-dot",key:n.key},r)},r}({chartName:"LineChart",GraphicalChild:SB,axisComponents:[{axisType:"xAxis",AxisComp:OB},{axisType:"yAxis",AxisComp:EB}],formatAxisMap:function(t,n,r,o,i){var a=t.width,u=t.height,s=t.layout,c=t.children,l=Object.keys(n),f={left:r.left,leftMirror:r.left,right:a-r.right,rightMirror:a-r.right,top:r.top,topMirror:r.top,bottom:u-r.bottom,bottomMirror:u-r.bottom},d=!!zM(c,"Bar");return l.reduce((function(a,u){var c,l,p,h,v,m=n[u],y=m.orientation,g=m.domain,b=m.padding,x=void 0===b?{}:b,w=m.mirror,k=m.reversed,S="".concat(y).concat(w?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var O=g[1]-g[0],E=1/0,j=m.categoricalDomain.sort();j.forEach((function(e,t){t>0&&(E=Math.min((e||0)-(j[t-1]||0),E))}));var P=E/O,C="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(c=P*C/2),"no-gap"===m.padding){var _=oj(t.barCategoryGap,P*C),T=P*C/2;c=T-_-(T-_)/C*_}}l="xAxis"===o?[r.left+(x.left||0)+(c||0),r.left+r.width-(x.right||0)-(c||0)]:"yAxis"===o?"horizontal"===s?[r.top+r.height-(x.bottom||0),r.top+(x.top||0)]:[r.top+(x.top||0)+(c||0),r.top+r.height-(x.bottom||0)-(c||0)]:m.range,k&&(l=[l[1],l[0]]);var M=function(t,n,r){var o=t.scale,i=t.type,a=t.layout,u=t.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===u?{scale:QA(),realScaleType:"band"}:"radial"===a&&"angleAxis"===u?{scale:bD(),realScaleType:"linear"}:"category"===i&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:tR(),realScaleType:"point"}:"category"===i?{scale:QA(),realScaleType:"band"}:{scale:bD(),realScaleType:"linear"};if(JE()(o)){var s="scale".concat(zC()(o));return{scale:(e[s]||tR)(),realScaleType:e[s]?s:"point"}}return gj()(o)?{scale:o}:{scale:tR(),realScaleType:"point"}}(m,i,d),A=M.scale,R=M.realScaleType;A.domain(g).range(l),function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-fF,i=Math.max(r[0],r[1])+fF,a=e(t[0]),u=e(t[n-1]);(a<o||a>i||u<o||u>i)&&e.domain([t[0],t[n-1]])}}(A);var N=hF(A,UF(UF({},m),{},{realScaleType:R}));"xAxis"===o?(v="top"===y&&!w||"bottom"===y&&w,p=r.left,h=f[S]-v*m.height):"yAxis"===o&&(v="left"===y&&!w||"right"===y&&w,p=f[S]-v*m.width,h=r.top);var D=UF(UF(UF({},m),N),{},{realScaleType:R,x:p,y:h,scale:A,width:"xAxis"===o?r.width:m.width,height:"yAxis"===o?r.height:m.height});return D.bandSize=xF(D,N),m.hide||"xAxis"!==o?m.hide||(f[S]+=(v?-1:1)*D.width):f[S]+=(v?-1:1)*D.height,UF(UF({},a),{},WF({},u,D))}),{})}});function PB(e){return PB="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PB(e)}function CB(){return CB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CB.apply(this,arguments)}function _B(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function TB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function MB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TB(Object(n),!0).forEach((function(t){AB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DB(e,t){return DB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},DB(e,t)}function ZB(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=LB(e);if(t){var o=LB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return IB(this,n)}}function IB(e,t){return!t||"object"!==PB(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function LB(e){return LB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},LB(e)}var FB=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DB(e,t)}(a,e);var n,r,o,i=ZB(a);function a(){return RB(this,a),i.apply(this,arguments)}return n=a,r=[{key:"renderHorizontal",value:function(e){var n=this,r=this.props,o=r.x,i=r.width,u=r.horizontal;if(!e||!e.length)return null;var s=e.map((function(e,t){var r=MB(MB({},n.props),{},{x1:o,y1:e,x2:o+i,y2:e,key:"line-".concat(t),index:t});return a.renderLineItem(u,r)}));return t.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(e){var n=this,r=this.props,o=r.y,i=r.height,u=r.vertical;if(!e||!e.length)return null;var s=e.map((function(e,t){var r=MB(MB({},n.props),{},{x1:e,y1:o,x2:e,y2:o+i,key:"line-".concat(t),index:t});return a.renderLineItem(u,r)}));return t.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(e){var n=this.props.verticalFill;if(!n||!n.length)return null;var r=this.props,o=r.fillOpacity,i=r.x,a=r.y,u=r.width,s=r.height,c=e.slice().sort((function(e,t){return e-t}));i!==c[0]&&c.unshift(0);var l=c.map((function(e,r){var l=c[r+1]?c[r+1]-e:i+u-e;if(l<=0)return null;var f=r%n.length;return t.createElement("rect",{key:"react-".concat(r),x:Math.round(e+i-i),y:a,width:l,height:s,stroke:"none",fill:n[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return t.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}},{key:"renderHorizontalStripes",value:function(e){var n=this.props.horizontalFill;if(!n||!n.length)return null;var r=this.props,o=r.fillOpacity,i=r.x,a=r.y,u=r.width,s=r.height,c=e.slice().sort((function(e,t){return e-t}));a!==c[0]&&c.unshift(0);var l=c.map((function(e,r){var l=c[r+1]?c[r+1]-e:a+s-e;if(l<=0)return null;var f=r%n.length;return t.createElement("rect",{key:"react-".concat(r),y:Math.round(e+a-a),x:i,height:l,width:u,stroke:"none",fill:n[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return t.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}},{key:"renderBackground",value:function(){var e=this.props.fill;if(!e||"none"===e)return null;var n=this.props,r=n.fillOpacity,o=n.x,i=n.y,a=n.width,u=n.height;return t.createElement("rect",{x:o,y:i,width:a,height:u,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var e=this.props,n=e.x,r=e.y,o=e.width,i=e.height,a=e.horizontal,u=e.vertical,s=e.horizontalCoordinatesGenerator,c=e.verticalCoordinatesGenerator,l=e.xAxis,f=e.yAxis,d=e.offset,p=e.chartWidth,h=e.chartHeight;if(!ej(o)||o<=0||!ej(i)||i<=0||!ej(n)||n!==+n||!ej(r)||r!==+r)return null;var v=this.props,m=v.horizontalPoints,y=v.verticalPoints;return m&&m.length||!gj()(s)||(m=s({yAxis:f,width:p,height:h,offset:d})),y&&y.length||!gj()(c)||(y=c({xAxis:l,width:p,height:h,offset:d})),t.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),a&&this.renderHorizontal(m),u&&this.renderVertical(y),a&&this.renderHorizontalStripes(m),u&&this.renderVerticalStripes(y))}}],o=[{key:"renderLineItem",value:function(e,n){var r;if(t.isValidElement(e))r=t.cloneElement(e,n);else if(gj()(e))r=e(n);else{var o=n.x1,i=n.y1,a=n.x2,u=n.y2,s=n.key,c=_B(n,["x1","y1","x2","y2","key"]);r=t.createElement("line",CB({},Dj(c),{x1:o,y1:i,x2:a,y2:u,fill:"none",key:s}))}return r}}],r&&NB(n.prototype,r),o&&NB(n,o),a}(t.PureComponent);FB.displayName="CartesianGrid",FB.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};var zB=function(e){var n=e.weights,r=t.useState(!1),o=(0,bt.Z)(r,2),i=o[0],a=o[1],u=t.useState(),s=(0,bt.Z)(u,2),c=s[0],l=s[1],f=n.map((function(e){return{date:new Date(e.date).toLocaleDateString(Se.language),weight:e.weight,entry:e}}));return(0,Nn.jsxs)("div",{children:[c&&(0,Nn.jsx)(Xu,{title:ke("edit"),isOpen:i,closeFn:function(){return a(!1)},children:(0,Nn.jsx)(hk,{weightEntry:c})}),(0,Nn.jsx)(dj,{width:"90%",height:400,children:(0,Nn.jsxs)(jB,{data:f,children:[(0,Nn.jsx)(SB,{type:"monotone",dataKey:"weight",stroke:"#2A4C7D",strokeWidth:4,dot:{strokeWidth:2,r:7},activeDot:{stroke:"#2A4C7D",strokeWidth:2,r:6,onClick:function(e,t){l(t.payload.entry),a(!0)}}}),(0,Nn.jsx)(FB,{stroke:"#ccc",strokeDasharray:"5 5"}),(0,Nn.jsx)(OB,{dataKey:"date"}),(0,Nn.jsx)(EB,{domain:["auto","auto"]}),(0,Nn.jsx)(LC,{})]})})]})},BB=function(){var e=dm(),n=(0,bt.Z)(e,2),r=n[0],o=n[1],i=(0,t.useCallback)(cn(fn().mark((function e(){var t;return fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,xn();case 3:t=e.sent,o((n=t,{type:nm.SET_WEIGHTS,payload:n})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}var n}),e,null,[[0,7]])}))),[]);(0,t.useEffect)((function(){i()}),[i]);return(0,Nn.jsxs)("div",{className:ZE,children:[(0,Nn.jsx)(zB,{weights:r.weights}),(0,Nn.jsx)(DE,{fetchNewWeights:function(){i()},weights:r.weights})]})},VB={header:"header_header__lOwdN",container:"header_container__N124p",navs:"header_navs__cDDHZ",nav__item:"header_nav__item__Mne3O",subNav:"header_subNav__hbK7F",about:"header_about__J0YVh",secondaryNav__list:"header_secondaryNav__list__anSx0",toggleBtn:"header_toggleBtn__tCS3Q",logo:"header_logo__dpz63"},UB=n(6367),WB=n(4427);function HB(e){var n=(0,t.useState)(e),r=(0,bt.Z)(n,2),o=r[0],i=r[1],a=(0,t.useRef)(null),u=function(e){"Escape"===e.key&&i(!1)},s=function(e){a.current&&!a.current.contains(e.target)&&i(!1)};return(0,t.useEffect)((function(){return document.addEventListener("keydown",u,!0),document.addEventListener("click",s,!0),function(){document.removeEventListener("keydown",u,!0),document.removeEventListener("click",s,!0)}})),{ref:a,isComponentVisible:o,setIsComponentVisible:i}}var qB=function(){return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsxs)("div",{children:[(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/overview",children:"Workout"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/schedule",children:"Workout Schedule"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/calendar/user",children:"Calendar"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/gallery",children:"Gallery"})})]}),(0,Nn.jsxs)("div",{children:[(0,Nn.jsx)("p",{children:"Workout templates"}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/template/overview",children:"Your Templates"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"workout/template/public",children:"Public Templates"})})]}),(0,Nn.jsxs)("div",{children:[(0,Nn.jsx)("p",{children:"Exercises"}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/exercise/category",children:"by category"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/exercise/muscle",children:"by muscle"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/exercise/equipment",children:"by equipment"})})]}),(0,Nn.jsx)("div",{children:(0,Nn.jsx)(un,{to:"/exercise/add",children:"Add new exercise"})})]})},$B=function(){return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/weight/overview",children:"Weight Overview"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"weight/add",children:"Add Weight"})})]})},KB=function(){return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/nutrition/overview",children:"Nutritions Plan"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/nutrition/calculator/bmi",children:"BMI Calculator"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/nutrition/calculator/calories",children:"Daily calories calculator"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/nutrition/ingredient/overview",children:"Ingredient overview"})})]})},GB=function(){return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/software/api",children:"Rest API"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsxs)("a",{href:"https://github.com/wger-project/wger/blob/master/LICENSE.txt",children:[(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})}),"License"]})}),(0,Nn.jsx)("li",{children:(0,Nn.jsxs)("a",{href:"https://wger.readthedocs.io/en/latest/",children:[(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})}),"Developer documentation"]})}),(0,Nn.jsx)("li",{children:(0,Nn.jsxs)("a",{href:"https://wger.readthedocs.io/",children:[(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})}),"Get the code (Github)"]})}),(0,Nn.jsx)("li",{children:(0,Nn.jsxs)("a",{href:"https://hosted.weblate.org/engage/wger/",children:[(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})}),"Translate"]})})]})},YB=function(){return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("li",{children:(0,Nn.jsx)(un,{to:"/user/preferences",children:" My Preferences"})}),(0,Nn.jsx)("li",{children:(0,Nn.jsxs)(un,{to:"/login",children:[(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),"Logout"]})})]})},JB=function(){var e=(0,t.useState)(!1),n=(0,bt.Z)(e,2),r=n[0],o=n[1],i=HB(!1),a=HB(!1),u=HB(!1),s=HB(!1),c=HB(!1),l=(0,UB.useMediaQuery)({query:"(min-width: 700px)"})?{maxHeight:"auto"}:r?{}:{maxHeight:"0"};return(0,Nn.jsx)("header",{className:VB.header,children:(0,Nn.jsxs)("div",{className:VB.container,children:[(0,Nn.jsx)("a",{href:"/",className:VB.logo,children:(0,Nn.jsx)("img",{src:WB,alt:"logo"})}),(0,Nn.jsxs)("div",{style:l,className:VB.navs,children:[(0,Nn.jsx)("nav",{className:VB.primaryNav,children:(0,Nn.jsxs)("ul",{className:VB.primaryNav__list,children:[(0,Nn.jsxs)("li",{className:VB.nav__item,children:[(0,Nn.jsxs)("button",{onClick:function(){return i.setIsComponentVisible(!0)},children:["Training ",(0,Nn.jsx)("span",{children:"\u25bc"})]}),(0,Nn.jsx)("div",{ref:i.ref,children:(0,Nn.jsx)("ul",{className:VB.subNav,style:{display:i.isComponentVisible?"block":"none"},children:(0,Nn.jsx)(qB,{})})})]}),(0,Nn.jsxs)("li",{className:VB.nav__item,children:[(0,Nn.jsxs)("button",{onClick:function(){return a.setIsComponentVisible(!0)},children:["Body Weight ",(0,Nn.jsx)("span",{children:"\u25bc"})]}),(0,Nn.jsx)("div",{ref:a.ref,children:(0,Nn.jsx)("ul",{className:VB.subNav,style:{display:a.isComponentVisible?"block":"none"},children:(0,Nn.jsx)($B,{})})})]}),(0,Nn.jsxs)("li",{className:VB.nav__item,children:[(0,Nn.jsxs)("button",{onClick:function(){return u.setIsComponentVisible(!0)},children:["Nutrition ",(0,Nn.jsx)("span",{children:"\u25bc"})]}),(0,Nn.jsx)("div",{ref:u.ref,children:(0,Nn.jsx)("ul",{className:VB.subNav,style:{display:u.isComponentVisible?"block":"none"},children:(0,Nn.jsx)(KB,{})})})]}),(0,Nn.jsxs)("li",{className:VB.nav__item,children:[(0,Nn.jsxs)("button",{onClick:function(){return s.setIsComponentVisible(!0)},children:["About this software ",(0,Nn.jsx)("span",{children:"\u25bc"})]}),(0,Nn.jsx)("div",{ref:s.ref,children:(0,Nn.jsxs)("ul",{className:VB.subNav,style:{display:s.isComponentVisible?"block":"none"},children:[(0,Nn.jsx)("div",{className:VB.about,children:(0,Nn.jsx)(un,{to:"/software/about-us",children:"About us"})}),(0,Nn.jsx)(GB,{})]})})]})]})}),(0,Nn.jsx)("nav",{className:VB.secondaryNav,children:(0,Nn.jsx)("ul",{className:VB.secondaryNav__list,children:(0,Nn.jsxs)("li",{className:VB.nav__item,children:[(0,Nn.jsxs)("button",{onClick:function(){return c.setIsComponentVisible(!0)},children:["User ",(0,Nn.jsx)("span",{children:"\u25bc"})]}),(0,Nn.jsx)("div",{ref:c.ref,children:(0,Nn.jsx)("ul",{className:VB.subNav,style:{display:c.isComponentVisible?"block":"none"},children:(0,Nn.jsx)(YB,{})})})]})})})]}),(0,Nn.jsx)("button",{className:VB.toggleBtn,onClick:function(){return o(!r)},children:(0,Nn.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,Nn.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})})},XB=function(){return(0,Nn.jsx)("div",{children:"About Page"})},QB=function(){return(0,Nn.jsx)("div",{children:"Add Exercise"})},eV=function(){return(0,Nn.jsx)("div",{children:"Add Weight Page"})},tV=function(){return(0,Nn.jsx)("div",{children:"BmiCalculator Page"})},nV=function(){return(0,Nn.jsx)("div",{children:"Calendar Page"})},rV=function(){return(0,Nn.jsx)("div",{children:"Calories Calculator Page"})},oV=function(){return(0,Nn.jsx)("div",{children:"Category exercise Page"})},iV=function(){return(0,Nn.jsx)("div",{children:"Equipments Page"})},aV=function(){return(0,Nn.jsx)("div",{children:"Gallery Page"})},uV=function(){return(0,Nn.jsx)("div",{children:"Ingredients Page"})},sV=function(){return(0,Nn.jsx)("div",{children:"Login Page"})},cV=function(){return(0,Nn.jsx)("div",{children:"Muscle Exercise Page"})},lV=function(){return(0,Nn.jsx)("div",{children:"Nutritions Plan Page"})},fV=function(){return(0,Nn.jsx)("div",{children:"Preferences Page"})},dV=function(){return(0,Nn.jsx)("div",{children:"Public Template"})},pV=function(){return(0,Nn.jsx)("div",{children:"RestApi Page"})},hV=function(){return(0,Nn.jsx)("div",{children:"Your Template"})},vV=function(){return(0,Nn.jsx)("div",{children:(0,Nn.jsx)(BB,{})})},mV=function(){return(0,Nn.jsx)("div",{children:"Workout Page"})},yV=function(){return(0,Nn.jsx)("div",{children:"Workout Schedule"})};var gV=function(){return(0,Nn.jsxs)("div",{className:"App",children:[(0,Nn.jsx)(JB,{}),(0,Nn.jsx)(Dt,{children:(0,Nn.jsxs)(Rt,{path:"/",children:[(0,Nn.jsxs)(Rt,{path:"workout",children:[(0,Nn.jsx)(Rt,{path:"overview",element:(0,Nn.jsx)(mV,{})}),(0,Nn.jsx)(Rt,{path:"schedule",element:(0,Nn.jsx)(yV,{})}),(0,Nn.jsx)(Rt,{path:"calendar",children:(0,Nn.jsx)(Rt,{path:"user",element:(0,Nn.jsx)(nV,{})})}),(0,Nn.jsx)(Rt,{path:"gallery",element:(0,Nn.jsx)(aV,{})}),(0,Nn.jsxs)(Rt,{path:"template",children:[(0,Nn.jsx)(Rt,{path:"overview",element:(0,Nn.jsx)(hV,{})}),(0,Nn.jsx)(Rt,{path:"public",element:(0,Nn.jsx)(dV,{})})]})]}),(0,Nn.jsxs)(Rt,{path:"exercise",children:[(0,Nn.jsx)(Rt,{path:"category",element:(0,Nn.jsx)(oV,{})}),(0,Nn.jsx)(Rt,{path:"muscle",element:(0,Nn.jsx)(cV,{})}),(0,Nn.jsx)(Rt,{path:"equipment",element:(0,Nn.jsx)(iV,{})}),(0,Nn.jsx)(Rt,{path:"add",element:(0,Nn.jsx)(QB,{})})]}),(0,Nn.jsxs)(Rt,{path:"weight",children:[(0,Nn.jsx)(Rt,{path:"overview",element:(0,Nn.jsx)(vV,{})}),(0,Nn.jsx)(Rt,{path:"add",element:(0,Nn.jsx)(eV,{})})]}),(0,Nn.jsxs)(Rt,{path:"nutrition",children:[(0,Nn.jsx)(Rt,{path:"overview",element:(0,Nn.jsx)(lV,{})}),(0,Nn.jsxs)(Rt,{path:"calculator",children:[(0,Nn.jsx)(Rt,{path:"bmi",element:(0,Nn.jsx)(tV,{})}),(0,Nn.jsx)(Rt,{path:"calories",element:(0,Nn.jsx)(rV,{})})]}),(0,Nn.jsx)(Rt,{path:"ingredient",children:(0,Nn.jsx)(Rt,{path:"overview",element:(0,Nn.jsx)(uV,{})})})]}),(0,Nn.jsxs)(Rt,{path:"software",children:[(0,Nn.jsx)(Rt,{path:"about-us",element:(0,Nn.jsx)(XB,{})}),(0,Nn.jsx)(Rt,{path:"api",element:(0,Nn.jsx)(pV,{})}),(0,Nn.jsx)(Rt,{path:"equipment",element:(0,Nn.jsx)(iV,{})}),(0,Nn.jsx)(Rt,{path:"add",element:(0,Nn.jsx)(QB,{})})]}),(0,Nn.jsx)(Rt,{path:"login",element:(0,Nn.jsx)(sV,{})}),(0,Nn.jsx)(Rt,{path:"user",children:(0,Nn.jsx)(Rt,{path:"preferences",element:(0,Nn.jsx)(fV,{})})})]})})]})},bV=function(e){e&&e instanceof Function&&n.e(27).then(n.bind(n,4027)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))},xV=(0,n(7458).Z)({spacing:8,typography:{fontFamily:"'Poppins'"}}),wV=n(5693);var kV=function(e){var n=e.children,r=e.theme,o=(0,AS.Z)(),i=t.useMemo((function(){var e=null===o?r:function(e,t){return"function"===typeof t?t(e):(0,xt.Z)({},e,t)}(o,r);return null!=e&&(e[RS]=null!==o),e}),[r,o]);return(0,Nn.jsx)(wV.Z.Provider,{value:i,children:n})};function SV(e){var t=(0,vi.Z)();return(0,Nn.jsx)(Xr.T.Provider,{value:"object"===typeof t?t:{},children:e.children})}var OV=function(e){var t=e.children,n=e.theme;return(0,Nn.jsx)(kV,{theme:n,children:(0,Nn.jsx)(SV,{children:t})})};document.getElementById("root")&&r.render((0,Nn.jsx)(t.StrictMode,{children:(0,Nn.jsx)(t.Suspense,{fallback:(0,Nn.jsx)("div",{children:"Loading... "}),children:(0,Nn.jsx)(an,{children:(0,Nn.jsx)(fm,{children:(0,Nn.jsx)(OV,{theme:xV,children:(0,Nn.jsx)(gV,{})})})})})}),document.getElementById("root"));var EV=document.getElementById("weight-overview");EV&&r.render((0,Nn.jsx)(vV,{}),EV),bV()}()}();
\ No newline at end of file
diff --git a/wger/weight/templates/overview.html b/wger/weight/templates/overview.html
index 2d87300fa..ebe244c2e 100644
--- a/wger/weight/templates/overview.html
+++ b/wger/weight/templates/overview.html
@@ -10,21 +10,8 @@
{# Header #}
{# #}
{% block header %}
- <!--
- <link rel="stylesheet" type="text/css" href="{% static 'angular/en/styles.css' %}">
- -->
-
- <script src="{% static 'angular/en/runtime.js' %}" defer></script>
- <script src="{% static 'angular/en/polyfills.js' %}" defer></script>
-
- {# Manually load the appropriate language if it's available #}
- {% if language.short_name in languages_angular %}
- {% with 'angular/'|add:language.short_name|add:"/main.js" as test %}
- <script src="{% static test %}" defer></script>
- {% endwith %}
- {% else %}
- <script src="{% static 'angular/en/main.js' %}" defer></script>
- {% endif %}
+ <link rel="stylesheet" type="text/css" href="{% static 'react/main.css' %}">
+ <script src="{% static 'react/main.js' %}" defer="defer"></script>
{% endblock %}
@@ -34,10 +21,7 @@
{# #}
{% block content %}
-
-
-<app-root></app-root>
-
+ <div id="weight-overview"></div>
{% endblock %}