diff --git a/plugins/dynamix.my.servers/webComps/licenses.txt b/plugins/dynamix.my.servers/webComps/licenses.txt
new file mode 100644
index 000000000..179255970
--- /dev/null
+++ b/plugins/dynamix.my.servers/webComps/licenses.txt
@@ -0,0 +1,1771 @@
+@unraid/shared-components
+UNLICENSED
+
+@vue/cli-service
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2017-present, Yuxi (Evan) You
+
+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.
+
+
+@vue/web-component-wrapper
+MIT
+
+@wry/context
+MIT
+MIT License
+
+Copyright (c) 2019 Ben Newman
+
+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.
+
+
+@wry/equality
+MIT
+MIT License
+
+Copyright (c) 2019 Ben Newman
+
+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.
+
+
+apollo-cache
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+apollo-cache-inmemory
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+apollo-client
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+apollo-link
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-context
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-error
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-http
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-http-common
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-retry
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-link-ws
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 - 2017 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+apollo-utilities
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+backo2
+MIT
+
+css-loader
+MIT
+Copyright JS Foundation and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+current-script-polyfill
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2015 Adam Miller
+
+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.
+
+
+
+dayjs
+MIT
+MIT License
+
+Copyright (c) 2018-present, iamkun
+
+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.
+
+
+eventemitter3
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2014 Arnout Kazemier
+
+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.
+
+
+fast-json-stable-stringify
+MIT
+This software is released under the MIT license:
+
+Copyright (c) 2017 Evgeny Poberezkin
+Copyright (c) 2013 James Halliday
+
+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.
+
+
+graphql
+MIT
+MIT License
+
+Copyright (c) 2019 GraphQL Contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+graphql-tag
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+hex-to-rgba
+GPL-3.0
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ {one line to give the program's name and a brief idea of what it does.}
+ Copyright (C) {year} {name of author}
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ {project} Copyright (C) {year} {fullname}
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
+
+
+is-secret
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016-2018 Thomas Watson Steen
+
+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.
+
+
+lodash
+MIT
+Copyright OpenJS Foundation and other contributors
+
+Based on Underscore.js, copyright Jeremy Ashkenas,
+DocumentCloud and Investigative Reporters & Editors
+
+This software consists of voluntary contributions made by many
+individuals. For exact contribution history, see the revision history
+available at https://github.com/lodash/lodash
+
+The following license applies to all parts of this software except as
+documented below:
+
+====
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====
+
+Copyright and related rights for sample code are waived via CC0. Sample
+code is defined as all source code displayed within the prose of the
+documentation.
+
+CC0: http://creativecommons.org/publicdomain/zero/1.0/
+
+====
+
+Files located in the node_modules and vendor directories are externally
+maintained libraries used by this software which have their own
+licenses; we recommend you read them, as their terms may differ from the
+terms above.
+
+
+node-libs-browser
+MIT
+(The MIT License)
+
+Copyright (c) 2012 Tobias Koppers
+
+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.
+
+
+optimism
+MIT
+MIT License
+
+Copyright (c) 2016 Ben Newman
+
+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.
+
+
+path-browserify
+MIT
+This software is released under the MIT license:
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+semver
+ISC
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+
+subscriptions-transport-ws
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2015 - 2016 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+symbol-observable
+MIT
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+Copyright (c) Ben Lesh
+
+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.
+
+
+traverse
+MIT
+Copyright 2010 James Halliday (mail@substack.net)
+
+This project is free software released under the MIT/X11 license:
+http://www.opensource.org/licenses/mit-license.php
+
+Copyright 2010 James Halliday (mail@substack.net)
+
+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.
+
+
+ts-invariant
+MIT
+MIT License
+
+Copyright (c) 2019 Apollo GraphQL
+
+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.
+
+
+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.
+
+vue
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2013-present, Yuxi (Evan) You
+
+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.
+
+
+vue-clickaway
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2015 Denis Karabaza
+
+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.
+
+
+vue-i18n
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 kazuya kawaguchi
+
+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.
+
+
+vue-loader
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2015-present Yuxi (Evan) You
+
+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.
+
+
+vue-style-loader
+MIT
+Copyright JS Foundation and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+vue-svg-sprite
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 Thierry Michel
+
+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.
+
+
+vuex
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2015-present Evan You
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+webpack
+MIT
+Copyright JS Foundation and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+wretch
+MIT
+MIT License
+
+Copyright (c) 2017 Julien Elbaz
+
+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.
+
+
+zen-observable
+MIT
+Copyright (c) 2018 zenparsing (Kevin Smith)
+
+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.
+
+
+zen-observable-ts
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018 zenparsing (Kevin Smith)
+Copyright (c) 2016 - 2018 Meteor Development Group, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/plugins/dynamix.my.servers/webComps/unraid.min.js b/plugins/dynamix.my.servers/webComps/unraid.min.js
index 445187b62..20378d721 100644
--- a/plugins/dynamix.my.servers/webComps/unraid.min.js
+++ b/plugins/dynamix.my.servers/webComps/unraid.min.js
@@ -1,4 +1,16 @@
-!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="5a74")}({"0012":function(e,t,r){e.exports=r("a7b2").Observable},"0483":function(e,t,r){var n=r("4767");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("4ead7b8a",n,e)}},"04b4":function(e,t,r){"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!n||o||r,s="";return!a||n&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}))},"06be":function(e,t,r){const n=r("df02");e.exports=(e,t)=>new n(e,t).major},"0b64":function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},"0d7c":function(e,t,r){(function(t){const r="object"==typeof t&&Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"})&&Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r("4362"))},"0e49":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)>=0},"10f4":function(e,t,r){var n=r("8dac");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("5292f54b",n,e)}},"1eca":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"==typeof e}},2251:function(e,t,r){"use strict";r.r(t);var n=r("3661");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},"22c0":function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r("fe45"),i=r("0d7c"),o=(t=e.exports={}).re=[],a=t.src=[],s=t.t={};let c=0;const l=(e,t,r)=>{const n=c++;i(n,t),s[e]=n,a[n]=t,o[n]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${a[s.NUMERICIDENTIFIER]}|${a[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NUMERICIDENTIFIERLOOSE]}|${a[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),l("FULL",`^${a[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),l("LOOSE",`^${a[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",a[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",a[s.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),l("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",a[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"22c9":function(e,t,r){"use strict";r.r(t);var n=r("470a");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},"23ad":function(e,t,r){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,r,n){var i=r.prototype,o=i.format;n.en.formats=e,i.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var r=this.$locale().formats,n=function(t,r){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,i){var o=i&&i.toUpperCase();return n||r[i]||e[i]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))}(t,void 0===r?{}:r);return o.call(this,n)}}}()},"23d7":function(e,t,r){const n=r("7b1f"),i=r("bf00"),{ANY:o}=i,a=r("329c"),s=r("f06c"),c=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new i(">=0.0.0-0")]:[new i(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new i(">=0.0.0")]}const n=new Set;let c,p,d,f,h,m,g;for(const t of e)">"===t.operator||">="===t.operator?c=l(c,t,r):"<"===t.operator||"<="===t.operator?p=u(p,t,r):n.add(t.semver);if(n.size>1)return null;if(c&&p){if(d=s(c.semver,p.semver,r),d>0)return null;if(0===d&&(">="!==c.operator||"<="!==p.operator))return null}for(const e of n){if(c&&!a(e,String(c),r))return null;if(p&&!a(e,String(p),r))return null;for(const n of t)if(!a(e,String(n),r))return!1;return!0}let v=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,b=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver;v&&1===v.prerelease.length&&"<"===p.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(f=l(c,e,r),f===e&&f!==c)return!1}else if(">="===c.operator&&!a(c.semver,String(e),r))return!1;if(p)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(h=u(p,e,r),h===e&&h!==p)return!1}else if("<="===p.operator&&!a(p.semver,String(e),r))return!1;if(!e.operator&&(p||c)&&0!==d)return!1}return!(c&&m&&!p&&0!==d||p&&g&&!c&&0!==d||b||v)},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},2426:function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)<0},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}(n),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o{const n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:en(t,e)}},"2a95":function(e,t,r){"use strict";const n=r("fee0"),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),f=Symbol("updateAgeOnGet"),h=()=>1;const m=(e,t,r)=>{const n=e[d].get(t);if(n){const t=n.value;if(g(e,t)){if(b(e,n),!e[s])return}else r&&(e[f]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[c]&&r>e[c]},v=e=>{if(e[o]>e[i])for(let t=e[p].tail;e[o]>e[i]&&null!==t;){const r=t.prev;b(e,t),t=r}},b=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[o]-=r.length,e[d].delete(r.key),e[p].removeNode(t)}};class y{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}const w=(e,t,r,n)=>{let i=r.value;g(e,i)&&(b(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,v(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,v(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[o]=0,this[p].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),v(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const n=r.prev;w(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const n=r.next;w(this,e,r,t),r=n}}keys(){return this[p].toArray().map(e=>e.key)}values(){return this[p].toArray().map(e=>e.value)}reset(){this[l]&&this[p]&&this[p].length&&this[p].forEach(e=>this[l](e.key,e.value)),this[d]=new Map,this[p]=new n,this[o]=0}dump(){return this[p].map(e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[c])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[i])return b(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[l]&&(this[u]||this[l](e,a.value)),a.now=n,a.maxAge=r,a.value=t,this[o]+=s-a.length,a.length=s,this.get(e),v(this),!0}const f=new y(e,t,s,n,r);return f.length>this[i]?(this[l]&&this[l](e,t),!1):(this[o]+=f.length,this[p].unshift(f),this[d].set(e,this[p].head),v(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[p].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{const e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach((e,t)=>m(this,t,!1))}}},"2a99":function(e,t,r){var n=r("544f");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("4807ae8b",n,e)}},"2b0e":function(e,t,r){"use strict";r.r(t),function(e){var r=Object.freeze({});function n(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i-1)return e.splice(r,1)}}var v=Object.prototype.hasOwnProperty;function b(e,t){return v.call(e,t)}function y(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}}var w=/-(\w)/g,x=y((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),_=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,S=y((function(e){return e.replace(E,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r};function O(e,t){t=t||0;for(var r=e.length-t,n=new Array(r);r--;)n[r]=e[r+t];return n}function T(e,t){for(var r in t)e[r]=t[r];return e}function I(e){for(var t={},r=0;r0,K=Q&&Q.indexOf("edge/")>0,X=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===q),J=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),Z={}.watch,ee=!1;if(B)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var re=function(){return void 0===G&&(G=!B&&!W&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),G},ne=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,ae="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);oe="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=A,ce=0,le=function(){this.id=ce++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){g(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){for(var e=this.subs.slice(),t=0,r=e.length;t-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===S(e)){var c=Ve(String,i.type);(c<0||s0&&(ut((c=e(c,(r||"")+"_"+s))[0])&&ut(u)&&(p[l]=ge(u.text+c[0].text),c.shift()),p.push.apply(p,c)):a(c)?ut(u)?p[l]=ge(u.text+c):""!==c&&p.push(ge(c)):ut(c)&&ut(u)?p[l]=ge(u.text+c.text):(o(t._isVList)&&i(c.tag)&&n(c.key)&&i(r)&&(c.key="__vlist"+r+"_"+s+"__"),p.push(c)));return p}(e):void 0}function ut(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function pt(e,t){if(e){for(var r=Object.create(null),n=ae?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=gt(t,c,e[c]))}else i={};for(var l in t)l in i||(i[l]=vt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),F(i,"$stable",a),F(i,"$key",s),F(i,"$hasNormal",o),i}function gt(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!ht(t))?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function vt(e,t){return function(){return e[t]}}function bt(e,t){var r,n,o,a,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),n=0,o=e.length;ndocument.createEvent("Event").timeStamp&&(fr=function(){return hr.now()})}function mr(){var e,t;for(dr=fr(),ur=!0,ar.sort((function(e,t){return e.id-t.id})),pr=0;prpr&&ar[r].id>e.id;)r--;ar.splice(r+1,0,e)}else ar.push(e);lr||(lr=!0,tt(mr))}}(this)},vr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user){var r='callback for watcher "'+this.expression+'"';ze(this.cb,this.vm,[e,t],this.vm,r)}else this.cb.call(this.vm,e,t)}}},vr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vr.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},vr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var br={enumerable:!0,configurable:!0,get:A,set:A};function yr(e,t,r){br.get=function(){return this[t][r]},br.set=function(e){this[t][r]=e},Object.defineProperty(e,r,br)}function wr(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var r=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[];!e.$parent||_e(!1);var o=function(o){i.push(o);var a=je(o,t,r,e);ke(n,o,a),o in e||yr(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){for(var r in e.$options.props,t)e[r]="function"!=typeof t[r]?A:k(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return Ge(e,t,"data()"),{}}finally{de()}}(t,e):t||{})||(t={});var r=Object.keys(t),n=e.$options.props,i=(e.$options.methods,r.length);for(;i--;){var o=r[i];n&&b(n,o)||$(o)||yr(e,"_data",o)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var r=e._computedWatchers=Object.create(null),n=re();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;n||(r[i]=new vr(e,a||A,A,xr)),i in e||_r(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function Nr(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var o in r){var a=r[o];if(a){var s=a.name;s&&!t(s)&&Dr(r,o,n,i)}}}function Dr(e,t,r,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,g(r,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=Or++,t._isVue=!0,e&&e._isComponent?function(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Le(Tr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Zt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=dt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,r,n,i){return Vt(e,t,r,n,i,!1)},e.$createElement=function(t,r,n,i){return Vt(e,t,r,n,i,!0)};var o=n&&n.data;ke(e,"$attrs",o&&o.attrs||r,null,!0),ke(e,"$listeners",t._parentListeners||r,null,!0)}(t),or(t,"beforeCreate"),function(e){var t=pt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((function(r){ke(e,r,t[r])})),_e(!0))}(t),wr(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),or(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(Ir),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Oe,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,r){var n=this;if(l(t))return kr(n,e,t,r);(r=r||{}).user=!0;var i=new vr(n,e,t,r);if(r.immediate){var o='callback for immediate watcher "'+i.expression+'"';pe(),ze(t,n,[i.value],n,o),de()}return function(){i.teardown()}}}(Ir),function(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?O(r):r;for(var n=O(arguments,1),i='event handler for "'+e+'"',o=0,a=r.length;oparseInt(this.max)&&Dr(t,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Nr(e,(function(e){return Rr(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Rr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Yt(e),r=t&&t.componentOptions;if(r){var n=Cr(r),i=this.include,o=this.exclude;if(i&&(!n||!Rr(i,n))||o&&n&&Rr(o,n))return t;var a=this.cache,s=this.keys,c=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,g(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}}};(function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:T,mergeOptions:Le,defineReactive:ke},e.set=Oe,e.delete=Te,e.nextTick=tt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),M.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Lr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=O(arguments,1);return r.unshift(this),"function"==typeof e.install?e.install.apply(e,r):"function"==typeof e&&e.apply(null,r),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Le(this.options,e),this}}(e),Ar(e),function(e){M.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&l(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"==typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}(e)})(Ir),Object.defineProperty(Ir.prototype,"$isServer",{get:re}),Object.defineProperty(Ir.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ir,"FunctionalRenderContext",{value:Dt}),Ir.version="2.6.14";var Mr=h("style,class"),jr=h("input,textarea,option,select,progress"),Ur=h("contenteditable,draggable,spellcheck"),$r=h("events,caret,typing,plaintext-only"),Fr=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Gr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zr=function(e){return Gr(e)?e.slice(6,e.length):""},Br=function(e){return null==e||!1===e};function Wr(e){for(var t=e.data,r=e,n=e;i(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(t=qr(n.data,t));for(;i(r=r.parent);)r&&r.data&&(t=qr(t,r.data));return function(e,t){return i(e)||i(t)?Qr(e,Hr(t)):""}(t.staticClass,t.class)}function qr(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Qr(e,t){return e?t?e+" "+t:e:t||""}function Hr(e){return Array.isArray(e)?function(e){for(var t,r="",n=0,o=e.length;n-1?bn(e,t,r):Fr(t)?Br(r)?e.removeAttribute(t):(r="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,r)):Ur(t)?e.setAttribute(t,function(e,t){return Br(t)||"false"===t?"false":"contenteditable"===e&&$r(t)?t:"true"}(t,r)):Gr(t)?Br(r)?e.removeAttributeNS(Vr,zr(t)):e.setAttributeNS(Vr,t,r):bn(e,t,r)}function bn(e,t,r){if(Br(r))e.removeAttribute(t);else{if(H&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==r&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var yn={create:gn,update:gn};function wn(e,t){var r=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Wr(t),c=r._transitionClasses;i(c)&&(s=Qr(s,Hr(c))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var xn,_n={create:wn,update:wn};function En(e){if(i(e.__r)){var t=H?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}function Sn(e,t,r){var n=xn;return function i(){var o=t.apply(null,arguments);null!==o&&Tn(e,i,r,n)}}var kn=Qe&&!(J&&Number(J[1])<=53);function On(e,t,r,n){if(kn){var i=dr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}xn.addEventListener(e,t,ee?{capture:r,passive:n}:r)}function Tn(e,t,r,n){(n||xn).removeEventListener(e,t._wrapper||t,r)}function In(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};xn=t.elm,En(r),at(r,i,On,Tn,Sn,t.context),xn=void 0}}var An,Cn={create:In,update:In};function Rn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var r,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(r in i(c.__ob__)&&(c=t.data.domProps=T({},c)),s)r in c||(a[r]="");for(r in c){if(o=c[r],"textContent"===r||"innerHTML"===r){if(t.children&&(t.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var l=n(o)?"":String(o);Nn(a,l)&&(a.value=l)}else if("innerHTML"===r&&Xr(a.tagName)&&n(a.innerHTML)){(An=An||document.createElement("div")).innerHTML="";for(var u=An.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(o!==s[r])try{a[r]=o}catch(e){}}}}function Nn(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var r=!0;try{r=document.activeElement!==e}catch(e){}return r&&e.value!==t}(e,t)||function(e,t){var r=e.value,n=e._vModifiers;if(i(n)){if(n.number)return f(r)!==f(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var Dn={create:Rn,update:Rn},Pn=y((function(e){var t={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Ln(e){var t=Mn(e.style);return e.staticStyle?T(e.staticStyle,t):t}function Mn(e){return Array.isArray(e)?I(e):"string"==typeof e?Pn(e):e}var jn,Un=/^--/,$n=/\s*!important$/,Fn=function(e,t,r){if(Un.test(t))e.style.setProperty(t,r);else if($n.test(r))e.style.setProperty(S(t),r.replace($n,""),"important");else{var n=Gn(t);if(Array.isArray(r))for(var i=0,o=r.length;i-1?t.split(Wn).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var r=" "+(e.getAttribute("class")||"")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Qn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Wn).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var r=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");(r=r.trim())?e.setAttribute("class",r):e.removeAttribute("class")}}function Hn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,Yn(e.name||"v")),T(t,e),t}return"string"==typeof e?Yn(e):void 0}}var Yn=y((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Kn=B&&!Y,Xn="transition",Jn="animation",Zn="transition",ei="transitionend",ti="animation",ri="animationend";Kn&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Zn="WebkitTransition",ei="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ti="WebkitAnimation",ri="webkitAnimationEnd"));var ni=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ii(e){ni((function(){ni(e)}))}function oi(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),qn(e,t))}function ai(e,t){e._transitionClasses&&g(e._transitionClasses,t),Qn(e,t)}function si(e,t,r){var n=li(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===Xn?ei:ri,c=0,l=function(){e.removeEventListener(s,u),r()},u=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c0&&(r=Xn,u=a,p=o.length):t===Jn?l>0&&(r=Jn,u=l,p=c.length):p=(r=(u=Math.max(a,l))>0?a>l?Xn:Jn:null)?r===Xn?o.length:c.length:0,{type:r,timeout:u,propCount:p,hasTransform:r===Xn&&ci.test(n[Zn+"Property"])}}function ui(e,t){for(;e.length1}function gi(e,t){!0!==t.data.show&&di(t)}var vi=function(e){var t,r,s={},c=e.modules,l=e.nodeOps;for(t=0;th?w(e,n(r[v+1])?null:r[v+1].elm,r,f,v,o):f>v&&_(t,d,h)}function k(e,t,r,n){for(var o=r;o-1,a.selected!==o&&(a.selected=o);else if(N(_i(a),n))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function xi(e,t){return t.every((function(t){return!N(t,e)}))}function _i(e){return"_value"in e?e._value:e.value}function Ei(e){e.target.composing=!0}function Si(e){e.target.composing&&(e.target.composing=!1,ki(e.target,"input"))}function ki(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function Oi(e){return!e.componentInstance||e.data&&e.data.transition?e:Oi(e.componentInstance._vnode)}var Ti={model:bi,show:{bind:function(e,t,r){var n=t.value,i=(r=Oi(r)).data&&r.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(r.data.show=!0,di(r,(function(){e.style.display=o}))):e.style.display=n?o:"none"},update:function(e,t,r){var n=t.value;!n!=!t.oldValue&&((r=Oi(r)).data&&r.data.transition?(r.data.show=!0,n?di(r,(function(){e.style.display=e.__vOriginalDisplay})):fi(r,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none")},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}}},Ii={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ai(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ai(Yt(t.children)):e}function Ci(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function Ri(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Ni=function(e){return e.tag||ht(e)},Di=function(e){return"show"===e.name},Pi={name:"transition",props:Ii,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(Ni)).length){var n=this.mode,i=r[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Ai(i);if(!o)return i;if(this._leaving)return Ri(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=Ci(this),l=this._vnode,u=Ai(l);if(o.data.directives&&o.data.directives.some(Di)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!ht(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var p=u.data.transition=T({},c);if("out-in"===n)return this._leaving=!0,st(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ri(e,i);if("in-out"===n){if(ht(o))return l;var d,f=function(){d()};st(c,"afterEnter",f),st(c,"enterCancelled",f),st(p,"delayLeave",(function(e){d=e}))}}return i}}},Li=T({tag:String,moveClass:String},Ii);function Mi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ji(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ui(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+n+"px,"+i+"px)",o.transitionDuration="0s"}}delete Li.mode;var $i={Transition:Pi,TransitionGroup:{props:Li,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=tr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ci(this),s=0;s-1?Zr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Zr[e]=/HTMLUnknownElement/.test(t.toString())},T(Ir.options.directives,Ti),T(Ir.options.components,$i),Ir.prototype.__patch__=B?vi:A,Ir.prototype.$mount=function(e,t){return function(e,t,r){var n;return e.$el=t,e.$options.render||(e.$options.render=me),or(e,"beforeMount"),n=function(){e._update(e._render(),r)},new vr(e,n,A,{before:function(){e._isMounted&&!e._isDestroyed&&or(e,"beforeUpdate")}},!0),r=!1,null==e.$vnode&&(e._isMounted=!0,or(e,"mounted")),e}(this,e=e&&B?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},B&&setTimeout((function(){U.devtools&&ne&&ne.emit("init",Ir)}),0),t.default=Ir}.call(this,r("c8ba"))},"2c9f":function(e,t,r){const n=r("df02");e.exports=(e,t)=>new n(e,t).patch},"2f62":function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return S})),r.d(t,"c",(function(){return E})),r.d(t,"d",(function(){return _})),r.d(t,"e",(function(){return x}));var n=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){n.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){n.emit("vuex:action",e,t)}),{prepend:!0}))}function o(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var r=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=o(e[r],t)})),n}function a(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function s(e){return null!==e&&"object"==typeof e}var c=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"==typeof r?r():r)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},c.prototype.addChild=function(e,t){this._children[e]=t},c.prototype.removeChild=function(e){delete this._children[e]},c.prototype.getChild=function(e){return this._children[e]},c.prototype.hasChild=function(e){return e in this._children},c.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},c.prototype.forEachChild=function(e){a(this._children,e)},c.prototype.forEachGetter=function(e){this._rawModule.getters&&a(this._rawModule.getters,e)},c.prototype.forEachAction=function(e){this._rawModule.actions&&a(this._rawModule.actions,e)},c.prototype.forEachMutation=function(e){this._rawModule.mutations&&a(this._rawModule.mutations,e)},Object.defineProperties(c.prototype,l);var u,p=function(e){this.register([],e,!1)};p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return e+((t=t.getChild(r)).namespaced?r+"/":"")}),"")},p.prototype.update=function(e){!function e(t,r,n){if(r.update(n),n.modules)for(var i in n.modules){if(!r.getChild(i))return;e(t.concat(i),r.getChild(i),n.modules[i])}}([],this.root,e)},p.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=new c(t,r);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&a(t.modules,(function(t,i){n.register(e.concat(i),t,r)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n&&n.runtime&&t.removeChild(r)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return!!t&&t.hasChild(r)};var d=function(e){var t=this;void 0===e&&(e={}),!u&&"undefined"!=typeof window&&window.Vue&&w(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(o,e,t)},this.commit=function(e,t,r){return s.call(o,e,t,r)},this.strict=n;var c=this._modules.root.state;v(this,c,[],this._modules.root),g(this,c),r.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:u.config.devtools)&&i(this)},f={state:{configurable:!0}};function h(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function m(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;v(e,r,[],e._modules.root,!0),g(e,r,t)}function g(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};a(i,(function(t,r){o[r]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,e._vm=new u({data:{$$state:t},computed:o}),u.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),u.nextTick((function(){return n.$destroy()})))}function v(e,t,r,n,i){var o=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!o&&!i){var s=b(t,r.slice(0,-1)),c=r[r.length-1];e._withCommit((function(){u.set(s,c,n.state)}))}var l=n.context=function(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var o=y(r,n,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:n?e.commit:function(r,n,i){var o=y(r,n,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return b(e.state,r)}}}),i}(e,a,r);n.forEachMutation((function(t,r){!function(e,t,r,n){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){r.call(e,n.state,t)}))}(e,a+r,t,l)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,i=t.handler||t;!function(e,t,r,n){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"==typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,n,i,l)})),n.forEachGetter((function(t,r){!function(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}(e,a+r,t,l)})),n.forEachChild((function(n,o){v(e,t,r.concat(o),n,i)}))}function b(e,t){return t.reduce((function(e,t){return e[t]}),e)}function y(e,t,r){return s(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function w(e){u&&e===u||function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:r});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,t.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(u=e)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){},d.prototype.commit=function(e,t,r){var n=this,i=y(e,t,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},d.prototype.dispatch=function(e,t){var r=this,n=y(e,t),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(e){}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(e){}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,r.state,e)}))}catch(e){}t(e)}))}))}},d.prototype.subscribe=function(e,t){return h(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){return h("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},d.prototype.watch=function(e,t,r){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),v(this,this.state,e,this._modules.get(e),r.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=b(t.state,e.slice(0,-1));u.delete(r,e[e.length-1])})),m(this)},d.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype.hotUpdate=function(e){this._modules.update(e),m(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,f);var x=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=T(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"==typeof i?i.call(this,t,r):t[i]},r[n].vuex=!0})),r})),_=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=this.$store.commit;if(e){var o=T(this.$store,"mapMutations",e);if(!o)return;n=o.context.commit}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),E=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||T(this.$store,"mapGetters",e))return this.$store.getters[i]},r[n].vuex=!0})),r})),S=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var o=T(this.$store,"mapActions",e);if(!o)return;n=o.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r}));function k(e){return function(e){return Array.isArray(e)||s(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function O(e){return function(t,r){return"string"!=typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function T(e,t,r){return e._modulesNamespaceMap[r]}function I(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(r){e.log(t)}}function A(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function C(){var e=new Date;return" @ "+R(e.getHours(),2)+":"+R(e.getMinutes(),2)+":"+R(e.getSeconds(),2)+"."+R(e.getMilliseconds(),3)}function R(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var N={Store:d,install:w,version:"3.6.2",mapState:x,mapMutations:_,mapGetters:E,mapActions:S,createNamespacedHelpers:function(e){return{mapState:x.bind(null,e),mapGetters:E.bind(null,e),mapMutations:_.bind(null,e),mapActions:S.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var l=e.logActions;void 0===l&&(l=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var p=o(e.state);void 0!==u&&(c&&e.subscribe((function(e,a){var s=o(a);if(r(e,p,s)){var c=C(),l=i(e),d="mutation "+e.type+c;I(u,d,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",n(p)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),A(u)}p=s})),l&&e.subscribeAction((function(e,r){if(a(e,r)){var n=C(),i=s(e),o="action "+e.type+n;I(u,o,t),u.log("%c action","color: #03A9F4; font-weight: bold",i),A(u)}})))}}};t.a=N}).call(this,r("c8ba"))},"2f6c":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return a}));var n=r("ad67"),i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=Object.freeze({});function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,l=Array.isArray(e),u=[e],p=-1,d=[],f=void 0,h=void 0,m=void 0,g=[],v=[],b=e;do{var y=++p===u.length,w=y&&0!==d.length;if(y){if(h=0===v.length?void 0:g[g.length-1],f=m,m=v.pop(),w){if(l)f=f.slice();else{for(var x={},_=0,E=Object.keys(f);_{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},"35d6":function(e,t,r){"use strict";function n(e,t,r){!function(e,t){const r=t._injectedStyles||(t._injectedStyles={});for(var n=0;n{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},"41cc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44a2":function(e,t,r){"use strict";var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},4518:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return $})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return k})),r.d(t,"d",(function(){return z})),r.d(t,"e",(function(){return W})),r.d(t,"f",(function(){return Q})),r.d(t,"g",(function(){return N})),r.d(t,"h",(function(){return D})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return A})),r.d(t,"k",(function(){return S})),r.d(t,"l",(function(){return R})),r.d(t,"m",(function(){return T})),r.d(t,"n",(function(){return I})),r.d(t,"o",(function(){return C})),r.d(t,"p",(function(){return p})),r.d(t,"q",(function(){return Z})),r.d(t,"r",(function(){return _})),r.d(t,"s",(function(){return x})),r.d(t,"t",(function(){return h})),r.d(t,"u",(function(){return g})),r.d(t,"v",(function(){return m})),r.d(t,"w",(function(){return b})),r.d(t,"x",(function(){return K})),r.d(t,"y",(function(){return X})),r.d(t,"z",(function(){return ee})),r.d(t,"A",(function(){return re})),r.d(t,"B",(function(){return ne})),r.d(t,"C",(function(){return B})),r.d(t,"D",(function(){return V})),r.d(t,"E",(function(){return f})),r.d(t,"F",(function(){return w})),r.d(t,"G",(function(){return l})),r.d(t,"H",(function(){return v})),r.d(t,"I",(function(){return J}));var n=r("2f6c"),i=r("a957"),o=r("9ab4"),a=r("f71e"),s=r.n(a);function c(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return c(o,e.name,e.value,n)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return c(r,t,e,n),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a(17);e[t.value]=null}}function l(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return c(n,r,i,t)}))),p(e.name.value,n,r)}r("ab1d");var u=["connection","include","skip","client","rest","export"];function p(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach((function(e){o[e]=i[e]})),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var c=s()(t);a+="("+c+")"}return r&&Object.keys(r).forEach((function(e){-1===u.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)})),a}function d(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)})),r}return null}function f(e){return e.alias?e.alias.value:e.name.value}function h(e){return"Field"===e.kind}function m(e){return"InlineFragment"===e.kind}function g(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function v(e,t){return void 0===t&&(t=!1),Object(o.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function b(e){return null!=e&&"object"==typeof e&&"json"===e.type}function y(e,t){if(e.directives&&e.directives.length){var r={};return e.directives.forEach((function(e){r[e.name.value]=d(e,t)})),r}return null}function w(e,t){return void 0===t&&(t={}),function(e){return e?e.filter(E).map((function(e){var t=e.arguments;e.name.value,Object(i.b)(t&&1===t.length,14);var r=t[0];Object(i.b)(r.name&&"if"===r.name.value,15);var n=r.value;return Object(i.b)(n&&("Variable"===n.kind||"BooleanValue"===n.kind),16),{directive:e,ifArgument:r}})):[]}(e.directives).every((function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t[n.value.name.value],Object(i.b)(void 0!==o,13)):o=n.value.value,"skip"===r.name.value?!o:o}))}function x(e,t){return function(e){var t=[];return Object(n.b)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function _(e){return e&&x(["client"],e)&&x(["export"],e)}function E(e){var t=e.name.value;return"skip"===t||"include"===t}function S(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&n.push(e)})),void 0===r&&(Object(i.b)(1===n.length,12),r=n[0].name.value),Object(o.a)(Object(o.a)({},e),{definitions:Object(o.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=ae(t,n);for(var i=1;i{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return i(e,r,l);case">":return o(e,r,l);case">=":return a(e,r,l);case"<":return s(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError("Invalid operator: "+t)}}},"566a":function(e,t,r){const n=r("d1e2");e.exports=(e,t,r)=>n(e,t,">",r)},"59c8":function(e){e.exports=JSON.parse('{"getStarted":"Get Started","signIn":"Sign In","signUp":"Sign Up","signOut":"Sign Out","error":"Error","fixError":"Fix Error","closeLaunchpad":"Close Launchpad and continue to webGUI","learnMore":"Learn more","popUp":"Pop-up","backToPopUp":"Back to @:popUp","closePopUp":"Close @:popUp","close":"Close","contactSupport":"Contact Support","lanIp":"LAN IP {0}","continueToUnraid":"Continue to Unraid","year":"year","years":"years","month":"month","months":"months","day":"day","days":"days","hour":"hour","hours":"hours","minute":"minute","minutes":"minutes","second":"second","seconds":"seconds","ago":"ago","basicPlusPro":{"heading":"Thank you for choosing Unraid OS!","message":{"registered":"Get started by signing in to Unraid.net.","upgradeEligible":"To support more storage devices as your server grows, click Upgrade Key."}},"actions":{"purchase":"Purchase Key","upgrade":"Upgrade Key","recover":"Recover Key","replace":"Replace Key","replaceIneligible":"Replace Key Ineligible","extend":"Extend Trial","signOutUnraidNet":"Sign Out of Unraid.net"},"stateData":{"ENOKEYFILE":{"humanReadable":"No Keyfile","heading":{"registered":"Thanks for supporting Unraid!","notRegistered":"Let\'s unleash your hardware!"},"message":{"registered":"You are all set 👍","notRegistered":"Sign in or sign up to get started"}},"TRIAL":{"humanReadable":"Trial","heading":"Thank you for choosing Unraid OS!","message":"Your Trial key includes all the functionality and device support of a Pro key.
After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.
At that point you may either purchase a license key or request a Trial extension.
","_extraMsg":"You have {parsedExpireTime} remaining on your Trial key.
"},"EEXPIRED":{"humanReadable":"Trial Expired","heading":"Your Trial has expired","message":{"base":"To continue using Unraid OS you may purchase a license key.","extensionNotEligible":"You have used all your Trial extensions. @:stateData.EEXPIRED.message.base","extensionEligible":"@:stateData.EEXPIRED.message.base Alternately, you may request a Trial extension."}},"BASIC":{"humanReadable":"Basic"},"PLUS":{"humanReadable":"Plus"},"PRO":{"humanReadable":"Pro"},"EGUID":{"humanReadable":"GUID Error","error":{"heading":"Registration key / GUID mismatch","message":{"default":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key.","replacementIneligible":"Your Unraid registration key is ineligible for replacement as it has been replaced within the last 12 months.","replacementEligible":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key or Replace Key."}}},"ENOKEYFILE2":{"humanReadable":"Missing key file","error":{"heading":"@:stateData.ENOKEYFILE2.humanReadable","message":"It appears that your license key file is corrupted or missing. The key file should be located in the /config directory on your USB Flash boot device. If you do not have a backup copy of your license key file you may attempt to recover your key. If this was a Trial installation, you may purchase a license key."}},"ETRIAL":{"humanReadable":"Invalid installation","error":{"heading":"@:stateData.ETRIAL.humanReadable","message":"It is not possible to use a Trial key with an existing Unraid OS installation. You may purchase a license key corresponding to this USB Flash device to continue using this installation."}},"ENOKEYFILE1":{"humanReadable":"No Keyfile","error":{"heading":"No USB flash configuration data","message":"There is a problem with your USB Flash device"}},"ENOFLASH":{"humanReadable":"No Flash","error":{"heading":"Cannot access your USB Flash boot device","message":"There is a physical problem accessing your USB Flash boot device"}},"EGUID1":{"humanReadable":"Multiple License Keys Present","error":{"heading":"@:stateData.EGUID1.humanReadable","message":"There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device. Alternately you may purchase a license key for this USB flash device. If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first."}},"EBLACKLISTED":{"humanReadable":"BLACKLISTED","error":{"heading":"Blacklisted USB Flash GUID","message":"This USB Flash boot device has been blacklisted. This can occur as a result of transferring your license key to a replacement USB Flash device, and you are currently booted from your old USB Flash device. A USB Flash device may also be blacklisted if we discover the serial number is not unique – this is common with USB card readers."}},"EBLACKLISTED1":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash device error","message":"This USB Flash device has an invalid GUID. Please try a different USB Flash device"}},"EBLACKLISTED2":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash has no serial number","message":"@:stateData.EBLACKLISTED.error.message"}},"ENOCONN":{"humanReadable":"Trial Requires Internet Connection","error":{"heading":"Cannot validate Unraid Trial key","message":"Your Trial key requires an internet connection. Please check Settings > Network"}},"STALE":{"humanReadable":"Stale","error":{"heading":"Stale Server","message":"Please refresh the page to ensure you load your latest configuration"}}},"upc":{"avatarAlt":"{0}\'s Avatar","confirmClosure":"Confirm closure then continue to webGUI","closeDropdown":"Close dropdown","openDropdown":"Open dropdown","pleaseConfirmClosureYouHaveOpenPopUp":"Please confirm closure. You have an open pop-up.","trialHasExpiredSeeOptions":"Trial has expired, see options below","errorCertRequiresSignIn":"Sign In before your Unraid.net SSL certificate expires","noRemoteApikeyRegisteredWithPlg":{"heading":"My Servers Error","msg":"Unraid.net re-authentication required"},"errorTooManyDisks":{"heading":"Too many devices","msg":{"base":"You must upgrade your key to support more devices.","basic":"Your Basic key supports 6 devices.","plus":"Your Plus key supports 12 devices."}},"extraLinks":{"newTab":"Opens {0} in new tab","myServers":"My Servers Dashboard","forums":"Unraid Forums","settings":{"text":"Settings","title":"Settings > Management Access • Unraid.net"}},"meta":{"trial":{"active":{"date":"Trial key expires at {date}","timeDiff":"Trial expires in {timeDiff}"},"expired":{"date":"Trial key expired at {date}","timeDiff":"Trial expired {timeDiff}"}},"uptime":{"date":"Server up since {date}","readable":"Uptime {timeDiff}"}},"myServers":{"heading":"My Servers","beta":"beta","errors":{"unraidApi":{"heading":"Unraid API Error","message":"Failed to connect to Unraid API."},"myServers":{"heading":"My Servers Error","message":"Please wait a moment and reload the page."}},"closeDetails":"Close Details","loading":"Loading My Servers data","displayingLastKnown":"Displaying last known server data","mothership":{"connected":"Connected to Mothership","notConnected":"Not Connected to Mothership"},"accessLabels":{"current":"Current server","local":"Local access","offline":"Server Offline","remote":"Remote access","unavailable":"Access unavailable"}},"opensNewHttpsWindow":{"base":"Opens new HTTPS window to {0}","signIn":"@:upc.opensNewHttpsWindow.base @:signIn","signOut":"@:upc.opensNewHttpsWindow.base @:signOut","purchase":"@:upc.opensNewHttpsWindow.base @:actions.purchase","upgrade":"@:upc.opensNewHttpsWindow.base @:actions.upgrade"},"signInActions":{"resolve":"@:signIn to resolve","purchaseKey":"@:signIn to @:actions.purchase","purchaseKeyOrExtendTrial":"@:upc.signInActions.purchaseKey or @:actions.extend"}},"wanIpCheck":{"checking":"Checking Wan IPs","avatarAlt":"{0}\'s Avatar","match":"Remark: your WAN IPv4 is {0}","mismatch":"Remark: Unraid\'s WAN IPv4 {0} does not match your client\'s WAN IPv4 {1}. This may indicate a complex network that will not work with this Remote Access solution. Ignore this message if you are currently connected via Remote Access or VPN","resolveError":"DNS issue, unable to resolve wanip4.unraid.net"}}')},"5a0c":function(e,t,r){e.exports=function(){"use strict";var e=6e4,t=36e5,r="millisecond",n="second",i="minute",o="hour",a="day",s="week",c="month",l="quarter",u="year",p="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()e.replace(o,(e,t)=>t?t.toUpperCase():""),s=/\B([A-Z])/g,c=e=>e.replace(s,"-$1").toLowerCase();function l(e,t,r){e[t]=[].concat(e[t]||[]),e[t].unshift(r)}function u(e,t){if(e){(e.$options[t]||[]).forEach(t=>{t.call(e)})}}function p(e,t,{type:r}={}){if((e=>/function Boolean/.test(String(e)))(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if((e=>/function Number/.test(String(e)))(r)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function d(e,t){const r=[];for(let n=0,i=t.length;n(e[t]=u[r[n]],e),{}),l(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...r)=>(this.$root.$options.customElement.dispatchEvent(function(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}(t,r)),e.call(this,t,...r))})),l(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),s=!0}function h(e,t){const r=a(t),n=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[r]=p(n,t,o[r])}class m extends HTMLElement{constructor(){const r=super();r.attachShadow({mode:"open"});const n=r._wrapper=new e({name:"shadow-root",customElement:r,shadowRoot:r.shadowRoot,data:()=>({props:{},slotChildren:[]}),render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}});new MutationObserver(e=>{let t=!1;for(let n=0;n{e.props=function(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}(i),n.forEach(e=>{h(this,e)})};s?r():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),f(e),r()}),e.slotChildren=Object.freeze(d(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){u(this.vueComponent,"deactivated")}}return r||f(t),m};function g(e,t,r,n,i,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}r("24fb"),r("35d6");var v=r("2f62"),b=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function y(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var w=Array.isArray;function x(e){return null!==e&&"object"==typeof e}function _(e){return"boolean"==typeof e}function E(e){return"string"==typeof e}var S=Object.prototype.toString;function k(e){return"[object Object]"===S.call(e)}function O(e){return null==e}function T(e){return"function"==typeof e}function I(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=null,n=null;return 1===e.length?x(e[0])||w(e[0])?n=e[0]:"string"==typeof e[0]&&(r=e[0]):2===e.length&&("string"==typeof e[0]&&(r=e[0]),(x(e[1])||w(e[1]))&&(n=e[1])),{locale:r,params:n}}function A(e){return JSON.parse(JSON.stringify(e))}function C(e,t){return!!~e.indexOf(t)}var R=Object.prototype.hasOwnProperty;function N(e,t){return R.call(e,t)}function D(e){for(var t=arguments,r=Object(e),n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'")}(e[t]))})),e}var M={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var r=t.data,n=t.parent,i=t.props,o=t.slots,a=n.$i18n;if(a){var s=i.path,c=i.locale,l=i.places,u=o(),p=a.i(s,c,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||l?function(e,t){var r=t?function(e){return Array.isArray(e)?e.reduce(U,{}):Object.assign({},e)}(t):{};if(!e)return r;var n=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every($);return e.reduce(n?j:U,r)}(u.default,l):u),d=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return d?e(d,r,p):p}}};function j(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function U(e,t,r){return e[r]=t,e}function $(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var F,V={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var r=t.props,n=t.parent,i=t.data,o=n.$i18n;if(!o)return null;var a=null,s=null;E(r.format)?a=r.format:x(r.format)&&(r.format.key&&(a=r.format.key),s=Object.keys(r.format).reduce((function(e,t){var n;return C(b,t)?Object.assign({},e,((n={})[t]=r.format[t],n)):e}),null));var c=r.locale||o.locale,l=o._ntp(r.value,c,a,s),u=l.map((function(e,t){var r,n=i.scopedSlots&&i.scopedSlots[e.type];return n?n(((r={})[e.type]=e.value,r.index=t,r.parts=l,r)):e.value})),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?e(p,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},u):u}};function G(e,t,r){W(e,r)&&q(e,t,r)}function z(e,t,r,n){if(W(e,r)){var i=r.context.$i18n;(function(e,t){var r=t.context;return e._locale===r.$i18n.locale})(e,r)&&P(t.value,t.oldValue)&&P(e._localeMessage,i.getLocaleMessage(i.locale))||q(e,t,r)}}function B(e,t,r,n){if(r.context){var i=r.context.$i18n||{};t.modifiers.preserve||i.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else y("Vue instance does not exists in VNode context")}function W(e,t){var r=t.context;return r?!!r.$i18n||(y("VueI18n instance does not exists in Vue instance"),!1):(y("Vue instance does not exists in VNode context"),!1)}function q(e,t,r){var n,i,o=function(e){var t,r,n,i;return E(e)?t=e:k(e)&&(t=e.path,r=e.locale,n=e.args,i=e.choice),{path:t,locale:r,args:n,choice:i}}(t.value),a=o.path,s=o.locale,c=o.args,l=o.choice;if(a||s||c)if(a){var u=r.context;e._vt=e.textContent=null!=l?(n=u.$i18n).tc.apply(n,[a,l].concat(Q(s,c))):(i=u.$i18n).t.apply(i,[a].concat(Q(s,c))),e._locale=u.$i18n.locale,e._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else y("`path` is required in v-t directive");else y("value type not supported")}function Q(e,t){var r=[];return e&&r.push(e),t&&(Array.isArray(t)||k(t))&&r.push(t),r}function H(e,t){void 0===t&&(t={bridge:!1}),H.installed=!0,(F=e).version&&Number(F.version.split(".")[0]),function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[e,n.locale,n._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var i=this.$i18n;return i._tc.apply(i,[e,i.locale,i._getMessages(),this,t].concat(r))},e.prototype.$te=function(e,t){var r=this.$i18n;return r._te(e,r.locale,r._getMessages(),t)},e.prototype.$d=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).d.apply(t,[e].concat(r))},e.prototype.$n=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).n.apply(t,[e].concat(r))}}(F),F.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n){if(e.i18n instanceof ue){if(e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){t=D(t,JSON.parse(e))})),Object.keys(t).forEach((function(r){e.i18n.mergeLocaleMessage(r,t[r])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(k(e.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ue?this.$root.$i18n:null;if(r&&(e.i18n.root=this.$root,e.i18n.formatter=r.formatter,e.i18n.fallbackLocale=r.fallbackLocale,e.i18n.formatFallbackMessages=r.formatFallbackMessages,e.i18n.silentTranslationWarn=r.silentTranslationWarn,e.i18n.silentFallbackWarn=r.silentFallbackWarn,e.i18n.pluralizationRules=r.pluralizationRules,e.i18n.preserveDirectiveContent=r.preserveDirectiveContent),e.__i18n)try{var n=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){n=D(n,JSON.parse(e))})),e.i18n.messages=n}catch(e){}var i=e.i18n.sharedMessages;i&&k(i)&&(e.i18n.messages=D(e.i18n.messages,i)),this._i18n=new ue(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ue?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ue&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof ue||k(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ue||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ue)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),F.directive("t",{bind:G,update:z,unbind:B}),F.component(M.name,M),F.component(V.name,V),F.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var Y=function(){this._caches=Object.create(null)};Y.prototype.interpolate=function(e,t){if(!t)return[e];var r=this._caches[e];return r||(r=function(e){var t=[],r=0,n="";for(;r0)p--,u=4,d[0]();else{if(p=0,void 0===r)return!1;if(!1===(r=te(r)))return!1;d[1]()}};null!==u;)if(l++,"\\"!==(t=e[l])||!f()){if(i=ee(t),8===(o=(s=J[u])[i]||s.else||8))return;if(u=o[0],(a=d[o[1]])&&(n=void 0===(n=o[2])?t:n,!1===a()))return;if(7===u)return c}}(e))&&(this._cache[e]=t),t||[]},re.prototype.getPathValue=function(e,t){if(!x(e))return null;var r=this.parsePath(t);if(0===r.length)return null;for(var n=r.length,i=e,o=0;o/,oe=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,ae=/^@(?:\.([a-z]+))?:/,se=/[()]/g,ce={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},le=new Y,ue=function(e){var t=this;void 0===e&&(e={}),!F&&"undefined"!=typeof window&&window.Vue&&H(window.Vue);var r=e.locale||"en-US",n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),i=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||le,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new re,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,this.getChoiceIndex=function(e,r){var n=Object.getPrototypeOf(t);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(t,e,r);return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,r]):function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}(e,r)},this._exist=function(e,r){return!(!e||!r||O(t._path.getPathValue(e,r))&&!e[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])})),this._initVM({locale:r,fallbackLocale:n,messages:i,dateTimeFormats:o,numberFormats:a})},pe={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};ue.prototype._checkLocaleMessage=function(e,t,r){var n=function(e,t,r,i){if(k(r))Object.keys(r).forEach((function(o){var a=r[o];k(a)?(i.push(o),i.push("."),n(e,t,a,i),i.pop(),i.pop()):(i.push(o),n(e,t,a,i),i.pop())}));else if(w(r))r.forEach((function(r,o){k(r)?(i.push("["+o+"]"),i.push("."),n(e,t,r,i),i.pop(),i.pop()):(i.push("["+o+"]"),n(e,t,r,i),i.pop())}));else if(E(r)){if(ie.test(r)){var o="Detected HTML in message '"+r+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?y(o):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(o)}}};n(t,e,r,[])},ue.prototype._initVM=function(e){var t=F.config.silent;F.config.silent=!0,this._vm=new F({data:e,__VUE18N__INSTANCE__:!0}),F.config.silent=t},ue.prototype.destroyVM=function(){this._vm.$destroy()},ue.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},ue.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},ue.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(e._dataListeners),r=t.length;r--;)F.nextTick((function(){t[r]&&t[r].$forceUpdate()}))}),{deep:!0})},ue.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},ue.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},pe.vm.get=function(){return this._vm},pe.messages.get=function(){return A(this._getMessages())},pe.dateTimeFormats.get=function(){return A(this._getDateTimeFormats())},pe.numberFormats.get=function(){return A(this._getNumberFormats())},pe.availableLocales.get=function(){return Object.keys(this.messages).sort()},pe.locale.get=function(){return this._vm.locale},pe.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},pe.fallbackLocale.get=function(){return this._vm.fallbackLocale},pe.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},pe.formatFallbackMessages.get=function(){return this._formatFallbackMessages},pe.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},pe.missing.get=function(){return this._missing},pe.missing.set=function(e){this._missing=e},pe.formatter.get=function(){return this._formatter},pe.formatter.set=function(e){this._formatter=e},pe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},pe.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},pe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},pe.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},pe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},pe.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},pe.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},pe.warnHtmlInMessage.set=function(e){var t=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,r!==e&&("warn"===e||"error"===e)){var n=this._getMessages();Object.keys(n).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,n[e])}))}},pe.postTranslation.get=function(){return this._postTranslation},pe.postTranslation.set=function(e){this._postTranslation=e},pe.sync.get=function(){return this._sync},pe.sync.set=function(e){this._sync=e},ue.prototype._getMessages=function(){return this._vm.messages},ue.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},ue.prototype._getNumberFormats=function(){return this._vm.numberFormats},ue.prototype._warnDefault=function(e,t,r,n,i,o){if(!O(r))return r;if(this._missing){var a=this._missing.apply(null,[e,t,n,i]);if(E(a))return a}if(this._formatFallbackMessages){var s=I.apply(void 0,i);return this._render(t,o,s.params,t)}return t},ue.prototype._isFallbackRoot=function(e){return!e&&!O(this._root)&&this._fallbackRoot},ue.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},ue.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},ue.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},ue.prototype._interpolate=function(e,t,r,n,i,o,a){if(!t)return null;var s,c=this._path.getPathValue(t,r);if(w(c)||k(c))return c;if(O(c)){if(!k(t))return null;if(!E(s=t[r])&&!T(s))return null}else{if(!E(c)&&!T(c))return null;s=c}return E(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,n,"raw",o,a)),this._render(s,i,o,r)},ue.prototype._link=function(e,t,r,n,i,o,a){var s=r,c=s.match(oe);for(var l in c)if(c.hasOwnProperty(l)){var u=c[l],p=u.match(ae),d=p[0],f=p[1],h=u.replace(d,"").replace(se,"");if(C(a,h))return s;a.push(h);var m=this._interpolate(e,t,h,n,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,h,n,i,o)}m=this._warnDefault(e,h,m,n,w(o)?o:[o],i),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):ce.hasOwnProperty(f)&&(m=ce[f](m)),a.pop(),s=m?s.replace(u,m):s}return s},ue.prototype._createMessageContext=function(e,t,r,n){var i=this,o=w(e)?e:[],a=x(e)?e:{},s=this._getMessages(),c=this.locale;return{list:function(e){return o[e]},named:function(e){return a[e]},values:e,formatter:t,path:r,messages:s,locale:c,linked:function(e){return i._interpolate(c,s[c]||{},e,null,n,void 0,[e])}}},ue.prototype._render=function(e,t,r,n){if(T(e))return e(this._createMessageContext(r,this._formatter||le,n,t));var i=this._formatter.interpolate(e,r,n);return i||(i=le.interpolate(e,r,n)),"string"!==t||E(i)?i:i.join("")},ue.prototype._appendItemToChain=function(e,t,r){var n=!1;return C(e,t)||(n=!0,t&&(n="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),r&&r[t]&&(n=r[t]))),n},ue.prototype._appendLocaleToChain=function(e,t,r){var n,i=t.split("-");do{var o=i.join("-");n=this._appendItemToChain(e,o,r),i.splice(-1,1)}while(i.length&&!0===n);return n},ue.prototype._appendBlockToChain=function(e,t,r){for(var n=!0,i=0;i0;)o[a]=arguments[a+4];if(!e)return"";var s=I.apply(void 0,o);this._escapeParameterHtml&&(s.params=L(s.params));var c=s.locale||t,l=this._translate(r,c,this.fallbackLocale,e,n,"string",s.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[e].concat(o))}return l=this._warnDefault(c,e,l,n,o,"string"),this._postTranslation&&null!=l&&(l=this._postTranslation(l,e)),l},ue.prototype.t=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(r))},ue.prototype._i=function(e,t,r,n,i){var o=this._translate(r,t,this.fallbackLocale,e,n,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,i)}return this._warnDefault(t,e,o,n,[i],"raw")},ue.prototype.i=function(e,t,r){return e?(E(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,r)):""},ue.prototype._tc=function(e,t,r,n,i){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===i&&(i=1);var c={count:i,n:i},l=I.apply(void 0,a);return l.params=Object.assign(c,l.params),a=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((o=this)._t.apply(o,[e,t,r,n].concat(a)),i)},ue.prototype.fetchChoice=function(e,t){if(!e||!E(e))return null;var r=e.split("|");return r[t=this.getChoiceIndex(t,r.length)]?r[t].trim():e},ue.prototype.tc=function(e,t){for(var r,n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];return(r=this)._tc.apply(r,[e,this.locale,this._getMessages(),null,t].concat(n))},ue.prototype._te=function(e,t,r){for(var n=[],i=arguments.length-3;i-- >0;)n[i]=arguments[i+3];var o=I.apply(void 0,n).locale||t;return this._exist(r[o],e)},ue.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},ue.prototype.getLocaleMessage=function(e){return A(this._vm.messages[e]||{})},ue.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},ue.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,D(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},ue.prototype.getDateTimeFormat=function(e){return A(this._vm.dateTimeFormats[e]||{})},ue.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},ue.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,D(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},ue.prototype._clearDateTimeFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},ue.prototype._localizeDateTime=function(e,t,r,n,i){for(var o=t,a=n[o],s=this._getLocaleChain(t,r),c=0;c0;)t[r]=arguments[r+1];var n=this.locale,i=null;return 1===t.length?E(t[0])?i=t[0]:x(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(i=t[0].key)):2===t.length&&(E(t[0])&&(i=t[0]),E(t[1])&&(n=t[1])),this._d(e,n,i)},ue.prototype.getNumberFormat=function(e){return A(this._vm.numberFormats[e]||{})},ue.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},ue.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,D(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},ue.prototype._clearNumberFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},ue.prototype._getNumberFormatter=function(e,t,r,n,i,o){for(var a=t,s=n[a],c=this._getLocaleChain(t,r),l=0;l0;)t[r]=arguments[r+1];var n=this.locale,i=null,o=null;return 1===t.length?E(t[0])?i=t[0]:x(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(i=t[0].key),o=Object.keys(t[0]).reduce((function(e,r){var n;return C(b,r)?Object.assign({},e,((n={})[r]=t[0][r],n)):e}),null)):2===t.length&&(E(t[0])&&(i=t[0]),E(t[1])&&(n=t[1])),this._n(e,n,i,o)},ue.prototype._ntp=function(e,t,r,n){if(!ue.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t)).formatToParts(e);var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),o=i&&i.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,r,n)}return o||[]},Object.defineProperties(ue.prototype,pe),Object.defineProperty(ue,"availabilities",{get:function(){if(!ne){var e="undefined"!=typeof Intl;ne={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return ne}}),ue.install=H,ue.version="8.26.1";var de=ue;i.default.use(de);var fe=new de({locale:"en_US",fallbackLocale:"en_US",messages:function(){const e=r("4b3b"),t={};return e.keys().forEach(r=>{const n=r.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){const i=n[1];t[i]=e(r)}}),t}()});const he="production",me="https://registration.unraid.net",ge="https://unraid.net/preflight",ve=Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEV_GRAPH_URL||null,be=(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEV_APIKEY,{url:me,name:"UnraidRegistrationWizard",width:600,height:810}),ye={errorMessage:"",errorMessageSubtext:"",loading:!0,submissionFrom:null,darkMode:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"},csrf:null,postMessageError:null,isLaunchpadOpen:!1,triggerUPC:!1,ts:null,deviceCount:0,flashproduct:null,flashvendor:null,guid:"",regGuid:"",keyfile:null,servername:null,serverdesc:null,wanip:sessionStorage.getItem("upc_wanip")||null,site:null,wanFQDN:null,state:"",reggen:0,registered:null,internalip:null,internalport:null,protocol:null,license:"",expiretime:null,regWizTime:null,rawServerState:null,plgPath:null,guidRegistered:!1,guidValid:null,guidValidationRunning:!1,replaceable:null,guidForValidation:null,guidBlacklisted:null,id:null,isPopUpOpen:!1,popUpWindow:"",regAtOpen:null,forumaccount:null,userEmail:"",username:"",avatar:"",userPassword:"",apikey:"",ipsValidated:!1,accountAction:null,keyServerAction:"",licenseAction:null,receivedSuccessNewServerState:null,purchaseWindow:{url:new URL(ge),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},redeemWindow:{url:new URL(ge+"?r=1"),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},wizardWindow:be,signInPayload:{...be,url:be.url+"/#/sign-in"},signUpPayload:{...be,url:be.url+"/#/sign-up"},signOutPayload:{...be,url:be.url+"/#/sign-out",width:600,height:500},extendTrialPayload:{...be,url:be.url+"/#/extend-trial"},recoverKeyPayload:{...be,url:be.url+"/#/recover-key"},replaceKeyPayload:{...be,url:be.url+"/#/replace-key"},troubleshootPayload:{...be,url:be.url+"/#/troubleshoot"},locale:"en_US",messages:null,graphOnline:!1,myServers:[],myServersLoading:!1,myServersError:null,myServersEnv:null,apiVersion:"2.26.12",hideMyServers:!1,osVersion:null,plgVersion:null,hasRemoteApikey:null,config:null,hasUnraidNetSSL:!1,flashBackupEnabled:!1},we="GUID_NOT_RECEIVED",xe=!(!window.opener||window.opener===window),_e=xe?window.opener.parent:window.parent,Ee=[ge,me,"https://launchpad.unraid.test:8081","https://launchpad.unraid.test:6969","https://registration.unraid.net","https://registration-dev.unraid.net","https://unraid.net","https://staging.unraid.net","https://craft.unraid.test"],Se=e=>{try{return[null,JSON.parse(e)]}catch(e){return[e]}},ke={actions:[],humanReadable:"",heading:"",message:"",messageCenter:!1,error:!1,withKey:!1},Oe={...ke,humanReadable:fe.tc("stateData.ENOFLASH.humanReadable"),error:{heading:fe.tc("stateData.ENOFLASH.error.heading"),message:fe.tc("stateData.ENOFLASH.error.message"),signInToFix:!1}};let Te="";const Ie={statePhpPath:e=>`/plugins/${e.plgPath||"dynamix.unraid.net"}/include/state.php`,myServersCfgPath:e=>(e.plgPath||"Unraid.net")+"/myservers.cfg",requireGuidValidation:e=>!xe||e.guidRegistered,validApiKeyLength:e=>64===e.apikey.length,validApiKeyForUpc:e=>!!e.apikey&&e.apikey.startsWith("unupc_"),showExpiretime:e=>("TRIAL"===e.state||"EEXPIRED"===e.state)&&e.expiretime>0,trialExtensionEligible:e=>!(e.reggen&&!(e.reggen<2)),signedOutWithKey:(e,t)=>!(!t.stateData.withKey||e.registered),stateData:(e,t)=>{switch(e.state){case"ENOKEYFILE":return{...ke,actions:[e.registered?"signOut":"register"],humanReadable:fe.tc("stateData.ENOKEYFILE.humanReadable"),heading:e.registered?fe.tc("stateData.ENOKEYFILE.heading.registered"):fe.tc("stateData.ENOKEYFILE.heading.notRegistered"),message:e.registered?fe.tc("stateData.ENOKEYFILE.message.registered"):fe.tc("stateData.ENOKEYFILE.message.notRegistered"),messageCenter:!0};case"TRIAL":return{...ke,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered?"continueTrial":null],humanReadable:fe.tc("stateData.TRIAL.humanReadable"),heading:fe.tc("stateData.TRIAL.heading"),message:fe.tc("stateData.TRIAL.message"),withKey:!0};case"EEXPIRED":return{...ke,actions:[e.registered?"signOut":"register",e.registered&&t.trialExtensionEligible?"extend":null,e.registered?"purchase":null],humanReadable:fe.tc("stateData.EEXPIRED.humanReadable"),error:{heading:fe.tc("stateData.EEXPIRED.heading"),message:t.trialExtensionEligible?fe.tc("stateData.EEXPIRED.message.extensionEligible"):fe.tc("stateData.EEXPIRED.message.extensionNotEligible")},withKey:!0};case"BASIC":return{...ke,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"upgrade":null],humanReadable:fe.tc("stateData.BASIC.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?fe.tc("basicPlusPro.message.upgradeEligible"):"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PLUS":return{...ke,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"upgrade":null],humanReadable:fe.tc("stateData.PLUS.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?fe.tc("basicPlusPro.message.upgradeEligible"):"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PRO":return{...ke,actions:[e.registered?"signOut":"register",e.registered?"close":null],humanReadable:fe.tc("stateData.PRO.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"EGUID":return null===e.replaceable&&(Te=fe.tc("stateData.EGUID.error.message.replacementEligible")),e.replaceable&&(Te=fe.tc("stateData.EGUID.error.message.replacementEligible")),!1===e.replaceable&&e.guidBlacklisted&&(Te=fe.tc("stateData.EGUID.error.message.default")+'
Your Unraid registration key is ineligible for replacement as it is blacklisted.'),!1===e.replaceable&&!1===e.guidBlacklisted&&(Te=`${fe.tc("stateData.EGUID.error.message.default")}
${fe.tc("stateData.EGUID.error.message.replacementIneligible")}`),{...ke,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered?"replace":null],humanReadable:fe.tc("stateData.EGUID.humanReadable"),error:{heading:fe.tc("stateData.EGUID.error.heading"),message:Te,signInToFix:!0}};case"EGUID1":return{...ke,actions:[e.registered?"signOut":"register",e.registered?"purchase":null],humanReadable:fe.tc("stateData.EGUID1.humanReadable"),error:{heading:fe.tc("stateData.EGUID1.error.heading"),message:fe.tc("stateData.EGUID1.error.message"),signInToFix:!0}};case"ENOKEYFILE2":return{...ke,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered&&t.requireGuidValidation?"recover":null],humanReadable:fe.tc("stateData.ENOKEYFILE2.humanReadable"),error:{heading:fe.tc("stateData.ENOKEYFILE2.error.heading"),message:fe.tc("stateData.ENOKEYFILE2.error.message"),signInToFix:!0}};case"ETRIAL":return{...ke,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"purchase":null],humanReadable:fe.tc("stateData.ETRIAL.humanReadable"),error:{heading:fe.tc("stateData.ETRIAL.error.heading"),message:fe.tc("stateData.ETRIAL.error.message"),signInToFix:!0}};case"ENOKEYFILE1":return{...ke,humanReadable:fe.tc("stateData.ENOKEYFILE1.humanReadable"),error:{heading:fe.tc("stateData.ENOKEYFILE1.error.heading"),message:fe.tc("stateData.ENOKEYFILE1.error.message"),signInToFix:!1}};case"ENOFLASH":case"ENOFLASH1":case"ENOFLASH2":case"ENOFLASH3":case"ENOFLASH4":case"ENOFLASH5":case"ENOFLASH6":case"ENOFLASH7":return Oe;case"EBLACKLISTED":return{...ke,humanReadable:fe.tc("stateData.EBLACKLISTED.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED.error.heading"),message:fe.tc("stateData.EBLACKLISTED.error.message"),signInToFix:!1}};case"EBLACKLISTED1":return{...ke,humanReadable:fe.tc("stateData.EBLACKLISTED1.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED1.error.heading"),message:fe.tc("stateData.EBLACKLISTED1.error.message"),signInToFix:!1}};case"EBLACKLISTED2":return{...ke,humanReadable:fe.tc("stateData.EBLACKLISTED2.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED2.error.heading"),message:fe.tc("stateData.EBLACKLISTED2.error.message"),signInToFix:!1}};case"ENOCONN":return{...ke,humanReadable:fe.tc("stateData.ENOCONN.humanReadable"),error:{heading:fe.tc("stateData.ENOCONN.error.heading"),message:fe.tc("stateData.ENOCONN.error.message"),signInToFix:!1}};case"STALE":return{...ke,humanReadable:fe.tc("stateData.STALE.humanReadable"),error:{heading:fe.tc("stateData.STALE.error.heading"),message:fe.tc("stateData.STALE.error.message"),signInToFix:!1}};default:return{...ke}}},stateDataKeyActions:(e,t)=>!!(t.stateData.actions.includes("purchase")||t.stateData.actions.includes("upgrade")||t.stateData.actions.includes("recover")||t.stateData.actions.includes("replace")||t.stateData.actions.includes("extend")),keyTypeForPurchase:e=>{switch(e.state){case"BASIC":return"Basic";case"PLUS":return"Plus";case"PRO":return"Pro";default:return"Trial"}},isRemoteAccess:e=>e.wanFQDN||e.site&&e.site.includes("www.")&&e.site.includes("unraid.net"),noRemoteApikeyRegisteredWithPlg:e=>!(!e.registered||e.hideMyServers||"boolean"!=typeof e.hasRemoteApikey||e.hasRemoteApikey),errorTooManyDisks:e=>!(!e.config||e.config.valid||"INVALID"!==e.config.error),errorCertRequiresSignIn:(e,t)=>!(!(e.osVersion&&e.osVersion.includes("6.10.")&&e.hasUnraidNetSSL)||e.registered||t.stateData.error||"ENOKEYFILE"===e.state),server:(e,t)=>({guid:e.guid||we,regGuid:e.regGuid,guidRegistered:e.guidRegistered||e.regWizTime,guidValid:e.guidValid,hasRemoteApikey:e.hasRemoteApikey,regWizTime:e.regWizTime,keyfile:e.keyfile,keyTypeForPurchase:t.keyTypeForPurchase,flashproduct:e.flashproduct,flashvendor:e.flashvendor,servername:e.servername,serverdesc:e.serverdesc,internalip:e.internalip,site:e.site,wanFQDN:e.wanFQDN,state:e.state,internalport:e.internalport,protocol:e.protocol,registered:e.registered,reggen:e.reggen,userEmail:e.userEmail,expiretime:e.expiretime,ts:e.ts,locale:e.locale,deviceCount:e.deviceCount,plgPath:e.plgPath,plgVersion:e.plgVersion,osVersion:e.osVersion})};var Ae=r("786a"),Ce=r.n(Ae),Re=r("626e");const Ne=((e,t)=>{void 0===t&&(t={keys:[],values:[]});const r=t.keys,n=void 0===r?[]:r,i=t.values,o=void 0===i?[]:i,a=(e,t)=>{const r=Re.key(e)||Re.value(t),i=n.some(t=>t.test(e))||o.some(e=>e.test(t));return r||i};return{map:t=>Ce.a.default(t).map(t=>!!a((void 0).key,t)&&(void 0).update(e)),forEach:t=>{Ce.a.default(t).forEach(t=>{a((void 0).key,t)&&(void 0).update(e)})}}})("[REDACTED]",{keys:["guid"],values:[]}),De={...Object.fromEntries(Object.entries(console).map(([e,t])=>{if("debug"===e)return[e,()=>{}];if("function"==typeof method){const r=t.bind(console);return[e,(e,...t)=>t.length>=1?r(e,...t.map(e=>Ne.map(e))):r(e)]}return[e,t]}))},Pe={SET_APP_ERROR_MESSAGE(e,t){const[r,n]=Se(t);n&&!r||!t||(e.errorMessage=t),n||!1!==t&&""!==t||(e.errorMessage=""),n&&n.error&&(e.errorMessage=n.error),e.errorMessage&&De.error("[APP_ERROR]: %s",e.errorMessage)},SET_APP_ERROR_MESSAGE_SUBTEXT(e,t){e.errorMessageSubtext=t,e.errorMessageSubtext&&De.error("[APP_ERROR]: %s",e.errorMessageSubtext)},SET_LOADING_STATE(e,t){De.debug("[SET_LOADING_STATE]: %o",t),e.loading=t},SET_IS_LAUNCHPAD_OPEN(e,t){De.debug("[SET_IS_LAUNCHPAD_OPEN]: %o",t),e.isLaunchpadOpen=t},SET_STATE(e,t){De.debug("[SET_STATE]: %o",t),e.state=t},SET_CONFIG(e,t){De.debug("[SET_CONFIG]: %o",t),e.config=t},CHANGE_GUID_REGISTERED(e,t){De.debug("[CHANGE_GUID_REGISTERED]: %o",t),e.guidRegistered=t},CHANGE_GUID_VALID(e,t){De.debug("[CHANGE_GUID_VALID]: %o",t),e.guidValid=t},CHANGE_GUID_VALIDATION_RUNNING(e,t){De.debug("[CHANGE_GUID_VALIDATION_RUNNING]: %o",t),e.guidValidationRunning=t},CHANGE_GUID_FOR_VALIDATION(e,t){De.debug("[CHANGE_GUID_FOR_VALIDATION]: %o",t),e.guidForValidation=t},CHANGE_GUID_BLACKLISTED(e,t){De.debug("[CHANGE_GUID_BLACKLISTED]: %o",t),e.guidBlacklisted=t},CHANGE_REPLACEABLE(e,t){De.debug("[CHANGE_REPLACEABLE]: %o",t),e.replaceable=t},CHANGE_POP_UP_WINDOW(e,t){De.debug("[CHANGE_POP_UP_WINDOW]: %o",t),e.popUpWindow=t,e.isPopUpOpen=!!t,e.regAtOpen=null},STATE_AT_OPEN(e,t){e.regAtOpen=t},MUTATE_KEYSERVER_RESPONSE(e,t){De.debug("[MUTATE_KEYSERVER_RESPONSE]: %o",t),t.license&&(e.license=t.license),t.trial&&(e.keyfile=t.trial),t.apikey&&(e.apikey=t.apikey),t.validated&&(e.ipsValidated=t.validated),t.email&&(e.userEmail=t.email),t.password&&(e.userPassword=t.password),(t.action||t.keyServerAction)&&(e.keyServerAction=t.action||t.keyServerAction),t.username&&(e.username=t.username),t.avatar&&(e.avatar=t.avatar)},SET_TRIAL(e,t){De.debug("[SET_TRIAL]: %o",t),e.license=t.license,e.keyfile=t.trial,e.keyServerAction="extendTrial"},SET_USER_EMAIL(e,t){De.debug("[SET_USER_EMAIL]: %s",t),e.userEmail=t},SET_FULL_SERVER_STATE(e,t){if(De.debug("[SET_FULL_SERVER_STATE] start %o",t),!t)return De.error("[SET_FULL_SERVER_STATE] No state data…🤬");let r=t;return(r.registered||0===r.registered)&&(r.registered=Boolean(Number(r.registered))),(r.hasRemoteApikey||0===r.hasRemoteApikey)&&(r.hasRemoteApikey=Boolean(Number(r.hasRemoteApikey))),r.email&&(r={...r,userEmail:r.email},delete r.email),De.debug("[SET_FULL_SERVER_STATE] ✨ mutateData ✨ %o",{state:e,mutateData:r}),e=Object.assign(e,r),!0},SET_RAW_SERVER_STATE:(e,t)=>xe?(e.rawServerState=t,De.debug("[SET_RAW_SERVER_STATE] %o",t)):De.debug("[SET_RAW_SERVER_STATE] ❌ skipped not needed in non-pop-up ❌ %o",{CAN_POST_MESSAGE:xe}),SIGN_OUT(e){De.debug("[SIGN_OUT]: %s","✨"),e.registered=!1,e.license="",e.keyfile="",e.apikey="",e.ipsValidated=!1,e.userEmail="",e.userPassword="",e.username="",e.avatar=""},SUBMISSION_FROM(e,t){De.debug("[SUBMISSION_FROM]: %s",t),e.submissionFrom=t},SET_WANIP(e,t){De.debug("[SET_WANIP]: %s",t),e.wanip=t,sessionStorage.setItem("upc_wanip",t)},SET_SERVERDESC(e,t){De.debug("[SET_SERVERDESC]: %s",t),e.serverdesc=t},SET_SITE(e,t){De.debug("[SET_SITE]: %s",t),e.site=t},SET_CSRF(e,t){De.debug("[SET_CSRF]: %s",t),e.csrf=t},LICENSE_PINGBACK(e,t){De.debug("[LICENSE_PINGBACK]: %o",t),e.licenseAction=t},ACCOUNT_PINGBACK(e,t){De.debug("[ACCOUNT_PINGBACK]: %o",t),e.accountAction=t},RECEIVED_SUCCESS_NEW_SERVERSTATE(e,t){De.debug("[RECEIVED_SUCCESS_NEW_SERVERSTATE]: %o",t),e.receivedSuccessNewServerState=t},SET_UPTIME(e,t){De.debug("[SET_UPTIME]: %s",t),e.uptime=t},SET_EXPIRE_TIME(e,t){De.debug("[SET_EXPIRE_TIME]: %s",t),e.expiretime=t},SET_REGWIZ_TIME(e,t){De.debug("[SET_REGWIZ_TIME]: %s",t),e.regWizTime=t},CHANGE_GUID_FORUMACCOUNT(e,t){De.debug("[CHANGE_GUID_FORUMACCOUNT]: %s",t),e.forumaccount=t},SET_LOCALE(e,t){De.debug("[SET_LOCALE]: %s",t),e.locale=t},LOCALE_MESSAGES(e,t){const[r,n]=Se(decodeURIComponent(t));r?De.warn("[LOCALE_MESSAGES]: %o",r):(De.debug("[LOCALE_MESSAGES]: %o",n),e.messages=n)},SET_API_KEY(e,t){De.debug("[SET_API_KEY]: %s",t),e.apikey=t},SET_GRAPH_ONLINE(e,t){De.debug("[SET_GRAPH_ONLINE]: %o",t),e.graphOnline=t},SET_MY_SERVERS(e,t){De.debug("[SET_MY_SERVERS]: %o",t),e.myServers=[...t]},SET_MY_SERVERS_LOADING(e,t){De.debug("[SET_MY_SERVERS_LOADING]: %o",t),e.myServersLoading=t},SET_MY_SERVERS_ERROR(e,t){t?De.error("[myServersError]: %o",t):De.debug("[myServersError]",t),e.myServersError=t},SET_MY_SERVERS_ENV(e,t){De.debug("[SET_MY_SERVERS_ENV]: %o",t),e.myServersEnv=t},SET_MY_SERVERS_API_VERSION(e,t){De.debug("[SET_MY_SERVERS_API_VERSION]: %o",t),e.apiVersion=t},TRIGGER_UPC(e,t){De.debug("[TRIGGER_UPC]: %o",t),e.triggerUPC=t},SET_HIDE_MY_SERVERS(e,t){De.debug("[SET_HIDE_MY_SERVERS]: %o",t),e.hideMyServers=!!t},SET_PLG_PATH:(e,t)=>"dynamix.my.servers"!==t?De.warn("[SET_PLG_PATH] value not allowed",t):(De.debug("[SET_PLG_PATH]: %o",t),e.plgPath=t,!0),SET_POST_MESSAGE_ERROR(e,t){e.postMessageError=t,e.postMessageError&&De.error("[SET_POST_MESSAGE_ERROR]: %o",e.postMessageError)},SET_OWNER(e,t){De.debug("[SET_HIDE_MY_SERVERS]: %o",t),e.username=t.username,e.avatar=t.avatar,e.registered=!(!t.username||!t.avatar)}};var Le=function(){return(Le=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,Ue.a&&(e.prototype[Ue.a]=t)}function Fe(e){return(Fe="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)}function Ve(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index120){for(var d=Math.floor(c/80),f=c%80,h=[],m=0;m0||je(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||je(0,"column in locationOffset is 1-indexed and must be positive")};!function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}(Ye);var Ke=r("04b4"),Xe=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Je(){return this.lastToken=this.token,this.token=this.lookahead()}function Ze(){var e=this.token;if(e.kind!==Xe.EOF)do{e=e.next||(e.next=rt(this,e))}while(e.kind===Xe.COMMENT);return e}function et(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function tt(e){return isNaN(e)?Xe.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function rt(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new et(Xe.EOF,i,i,a,s,t);var c=n.charCodeAt(o);switch(c){case 33:return new et(Xe.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new et(Xe.COMMENT,t,s,r,n,i,a.slice(t+1,s))}(r,o,a,s,t);case 36:return new et(Xe.DOLLAR,o,o+1,a,s,t);case 38:return new et(Xe.AMP,o,o+1,a,s,t);case 40:return new et(Xe.PAREN_L,o,o+1,a,s,t);case 41:return new et(Xe.PAREN_R,o,o+1,a,s,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new et(Xe.SPREAD,o,o+3,a,s,t);break;case 58:return new et(Xe.COLON,o,o+1,a,s,t);case 61:return new et(Xe.EQUALS,o,o+1,a,s,t);case 64:return new et(Xe.AT,o,o+1,a,s,t);case 91:return new et(Xe.BRACKET_L,o,o+1,a,s,t);case 93:return new et(Xe.BRACKET_R,o,o+1,a,s,t);case 123:return new et(Xe.BRACE_L,o,o+1,a,s,t);case 124:return new et(Xe.PIPE,o,o+1,a,s,t);case 125:return new et(Xe.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,c=0;for(;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new et(Xe.NAME,t,s,r,n,i,o.slice(t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,c=t,l=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw Qe(e,c,"Invalid number, unexpected digit after 0: ".concat(tt(s),"."))}else c=nt(e,c,s),s=a.charCodeAt(c);if(46===s&&(l=!0,s=a.charCodeAt(++c),c=nt(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(l=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=nt(e,c,s),s=a.charCodeAt(c)),46===s||69===s||101===s)throw Qe(e,c,"Invalid number, expected digit but got: ".concat(tt(s),"."));return new et(l?Xe.FLOAT:Xe.INT,t,c,n,i,o,a.slice(t,c))}(r,o,c,a,s,t);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,c=s,l=0,u="";for(;s=48&&o<=57){do{o=n.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw Qe(e,i,"Invalid number, expected digit but got: ".concat(tt(o),"."))}function it(e,t,r,n){return ot(e)<<12|ot(t)<<8|ot(r)<<4|ot(n)}function ot(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}$e(et,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}));var at=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});var st=function(){function e(e,t){var r="string"==typeof e?new Ye(e):e;r instanceof Ye||je(0,"Must provide Source. Received: ".concat(Object(Me.a)(r))),this._lexer=function(e,t){var r=new et(Xe.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:r,token:r,line:1,lineStart:0,advance:Je,lookahead:Ze}}(r),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Xe.NAME);return{kind:He.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:He.a.DOCUMENT,definitions:this.many(Xe.SOF,this.parseDefinition,Xe.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Xe.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Xe.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Xe.BRACE_L))return{kind:He.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(Xe.NAME)&&(t=this.parseName()),{kind:He.a.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Xe.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Xe.PAREN_L,this.parseVariableDefinition,Xe.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:He.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Xe.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Xe.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Xe.DOLLAR),{kind:He.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:He.a.SELECTION_SET,selections:this.many(Xe.BRACE_L,this.parseSelection,Xe.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Xe.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(Xe.COLON)?(e=n,t=this.parseName()):t=n,{kind:He.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Xe.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Xe.PAREN_L,t,Xe.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Xe.COLON),{kind:He.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:He.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(Xe.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Xe.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Xe.NAME)?{kind:He.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:He.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:He.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:He.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Xe.BRACKET_L:return this.parseList(e);case Xe.BRACE_L:return this.parseObject(e);case Xe.INT:return this._lexer.advance(),{kind:He.a.INT,value:t.value,loc:this.loc(t)};case Xe.FLOAT:return this._lexer.advance(),{kind:He.a.FLOAT,value:t.value,loc:this.loc(t)};case Xe.STRING:case Xe.BLOCK_STRING:return this.parseStringLiteral();case Xe.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:He.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:He.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:He.a.ENUM,value:t.value,loc:this.loc(t)});case Xe.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:He.a.STRING,value:e.value,block:e.kind===Xe.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:He.a.LIST,values:this.any(Xe.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Xe.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:He.a.OBJECT,fields:this.any(Xe.BRACE_L,(function(){return t.parseObjectField(e)}),Xe.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(Xe.COLON),{kind:He.a.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Xe.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Xe.AT),{kind:He.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Xe.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Xe.BRACKET_R),e={kind:He.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Xe.BANG)?{kind:He.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:He.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Xe.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Xe.STRING)||this.peek(Xe.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.many(Xe.BRACE_L,this.parseOperationTypeDefinition,Xe.BRACE_R);return{kind:He.a.SCHEMA_DEFINITION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Xe.COLON);var r=this.parseNamedType();return{kind:He.a.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:He.a.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:He.a.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(Xe.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(Xe.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(Xe.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(Xe.BRACE_L)&&this._lexer.lookahead().kind===Xe.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Xe.BRACE_L,this.parseFieldDefinition,Xe.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(Xe.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:He.a.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Xe.PAREN_L,this.parseInputValueDef,Xe.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(Xe.COLON);var n,i=this.parseTypeReference();this.expectOptionalToken(Xe.EQUALS)&&(n=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:He.a.INPUT_VALUE_DEFINITION,description:t,name:r,type:i,defaultValue:n,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:He.a.INTERFACE_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:He.a.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(Xe.EQUALS)){this.expectOptionalToken(Xe.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(Xe.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:He.a.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Xe.BRACE_L,this.parseEnumValueDefinition,Xe.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:He.a.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:He.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Xe.BRACE_L,this.parseInputValueDef,Xe.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Xe.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(Xe.BRACE_L,this.parseOperationTypeDefinition,Xe.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:He.a.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:He.a.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:He.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:He.a.INTERFACE_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:He.a.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:He.a.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:He.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Xe.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:He.a.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(Xe.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(Xe.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==at[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new ct(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Qe(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(lt(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Xe.NAME||t.value!==e)throw Qe(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(lt(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Xe.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return Qe(this._lexer.source,t.start,"Unexpected ".concat(lt(t)))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},e}();function ct(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function lt(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}$e(ct,(function(){return{start:this.start,end:this.end}}));var ut=new Map,pt=new Map,dt=!0,ft=!1;function ht(e){return e.replace(/[\s,]+/g," ").trim()}function mt(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=function(e){return ht(e.source.body.substring(e.start,e.end))}(e.loc),o=pt.get(n);o&&!o.has(i)?dt&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||pt.set(n,o=new Set),o.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e)})),Le(Le({},e),{definitions:r})}function gt(e){var t=ht(e);if(!ut.has(t)){var r=function(e,t){return new st(e,t).parseDocument()}(e,{experimentalFragmentVariables:ft});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");ut.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(mt(r)))}return ut.get(t)}function vt(e){for(var t=[],r=1;r0}var Bt,Wt=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||function(e){var t="";return zt(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"})),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(_t.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(Bt||(Bt={}));var qt=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o;var s=Object(Et.m)(n.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=r,a}return Object(_t.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:Ut.error}}var t,r=this.queryManager.getCurrentQueryResult(this),n=r.data,i=r.partial,o=this.queryManager.queryStore.get(this.queryId),a=this.options.fetchPolicy,s="network-only"===a||"no-cache"===a;if(o){var c=o.networkStatus;if(function(e,t){return void 0===t&&(t="none"),e&&(e.networkError||"none"===t&&zt(e.graphQLErrors))}(o,this.options.errorPolicy))return{data:void 0,loading:!1,networkStatus:c,error:new Wt({graphQLErrors:o.graphQLErrors,networkError:o.networkError})};o.variables&&(this.options.variables=Object(_t.a)(Object(_t.a)({},this.options.variables),o.variables),this.variables=this.options.variables),t={data:n,loading:Vt(c),networkStatus:c},o.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=o.graphQLErrors)}else{var l=s||i&&"cache-only"!==a;t={data:n,loading:l,networkStatus:l?Ut.loading:Ut.ready}}return i||this.updateLastResult(Object(_t.a)(Object(_t.a)({},t),{stale:!1})),Object(_t.a)(Object(_t.a)({},t),{partial:i})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(St.a)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new Tt.a(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),Object(St.a)(this.variables,e)||(this.variables=Object(_t.a)(Object(_t.a)({},this.variables),e)),Object(St.a)(this.options.variables,this.variables)||(this.options.variables=Object(_t.a)(Object(_t.a)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(_t.a)(Object(_t.a)({},this.options),{fetchPolicy:t}),Bt.refetch))},t.prototype.fetchMore=function(e){var t=this;Object(Tt.b)(e.updateQuery,2);var r=Object(_t.a)(Object(_t.a)({},e.query?e:Object(_t.a)(Object(_t.a)(Object(_t.a)({},this.options),e),{variables:Object(_t.a)(Object(_t.a)({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),n=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(n,r,Bt.normal,this.queryId).then((function(i){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:i.data,variables:r.variables})})),t.queryManager.stopQuery(n),i}),(function(e){throw t.queryManager.stopQuery(n),e}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=Object(_t.a)(Object(_t.a)({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r=e.fetchPolicy;return this.setVariables(this.options.variables,t!==r&&("cache-only"===t||"standby"===t||"network-only"===r),e.fetchResults)},t.prototype.setVariables=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1,e=e||this.variables,!t&&Object(St.a)(e,this.variables)?this.observers.size&&r?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.getQueryWithPreviousResult(this.queryId),n=r.previousResult,i=r.variables,o=r.document,a=Object(Et.I)((function(){return e(n,{variables:i})}));a&&(t.dataStore.markUpdateQueryResult(o,i,a),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){Yt(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(Et.f)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var r=e._subscription._observer;r&&!r.error&&(r.error=Qt)}catch(e){}var n=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),n&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,r=this.queryId;this.shouldSubscribe&&t.addObservableQuery(r,this),this.options.pollInterval&&(Yt(this),t.startPollingQuery(this.options,r));var n=function(t){e.updateLastResult(Object(_t.a)(Object(_t.a)({},e.lastResult),{errors:t.graphQLErrors,networkStatus:Ut.error,loading:!1})),Ht(e.observers,"error",e.lastError=t)};t.observeQuery(r,this.options,{next:function(r){if(e.lastError||e.isDifferentFromLastResult(r)){var n=e.updateLastResult(r),i=e.options,o=i.query,a=i.variables,s=i.fetchPolicy;t.transform(o).hasClientExports?t.getLocalState().addExportedVariables(o,a).then((function(i){var a=e.variables;e.variables=e.options.variables=i,!r.loading&&n&&"cache-only"!==s&&t.transform(o).serverQuery&&!Object(St.a)(a,i)?e.refetch():Ht(e.observers,"next",r)})):Ht(e.observers,"next",r)}},error:n}).catch(n)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(Gt);function Qt(e){}function Ht(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function Yt(e){var t=e.options.fetchPolicy;Object(Tt.b)("cache-first"!==t&&"cache-only"!==t,3)}var Kt=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),Xt=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];Object(Tt.b)(!t||t.document===e.document||Object(St.a)(t.document,e.document),19);var r,n=!1,i=null;e.storePreviousVariables&&t&&t.networkStatus!==Ut.loading&&(Object(St.a)(t.variables,e.variables)||(n=!0,i=t.variables)),r=n?Ut.setVariables:e.isPoll?Ut.poll:e.isRefetch?Ut.refetch:Ut.loading;var o=[];t&&t.graphQLErrors&&(o=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:i,networkError:null,graphQLErrors:o,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=Ut.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=zt(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=Ut.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=Ut.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=Ut.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){var r=this.store&&this.store[e];r&&(r.networkError=null,r.previousVariables=null,t&&(r.networkStatus=Ut.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(r){e.indexOf(r)<0?t.stopQuery(r):t.store[r].networkStatus=Ut.loading}))},e}();var Jt=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(Et.A)(t.resolvers,e)})):this.resolvers=Object(Et.A)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return Object(_t.b)(this,void 0,void 0,(function(){return Object(_t.d)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then((function(e){return Object(_t.a)(Object(_t.a)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(Et.s)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(Et.C)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(_t.a)(Object(_t.a)({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(Tt.b)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(_t.b)(this,void 0,void 0,(function(){return Object(_t.d)(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return Object(_t.a)(Object(_t.a)({},t),e.exportedVariables)}))]:[2,Object(_t.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(Ft.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return Ft.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(Et.d)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,i,o){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),Object(_t.b)(this,void 0,void 0,(function(){var a,s,c,l,u,p,d,f,h;return Object(_t.d)(this,(function(m){return a=Object(Et.l)(e),s=Object(Et.j)(e),c=Object(Et.g)(s),l=a.operation,u=l?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(l):"Query",d=(p=this).cache,f=p.client,h={fragmentMap:c,context:Object(_t.a)(Object(_t.a)({},r),{cache:d,client:f}),variables:n,fragmentMatcher:i,defaultOperationType:u,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return Object(_t.b)(this,void 0,void 0,(function(){var n,i,o,a,s,c=this;return Object(_t.d)(this,(function(l){return n=r.fragmentMap,i=r.context,o=r.variables,a=[t],s=function(e){return Object(_t.b)(c,void 0,void 0,(function(){var s,c;return Object(_t.d)(this,(function(l){return Object(Et.F)(e,o)?Object(Et.t)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;void 0!==t&&a.push(((r={})[Object(Et.E)(e)]=t,r))}))]:(Object(Et.v)(e)?s=e:(s=n[e.name.value],Object(Tt.b)(s,7)),s&&s.typeCondition&&(c=s.typeCondition.name.value,r.fragmentMatcher(t,c,i))?[2,this.resolveSelectionSet(s.selectionSet,t,r).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return Object(Et.B)(a)}))]}))}))},e.prototype.resolveField=function(e,t,r){return Object(_t.b)(this,void 0,void 0,(function(){var n,i,o,a,s,c,l,u,p,d=this;return Object(_t.d)(this,(function(f){return n=r.variables,i=e.name.value,o=Object(Et.E)(e),a=i!==o,s=t[o]||t[i],c=Promise.resolve(s),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=t.__typename||r.defaultOperationType,(u=this.resolvers&&this.resolvers[l])&&((p=u[a?i:o])&&(c=Promise.resolve(p(t,Object(Et.b)(e,n),r.context,{field:e,fragmentMap:r.fragmentMap}))))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}();function Zt(e){var t=new Set,r=null;return new Gt((function(n){return t.add(n),r=r||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(n)&&!t.size&&r&&(r.unsubscribe(),r=null)}}))}var er=Object.prototype.hasOwnProperty,tr=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,s=e.ssrMode,c=void 0!==s&&s,l=e.clientAwareness,u=void 0===l?{}:l,p=e.localState,d=e.assumeImmutableResults;this.mutationStore=new Kt,this.queryStore=new Xt,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(Et.e?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=u,this.localState=p||new Jt({cache:i.getCache()}),this.ssrMode=c,this.assumeImmutableResults=!!d}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.fetchQueryRejectFns.forEach((function(e){e(new Tt.a(8))}))},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,n=e.optimisticResponse,i=e.updateQueries,o=e.refetchQueries,a=void 0===o?[]:o,s=e.awaitRefetchQueries,c=void 0!==s&&s,l=e.update,u=e.errorPolicy,p=void 0===u?"none":u,d=e.fetchPolicy,f=e.context,h=void 0===f?{}:f;return Object(_t.b)(this,void 0,void 0,(function(){var e,o,s,u=this;return Object(_t.d)(this,(function(f){switch(f.label){case 0:return Object(Tt.b)(t,9),Object(Tt.b)(!d||"no-cache"===d,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,h)]:[3,2];case 1:r=f.sent(),f.label=2;case 2:return o=function(){var e={};return i&&u.queries.forEach((function(t,r){var n=t.observableQuery;if(n){var o=n.queryName;o&&er.call(i,o)&&(e[r]={updater:i[o],query:u.queryStore.get(r)})}})),e},this.mutationStore.initMutation(e,t,r),this.dataStore.markMutationInit({mutationId:e,document:t,variables:r,updateQueries:o(),update:l,optimisticResponse:n}),this.broadcastQueries(),s=this,[2,new Promise((function(i,u){var f,m;s.getObservableFromLink(t,Object(_t.a)(Object(_t.a)({},h),{optimisticResponse:n}),r,!1).subscribe({next:function(n){Object(Et.q)(n)&&"none"===p?m=new Wt({graphQLErrors:n.errors}):(s.mutationStore.markMutationResult(e),"no-cache"!==d&&s.dataStore.markMutationResult({mutationId:e,result:n,document:t,variables:r,updateQueries:o(),update:l}),f=n)},error:function(t){s.mutationStore.markMutationError(e,t),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),s.setQuery(e,(function(){return{document:null}})),u(new Wt({networkError:t}))},complete:function(){if(m&&s.mutationStore.markMutationError(e,m),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),m)u(m);else{"function"==typeof a&&(a=a(f));var t=[];zt(a)&&a.forEach((function(e){if("string"==typeof e)s.queries.forEach((function(r){var n=r.observableQuery;n&&n.queryName===e&&t.push(n.refetch())}));else{var r={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(r.context=e.context),t.push(s.query(r))}})),Promise.all(c?t:[]).then((function(){s.setQuery(e,(function(){return{document:null}})),"ignore"===p&&f&&Object(Et.q)(f)&&delete f.errors,i(f)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,r,n){return Object(_t.b)(this,void 0,void 0,(function(){var i,o,a,s,c,l,u,p,d,f,h,m,g,v,b,y,w,x,_=this;return Object(_t.d)(this,(function(E){switch(E.label){case 0:return i=t.metadata,o=void 0===i?null:i,a=t.fetchPolicy,s=void 0===a?"cache-first":a,c=t.context,l=void 0===c?{}:c,u=this.transform(t.query).document,p=this.getVariables(u,t.variables),this.transform(u).hasClientExports?[4,this.localState.addExportedVariables(u,p,l)]:[3,2];case 1:p=E.sent(),E.label=2;case 2:if(t=Object(_t.a)(Object(_t.a)({},t),{variables:p}),h=f="network-only"===s||"no-cache"===s,f||(m=this.dataStore.getCache().diff({query:u,variables:p,returnPartialData:!0,optimistic:!1}),g=m.complete,v=m.result,h=!g||"cache-and-network"===s,d=v),b=h&&"cache-only"!==s&&"standby"!==s,Object(Et.s)(["live"],u)&&(b=!0),y=this.idCounter++,w="no-cache"!==s?this.updateQueryWatch(e,u,t):void 0,this.setQuery(e,(function(){return{document:u,lastRequestId:y,invalidated:!0,cancel:w}})),this.invalidate(n),this.queryStore.initQuery({queryId:e,document:u,storePreviousVariables:b,variables:p,isPoll:r===Bt.poll,isRefetch:r===Bt.refetch,metadata:o,fetchMoreForQueryId:n}),this.broadcastQueries(),b){if(x=this.fetchRequest({requestId:y,queryId:e,document:u,options:t,fetchMoreForQueryId:n}).catch((function(t){throw function(e){return e.hasOwnProperty("graphQLErrors")}(t)?t:(y>=_.getQuery(e).lastRequestId&&(_.queryStore.markQueryError(e,t,n),_.invalidate(e),_.invalidate(n),_.broadcastQueries()),new Wt({networkError:t}))})),"cache-and-network"!==s)return[2,x];x.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!b),this.invalidate(e),this.invalidate(n),this.transform(u).hasForcedResolvers?[2,this.localState.runResolvers({document:u,remoteResult:{data:d},context:l,variables:p,onlyRunForcedResolvers:!0}).then((function(r){return _.markQueryResult(e,r,t,n),_.broadcastQueries(),r}))]:(this.broadcastQueries(),[2,{data:d}])}}))}))},e.prototype.markQueryResult=function(e,t,r,n){var i=r.fetchPolicy,o=r.variables,a=r.errorPolicy;"no-cache"===i?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,o,n,"ignore"===a||"all"===a)},e.prototype.queryListenerForObserver=function(e,t,r){var n=this;function i(e,t){if(r[e])try{r[e](t)}catch(e){}}return function(r,o){if(n.invalidate(e,!1),r){var a=n.getQuery(e),s=a.observableQuery,c=a.document,l=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==l){var u=Vt(r.networkStatus),p=s&&s.getLastResult(),d=!(!p||p.networkStatus===r.networkStatus),f=t.returnPartialData||!o&&r.previousVariables||d&&t.notifyOnNetworkStatusChange||"cache-only"===l||"cache-and-network"===l;if(!u||f){var h=zt(r.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||r.networkError)return i("error",new Wt({graphQLErrors:r.graphQLErrors,networkError:r.networkError}));try{var g=void 0,v=void 0;if(o)"no-cache"!==l&&"network-only"!==l&&n.setQuery(e,(function(){return{newData:null}})),g=o.result,v=!o.complete;else{var b=s&&s.getLastError(),y="none"!==m&&(b&&b.graphQLErrors)!==r.graphQLErrors;if(p&&p.data&&!y)g=p.data,v=!1;else{var w=n.dataStore.getCache().diff({query:c,variables:r.previousVariables||r.variables,returnPartialData:!0,optimistic:!0});g=w.result,v=!w.complete}}var x=v&&!(t.returnPartialData||"cache-only"===l),_={data:x?p&&p.data:g,loading:u,networkStatus:r.networkStatus,stale:x};"all"===m&&h&&(_.errors=r.graphQLErrors),i("next",_)}catch(e){i("error",new Wt({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.dataStore.getCache(),n=r.transformDocument(e),i=Object(Et.D)(r.transformForLink(n)),o=this.localState.clientQuery(n),a=this.localState.serverQuery(i),s={document:n,hasClientExports:Object(Et.r)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:o,serverQuery:a,defaultVars:Object(Et.h)(Object(Et.m)(n))},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(n),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(_t.a)(Object(_t.a)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(Tt.b)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=Object(_t.a)({},e);return new qt({queryManager:this,options:r,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(Tt.b)(e.query,12),Object(Tt.b)("Document"===e.query.kind,13),Object(Tt.b)(!e.returnPartialData,14),Object(Tt.b)(!e.pollInterval,15),new Promise((function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Tt.a(16))}));var e=[];return this.queries.forEach((function(t,r){t.observableQuery&&e.push(r)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(i)}})),this.broadcastQueries(),Promise.all(r)},e.prototype.observeQuery=function(e,t,r){return this.addQueryListener(e,this.queryListenerForObserver(e,t,r)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.variables;r=this.transform(r).document,i=this.getVariables(r,i);var o=function(e){return t.getObservableFromLink(r,{},e,!1).map((function(i){if(n&&"no-cache"===n||(t.dataStore.markSubscriptionResult(i,r,e),t.broadcastQueries()),Object(Et.q)(i))throw new Wt({graphQLErrors:i.errors});return i}))};if(this.transform(r).hasClientExports){var a=this.localState.addExportedVariables(r,i).then(o);return new Gt((function(e){var t=null;return a.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return o(i)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=r.returnPartialData,s=e.getLastResult(),c=this.getQuery(e.queryId).newData;if(c&&c.complete)return{data:c.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};var l=this.dataStore.getCache().diff({query:i,variables:n,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),u=l.result,p=l.complete;return{data:p||a?u:void 0,partial:!p}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(Tt.b)(r,17),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,r){t.invalidated&&t.listeners.forEach((function(n){n&&n(e.queryStore.get(r),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var i,o=this;void 0===n&&(n=this.queryDeduplication);var a=this.transform(e).serverQuery;if(a){var s=this.inFlightLinkObservables,c=this.link,l={query:a,variables:r,operationName:Object(Et.n)(a)||void 0,context:this.prepareContext(Object(_t.a)(Object(_t.a)({},t),{forceFetch:!n}))};if(t=l.context,n){var u=s.get(a)||new Map;s.set(a,u);var p=JSON.stringify(r);if(!(i=u.get(p))){u.set(p,i=Zt(jt(c,l)));var d=function(){u.delete(p),u.size||s.delete(a),f.unsubscribe()},f=i.subscribe({next:d,error:d,complete:d})}}else i=Zt(jt(c,l))}else i=Gt.of({data:{}}),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(i=function(e,t){return new Gt((function(r){var n=r.next,i=r.error,o=r.complete,a=0,s=!1,c={next:function(e){++a,new Promise((function(r){r(t(e))})).then((function(e){--a,n&&n.call(r,e),s&&c.complete()}),(function(e){--a,i&&i.call(r,e)}))},error:function(e){i&&i.call(r,e)},complete:function(){s=!0,a||o&&o.call(r)}},l=e.subscribe(c);return function(){return l.unsubscribe()}}))}(i,(function(e){return o.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})}))),i},e.prototype.fetchRequest=function(e){var t,r,n=this,i=e.requestId,o=e.queryId,a=e.document,s=e.options,c=e.fetchMoreForQueryId,l=s.variables,u=s.errorPolicy,p=void 0===u?"none":u,d=s.fetchPolicy;return new Promise((function(e,u){var f=n.getObservableFromLink(a,s.context,l),h="fetchRequest:"+o;n.fetchQueryRejectFns.set(h,u);var m=function(){n.fetchQueryRejectFns.delete(h),n.setQuery(o,(function(e){e.subscriptions.delete(g)}))},g=f.map((function(e){if(i>=n.getQuery(o).lastRequestId&&(n.markQueryResult(o,e,s,c),n.queryStore.markQueryResult(o,e,c),n.invalidate(o),n.invalidate(c),n.broadcastQueries()),"none"===p&&zt(e.errors))return u(new Wt({graphQLErrors:e.errors}));if("all"===p&&(r=e.errors),c||"no-cache"===d)t=e.data;else{var f=n.dataStore.getCache().diff({variables:l,query:a,optimistic:!1,returnPartialData:!0}),h=f.result;(f.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){m(),u(e)},complete:function(){m(),e({data:t,errors:r,loading:!1,networkStatus:Ut.ready,stale:!1})}});n.setQuery(o,(function(e){e.subscriptions.add(g)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),n=Object(_t.a)(Object(_t.a)({},r),t(r));this.queries.set(e,n)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(_t.a)(Object(_t.a)({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==Ut.ready&&t.networkStatus!==Ut.error},e.prototype.startPollingQuery=function(e,t,r){var n=this,i=e.pollInterval;if(Object(Tt.b)(i,18),!this.ssrMode){var o=this.pollingInfoByQueryId.get(t);o||this.pollingInfoByQueryId.set(t,o={}),o.interval=i,o.options=Object(_t.a)(Object(_t.a)({},e),{fetchPolicy:"network-only"});var a=function(){var e=n.pollingInfoByQueryId.get(t);e&&(n.checkInFlight(t)?s():n.fetchQuery(t,e.options,Bt.poll).then(s,s))},s=function(){var e=n.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};r&&this.addQueryListener(t,r),s()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),rr=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,i){void 0===i&&(i=!1);var o=!Object(Et.q)(e);i&&Object(Et.q)(e)&&e.data&&(o=!0),!n&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(Et.q)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t,r=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(n){var i=r.cache;r.cache=n;try{r.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{r.cache=i}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!Object(Et.q)(e.result)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],n=e.updateQueries;n&&Object.keys(n).forEach((function(i){var o=n[i],a=o.query,s=o.updater,c=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),l=c.result;if(c.complete){var u=Object(Et.I)((function(){return s(l,{mutationResult:e.result,queryName:Object(Et.n)(a.document)||void 0,queryVariables:a.variables})}));u&&r.push({result:u,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}})),this.cache.performTransaction((function(t){r.forEach((function(e){return t.write(e)}));var n=e.update;n&&Object(Et.I)((function(){return n(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),nr=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.cache,n=e.ssrMode,i=void 0!==n&&n,o=e.ssrForceFetchDelay,a=void 0===o?0:o,s=e.connectToDevTools,c=e.queryDeduplication,l=void 0===c||c,u=e.defaultOptions,p=e.assumeImmutableResults,d=void 0!==p&&p,f=e.resolvers,h=e.typeDefs,m=e.fragmentMatcher,g=e.name,v=e.version,b=e.link;if(!b&&f&&(b=Mt.empty()),!b||!r)throw new Tt.a(4);this.link=b,this.cache=r,this.store=new rr(r),this.disableNetworkFetches=i||a>0,this.queryDeduplication=l,this.defaultOptions=u||{},this.typeDefs=h,a&&setTimeout((function(){return t.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==s&&(s&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new Jt({cache:r,client:this,resolvers:f,fragmentMatcher:m}),this.queryManager=new tr({link:this.link,store:this.store,queryDeduplication:l,ssrMode:i,clientAwareness:{name:g,version:v},localState:this.localState,assumeImmutableResults:d,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(_t.a)(Object(_t.a)({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(_t.a)(Object(_t.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(_t.a)(Object(_t.a)({},this.defaultOptions.query),e)),Object(Tt.b)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(_t.a)(Object(_t.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(_t.a)(Object(_t.a)({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return jt(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();var ir=r("7506"),or={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},ar=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},sr=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=new Tt.a(2);throw n.parseError=e,n}return r},cr=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.includeExtensions,o=e.useGETForQueries,a=Object(_t.e)(e,["uri","fetch","includeExtensions","useGETForQueries"]);(function(e){if(!e&&"undefined"==typeof fetch)throw new Tt.a(1)})(n),n||(n=fetch);var s={http:{includeExtensions:i},options:a.fetchOptions,credentials:a.credentials,headers:a.headers};return new Mt((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,r),i=e.getContext(),a={};if(i.clientAwareness){var c=i.clientAwareness,l=c.name,u=c.version;l&&(a["apollographql-client-name"]=l),u&&(a["apollographql-client-version"]=u)}var p,d=Object(_t.a)({},a,i.headers),f={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:d},h=function(e,t){for(var r=[],n=2;n=300&&ar(t,r,"Response not successful: Received status code "+t.status),Array.isArray(r)||r.hasOwnProperty("data")||r.hasOwnProperty("errors")||ar(t,r,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),r}))}}(e)).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){p&&p.abort()}}))}))};var lr=function(e){function t(t){return e.call(this,cr(t).request)||this}return Object(_t.c)(t,e),t}(Mt);function ur(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:dr(e)}]}}function pr(e,t){return{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:t||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:dr(e)}]}}function dr(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return dr(e[0]);var t=[];return Object.keys(e).forEach((function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:dr(e[r])||void 0};t.push(n)})),{kind:"SelectionSet",selections:t}}var fr,hr={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},mr=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(Et.k)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(Et.k)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t=e.id,r=e.data;if(void 0!==t){var n=null;try{n=this.read({rootId:t,optimistic:!1,query:hr})}catch(e){}var i=n&&n.__typename||"__ClientData",o=Object.assign({__typename:i},r);this.writeFragment({id:t,fragment:pr(o,i),data:o})}else this.writeQuery({query:ur(r),data:r})},e}();fr||(fr={});var gr=null,vr={},br=1,yr="@wry/context:Slot",wr=Array,xr=wr[yr]||function(){var e=function(){function e(){this.id=["slot",br++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=gr;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===vr)break;return e!==gr&&(gr.slots[this.id]=t),!0}return gr&&(gr.slots[this.id]=vr),!1},e.prototype.getValue=function(){if(this.hasValue())return gr.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var i,o=((i={__proto__:null})[this.id]=e,i),a=gr;gr={parent:a,slots:o};try{return t.apply(n,r)}finally{gr=a}},e.bind=function(e){var t=gr;return function(){var r=gr;try{return gr=t,e.apply(this,arguments)}finally{gr=r}}},e.noContext=function(e,t,r){if(!gr)return e.apply(r,t);var n=gr;try{return gr=null,e.apply(r,t)}finally{gr=n}},e}();try{Object.defineProperty(wr,yr,{value:wr[yr]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();function _r(){}xr.bind,xr.noContext;var Er=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=_r),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getEntry(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),Sr=new xr,kr=[],Or=[];function Tr(e,t){if(!e)throw new Error(t||"assertion failure")}function Ir(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Ar=function(){function e(t,r){this.fn=t,this.args=r,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(Tr(!this.recomputing,"already recomputing"),function(e){var t=Sr.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Rr(e)?Pr(t,e):Lr(t,e),t}(this)||!jr(this))return Rr(this)?function(e){var t=Ur(e);return Sr.withValue(e,Cr,[e]),function(e){if("function"==typeof e.subscribe)try{Fr(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){e.dirty=!1,Rr(e)||Dr(e)}(e),t.forEach(jr),Ir(e.value)}(this):Ir(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Nr(this),Fr(this))},e.prototype.dispose=function(){var e=this;Ur(this).forEach(jr),Fr(this),this.parents.forEach((function(t){t.setDirty(),$r(t,e)}))},e.count=0,e}();function Cr(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function Rr(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Nr(e){e.parents.forEach((function(t){return Pr(t,e)}))}function Dr(e){e.parents.forEach((function(t){return Lr(t,e)}))}function Pr(e,t){if(Tr(e.childValues.has(t)),Tr(Rr(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=Or.pop()||new Set;e.dirtyChildren.add(t),Nr(e)}function Lr(e,t){Tr(e.childValues.has(t)),Tr(!Rr(t));var r=e.childValues.get(t);0===r.length?e.childValues.set(t,function(e){return e.slice(0)}(t.value)):function(e,t){var r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),Mr(e,t),Rr(e)||Dr(e)}function Mr(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(Or.length<100&&Or.push(r),e.dirtyChildren=null))}function jr(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function Ur(e){var t=kr;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(r,n){$r(e,n),t.push(n)}))),Tr(null===e.dirtyChildren),t}function $r(e,t){t.parents.delete(e),e.childValues.delete(t),Mr(e,t)}function Fr(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var Vr=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t}}(),Object.prototype.hasOwnProperty),Yr=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=Wr((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){Hr.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(r){t.set(r,e[r])})),Object.keys(this.data).forEach((function(r){Hr.call(e,r)||t.delete(r)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function Kr(e){return new Yr(e)}var Xr=function(){function e(e){var t=this,r=void 0===e?{}:e,n=r.cacheKeyRoot,i=void 0===n?new Vr(Et.e):n,o=r.freezeResults,a=void 0!==o&&o,s=this,c=s.executeStoreQuery,l=s.executeSelectionSet,u=s.executeSubSelectedArray;this.freezeResults=a,this.executeStoreQuery=Wr((function(e){return c.call(t,e)}),{makeCacheKey:function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher;if(n.store instanceof Yr)return i.lookup(n.store,t,a,JSON.stringify(o),r.id)}}),this.executeSelectionSet=Wr((function(e){return l.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,r=e.rootValue,n=e.execContext;if(n.contextValue.store instanceof Yr)return i.lookup(n.contextValue.store,t,n.fragmentMatcher,JSON.stringify(n.variableValues),r.id)}}),this.executeSubSelectedArray=Wr((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.field,r=e.array,n=e.execContext;if(n.contextValue.store instanceof Yr)return i.lookup(n.contextValue.store,t,r,JSON.stringify(n.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(_t.a)(Object(_t.a)({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.variables,i=e.previousResult,o=e.returnPartialData,a=void 0===o||o,s=e.rootId,c=void 0===s?"ROOT_QUERY":s,l=e.fragmentMatcherFunction,u=e.config,p=Object(Et.o)(r);n=Object(Et.c)({},Object(Et.h)(p),n);var d={store:t,dataIdFromObject:u&&u.dataIdFromObject,cacheRedirects:u&&u.cacheRedirects||{}},f=this.executeStoreQuery({query:r,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:d,variableValues:n,fragmentMatcher:l}),h=f.missing&&f.missing.length>0;return h&&!a&&f.missing.forEach((function(e){if(!e.tolerable)throw new Tt.a(8)})),i&&Object(St.a)(i,f.result)&&(f.result=i),{result:f.result,complete:!h}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,a=void 0===o?Zr:o,s=Object(Et.l)(t),c=Object(Et.j)(t),l={query:t,fragmentMap:Object(Et.g)(c),contextValue:n,variableValues:i,fragmentMatcher:a};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,n=e.rootValue,i=e.execContext,o=i.fragmentMap,a=i.contextValue,s=i.variableValues,c={result:null},l=[],u=a.store.get(n.id),p=u&&u.__typename||"ROOT_QUERY"===n.id&&"Query"||void 0;function d(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach((function(e){var r;if(Object(Et.F)(e,s))if(Object(Et.t)(e)){var c=d(t.executeField(u,p,e,i));void 0!==c&&l.push(((r={})[Object(Et.E)(e)]=c,r))}else{var f=void 0;if(Object(Et.v)(e))f=e;else if(!(f=o[e.name.value]))throw new Tt.a(9);var h=f.typeCondition&&f.typeCondition.name.value,m=!h||i.fragmentMatcher(n,h,a);if(m){var g=t.executeSelectionSet({selectionSet:f.selectionSet,rootValue:n,execContext:i});"heuristic"===m&&g.missing&&(g=Object(_t.a)(Object(_t.a)({},g),{missing:g.missing.map((function(e){return Object(_t.a)(Object(_t.a)({},e),{tolerable:!0})}))})),l.push(d(g))}}})),c.result=Object(Et.B)(l),this.freezeResults,c},e.prototype.executeField=function(e,t,r,n){var i=n.variableValues,o=n.contextValue,a=function(e,t,r,n,i,o){o.resultKey;var a=o.directives,s=r;(n||a)&&(s=Object(Et.p)(s,n,a));var c=void 0;if(e&&void 0===(c=e[s])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var u=l[r];u&&(c=u(e,n,{getCacheKey:function(e){var t=i.dataIdFromObject(e);return t&&Object(Et.H)({id:t,typename:e.__typename})}}))}}return void 0===c?{result:c,missing:[{object:e,fieldName:s,tolerable:!1}]}:(Object(Et.w)(c)&&(c=c.json),{result:c})}(e,t,r.name.value,Object(Et.b)(r,i),o,{resultKey:Object(Et.E)(r),directives:Object(Et.i)(r,i)});return Array.isArray(a.result)?this.combineExecResults(a,this.executeSubSelectedArray({field:r,array:a.result,execContext:n})):r.selectionSet?null==a.result?a:this.combineExecResults(a,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:a.result,execContext:n})):(Jr(r,a.result),this.freezeResults,a)},e.prototype.combineExecResults=function(){for(var e,t=[],r=0;r=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var an={fragmentMatcher:new Qr,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var sn=Object.prototype.hasOwnProperty,cn=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(_t.c)(t,e),t.prototype.toObject=function(){return Object(_t.a)(Object(_t.a)({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return sn.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(en),ln=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new Vr(Et.e),r.silenceBroadcast=!1,r.config=Object(_t.a)(Object(_t.a)({},an),t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=!!r.config.addTypename,r.data=r.config.resultCaching?new Yr:new en,r.optimisticData=r.data,r.storeWriter=new rn,r.storeReader=new Xr({cacheKeyRoot:r.cacheKeyRoot,freezeResults:t.freezeResults});var n=r,i=n.maybeBroadcastWatch;return r.maybeBroadcastWatch=Wr((function(e){return i.call(r,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return n.data instanceof Yr?n.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(_t.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:r,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:r}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:r,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new Tt.a(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof cn;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new cn(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(Et.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(mr),un=r("633a"),pn=function(e){function t(t){var r=e.call(this)||this;return t instanceof un.SubscriptionClient?r.subscriptionClient=t:r.subscriptionClient=new un.SubscriptionClient(t.uri,t.options,t.webSocketImpl),r}return Object(_t.c)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}(Mt);function dn(e){return new Mt((function(t,r){return new Ot((function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function t(t){var r=e.call(this)||this;return r.link=dn(t),r}Object(_t.c)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(Mt);var fn=function(){function e(e,t,r,n){var i=this;this.operation=e,this.nextLink=t,this.delayFor=r,this.retryIf=n,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){i.values.push(e);for(var t=0,r=i.observers;t=i)&&(r?r(n,t):!!n)}}(i),r}return Object(_t.c)(t,e),t.prototype.request=function(e,t){var r=new fn(e,t,this.delayFor,this.retryIf);return r.start(),new Ot((function(e){return r.subscribe(e),function(){r.unsubscribe(e)}}))},t}(Mt);const mn=new URL(ve||window.location.origin),gn={},vn=e=>{De.debug("[createGraphqlClient]");const t=new Mt((t,r)=>r(t).map(r=>{const{response:{headers:n}}=t.getContext();if(n){const t=n.get("x-environment")||null,r=n.get("x-unraid-api-version")||null;t&&e.commit("SET_MY_SERVERS_ENV",t),r&&e.commit("SET_MY_SERVERS_API_VERSION",r)}return r})).concat(new lr({uri:`${mn.protocol}//${mn.host}/graphql`})),r=`${mn.protocol.includes("https")?"wss://":"ws://"}${mn.host}/graphql`,n=new pn({uri:r,options:{timeout:65e3,reconnect:!0,connectionParams:{"x-api-key":e.state.apikey}}});let i;n.subscriptionClient.maxConnectTimeGenerator.setMin(3e3),n.subscriptionClient.onConnected(()=>{De.debug("[🚀 wslink.onConnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onReconnected(()=>{De.debug("[🚀 wslink.onReconnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onDisconnected(()=>{e.state.graphOnline&&(clearTimeout(i),i=setTimeout(()=>{De.debug("[🚀 wslink.onDisconnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!1),e.state.myServersError||e.commit("SET_MY_SERVERS_ERROR","Disconnected from Unraid API")},150))});const o=Lt(({query:e})=>{const t=Object(Et.l)(e);return"OperationDefinition"===t.kind&&"subscription"===t.operation},n,t),a=function(e){return new Mt((function(t,r){var n=Object(_t.e)(t,[]);return new Ot((function(i){var o;return Promise.resolve(n).then((function(r){return e(r,t.getContext())})).then(t.setContext).then((function(){o=r(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)})})).catch(i.error.bind(i)),function(){o&&o.unsubscribe()}}))}))}((t,{headers:r})=>({headers:{...r,"x-api-key":e.state.apikey}})),s=dn(({graphQLErrors:t,networkError:r})=>{if(t){De.error("[GraphQL error] %o",t);const r=t[0].message||t[0].error.message||"No error object - [UNRAID]";e.commit("SET_MY_SERVERS_ERROR",r)}r&&(De.error("[Network error]",r),e.commit("SET_MY_SERVERS_ERROR",r.message)),e.commit("SET_MY_SERVERS_LOADING",!1)}),c=new hn({delay:{initial:300,max:1/0,jitter:!0},attempts:{max:1/0,retryIf:(t,r)=>(De.debug("[retryLink - retryIf]",{error:t,_operation:r}),e.commit("SET_GRAPH_ONLINE",!1),!!t)}});return new nr({link:Mt.from([c,s,a,o]),connectToDevTools:!1,cache:new ln,defaultOptions:{watchQuery:{fetchPolicy:"no-cache"},query:{fetchPolicy:"no-cache"},mutate:{fetchPolicy:"no-cache"},subscribe:{fetchPolicy:"no-cache"}}})},bn=e=>{if(!e.state.apikey)return De.debug("[getGraphqlClient] NO API KEY");if(Object.keys(gn).includes(e.state.apikey))return De.debug("[getGraphqlClient] found existing client"),gn[e.state.apikey];De.debug("[getGraphqlClient] new client inbound");const t=vn(e);return gn[e.state.apikey]=t,t};var yn=function(){return(yn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&(r(i.reverse()[0]),n.clearMeasures&&n.clearMeasures(t),Sn.callbacks.delete(t),Sn.callbacks.size<1&&(Sn.observer.disconnect(),n.clearResourceTimings&&n.clearResourceTimings()),!0)},Sn={callbacks:new Map,observer:null,observe:function(e,t){if(e&&t){var r=_n.a.polyfill("performance",{doThrow:!1});(function(e,t){return!Sn.observer&&e&&t&&(Sn.observer=new t((function(t){Sn.callbacks.forEach((function(r,n){En(t,n,r,e)}))})),e.clearResourceTimings&&e.clearResourceTimings()),Sn.observer})(r,_n.a.polyfill("PerformanceObserver",{doThrow:!1}))&&(En(r,e,t,r)||(Sn.callbacks.size<1&&Sn.observer.observe({entryTypes:["resource","measure"]}),Sn.callbacks.set(e,t)))}}},kn=Sn,On=function(e){this.error=e},Tn=function(){return(Tn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?r[0]+e+"?"+r[1]:this._url+e})},e.prototype.options=function(e,t){return void 0===t&&(t=!0),this.selfFactory({options:t?xn(this._options,e):e})},e.prototype.query=function(e,t){return void 0===t&&(t=!1),this.selfFactory({url:Nn(this._url,e,t)})},e.prototype.headers=function(e){return this.selfFactory({options:xn(this._options,{headers:e||{}})})},e.prototype.accept=function(e){return this.headers({Accept:e})},e.prototype.content=function(e){var t;return this.headers(((t={})[Cn]=e,t))},e.prototype.auth=function(e){return this.headers({Authorization:e})},e.prototype.catcher=function(e,t){var r=new Map(this._catchers);return r.set(e,t),this.selfFactory({catchers:r})},e.prototype.signal=function(e){return this.selfFactory({options:Tn(Tn({},this._options),{signal:e.signal})})},e.prototype.resolve=function(e,t){return void 0===t&&(t=!1),this.selfFactory({resolvers:t?[e]:In(In([],this._resolvers),[e])})},e.prototype.defer=function(e,t){return void 0===t&&(t=!1),this.selfFactory({deferredChain:t?[e]:In(In([],this._deferredChain),[e])})},e.prototype.middlewares=function(e,t){return void 0===t&&(t=!1),this.selfFactory({middlewares:t?e:In(In([],this._middlewares),e)})},e.prototype.method=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r=null);var n=this.options(Tn(Tn({},t),{method:e})),i=n._options.headers;return function(e){var t=e._url,r=e._catchers,n=e._resolvers,i=e._middlewares,o=e._options,a=new Map(r),s=xn(_n.a.defaults,o),c=_n.a.polyfill("AbortController",{doThrow:!1,instance:!0});!s.signal&&c&&(s.signal=c.signal);var l={ref:null,clear:function(){l.ref&&(clearTimeout(l.ref),l.ref=null)}},u=function(e){return function(t){return 0===e.length?t:1===e.length?e[0](t):e.reduceRight((function(r,n,i){return i===e.length-2?n(r(t)):n(r)}))}}(i)(_n.a.polyfill("fetch"))(t,s),p=u.catch((function(e){throw new On(e)})).then((function(e){return l.clear(),e.ok?e:e[_n.a.errorType||"text"]().then((function(t){var r=new Error(t);throw r[_n.a.errorType||"text"]=t,r.status=e.status,r.response=e,r}))})),d=function(t){return t.catch((function(t){l.clear();var r=t instanceof On?t.error:t;if(t instanceof On&&a.has("__fromFetch"))return a.get("__fromFetch")(r,e);if(a.has(r.status))return a.get(r.status)(r,e);if(a.has(r.name))return a.get(r.name)(r,e);throw r}))},f=function(e){return function(t){return d(e?p.then((function(t){return t&&t[e]()})).then((function(e){return t?t(e):e})):p.then((function(e){return t?t(e):e})))}},h={res:f(null),json:f("json"),blob:f("blob"),formData:f("formData"),arrayBuffer:f("arrayBuffer"),text:f("text"),perfs:function(e){return u.then((function(t){return kn.observe(t.url,e)})),h},setTimeout:function(e,t){return void 0===t&&(t=c),l.clear(),l.ref=setTimeout((function(){return t.abort()}),e),h},controller:function(){return[c,h]},error:function(e,t){return a.set(e,t),h},badRequest:function(e){return h.error(400,e)},unauthorized:function(e){return h.error(401,e)},forbidden:function(e){return h.error(403,e)},notFound:function(e){return h.error(404,e)},timeout:function(e){return h.error(408,e)},internalError:function(e){return h.error(500,e)},fetchError:function(e){return h.error("__fromFetch",e)},onAbort:function(e){return h.error("AbortError",e)}};return n.reduce((function(t,r){return r(t,e)}),h)}((n=r?"object"!=typeof r||i&&!Object.entries(i).every((function(e){var t=e[0],r=e[1];return t.toLowerCase()!==Cn.toLowerCase()||r.startsWith(An)}))?n.body(r):n.json(r):n)._deferredChain.reduce((function(e,t){return t(e,e._url,e._options)}),n))},e.prototype.get=function(e){return this.method("GET",e)},e.prototype.delete=function(e){return this.method("DELETE",e)},e.prototype.put=function(e,t){return this.method("PUT",t,e)},e.prototype.post=function(e,t){return this.method("POST",t,e)},e.prototype.patch=function(e,t){return this.method("PATCH",t,e)},e.prototype.head=function(e){return this.method("HEAD",e)},e.prototype.opts=function(e){return this.method("OPTIONS",e)},e.prototype.replay=function(e){return this.method(this._options.method,e)},e.prototype.body=function(e){return this.selfFactory({options:Tn(Tn({},this._options),{body:e})})},e.prototype.json=function(e){var t,r=null===(t=Object.entries(this._options.headers||{}).find((function(e){var t=e[0],r=e[1];return t.toLowerCase()===Cn.toLowerCase()&&r.startsWith(An)})))||void 0===t?void 0:t[1];return this.content(r||An).body(JSON.stringify(e))},e.prototype.formData=function(e,t){return void 0===t&&(t=!1),this.body(function e(t,r,n,i){return void 0===r&&(r=!1),void 0===n&&(n=_n.a.polyfill("FormData",{instance:!0})),void 0===i&&(i=[]),Object.entries(t).forEach((function(t){var o=t[0],a=t[1],s=i.reduce((function(e,t){return e?e+"["+t+"]":t}),null);if(s=s?s+"["+o+"]":o,a instanceof Array)for(var c=0,l=a;cDe.error(e));const Mn=Ln("https://keys.lime-technology.com").catcher(e=>De.error(e)),jn=Ln("https://wanip4.unraid.net/").catcher(e=>De.error(e)),Un=Ln("/webGui/include/InstallKey.php").catcher(e=>De.error(e)),$n=Ln().catcher(e=>De.error(e)),Fn=Ln("/update.php").catcher(e=>De.error(e)),Vn=Ln("/webGui/include/UpdateDNS.php").catcher(e=>De.error(e));let Gn=0;const zn=e=>{setTimeout(()=>{Vn.formUrl({csrf_token:e}).post().res(e=>De.debug("[WebguiUpdateDns] %o",e)).catch(e=>De.error("[WebguiUpdateDns] %o",e))},500)},Bn={openPopUp({commit:e,dispatch:t,state:r},n){if(De.debug("[openPopUp]: %o",n||"focus existing pop-up"),r.popUpWindow)return r.popUpWindow.focus();const i=((e,t,r,n)=>{const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,o=void 0!==window.screenTop?window.screenTop:window.screenY,a=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,c=a/window.screen.availWidth>1?a/window.screen.availWidth:1,l=(a-r)/2/c+i,u=(s-n)/2/c+o,p=Object.entries({toolbar:"no",location:"yes",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",width:r/c,height:n/c,top:u,left:l}).reduce((e,t)=>e+`${t[0]}=${t[1]},`,"");return window.open(e,t,p)})(n.url,n.name,n.width,n.height),o=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,a=n.url.toString().includes("/preflight")?"#fff":"linear-gradient(to right, #E22828 0%, #ff8c2f 100%)";i.document.body.style.background=o?"#222":a;try{i.focus(),e("CHANGE_POP_UP_WINDOW",i),e("STATE_AT_OPEN",r.registered);const n=setInterval(()=>{r.popUpWindow||clearInterval(n),r.popUpWindow&&r.popUpWindow.closed&&(clearInterval(n),t("resetPopUp",{reloadWebGUI:!1}))},250);return window.onunload=()=>{r.popUpWindow&&!r.popUpWindow.closed&&r.popUpWindow.close()},!0}catch(e){return alert("Pop-up blocker detected.\nTo continue successfully please add this website to your browser's exeception list then refresh.")}},resetPopUp({commit:e,dispatch:t},r={reloadWebGUI:!0}){De.debug("[resetPopUp]: %o",r),e("CHANGE_POP_UP_WINDOW",null),t("updateServerState"),r.reloadWebGUI&&t("reloadWebGUI")},closePopUp({dispatch:e,state:t},r={reloadWebGUI:!1}){De.debug("[closePopUp]: %o",r),t.popUpWindow&&(t.popUpWindow.close(),e("resetPopUp",{reloadWebGUI:r.reloadWebGUI}))},reloadWebGUI(){De.debug("[reloadWebGUI]: %s","✨"),window.location.reload()},closePopUpFromPopUp({dispatch:e}){De.debug("[closePopUpFromPopUp]: %o"),e("resetPopUp"),window.close()},sendDataPostMessageToServer({state:e}){const t="SignOut"===e.submissionFrom?{event:"MYSERVERS_UNREGISTER"}:{event:"REG_WIZARD",keyfile:e.keyfile,license:e.license,email:e.userEmail,apikey:e.apikey,avatar:e.avatar,username:e.username,guid:e.guid};De.debug("[sendDataPostMessageToServer]: %o",t);try{return _e.postMessage(JSON.stringify(t),"*")}catch(e){return xe||De.warn("[sendDataPostMessageToServer] !CAN_POST_MESSAGE",t),De.error("[sendDataPostMessageToServer]: %o",e)}},requestUpdatedServerStateFromUpc({state:e}){De.debug("[requestUpdatedServerStateFromUpc]");try{return _e.postMessage(JSON.stringify({event:"SUCCESS_NEW_STATE"}),e.site)}catch(e){return xe||De.warn("[requestUpdatedServerStateFromUpc] !CAN_POST_MESSAGE",xe),De.error("[requestUpdatedServerStateFromUpc]: %o",e)}},receivePostMessage({commit:e,dispatch:t,getters:r,state:n},i={inject:!1,event:null}){if(!i.event)return void De.error("postMessage no event");const[o,a]=Se(i.event.data);if(o)return;De.debug("[receivePostMessage]: %o",a);const s=i.event.origin,c=s===me,l=ge.includes(s),u=!(!a||!a.server)&&a.server.site&&s===a.server.site,p=s===n.site,d="SESSION"===a.event?u:p,f=c||l||d,h={"data.server.site":a&&a.server?a.server.site:"","payload.event.origin":s,"state.site":n.site,pmOriginMatchesDataServerUrl:u,pmOriginMatchesStateSite:p,fromRegWiz:c,fromPurchase:l,fromWebGui:d,originAllowed:f};if(!f)return De.error("❌ postMessage origin not allowed ❌ %o",h),e("SET_POST_MESSAGE_ERROR",h),void e("SET_RAW_SERVER_STATE",a.server);De.debug("[originAllowed]: %o",h);const m=e=>{De.debug("[sendBackPostMessage] %o",e);try{return i.event.source.postMessage(JSON.stringify(e),s)}catch(t){return De.error("[sendBackPostMessage.catch] %o",{error:t,message:e})}},g=async e=>{if(!e)return De.error("[installKey] missing license data: %s",e);let t=e.split("/");if(t=t[t.length-1].slice(0,-4).toUpperCase(),t===n.state)return m({event:"LICENSE_PINGBACK",message:"Failed to license new key – duplicate install detected",license:e,success:!1}),De.error("[installKey] duplicate install detected",{state:n.state,keyType:t});De.debug("[installKey] %o",e);return await Un.query({url:e}).get().res(t=>{De.log("[installKey] SUCCESS ✨"),De.debug("[installKey] SUCCESS res %o",t),setTimeout(()=>{zn(n.csrf)},1e3),m({event:"LICENSE_PINGBACK",message:"New license key installed",license:e,success:!0})}).catch(t=>{De.error("[installKey] FAILED: "+e,t),m({event:"LICENSE_PINGBACK",message:"Failed to license new key",license:e,success:!1})})},v=async()=>{De.debug("[signOutUnraidNet] 👋");return await Fn.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",apikey:"",avatar:"",email:"",username:"",wanaccess:"no",...!n.hideMyServers&&{"#command":"/plugins/dynamix.my.servers/scripts/.nginx_reload"}}).post().res(e=>{De.log(`[signOutUnraidNet.WebguiUpdate] Signed ${n.servername} out of Unraid.net 👋`),De.debug("[signOutUnraidNet.WebguiUpdate]: WebguiUpdate.res %o",e),m({event:"ACCOUNT_PINGBACK",success:!0,type:"signOut",webGuiPathname:window.location.pathname})}).catch(e=>{De.error(`[signOutUnraidNet.WebguiUpdate] Sign out ${n.servername} from Unraid.net failed 😢 %o`,e),m({event:"ACCOUNT_PINGBACK",success:!1,type:"signOut",webGuiPathname:window.location.pathname})})};switch(a.event){case"SESSION":De.debug("[receivePostMessage.SESSION]"),e("SET_FULL_SERVER_STATE",a.server),e("SET_RAW_SERVER_STATE",a.server),fe.mergeLocaleMessage(a.locale,a.messages),fe.locale=a.locale,De.debug(`[receivePostMessage.SESSION] ${fe.locale} locale & messages set`,fe.messages);break;case"PREFLIGHT_REQUEST":if(De.debug("[receivePostMessage.PREFLIGHT_REQUEST]"),!Ee.includes(s)){De.error("[🙅♂️ ACCESS DENIED]");break}De.debug("[receivePostMessage.SUCCESS_NEW_STATE]");try{t("updateServerState").then(e=>{De.debug("[SUCCESS_NEW_STATE.updateServerState.then] %o",{res:e,"getters.server":r.server}),m({event:"SESSION",server:{...r.server},locale:fe.locale,messages:{...fe.messages[fe.locale]}})}).catch(e=>{De.error("[SUCCESS_NEW_STATE.updateServerState.catch] %o",e),m({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){De.error("[SUCCESS_NEW_STATE.updateServerState.trycatch] %o",e),m({event:"DELIVER_NEW_STATE",success:!1})}break;case"LICENSE_PINGBACK":De.debug("[receivePostMessage.LICENSE_PINGBACK]"),e("LICENSE_PINGBACK",a);break;case"ACCOUNT_PINGBACK":De.debug("[receivePostMessage.ACCOUNT_PINGBACK]"),e("ACCOUNT_PINGBACK",a);break;case"DELIVER_NEW_STATE":De.debug("[receivePostMessage.DELIVER_NEW_STATE] %o",a);const i=!!n.license,o=n.licenseAction&&!n.licenseAction.success,c=n.state,l=a&&a.state?a.state:null,u=c===l;if(De.debug("[DELIVER_NEW_STATE]: %o",{keyToInstall:i,failedKeyInstall:o,oldState:c,newState:l,potentiallyStaleState:u,deliverNewStateRetryCounter:Gn}),o){e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}if(i&&u&&Gn<6){setTimeout(()=>{De.debug("[potentiallyStaleState]: %o",{potentiallyStaleState:u}),De.debug("[deliverNewStateRetryCounter]: %o",{deliverNewStateRetryCounter:Gn}),t("requestUpdatedServerStateFromUpc"),Gn+=1},350*Gn);break}if(i&&u&&Gn>=6){e("SET_APP_ERROR_MESSAGE",`Failed to receive latest server info${n.licenseAction&&n.licenseAction.success?" after successful key install":""}. Please close this pop-up and refresh the webGUI.`),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}e("SET_FULL_SERVER_STATE",a),e("SET_RAW_SERVER_STATE",a),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now()),Gn=0;break;case"KEY_PURCHASE":De.debug("[receivePostMessage.KEY_PURCHASE]"),g(a.license),a.oem&&v();break;case"MYSERVERS_UNREGISTER":De.debug("[receivePostMessage.MYSERVERS_UNREGISTER]: WebguiUpdate"),v();break;case"REG_WIZARD":De.debug("[receivePostMessage.REG_WIZARD]"),a.license&&g(a.license),De.debug("[receivePostMessage.REG_WIZARD]: WebguiUpdate %o"),Fn.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",regWizTime:`${Date.now()}_${a.guid}`,...a.apikey&&{apikey:a.apikey},...a.email&&{email:a.email},...a.username&&{username:a.username},...a.avatar&&{avatar:a.avatar}}).post().res(e=>{De.log("[WebguiUpdate]"),De.debug("[receivePostMessage.REG_WIZARD]: WebguiUpdate.res %o",e),a.license||zn(n.csrf),m({event:"ACCOUNT_PINGBACK",success:!0,type:"signIn",webGuiPathname:window.location.pathname})}).catch(e=>{De.error("[WebguiUpdate] %o",e),m({event:"ACCOUNT_PINGBACK",success:!1,type:"signIn",webGuiPathname:window.location.pathname})});break;case"RELOAD":De.debug("[receivePostMessage.RELOAD]"),window.location.reload();break;case"SUCCESS_NEW_STATE":De.debug("[receivePostMessage.SUCCESS_NEW_STATE]");try{t("updateServerState").then(e=>{De.debug("[SUCCESS_NEW_STATE.updateServerState.then]"),m({...e,event:"DELIVER_NEW_STATE",success:!0})}).catch(e=>{De.error("[SUCCESS_NEW_STATE.updateServerState.catch] %o",e),m({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){De.error("[SUCCESS_NEW_STATE.updateServerState.trycatch] %o",e),m({event:"DELIVER_NEW_STATE",success:!1})}break;case"REDIRECT_MAIN":De.debug("[receivePostMessage.REDIRECT_MAIN]"),window.location.href="/Main";break;default:De.debug("[receivePostMessage.UNHANDLED_MESSAGE]")}},setStateFromWebComponentProp({commit:e},t){De.debug("[setStateFromWebComponentProp]");const[r,n]=Se(decodeURIComponent(t));return r?De.error("[setStateFromWebComponentProp]: %o",t):e("SET_FULL_SERVER_STATE",n)},async updateServerState({commit:e,dispatch:t,getters:r,state:n}){if(De.debug("[updateServerState]"),me===window.location.origin)return De.debug("[SKIPPED] updateServerState()");De.debug("[updateServerState]",{"state.hideMyServers":n.hideMyServers,"!state.graphOnline":!n.graphOnline,"!getters.validApiKeyLength":!r.validApiKeyLength,"!getters.validApiKeyForUpc":!r.validApiKeyForUpc}),!n.hideMyServers&&n.graphOnline&&r.validApiKeyLength&&r.validApiKeyForUpc?(De.debug("[updateServerState] via serverStateFromApi"),await t("serverStateFromApi")):(De.debug("[updateServerState] via ",r.statePhpPath),await $n.url(r.statePhpPath).get().json().then(t=>t?e("SET_FULL_SERVER_STATE",t):De.error("[updateUpcFromStatePhp]: no `res` skipping `SET_FULL_SERVER_STATE`")).catch(e=>{De.error("[updateUpcFromStatePhp WebguiState.catch] %o",e),e.toString().includes("Unexpected token")||e.toString().includes("503")?window.location.href="/":"TypeError: Failed to fetch"===e||De.error("[updateUpcFromStatePhp WebguiState.catch] %o",e)}));const i=r.server;return De.debug("[updateServerState] newState %o",i),i},async validateGuid({commit:e,getters:t,state:r}){await new Promise((n,i)=>{if(r.guidValidationRunning)return De.debug("[validateGuid] already validating");e("CHANGE_GUID_VALIDATION_RUNNING",!0);const o=r.regWizTime?r.regWizTime.split("_")[1]:null,a=!!o&&o===r.guid;De.debug("[validateGuid] %o",{guid:r.guid,regGuid:r.regGuid,regWizTimeGuid:o,previouslyRegistered:a});let s="GUID Invalid";if(!r.guid||r.guid===we)return De.debug(`[validateGuid] ${s} %o`,{"!state.guid":!r.guid,GUID_NOT_RECEIVED:we}),s+=": not present",e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!1);if(a&&!t.stateData.error)return De.debug("[validateGuid] previouslyRegistered %s",r.guid),e("CHANGE_GUID_REGISTERED",!0),e("CHANGE_GUID_VALID",!0),e("CHANGE_GUID_FORUMACCOUNT",!0),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!0);const c=r.guid.includes("000000000000");if(r.guid&&r.guid!==we&&(c||27!==r.guid.length))return c?(s+=": Too many consecutive zeros",e("SET_STATE","EBLACKLISTED2")):(s+=": Not long enough",e("SET_STATE","EBLACKLISTED1")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),i(new Error(s));r.regGuid||De.warn("[validateGuid]: state.regGuid empty. Getting regGuid from state.regWizTime.");const l=r.regGuid||o||"";e("CHANGE_GUID_FOR_VALIDATION","EGUID"===r.state?l:r.guid),e("CHANGE_GUID_BLACKLISTED",null);try{const t=Mn.url("/validate/guid").formUrl({guid:r.guidForValidation}).post().forbidden(t=>{let n;const[i,o]=Se(t.message);o&&!i||!t.message||(n=t.message),o&&o.error&&(n=o.error),De.error("[validateGuid] POST.forbidden %o",n),n.includes("blacklisted")?(e("CHANGE_GUID_BLACKLISTED",!0),"EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED"),e("SET_APP_ERROR_MESSAGE",n)):De.warn("[validateGuid] skip EBLACKLISTED state overwrite")):n.includes("invalid GUID")&&("EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",n)):De.warn("[validateGuid] skip EBLACKLISTED state overwrite")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1)}).json(t=>{De.debug("[validateGuid] POST.json %o",t),t.registered&&e("CHANGE_GUID_REGISTERED",t.registered),e("CHANGE_GUID_FORUMACCOUNT",t.forumaccount||!1),e("CHANGE_GUID_VALID",!0),e("CHANGE_REPLACEABLE",t.replaceable)}).catch(t=>{De.error("[validateGuid] POST.catch %o",t),e("SET_APP_ERROR_MESSAGE",t.message),i(new Error(t))}).finally(()=>{De.debug("[validateGuid] POST.finally"),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1)});return n(t)}catch(t){return De.error("[validateGuid] try/catch %o",t),e("SET_APP_ERROR_MESSAGE",t),e("CHANGE_GUID_VALIDATION_RUNNING",!1),i(new Error(t))}})},jumpToUpc({commit:e}){window.scrollTo({top:0,behavior:"smooth"}),e("TRIGGER_UPC",!0),setTimeout(()=>{e("TRIGGER_UPC",!1)},500)},async getWanIp({commit:e,state:t}){if(De.debug("[getWanIp]"),t.wanip)return De.debug("[getWanIp] SKIPPED",t.wanip);try{return e("SET_WANIP",await jn.get().text())}catch(e){return De.error("[getWanIp] Unable to get WAN IP")}},fetchServers:async e=>{De.debug("[fetchServers]"),e.commit("SET_MY_SERVERS_LOADING",!0);const t=await bn(e).query({query:yt`query initialGetServers {
+/*! licenses are at licenses.txt*/!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="5a74")}({"0012":function(e,t,r){e.exports=r("a7b2").Observable},"0483":function(e,t,r){var n=r("4767");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("4ead7b8a",n,e)}},"04b4":function(e,t,r){"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!n||o||r,s="";return!a||n&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}))},"0b64":function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},"0d7c":function(e,t,r){(function(t){const r="object"==typeof t&&Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"})&&Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r("4362"))},"0e49":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)>=0},"10f4":function(e,t,r){var n=r("8dac");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("5292f54b",n,e)}},"1eca":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"==typeof e}},2251:function(e,t,r){"use strict";r.r(t);var n=r("3661");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},"22c0":function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r("fe45"),i=r("0d7c"),o=(t=e.exports={}).re=[],a=t.src=[],s=t.t={};let c=0;const u=(e,t,r)=>{const n=c++;i(n,t),s[e]=n,a[n]=t,o[n]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${a[s.NUMERICIDENTIFIER]}|${a[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NUMERICIDENTIFIERLOOSE]}|${a[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),u("FULL",`^${a[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),u("LOOSE",`^${a[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",a[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),u("XRANGEIDENTIFIER",a[s.NUMERICIDENTIFIER]+"|x|X|\\*"),u("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),u("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",a[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"22c9":function(e,t,r){"use strict";r.r(t);var n=r("470a");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},"23ad":function(e,t,r){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,r,n){var i=r.prototype,o=i.format;n.en.formats=e,i.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var r=this.$locale().formats,n=function(t,r){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,i){var o=i&&i.toUpperCase();return n||r[i]||e[i]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))}(t,void 0===r?{}:r);return o.call(this,n)}}}()},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}(n),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o{const n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:en(t,e)}},"2a99":function(e,t,r){var n=r("544f");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("4807ae8b",n,e)}},"2b0e":function(e,t,r){"use strict";r.r(t),function(e){
+/*!
+ * Vue.js v2.6.14
+ * (c) 2014-2021 Evan You
+ * Released under the MIT License.
+ */
+var r=Object.freeze({});function n(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i-1)return e.splice(r,1)}}var v=Object.prototype.hasOwnProperty;function b(e,t){return v.call(e,t)}function y(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}}var w=/-(\w)/g,x=y((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),_=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,S=y((function(e){return e.replace(E,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r};function O(e,t){t=t||0;for(var r=e.length-t,n=new Array(r);r--;)n[r]=e[r+t];return n}function T(e,t){for(var r in t)e[r]=t[r];return e}function I(e){for(var t={},r=0;r0,K=Q&&Q.indexOf("edge/")>0,X=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===q),J=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),Z={}.watch,ee=!1;if(B)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var re=function(){return void 0===G&&(G=!B&&!W&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),G},ne=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,ae="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);oe="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=A,ce=0,ue=function(){this.id=ce++,this.subs=[]};ue.prototype.addSub=function(e){this.subs.push(e)},ue.prototype.removeSub=function(e){g(this.subs,e)},ue.prototype.depend=function(){ue.target&&ue.target.addDep(this)},ue.prototype.notify=function(){for(var e=this.subs.slice(),t=0,r=e.length;t-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===S(e)){var c=Ve(String,i.type);(c<0||s0&&(lt((c=e(c,(r||"")+"_"+s))[0])&<(l)&&(p[u]=ge(l.text+c[0].text),c.shift()),p.push.apply(p,c)):a(c)?lt(l)?p[u]=ge(l.text+c):""!==c&&p.push(ge(c)):lt(c)&<(l)?p[u]=ge(l.text+c.text):(o(t._isVList)&&i(c.tag)&&n(c.key)&&i(r)&&(c.key="__vlist"+r+"_"+s+"__"),p.push(c)));return p}(e):void 0}function lt(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function pt(e,t){if(e){for(var r=Object.create(null),n=ae?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=gt(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=vt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),$(i,"$stable",a),$(i,"$key",s),$(i,"$hasNormal",o),i}function gt(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ut(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!ht(t))?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function vt(e,t){return function(){return e[t]}}function bt(e,t){var r,n,o,a,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),n=0,o=e.length;ndocument.createEvent("Event").timeStamp&&(fr=function(){return hr.now()})}function mr(){var e,t;for(dr=fr(),lr=!0,ar.sort((function(e,t){return e.id-t.id})),pr=0;prpr&&ar[r].id>e.id;)r--;ar.splice(r+1,0,e)}else ar.push(e);ur||(ur=!0,tt(mr))}}(this)},vr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user){var r='callback for watcher "'+this.expression+'"';ze(this.cb,this.vm,[e,t],this.vm,r)}else this.cb.call(this.vm,e,t)}}},vr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vr.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},vr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var br={enumerable:!0,configurable:!0,get:A,set:A};function yr(e,t,r){br.get=function(){return this[t][r]},br.set=function(e){this[t][r]=e},Object.defineProperty(e,r,br)}function wr(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var r=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[];!e.$parent||_e(!1);var o=function(o){i.push(o);var a=je(o,t,r,e);ke(n,o,a),o in e||yr(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){for(var r in e.$options.props,t)e[r]="function"!=typeof t[r]?A:k(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return Ge(e,t,"data()"),{}}finally{de()}}(t,e):t||{})||(t={});var r=Object.keys(t),n=e.$options.props,i=(e.$options.methods,r.length);for(;i--;){var o=r[i];n&&b(n,o)||F(o)||yr(e,"_data",o)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var r=e._computedWatchers=Object.create(null),n=re();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;n||(r[i]=new vr(e,a||A,A,xr)),i in e||_r(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function Nr(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var o in r){var a=r[o];if(a){var s=a.name;s&&!t(s)&&Dr(r,o,n,i)}}}function Dr(e,t,r,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,g(r,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=Or++,t._isVue=!0,e&&e._isComponent?function(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Le(Tr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Zt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=dt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,r,n,i){return Vt(e,t,r,n,i,!1)},e.$createElement=function(t,r,n,i){return Vt(e,t,r,n,i,!0)};var o=n&&n.data;ke(e,"$attrs",o&&o.attrs||r,null,!0),ke(e,"$listeners",t._parentListeners||r,null,!0)}(t),or(t,"beforeCreate"),function(e){var t=pt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((function(r){ke(e,r,t[r])})),_e(!0))}(t),wr(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),or(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(Ir),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Oe,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,r){var n=this;if(u(t))return kr(n,e,t,r);(r=r||{}).user=!0;var i=new vr(n,e,t,r);if(r.immediate){var o='callback for immediate watcher "'+i.expression+'"';pe(),ze(t,n,[i.value],n,o),de()}return function(){i.teardown()}}}(Ir),function(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?O(r):r;for(var n=O(arguments,1),i='event handler for "'+e+'"',o=0,a=r.length;oparseInt(this.max)&&Dr(t,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Nr(e,(function(e){return Rr(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Rr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Yt(e),r=t&&t.componentOptions;if(r){var n=Cr(r),i=this.include,o=this.exclude;if(i&&(!n||!Rr(i,n))||o&&n&&Rr(o,n))return t;var a=this.cache,s=this.keys,c=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,g(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}}};(function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:T,mergeOptions:Le,defineReactive:ke},e.set=Oe,e.delete=Te,e.nextTick=tt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),M.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Lr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=O(arguments,1);return r.unshift(this),"function"==typeof e.install?e.install.apply(e,r):"function"==typeof e&&e.apply(null,r),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Le(this.options,e),this}}(e),Ar(e),function(e){M.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&u(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"==typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}(e)})(Ir),Object.defineProperty(Ir.prototype,"$isServer",{get:re}),Object.defineProperty(Ir.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ir,"FunctionalRenderContext",{value:Dt}),Ir.version="2.6.14";var Mr=h("style,class"),jr=h("input,textarea,option,select,progress"),Ur=h("contenteditable,draggable,spellcheck"),Fr=h("events,caret,typing,plaintext-only"),$r=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Gr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zr=function(e){return Gr(e)?e.slice(6,e.length):""},Br=function(e){return null==e||!1===e};function Wr(e){for(var t=e.data,r=e,n=e;i(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(t=qr(n.data,t));for(;i(r=r.parent);)r&&r.data&&(t=qr(t,r.data));return function(e,t){return i(e)||i(t)?Qr(e,Hr(t)):""}(t.staticClass,t.class)}function qr(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Qr(e,t){return e?t?e+" "+t:e:t||""}function Hr(e){return Array.isArray(e)?function(e){for(var t,r="",n=0,o=e.length;n-1?bn(e,t,r):$r(t)?Br(r)?e.removeAttribute(t):(r="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,r)):Ur(t)?e.setAttribute(t,function(e,t){return Br(t)||"false"===t?"false":"contenteditable"===e&&Fr(t)?t:"true"}(t,r)):Gr(t)?Br(r)?e.removeAttributeNS(Vr,zr(t)):e.setAttributeNS(Vr,t,r):bn(e,t,r)}function bn(e,t,r){if(Br(r))e.removeAttribute(t);else{if(H&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==r&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var yn={create:gn,update:gn};function wn(e,t){var r=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Wr(t),c=r._transitionClasses;i(c)&&(s=Qr(s,Hr(c))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var xn,_n={create:wn,update:wn};function En(e){if(i(e.__r)){var t=H?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}function Sn(e,t,r){var n=xn;return function i(){var o=t.apply(null,arguments);null!==o&&Tn(e,i,r,n)}}var kn=Qe&&!(J&&Number(J[1])<=53);function On(e,t,r,n){if(kn){var i=dr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}xn.addEventListener(e,t,ee?{capture:r,passive:n}:r)}function Tn(e,t,r,n){(n||xn).removeEventListener(e,t._wrapper||t,r)}function In(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};xn=t.elm,En(r),at(r,i,On,Tn,Sn,t.context),xn=void 0}}var An,Cn={create:In,update:In};function Rn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var r,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(r in i(c.__ob__)&&(c=t.data.domProps=T({},c)),s)r in c||(a[r]="");for(r in c){if(o=c[r],"textContent"===r||"innerHTML"===r){if(t.children&&(t.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);Nn(a,u)&&(a.value=u)}else if("innerHTML"===r&&Xr(a.tagName)&&n(a.innerHTML)){(An=An||document.createElement("div")).innerHTML="";for(var l=An.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[r])try{a[r]=o}catch(e){}}}}function Nn(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var r=!0;try{r=document.activeElement!==e}catch(e){}return r&&e.value!==t}(e,t)||function(e,t){var r=e.value,n=e._vModifiers;if(i(n)){if(n.number)return f(r)!==f(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var Dn={create:Rn,update:Rn},Pn=y((function(e){var t={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Ln(e){var t=Mn(e.style);return e.staticStyle?T(e.staticStyle,t):t}function Mn(e){return Array.isArray(e)?I(e):"string"==typeof e?Pn(e):e}var jn,Un=/^--/,Fn=/\s*!important$/,$n=function(e,t,r){if(Un.test(t))e.style.setProperty(t,r);else if(Fn.test(r))e.style.setProperty(S(t),r.replace(Fn,""),"important");else{var n=Gn(t);if(Array.isArray(r))for(var i=0,o=r.length;i-1?t.split(Wn).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var r=" "+(e.getAttribute("class")||"")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Qn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Wn).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var r=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");(r=r.trim())?e.setAttribute("class",r):e.removeAttribute("class")}}function Hn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,Yn(e.name||"v")),T(t,e),t}return"string"==typeof e?Yn(e):void 0}}var Yn=y((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Kn=B&&!Y,Xn="transition",Jn="animation",Zn="transition",ei="transitionend",ti="animation",ri="animationend";Kn&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Zn="WebkitTransition",ei="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ti="WebkitAnimation",ri="webkitAnimationEnd"));var ni=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ii(e){ni((function(){ni(e)}))}function oi(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),qn(e,t))}function ai(e,t){e._transitionClasses&&g(e._transitionClasses,t),Qn(e,t)}function si(e,t,r){var n=ui(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===Xn?ei:ri,c=0,u=function(){e.removeEventListener(s,l),r()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(r=Xn,l=a,p=o.length):t===Jn?u>0&&(r=Jn,l=u,p=c.length):p=(r=(l=Math.max(a,u))>0?a>u?Xn:Jn:null)?r===Xn?o.length:c.length:0,{type:r,timeout:l,propCount:p,hasTransform:r===Xn&&ci.test(n[Zn+"Property"])}}function li(e,t){for(;e.length1}function gi(e,t){!0!==t.data.show&&di(t)}var vi=function(e){var t,r,s={},c=e.modules,u=e.nodeOps;for(t=0;th?w(e,n(r[v+1])?null:r[v+1].elm,r,f,v,o):f>v&&_(t,d,h)}function k(e,t,r,n){for(var o=r;o-1,a.selected!==o&&(a.selected=o);else if(N(_i(a),n))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function xi(e,t){return t.every((function(t){return!N(t,e)}))}function _i(e){return"_value"in e?e._value:e.value}function Ei(e){e.target.composing=!0}function Si(e){e.target.composing&&(e.target.composing=!1,ki(e.target,"input"))}function ki(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function Oi(e){return!e.componentInstance||e.data&&e.data.transition?e:Oi(e.componentInstance._vnode)}var Ti={model:bi,show:{bind:function(e,t,r){var n=t.value,i=(r=Oi(r)).data&&r.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(r.data.show=!0,di(r,(function(){e.style.display=o}))):e.style.display=n?o:"none"},update:function(e,t,r){var n=t.value;!n!=!t.oldValue&&((r=Oi(r)).data&&r.data.transition?(r.data.show=!0,n?di(r,(function(){e.style.display=e.__vOriginalDisplay})):fi(r,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none")},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}}},Ii={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ai(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ai(Yt(t.children)):e}function Ci(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function Ri(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Ni=function(e){return e.tag||ht(e)},Di=function(e){return"show"===e.name},Pi={name:"transition",props:Ii,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(Ni)).length){var n=this.mode,i=r[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Ai(i);if(!o)return i;if(this._leaving)return Ri(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=Ci(this),u=this._vnode,l=Ai(u);if(o.data.directives&&o.data.directives.some(Di)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!ht(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var p=l.data.transition=T({},c);if("out-in"===n)return this._leaving=!0,st(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ri(e,i);if("in-out"===n){if(ht(o))return u;var d,f=function(){d()};st(c,"afterEnter",f),st(c,"enterCancelled",f),st(p,"delayLeave",(function(e){d=e}))}}return i}}},Li=T({tag:String,moveClass:String},Ii);function Mi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ji(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ui(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+n+"px,"+i+"px)",o.transitionDuration="0s"}}delete Li.mode;var Fi={Transition:Pi,TransitionGroup:{props:Li,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=tr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ci(this),s=0;s-1?Zr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Zr[e]=/HTMLUnknownElement/.test(t.toString())},T(Ir.options.directives,Ti),T(Ir.options.components,Fi),Ir.prototype.__patch__=B?vi:A,Ir.prototype.$mount=function(e,t){return function(e,t,r){var n;return e.$el=t,e.$options.render||(e.$options.render=me),or(e,"beforeMount"),n=function(){e._update(e._render(),r)},new vr(e,n,A,{before:function(){e._isMounted&&!e._isDestroyed&&or(e,"beforeUpdate")}},!0),r=!1,null==e.$vnode&&(e._isMounted=!0,or(e,"mounted")),e}(this,e=e&&B?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},B&&setTimeout((function(){U.devtools&&ne&&ne.emit("init",Ir)}),0),t.default=Ir}.call(this,r("c8ba"))},"2f62":function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return S})),r.d(t,"c",(function(){return E})),r.d(t,"d",(function(){return _})),r.d(t,"e",(function(){return x}));var n=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){n.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){n.emit("vuex:action",e,t)}),{prepend:!0}))}function o(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var r=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=o(e[r],t)})),n}function a(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function s(e){return null!==e&&"object"==typeof e}var c=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"==typeof r?r():r)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},c.prototype.addChild=function(e,t){this._children[e]=t},c.prototype.removeChild=function(e){delete this._children[e]},c.prototype.getChild=function(e){return this._children[e]},c.prototype.hasChild=function(e){return e in this._children},c.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},c.prototype.forEachChild=function(e){a(this._children,e)},c.prototype.forEachGetter=function(e){this._rawModule.getters&&a(this._rawModule.getters,e)},c.prototype.forEachAction=function(e){this._rawModule.actions&&a(this._rawModule.actions,e)},c.prototype.forEachMutation=function(e){this._rawModule.mutations&&a(this._rawModule.mutations,e)},Object.defineProperties(c.prototype,u);var l,p=function(e){this.register([],e,!1)};p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return e+((t=t.getChild(r)).namespaced?r+"/":"")}),"")},p.prototype.update=function(e){!function e(t,r,n){if(r.update(n),n.modules)for(var i in n.modules){if(!r.getChild(i))return;e(t.concat(i),r.getChild(i),n.modules[i])}}([],this.root,e)},p.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=new c(t,r);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&a(t.modules,(function(t,i){n.register(e.concat(i),t,r)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n&&n.runtime&&t.removeChild(r)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return!!t&&t.hasChild(r)};var d=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof window&&window.Vue&&w(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(o,e,t)},this.commit=function(e,t,r){return s.call(o,e,t,r)},this.strict=n;var c=this._modules.root.state;v(this,c,[],this._modules.root),g(this,c),r.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:l.config.devtools)&&i(this)},f={state:{configurable:!0}};function h(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function m(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;v(e,r,[],e._modules.root,!0),g(e,r,t)}function g(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};a(i,(function(t,r){o[r]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:o}),l.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),l.nextTick((function(){return n.$destroy()})))}function v(e,t,r,n,i){var o=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!o&&!i){var s=b(t,r.slice(0,-1)),c=r[r.length-1];e._withCommit((function(){l.set(s,c,n.state)}))}var u=n.context=function(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var o=y(r,n,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:n?e.commit:function(r,n,i){var o=y(r,n,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return b(e.state,r)}}}),i}(e,a,r);n.forEachMutation((function(t,r){!function(e,t,r,n){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){r.call(e,n.state,t)}))}(e,a+r,t,u)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,i=t.handler||t;!function(e,t,r,n){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"==typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,n,i,u)})),n.forEachGetter((function(t,r){!function(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}(e,a+r,t,u)})),n.forEachChild((function(n,o){v(e,t,r.concat(o),n,i)}))}function b(e,t){return t.reduce((function(e,t){return e[t]}),e)}function y(e,t,r){return s(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function w(e){l&&e===l||
+/*!
+ * vuex v3.6.2
+ * (c) 2021 Evan You
+ * @license MIT
+ */
+function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:r});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,t.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){},d.prototype.commit=function(e,t,r){var n=this,i=y(e,t,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},d.prototype.dispatch=function(e,t){var r=this,n=y(e,t),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(e){}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(e){}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,r.state,e)}))}catch(e){}t(e)}))}))}},d.prototype.subscribe=function(e,t){return h(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){return h("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},d.prototype.watch=function(e,t,r){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),v(this,this.state,e,this._modules.get(e),r.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=b(t.state,e.slice(0,-1));l.delete(r,e[e.length-1])})),m(this)},d.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype.hotUpdate=function(e){this._modules.update(e),m(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,f);var x=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=T(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"==typeof i?i.call(this,t,r):t[i]},r[n].vuex=!0})),r})),_=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=this.$store.commit;if(e){var o=T(this.$store,"mapMutations",e);if(!o)return;n=o.context.commit}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),E=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||T(this.$store,"mapGetters",e))return this.$store.getters[i]},r[n].vuex=!0})),r})),S=O((function(e,t){var r={};return k(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var o=T(this.$store,"mapActions",e);if(!o)return;n=o.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r}));function k(e){return function(e){return Array.isArray(e)||s(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function O(e){return function(t,r){return"string"!=typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function T(e,t,r){return e._modulesNamespaceMap[r]}function I(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(r){e.log(t)}}function A(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function C(){var e=new Date;return" @ "+R(e.getHours(),2)+":"+R(e.getMinutes(),2)+":"+R(e.getSeconds(),2)+"."+R(e.getMilliseconds(),3)}function R(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var N={Store:d,install:w,version:"3.6.2",mapState:x,mapMutations:_,mapGetters:E,mapActions:S,createNamespacedHelpers:function(e){return{mapState:x.bind(null,e),mapGetters:E.bind(null,e),mapMutations:_.bind(null,e),mapActions:S.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var p=o(e.state);void 0!==l&&(c&&e.subscribe((function(e,a){var s=o(a);if(r(e,p,s)){var c=C(),u=i(e),d="mutation "+e.type+c;I(l,d,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(p)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),A(l)}p=s})),u&&e.subscribeAction((function(e,r){if(a(e,r)){var n=C(),i=s(e),o="action "+e.type+n;I(l,o,t),l.log("%c action","color: #03A9F4; font-weight: bold",i),A(l)}})))}}};t.a=N}).call(this,r("c8ba"))},"2f6c":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return a}));var n=r("ad67"),i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=Object.freeze({});function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,u=Array.isArray(e),l=[e],p=-1,d=[],f=void 0,h=void 0,m=void 0,g=[],v=[],b=e;do{var y=++p===l.length,w=y&&0!==d.length;if(y){if(h=0===v.length?void 0:g[g.length-1],f=m,m=v.pop(),w){if(u)f=f.slice();else{for(var x={},_=0,E=Object.keys(f);_0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach((function(e){o[e]=i[e]})),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var c=s()(t);a+="("+c+")"}return r&&Object.keys(r).forEach((function(e){-1===l.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)})),a}function d(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)})),r}return null}function f(e){return e.alias?e.alias.value:e.name.value}function h(e){return"Field"===e.kind}function m(e){return"InlineFragment"===e.kind}function g(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function v(e,t){return void 0===t&&(t=!1),Object(o.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function b(e){return null!=e&&"object"==typeof e&&"json"===e.type}function y(e,t){if(e.directives&&e.directives.length){var r={};return e.directives.forEach((function(e){r[e.name.value]=d(e,t)})),r}return null}function w(e,t){return void 0===t&&(t={}),function(e){return e?e.filter(E).map((function(e){var t=e.arguments;e.name.value,Object(i.b)(t&&1===t.length,14);var r=t[0];Object(i.b)(r.name&&"if"===r.name.value,15);var n=r.value;return Object(i.b)(n&&("Variable"===n.kind||"BooleanValue"===n.kind),16),{directive:e,ifArgument:r}})):[]}(e.directives).every((function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t[n.value.name.value],Object(i.b)(void 0!==o,13)):o=n.value.value,"skip"===r.name.value?!o:o}))}function x(e,t){return function(e){var t=[];return Object(n.b)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function _(e){return e&&x(["client"],e)&&x(["export"],e)}function E(e){var t=e.name.value;return"skip"===t||"include"===t}function S(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&n.push(e)})),void 0===r&&(Object(i.b)(1===n.length,12),r=n[0].name.value),Object(o.a)(Object(o.a)({},e),{definitions:Object(o.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=ae(t,n);for(var i=1;iYour Trial key includes all the functionality and device support of a Pro key.
After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.
At that point you may either purchase a license key or request a Trial extension.
","_extraMsg":"You have {parsedExpireTime} remaining on your Trial key.
"},"EEXPIRED":{"humanReadable":"Trial Expired","heading":"Your Trial has expired","message":{"base":"To continue using Unraid OS you may purchase a license key.","extensionNotEligible":"You have used all your Trial extensions. @:stateData.EEXPIRED.message.base","extensionEligible":"@:stateData.EEXPIRED.message.base Alternately, you may request a Trial extension."}},"BASIC":{"humanReadable":"Basic"},"PLUS":{"humanReadable":"Plus"},"PRO":{"humanReadable":"Pro"},"EGUID":{"humanReadable":"GUID Error","error":{"heading":"Registration key / GUID mismatch","message":{"default":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key.","replacementIneligible":"Your Unraid registration key is ineligible for replacement as it has been replaced within the last 12 months.","replacementEligible":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key or Replace Key."}}},"ENOKEYFILE2":{"humanReadable":"Missing key file","error":{"heading":"@:stateData.ENOKEYFILE2.humanReadable","message":"It appears that your license key file is corrupted or missing. The key file should be located in the /config directory on your USB Flash boot device. If you do not have a backup copy of your license key file you may attempt to recover your key. If this was a Trial installation, you may purchase a license key."}},"ETRIAL":{"humanReadable":"Invalid installation","error":{"heading":"@:stateData.ETRIAL.humanReadable","message":"It is not possible to use a Trial key with an existing Unraid OS installation. You may purchase a license key corresponding to this USB Flash device to continue using this installation."}},"ENOKEYFILE1":{"humanReadable":"No Keyfile","error":{"heading":"No USB flash configuration data","message":"There is a problem with your USB Flash device"}},"ENOFLASH":{"humanReadable":"No Flash","error":{"heading":"Cannot access your USB Flash boot device","message":"There is a physical problem accessing your USB Flash boot device"}},"EGUID1":{"humanReadable":"Multiple License Keys Present","error":{"heading":"@:stateData.EGUID1.humanReadable","message":"There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device. Alternately you may purchase a license key for this USB flash device. If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first."}},"EBLACKLISTED":{"humanReadable":"BLACKLISTED","error":{"heading":"Blacklisted USB Flash GUID","message":"This USB Flash boot device has been blacklisted. This can occur as a result of transferring your license key to a replacement USB Flash device, and you are currently booted from your old USB Flash device. A USB Flash device may also be blacklisted if we discover the serial number is not unique – this is common with USB card readers."}},"EBLACKLISTED1":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash device error","message":"This USB Flash device has an invalid GUID. Please try a different USB Flash device"}},"EBLACKLISTED2":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash has no serial number","message":"@:stateData.EBLACKLISTED.error.message"}},"ENOCONN":{"humanReadable":"Trial Requires Internet Connection","error":{"heading":"Cannot validate Unraid Trial key","message":"Your Trial key requires an internet connection. Please check Settings > Network"}},"STALE":{"humanReadable":"Stale","error":{"heading":"Stale Server","message":"Please refresh the page to ensure you load your latest configuration"}}},"upc":{"avatarAlt":"{0}\'s Avatar","confirmClosure":"Confirm closure then continue to webGUI","closeDropdown":"Close dropdown","openDropdown":"Open dropdown","pleaseConfirmClosureYouHaveOpenPopUp":"Please confirm closure. You have an open pop-up.","trialHasExpiredSeeOptions":"Trial has expired, see options below","errorCertRequiresSignIn":"Sign In before your Unraid.net SSL certificate expires","noRemoteApikeyRegisteredWithPlg":{"heading":"My Servers Error","msg":"Unraid.net re-authentication required"},"errorTooManyDisks":{"heading":"Too many devices","msg":{"base":"You must upgrade your key to support more devices.","basic":"Your Basic key supports 6 devices.","plus":"Your Plus key supports 12 devices."}},"extraLinks":{"newTab":"Opens {0} in new tab","myServers":"My Servers Dashboard","forums":"Unraid Forums","settings":{"text":"Settings","title":"Settings > Management Access • Unraid.net"}},"meta":{"trial":{"active":{"date":"Trial key expires at {date}","timeDiff":"Trial expires in {timeDiff}"},"expired":{"date":"Trial key expired at {date}","timeDiff":"Trial expired {timeDiff}"}},"uptime":{"date":"Server up since {date}","readable":"Uptime {timeDiff}"}},"myServers":{"heading":"My Servers","beta":"beta","errors":{"unraidApi":{"heading":"Unraid API Error","message":"Failed to connect to Unraid API."},"myServers":{"heading":"My Servers Error","message":"Please wait a moment and reload the page."}},"closeDetails":"Close Details","loading":"Loading My Servers data","displayingLastKnown":"Displaying last known server data","mothership":{"connected":"Connected to Mothership","notConnected":"Not Connected to Mothership"},"accessLabels":{"current":"Current server","local":"Local access","offline":"Server Offline","remote":"Remote access","unavailable":"Access unavailable"}},"opensNewHttpsWindow":{"base":"Opens new HTTPS window to {0}","signIn":"@:upc.opensNewHttpsWindow.base @:signIn","signOut":"@:upc.opensNewHttpsWindow.base @:signOut","purchase":"@:upc.opensNewHttpsWindow.base @:actions.purchase","upgrade":"@:upc.opensNewHttpsWindow.base @:actions.upgrade"},"signInActions":{"resolve":"@:signIn to resolve","purchaseKey":"@:signIn to @:actions.purchase","purchaseKeyOrExtendTrial":"@:upc.signInActions.purchaseKey or @:actions.extend"}},"wanIpCheck":{"checking":"Checking Wan IPs","avatarAlt":"{0}\'s Avatar","match":"Remark: your WAN IPv4 is {0}","mismatch":"Remark: Unraid\'s WAN IPv4 {0} does not match your client\'s WAN IPv4 {1}. This may indicate a complex network that will not work with this Remote Access solution. Ignore this message if you are currently connected via Remote Access or VPN","resolveError":"DNS issue, unable to resolve wanip4.unraid.net"}}')},"5a0c":function(e,t,r){e.exports=function(){"use strict";var e=6e4,t=36e5,r="millisecond",n="second",i="minute",o="hour",a="day",s="week",c="month",u="quarter",l="year",p="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()e.replace(o,(e,t)=>t?t.toUpperCase():""),s=/\B([A-Z])/g,c=e=>e.replace(s,"-$1").toLowerCase();function u(e,t,r){e[t]=[].concat(e[t]||[]),e[t].unshift(r)}function l(e,t){if(e){(e.$options[t]||[]).forEach(t=>{t.call(e)})}}function p(e,t,{type:r}={}){if((e=>/function Boolean/.test(String(e)))(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if((e=>/function Number/.test(String(e)))(r)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function d(e,t){const r=[];for(let n=0,i=t.length;n(e[t]=l[r[n]],e),{}),u(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...r)=>(this.$root.$options.customElement.dispatchEvent(function(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}(t,r)),e.call(this,t,...r))})),u(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),s=!0}function h(e,t){const r=a(t),n=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[r]=p(n,t,o[r])}class m extends HTMLElement{constructor(){const r=super();r.attachShadow({mode:"open"});const n=r._wrapper=new e({name:"shadow-root",customElement:r,shadowRoot:r.shadowRoot,data:()=>({props:{},slotChildren:[]}),render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}});new MutationObserver(e=>{let t=!1;for(let n=0;n{e.props=function(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}(i),n.forEach(e=>{h(this,e)})};s?r():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),f(e),r()}),e.slotChildren=Object.freeze(d(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){l(this.vueComponent,"deactivated")}}return r||f(t),m};function g(e,t,r,n,i,o,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}r("24fb"),r("35d6");var v=r("2f62"),b=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function y(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var w=Array.isArray;function x(e){return null!==e&&"object"==typeof e}function _(e){return"boolean"==typeof e}function E(e){return"string"==typeof e}var S=Object.prototype.toString;function k(e){return"[object Object]"===S.call(e)}function O(e){return null==e}function T(e){return"function"==typeof e}function I(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=null,n=null;return 1===e.length?x(e[0])||w(e[0])?n=e[0]:"string"==typeof e[0]&&(r=e[0]):2===e.length&&("string"==typeof e[0]&&(r=e[0]),(x(e[1])||w(e[1]))&&(n=e[1])),{locale:r,params:n}}function A(e){return JSON.parse(JSON.stringify(e))}function C(e,t){return!!~e.indexOf(t)}var R=Object.prototype.hasOwnProperty;function N(e,t){return R.call(e,t)}function D(e){for(var t=arguments,r=Object(e),n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'")}(e[t]))})),e}var M={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var r=t.data,n=t.parent,i=t.props,o=t.slots,a=n.$i18n;if(a){var s=i.path,c=i.locale,u=i.places,l=o(),p=a.i(s,c,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(l)||u?function(e,t){var r=t?function(e){return Array.isArray(e)?e.reduce(U,{}):Object.assign({},e)}(t):{};if(!e)return r;var n=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(F);return e.reduce(n?j:U,r)}(l.default,u):l),d=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return d?e(d,r,p):p}}};function j(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function U(e,t,r){return e[r]=t,e}function F(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var $,V={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var r=t.props,n=t.parent,i=t.data,o=n.$i18n;if(!o)return null;var a=null,s=null;E(r.format)?a=r.format:x(r.format)&&(r.format.key&&(a=r.format.key),s=Object.keys(r.format).reduce((function(e,t){var n;return C(b,t)?Object.assign({},e,((n={})[t]=r.format[t],n)):e}),null));var c=r.locale||o.locale,u=o._ntp(r.value,c,a,s),l=u.map((function(e,t){var r,n=i.scopedSlots&&i.scopedSlots[e.type];return n?n(((r={})[e.type]=e.value,r.index=t,r.parts=u,r)):e.value})),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?e(p,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},l):l}};function G(e,t,r){W(e,r)&&q(e,t,r)}function z(e,t,r,n){if(W(e,r)){var i=r.context.$i18n;(function(e,t){var r=t.context;return e._locale===r.$i18n.locale})(e,r)&&P(t.value,t.oldValue)&&P(e._localeMessage,i.getLocaleMessage(i.locale))||q(e,t,r)}}function B(e,t,r,n){if(r.context){var i=r.context.$i18n||{};t.modifiers.preserve||i.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else y("Vue instance does not exists in VNode context")}function W(e,t){var r=t.context;return r?!!r.$i18n||(y("VueI18n instance does not exists in Vue instance"),!1):(y("Vue instance does not exists in VNode context"),!1)}function q(e,t,r){var n,i,o=function(e){var t,r,n,i;return E(e)?t=e:k(e)&&(t=e.path,r=e.locale,n=e.args,i=e.choice),{path:t,locale:r,args:n,choice:i}}(t.value),a=o.path,s=o.locale,c=o.args,u=o.choice;if(a||s||c)if(a){var l=r.context;e._vt=e.textContent=null!=u?(n=l.$i18n).tc.apply(n,[a,u].concat(Q(s,c))):(i=l.$i18n).t.apply(i,[a].concat(Q(s,c))),e._locale=l.$i18n.locale,e._localeMessage=l.$i18n.getLocaleMessage(l.$i18n.locale)}else y("`path` is required in v-t directive");else y("value type not supported")}function Q(e,t){var r=[];return e&&r.push(e),t&&(Array.isArray(t)||k(t))&&r.push(t),r}function H(e,t){void 0===t&&(t={bridge:!1}),H.installed=!0,($=e).version&&Number($.version.split(".")[0]),function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[e,n.locale,n._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var i=this.$i18n;return i._tc.apply(i,[e,i.locale,i._getMessages(),this,t].concat(r))},e.prototype.$te=function(e,t){var r=this.$i18n;return r._te(e,r.locale,r._getMessages(),t)},e.prototype.$d=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).d.apply(t,[e].concat(r))},e.prototype.$n=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).n.apply(t,[e].concat(r))}}($),$.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n){if(e.i18n instanceof le){if(e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){t=D(t,JSON.parse(e))})),Object.keys(t).forEach((function(r){e.i18n.mergeLocaleMessage(r,t[r])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(k(e.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof le?this.$root.$i18n:null;if(r&&(e.i18n.root=this.$root,e.i18n.formatter=r.formatter,e.i18n.fallbackLocale=r.fallbackLocale,e.i18n.formatFallbackMessages=r.formatFallbackMessages,e.i18n.silentTranslationWarn=r.silentTranslationWarn,e.i18n.silentFallbackWarn=r.silentFallbackWarn,e.i18n.pluralizationRules=r.pluralizationRules,e.i18n.preserveDirectiveContent=r.preserveDirectiveContent),e.__i18n)try{var n=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){n=D(n,JSON.parse(e))})),e.i18n.messages=n}catch(e){}var i=e.i18n.sharedMessages;i&&k(i)&&(e.i18n.messages=D(e.i18n.messages,i)),this._i18n=new le(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof le?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof le&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof le||k(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof le||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof le)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),$.directive("t",{bind:G,update:z,unbind:B}),$.component(M.name,M),$.component(V.name,V),$.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var Y=function(){this._caches=Object.create(null)};Y.prototype.interpolate=function(e,t){if(!t)return[e];var r=this._caches[e];return r||(r=function(e){var t=[],r=0,n="";for(;r0)p--,l=4,d[0]();else{if(p=0,void 0===r)return!1;if(!1===(r=te(r)))return!1;d[1]()}};null!==l;)if(u++,"\\"!==(t=e[u])||!f()){if(i=ee(t),8===(o=(s=J[l])[i]||s.else||8))return;if(l=o[0],(a=d[o[1]])&&(n=void 0===(n=o[2])?t:n,!1===a()))return;if(7===l)return c}}(e))&&(this._cache[e]=t),t||[]},re.prototype.getPathValue=function(e,t){if(!x(e))return null;var r=this.parsePath(t);if(0===r.length)return null;for(var n=r.length,i=e,o=0;o/,oe=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,ae=/^@(?:\.([a-z]+))?:/,se=/[()]/g,ce={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},ue=new Y,le=function(e){var t=this;void 0===e&&(e={}),!$&&"undefined"!=typeof window&&window.Vue&&H(window.Vue);var r=e.locale||"en-US",n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),i=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ue,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new re,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,this.getChoiceIndex=function(e,r){var n=Object.getPrototypeOf(t);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(t,e,r);return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,r]):function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}(e,r)},this._exist=function(e,r){return!(!e||!r||O(t._path.getPathValue(e,r))&&!e[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])})),this._initVM({locale:r,fallbackLocale:n,messages:i,dateTimeFormats:o,numberFormats:a})},pe={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};le.prototype._checkLocaleMessage=function(e,t,r){var n=function(e,t,r,i){if(k(r))Object.keys(r).forEach((function(o){var a=r[o];k(a)?(i.push(o),i.push("."),n(e,t,a,i),i.pop(),i.pop()):(i.push(o),n(e,t,a,i),i.pop())}));else if(w(r))r.forEach((function(r,o){k(r)?(i.push("["+o+"]"),i.push("."),n(e,t,r,i),i.pop(),i.pop()):(i.push("["+o+"]"),n(e,t,r,i),i.pop())}));else if(E(r)){if(ie.test(r)){var o="Detected HTML in message '"+r+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?y(o):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(o)}}};n(t,e,r,[])},le.prototype._initVM=function(e){var t=$.config.silent;$.config.silent=!0,this._vm=new $({data:e,__VUE18N__INSTANCE__:!0}),$.config.silent=t},le.prototype.destroyVM=function(){this._vm.$destroy()},le.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},le.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},le.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(e._dataListeners),r=t.length;r--;)$.nextTick((function(){t[r]&&t[r].$forceUpdate()}))}),{deep:!0})},le.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},le.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},pe.vm.get=function(){return this._vm},pe.messages.get=function(){return A(this._getMessages())},pe.dateTimeFormats.get=function(){return A(this._getDateTimeFormats())},pe.numberFormats.get=function(){return A(this._getNumberFormats())},pe.availableLocales.get=function(){return Object.keys(this.messages).sort()},pe.locale.get=function(){return this._vm.locale},pe.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},pe.fallbackLocale.get=function(){return this._vm.fallbackLocale},pe.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},pe.formatFallbackMessages.get=function(){return this._formatFallbackMessages},pe.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},pe.missing.get=function(){return this._missing},pe.missing.set=function(e){this._missing=e},pe.formatter.get=function(){return this._formatter},pe.formatter.set=function(e){this._formatter=e},pe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},pe.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},pe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},pe.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},pe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},pe.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},pe.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},pe.warnHtmlInMessage.set=function(e){var t=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,r!==e&&("warn"===e||"error"===e)){var n=this._getMessages();Object.keys(n).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,n[e])}))}},pe.postTranslation.get=function(){return this._postTranslation},pe.postTranslation.set=function(e){this._postTranslation=e},pe.sync.get=function(){return this._sync},pe.sync.set=function(e){this._sync=e},le.prototype._getMessages=function(){return this._vm.messages},le.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},le.prototype._getNumberFormats=function(){return this._vm.numberFormats},le.prototype._warnDefault=function(e,t,r,n,i,o){if(!O(r))return r;if(this._missing){var a=this._missing.apply(null,[e,t,n,i]);if(E(a))return a}if(this._formatFallbackMessages){var s=I.apply(void 0,i);return this._render(t,o,s.params,t)}return t},le.prototype._isFallbackRoot=function(e){return!e&&!O(this._root)&&this._fallbackRoot},le.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},le.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},le.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},le.prototype._interpolate=function(e,t,r,n,i,o,a){if(!t)return null;var s,c=this._path.getPathValue(t,r);if(w(c)||k(c))return c;if(O(c)){if(!k(t))return null;if(!E(s=t[r])&&!T(s))return null}else{if(!E(c)&&!T(c))return null;s=c}return E(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,n,"raw",o,a)),this._render(s,i,o,r)},le.prototype._link=function(e,t,r,n,i,o,a){var s=r,c=s.match(oe);for(var u in c)if(c.hasOwnProperty(u)){var l=c[u],p=l.match(ae),d=p[0],f=p[1],h=l.replace(d,"").replace(se,"");if(C(a,h))return s;a.push(h);var m=this._interpolate(e,t,h,n,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,h,n,i,o)}m=this._warnDefault(e,h,m,n,w(o)?o:[o],i),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):ce.hasOwnProperty(f)&&(m=ce[f](m)),a.pop(),s=m?s.replace(l,m):s}return s},le.prototype._createMessageContext=function(e,t,r,n){var i=this,o=w(e)?e:[],a=x(e)?e:{},s=this._getMessages(),c=this.locale;return{list:function(e){return o[e]},named:function(e){return a[e]},values:e,formatter:t,path:r,messages:s,locale:c,linked:function(e){return i._interpolate(c,s[c]||{},e,null,n,void 0,[e])}}},le.prototype._render=function(e,t,r,n){if(T(e))return e(this._createMessageContext(r,this._formatter||ue,n,t));var i=this._formatter.interpolate(e,r,n);return i||(i=ue.interpolate(e,r,n)),"string"!==t||E(i)?i:i.join("")},le.prototype._appendItemToChain=function(e,t,r){var n=!1;return C(e,t)||(n=!0,t&&(n="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),r&&r[t]&&(n=r[t]))),n},le.prototype._appendLocaleToChain=function(e,t,r){var n,i=t.split("-");do{var o=i.join("-");n=this._appendItemToChain(e,o,r),i.splice(-1,1)}while(i.length&&!0===n);return n},le.prototype._appendBlockToChain=function(e,t,r){for(var n=!0,i=0;i0;)o[a]=arguments[a+4];if(!e)return"";var s=I.apply(void 0,o);this._escapeParameterHtml&&(s.params=L(s.params));var c=s.locale||t,u=this._translate(r,c,this.fallbackLocale,e,n,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[e].concat(o))}return u=this._warnDefault(c,e,u,n,o,"string"),this._postTranslation&&null!=u&&(u=this._postTranslation(u,e)),u},le.prototype.t=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(r))},le.prototype._i=function(e,t,r,n,i){var o=this._translate(r,t,this.fallbackLocale,e,n,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,i)}return this._warnDefault(t,e,o,n,[i],"raw")},le.prototype.i=function(e,t,r){return e?(E(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,r)):""},le.prototype._tc=function(e,t,r,n,i){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===i&&(i=1);var c={count:i,n:i},u=I.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((o=this)._t.apply(o,[e,t,r,n].concat(a)),i)},le.prototype.fetchChoice=function(e,t){if(!e||!E(e))return null;var r=e.split("|");return r[t=this.getChoiceIndex(t,r.length)]?r[t].trim():e},le.prototype.tc=function(e,t){for(var r,n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];return(r=this)._tc.apply(r,[e,this.locale,this._getMessages(),null,t].concat(n))},le.prototype._te=function(e,t,r){for(var n=[],i=arguments.length-3;i-- >0;)n[i]=arguments[i+3];var o=I.apply(void 0,n).locale||t;return this._exist(r[o],e)},le.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},le.prototype.getLocaleMessage=function(e){return A(this._vm.messages[e]||{})},le.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},le.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,D(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},le.prototype.getDateTimeFormat=function(e){return A(this._vm.dateTimeFormats[e]||{})},le.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},le.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,D(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},le.prototype._clearDateTimeFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},le.prototype._localizeDateTime=function(e,t,r,n,i){for(var o=t,a=n[o],s=this._getLocaleChain(t,r),c=0;c0;)t[r]=arguments[r+1];var n=this.locale,i=null;return 1===t.length?E(t[0])?i=t[0]:x(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(i=t[0].key)):2===t.length&&(E(t[0])&&(i=t[0]),E(t[1])&&(n=t[1])),this._d(e,n,i)},le.prototype.getNumberFormat=function(e){return A(this._vm.numberFormats[e]||{})},le.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},le.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,D(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},le.prototype._clearNumberFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},le.prototype._getNumberFormatter=function(e,t,r,n,i,o){for(var a=t,s=n[a],c=this._getLocaleChain(t,r),u=0;u0;)t[r]=arguments[r+1];var n=this.locale,i=null,o=null;return 1===t.length?E(t[0])?i=t[0]:x(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(i=t[0].key),o=Object.keys(t[0]).reduce((function(e,r){var n;return C(b,r)?Object.assign({},e,((n={})[r]=t[0][r],n)):e}),null)):2===t.length&&(E(t[0])&&(i=t[0]),E(t[1])&&(n=t[1])),this._n(e,n,i,o)},le.prototype._ntp=function(e,t,r,n){if(!le.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t)).formatToParts(e);var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),o=i&&i.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,r,n)}return o||[]},Object.defineProperties(le.prototype,pe),Object.defineProperty(le,"availabilities",{get:function(){if(!ne){var e="undefined"!=typeof Intl;ne={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return ne}}),le.install=H,le.version="8.26.1";var de=le;i.default.use(de);var fe=new de({locale:"en_US",fallbackLocale:"en_US",messages:function(){const e=r("4b3b"),t={};return e.keys().forEach(r=>{const n=r.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){const i=n[1];t[i]=e(r)}}),t}()});const he="production",me="https://registration.unraid.net",ge="https://unraid.net/preflight",ve=Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEV_GRAPH_URL||null,be=(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEV_APIKEY,{url:me,name:"UnraidRegistrationWizard",width:600,height:810}),ye={errorMessage:"",errorMessageSubtext:"",loading:!0,submissionFrom:null,darkMode:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"},csrf:null,postMessageError:null,isLaunchpadOpen:!1,triggerUPC:!1,ts:null,deviceCount:0,flashproduct:null,flashvendor:null,guid:"",regGuid:"",keyfile:null,servername:null,serverdesc:null,wanip:sessionStorage.getItem("upc_wanip")||null,site:null,wanFQDN:null,state:"",reggen:0,registered:null,internalip:null,internalport:null,protocol:null,license:"",expiretime:null,regWizTime:null,rawServerState:null,plgPath:null,guidRegistered:!1,guidValid:null,guidValidationRunning:!1,replaceable:null,guidForValidation:null,guidBlacklisted:null,id:null,isPopUpOpen:!1,popUpWindow:"",regAtOpen:null,forumaccount:null,userEmail:"",username:"",avatar:"",userPassword:"",apikey:"",ipsValidated:!1,accountAction:null,keyServerAction:"",licenseAction:null,receivedSuccessNewServerState:null,purchaseWindow:{url:new URL(ge),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},redeemWindow:{url:new URL(ge+"?r=1"),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},wizardWindow:be,signInPayload:{...be,url:be.url+"/#/sign-in"},signUpPayload:{...be,url:be.url+"/#/sign-up"},signOutPayload:{...be,url:be.url+"/#/sign-out",width:600,height:500},extendTrialPayload:{...be,url:be.url+"/#/extend-trial"},recoverKeyPayload:{...be,url:be.url+"/#/recover-key"},replaceKeyPayload:{...be,url:be.url+"/#/replace-key"},troubleshootPayload:{...be,url:be.url+"/#/troubleshoot"},locale:"en_US",messages:null,graphOnline:!1,myServers:[],myServersLoading:!1,myServersError:null,myServersEnv:null,apiVersion:"2.26.12",hideMyServers:!1,osVersion:null,plgVersion:null,hasRemoteApikey:null,config:null,hasUnraidNetSSL:!1,flashBackupEnabled:!1,extraOrigins:[],myServersOutage:{enabled:!0,message:{heading:"My Servers Update",main:"Please update to the latest version of the My Servers plugin",link:"/Plugins",linkSameTab:!0}},devEnv:!1};var we=r("0e49"),xe=r.n(we);const _e="GUID_NOT_RECEIVED",Ee=!(!window.opener||window.opener===window),Se=Ee?window.opener.parent:window.parent,ke=[ge,me,"https://launchpad.unraid.test:8081","https://launchpad.unraid.test:6969","https://registration.unraid.net","https://registration-dev.unraid.net","https://unraid.net","https://staging.unraid.net","https://craft.unraid.test"],Oe=e=>{try{return[null,JSON.parse(e)]}catch(e){return[e]}},Te={actions:[],humanReadable:"",heading:"",message:"",messageCenter:!1,error:!1,withKey:!1},Ie={...Te,humanReadable:fe.tc("stateData.ENOFLASH.humanReadable"),error:{heading:fe.tc("stateData.ENOFLASH.error.heading"),message:fe.tc("stateData.ENOFLASH.error.message"),signInToFix:!1}};let Ae="";const Ce={statePhpPath:e=>`/plugins/${e.plgPath||"dynamix.unraid.net"}/include/state.php`,myServersCfgPath:e=>(e.plgPath||"Unraid.net")+"/myservers.cfg",requireGuidValidation:e=>!Ee||e.guidRegistered,validApiKeyLength:e=>64===e.apikey.length,validApiKeyForUpc:e=>!!e.apikey&&e.apikey.startsWith("unupc_"),showExpiretime:e=>("TRIAL"===e.state||"EEXPIRED"===e.state)&&e.expiretime>0,trialExtensionEligible:e=>!(e.reggen&&!(e.reggen<2)),signedOutWithKey:(e,t)=>!(!t.stateData.withKey||e.registered),stateData:(e,t)=>{switch(e.state){case"ENOKEYFILE":return{...Te,actions:[e.registered?"signOut":"register"],humanReadable:fe.tc("stateData.ENOKEYFILE.humanReadable"),heading:e.registered?fe.tc("stateData.ENOKEYFILE.heading.registered"):fe.tc("stateData.ENOKEYFILE.heading.notRegistered"),message:e.registered?fe.tc("stateData.ENOKEYFILE.message.registered"):fe.tc("stateData.ENOKEYFILE.message.notRegistered"),messageCenter:!0};case"TRIAL":return{...Te,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered?"continueTrial":null],humanReadable:fe.tc("stateData.TRIAL.humanReadable"),heading:fe.tc("stateData.TRIAL.heading"),message:fe.tc("stateData.TRIAL.message"),withKey:!0};case"EEXPIRED":return{...Te,actions:[e.registered?"signOut":"register",e.registered&&t.trialExtensionEligible?"extend":null,e.registered?"purchase":null],humanReadable:fe.tc("stateData.EEXPIRED.humanReadable"),error:{heading:fe.tc("stateData.EEXPIRED.heading"),message:t.trialExtensionEligible?fe.tc("stateData.EEXPIRED.message.extensionEligible"):fe.tc("stateData.EEXPIRED.message.extensionNotEligible")},withKey:!0};case"BASIC":return{...Te,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"upgrade":null],humanReadable:fe.tc("stateData.BASIC.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?fe.tc("basicPlusPro.message.upgradeEligible"):"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PLUS":return{...Te,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"upgrade":null],humanReadable:fe.tc("stateData.PLUS.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?fe.tc("basicPlusPro.message.upgradeEligible"):"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PRO":return{...Te,actions:[e.registered?"signOut":"register",e.registered?"close":null],humanReadable:fe.tc("stateData.PRO.humanReadable"),heading:fe.tc("basicPlusPro.heading"),message:e.registered?"":fe.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"EGUID":return null===e.replaceable&&(Ae=fe.tc("stateData.EGUID.error.message.replacementEligible")),e.replaceable&&(Ae=fe.tc("stateData.EGUID.error.message.replacementEligible")),!1===e.replaceable&&e.guidBlacklisted&&(Ae=fe.tc("stateData.EGUID.error.message.default")+'
Your Unraid registration key is ineligible for replacement as it is blacklisted.'),!1===e.replaceable&&!1===e.guidBlacklisted&&(Ae=`${fe.tc("stateData.EGUID.error.message.default")}
${fe.tc("stateData.EGUID.error.message.replacementIneligible")}`),{...Te,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered?"replace":null],humanReadable:fe.tc("stateData.EGUID.humanReadable"),error:{heading:fe.tc("stateData.EGUID.error.heading"),message:Ae,signInToFix:!0}};case"EGUID1":return{...Te,actions:[e.registered?"signOut":"register",e.registered?"purchase":null],humanReadable:fe.tc("stateData.EGUID1.humanReadable"),error:{heading:fe.tc("stateData.EGUID1.error.heading"),message:fe.tc("stateData.EGUID1.error.message"),signInToFix:!0}};case"ENOKEYFILE2":return{...Te,actions:[e.registered?"signOut":"register",e.registered?"purchase":null,e.registered&&t.requireGuidValidation?"recover":null],humanReadable:fe.tc("stateData.ENOKEYFILE2.humanReadable"),error:{heading:fe.tc("stateData.ENOKEYFILE2.error.heading"),message:fe.tc("stateData.ENOKEYFILE2.error.message"),signInToFix:!0}};case"ETRIAL":return{...Te,actions:[e.registered?"signOut":"register",e.registered&&t.requireGuidValidation?"purchase":null],humanReadable:fe.tc("stateData.ETRIAL.humanReadable"),error:{heading:fe.tc("stateData.ETRIAL.error.heading"),message:fe.tc("stateData.ETRIAL.error.message"),signInToFix:!0}};case"ENOKEYFILE1":return{...Te,humanReadable:fe.tc("stateData.ENOKEYFILE1.humanReadable"),error:{heading:fe.tc("stateData.ENOKEYFILE1.error.heading"),message:fe.tc("stateData.ENOKEYFILE1.error.message"),signInToFix:!1}};case"ENOFLASH":case"ENOFLASH1":case"ENOFLASH2":case"ENOFLASH3":case"ENOFLASH4":case"ENOFLASH5":case"ENOFLASH6":case"ENOFLASH7":return Ie;case"EBLACKLISTED":return{...Te,humanReadable:fe.tc("stateData.EBLACKLISTED.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED.error.heading"),message:fe.tc("stateData.EBLACKLISTED.error.message"),signInToFix:!1}};case"EBLACKLISTED1":return{...Te,humanReadable:fe.tc("stateData.EBLACKLISTED1.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED1.error.heading"),message:fe.tc("stateData.EBLACKLISTED1.error.message"),signInToFix:!1}};case"EBLACKLISTED2":return{...Te,humanReadable:fe.tc("stateData.EBLACKLISTED2.humanReadable"),error:{heading:fe.tc("stateData.EBLACKLISTED2.error.heading"),message:fe.tc("stateData.EBLACKLISTED2.error.message"),signInToFix:!1}};case"ENOCONN":return{...Te,humanReadable:fe.tc("stateData.ENOCONN.humanReadable"),error:{heading:fe.tc("stateData.ENOCONN.error.heading"),message:fe.tc("stateData.ENOCONN.error.message"),signInToFix:!1}};case"STALE":return{...Te,humanReadable:fe.tc("stateData.STALE.humanReadable"),error:{heading:fe.tc("stateData.STALE.error.heading"),message:fe.tc("stateData.STALE.error.message"),signInToFix:!1}};default:return{...Te}}},stateDataKeyActions:(e,t)=>!!(t.stateData.actions.includes("purchase")||t.stateData.actions.includes("upgrade")||t.stateData.actions.includes("recover")||t.stateData.actions.includes("replace")||t.stateData.actions.includes("extend")),keyTypeForPurchase:e=>{switch(e.state){case"BASIC":return"Basic";case"PLUS":return"Plus";case"PRO":return"Pro";default:return"Trial"}},isRemoteAccess:e=>e.wanFQDN||e.site&&e.site.includes("www.")&&e.site.includes("unraid.net"),noRemoteApikeyRegisteredWithPlg:e=>!(!e.registered||e.hideMyServers||"boolean"!=typeof e.hasRemoteApikey||e.hasRemoteApikey),errorTooManyDisks:e=>!(!e.config||e.config.valid||"INVALID"!==e.config.error),errorCertRequiresSignIn:(e,t)=>!(!(e.osVersion&&e.osVersion.includes("6.10.")&&e.hasUnraidNetSSL)||e.registered||t.stateData.error||"ENOKEYFILE"===e.state),allowedOrigins:e=>[...ke,...e.extraOrigins],myServersOutage:e=>({...xe()(e.apiVersion,"2.36.3")||e.devMode?{enabled:!1}:e.myServersOutage}),server:(e,t)=>({guid:e.guid||_e,regGuid:e.regGuid,guidRegistered:e.guidRegistered||e.regWizTime,guidValid:e.guidValid,hasRemoteApikey:e.hasRemoteApikey,regWizTime:e.regWizTime,keyfile:e.keyfile,keyTypeForPurchase:t.keyTypeForPurchase,flashproduct:e.flashproduct,flashvendor:e.flashvendor,servername:e.servername,serverdesc:e.serverdesc,internalip:e.internalip,site:e.site,wanFQDN:e.wanFQDN,state:e.state,internalport:e.internalport,protocol:e.protocol,registered:e.registered,reggen:e.reggen,userEmail:e.userEmail,expiretime:e.expiretime,ts:e.ts,locale:e.locale,deviceCount:e.deviceCount,plgPath:e.plgPath,plgVersion:e.plgVersion,osVersion:e.osVersion,extraOrigins:e.extraOrigins})};var Re=r("786a"),Ne=r.n(Re),De=r("626e");const Pe=((e,t)=>{void 0===t&&(t={keys:[],values:[]});const r=t.keys,n=void 0===r?[]:r,i=t.values,o=void 0===i?[]:i,a=(e,t)=>{const r=De.key(e)||De.value(t),i=n.some(t=>t.test(e))||o.some(e=>e.test(t));return r||i};return{map:t=>Ne.a.default(t).map(t=>!!a((void 0).key,t)&&(void 0).update(e)),forEach:t=>{Ne.a.default(t).forEach(t=>{a((void 0).key,t)&&(void 0).update(e)})}}})("[REDACTED]",{keys:["guid"],values:[]}),Le={...Object.fromEntries(Object.entries(console).map(([e,t])=>{if("debug"===e)return[e,()=>{}];if("function"==typeof method){const r=t.bind(console);return[e,(e,...t)=>t.length>=1?r(e,...t.map(e=>Pe.map(e))):r(e)]}return[e,t]}))},Me={SET_APP_ERROR_MESSAGE(e,t){const[r,n]=Oe(t);n&&!r||!t||(e.errorMessage=t),n||!1!==t&&""!==t||(e.errorMessage=""),n&&n.error&&(e.errorMessage=n.error),e.errorMessage&&Le.error("[APP_ERROR]: %s",e.errorMessage)},SET_APP_ERROR_MESSAGE_SUBTEXT(e,t){e.errorMessageSubtext=t,e.errorMessageSubtext&&Le.error("[APP_ERROR]: %s",e.errorMessageSubtext)},SET_LOADING_STATE(e,t){Le.debug("[SET_LOADING_STATE]: %o",t),e.loading=t},SET_IS_LAUNCHPAD_OPEN(e,t){Le.debug("[SET_IS_LAUNCHPAD_OPEN]: %o",t),e.isLaunchpadOpen=t},SET_STATE(e,t){Le.debug("[SET_STATE]: %o",t),e.state=t},SET_CONFIG(e,t){Le.debug("[SET_CONFIG]: %o",t),e.config=t},CHANGE_GUID_REGISTERED(e,t){Le.debug("[CHANGE_GUID_REGISTERED]: %o",t),e.guidRegistered=t},CHANGE_GUID_VALID(e,t){Le.debug("[CHANGE_GUID_VALID]: %o",t),e.guidValid=t},CHANGE_GUID_VALIDATION_RUNNING(e,t){Le.debug("[CHANGE_GUID_VALIDATION_RUNNING]: %o",t),e.guidValidationRunning=t},CHANGE_GUID_FOR_VALIDATION(e,t){Le.debug("[CHANGE_GUID_FOR_VALIDATION]: %o",t),e.guidForValidation=t},CHANGE_GUID_BLACKLISTED(e,t){Le.debug("[CHANGE_GUID_BLACKLISTED]: %o",t),e.guidBlacklisted=t},CHANGE_REPLACEABLE(e,t){Le.debug("[CHANGE_REPLACEABLE]: %o",t),e.replaceable=t},CHANGE_POP_UP_WINDOW(e,t){Le.debug("[CHANGE_POP_UP_WINDOW]: %o",t),e.popUpWindow=t,e.isPopUpOpen=!!t,e.regAtOpen=null},STATE_AT_OPEN(e,t){e.regAtOpen=t},MUTATE_KEYSERVER_RESPONSE(e,t){Le.debug("[MUTATE_KEYSERVER_RESPONSE]: %o",t),t.license&&(e.license=t.license),t.trial&&(e.keyfile=t.trial),t.apikey&&(e.apikey=t.apikey),t.validated&&(e.ipsValidated=t.validated),t.email&&(e.userEmail=t.email),t.password&&(e.userPassword=t.password),(t.action||t.keyServerAction)&&(e.keyServerAction=t.action||t.keyServerAction),t.username&&(e.username=t.username),t.avatar&&(e.avatar=t.avatar)},SET_TRIAL(e,t){Le.debug("[SET_TRIAL]: %o",t),e.license=t.license,e.keyfile=t.trial,e.keyServerAction="extendTrial"},SET_USER_EMAIL(e,t){Le.debug("[SET_USER_EMAIL]: %s",t),e.userEmail=t},SET_FULL_SERVER_STATE(e,t){if(Le.debug("[SET_FULL_SERVER_STATE] start %o",t),!t)return Le.error("[SET_FULL_SERVER_STATE] No state data…🤬");let r=t;return(r.registered||0===r.registered)&&(r.registered=Boolean(Number(r.registered))),(r.hasRemoteApikey||0===r.hasRemoteApikey)&&(r.hasRemoteApikey=Boolean(Number(r.hasRemoteApikey))),r.email&&(r={...r,userEmail:r.email},delete r.email),Le.debug("[SET_FULL_SERVER_STATE] ✨ mutateData ✨ %o",{state:e,mutateData:r}),e=Object.assign(e,r),!0},SET_RAW_SERVER_STATE:(e,t)=>Ee?(e.rawServerState=t,Le.debug("[SET_RAW_SERVER_STATE] %o",t)):Le.debug("[SET_RAW_SERVER_STATE] ❌ skipped not needed in non-pop-up ❌ %o",{CAN_POST_MESSAGE:Ee}),SIGN_OUT(e){Le.debug("[SIGN_OUT]: %s","✨"),e.registered=!1,e.license="",e.keyfile="",e.apikey="",e.ipsValidated=!1,e.userEmail="",e.userPassword="",e.username="",e.avatar=""},SUBMISSION_FROM(e,t){Le.debug("[SUBMISSION_FROM]: %s",t),e.submissionFrom=t},SET_WANIP(e,t){Le.debug("[SET_WANIP]: %s",t),e.wanip=t,sessionStorage.setItem("upc_wanip",t)},SET_SERVERDESC(e,t){Le.debug("[SET_SERVERDESC]: %s",t),e.serverdesc=t},SET_SITE(e,t){Le.debug("[SET_SITE]: %s",t),e.site=t},SET_CSRF(e,t){Le.debug("[SET_CSRF]: %s",t),e.csrf=t},LICENSE_PINGBACK(e,t){Le.debug("[LICENSE_PINGBACK]: %o",t),e.licenseAction=t},ACCOUNT_PINGBACK(e,t){Le.debug("[ACCOUNT_PINGBACK]: %o",t),e.accountAction=t},RECEIVED_SUCCESS_NEW_SERVERSTATE(e,t){Le.debug("[RECEIVED_SUCCESS_NEW_SERVERSTATE]: %o",t),e.receivedSuccessNewServerState=t},SET_UPTIME(e,t){Le.debug("[SET_UPTIME]: %s",t),e.uptime=t},SET_EXPIRE_TIME(e,t){Le.debug("[SET_EXPIRE_TIME]: %s",t),e.expiretime=t},SET_REGWIZ_TIME(e,t){Le.debug("[SET_REGWIZ_TIME]: %s",t),e.regWizTime=t},CHANGE_GUID_FORUMACCOUNT(e,t){Le.debug("[CHANGE_GUID_FORUMACCOUNT]: %s",t),e.forumaccount=t},SET_LOCALE(e,t){Le.debug("[SET_LOCALE]: %s",t),e.locale=t},LOCALE_MESSAGES(e,t){const[r,n]=Oe(decodeURIComponent(t));r?Le.warn("[LOCALE_MESSAGES]: %o",r):(Le.debug("[LOCALE_MESSAGES]: %o",n),e.messages=n)},SET_API_KEY(e,t){Le.debug("[SET_API_KEY]: %s",t),e.apikey=t},SET_GRAPH_ONLINE(e,t){Le.debug("[SET_GRAPH_ONLINE]: %o",t),e.graphOnline=t},SET_MY_SERVERS(e,t){Le.debug("[SET_MY_SERVERS]: %o",t),e.myServers=[...t]},SET_MY_SERVERS_LOADING(e,t){Le.debug("[SET_MY_SERVERS_LOADING]: %o",t),e.myServersLoading=t},SET_MY_SERVERS_ERROR(e,t){t?Le.error("[myServersError]: %o",t):Le.debug("[myServersError]",t),e.myServersError=t},SET_MY_SERVERS_ENV(e,t){Le.debug("[SET_MY_SERVERS_ENV]: %o",t),e.myServersEnv=t},SET_MY_SERVERS_API_VERSION(e,t){Le.debug("[SET_MY_SERVERS_API_VERSION]: %o",t),e.apiVersion=t},TRIGGER_UPC(e,t){Le.debug("[TRIGGER_UPC]: %o",t),e.triggerUPC=t},SET_HIDE_MY_SERVERS(e,t){Le.debug("[SET_HIDE_MY_SERVERS]: %o",t),e.hideMyServers=!!t},SET_PLG_PATH:(e,t)=>"dynamix.my.servers"!==t?Le.warn("[SET_PLG_PATH] value not allowed",t):(Le.debug("[SET_PLG_PATH]: %o",t),e.plgPath=t,!0),SET_POST_MESSAGE_ERROR(e,t){e.postMessageError=t,e.postMessageError&&Le.error("[SET_POST_MESSAGE_ERROR]: %o",e.postMessageError)},SET_OWNER(e,t){Le.debug("[SET_HIDE_MY_SERVERS]: %o",t),e.username=t.username,e.avatar=t.avatar,e.registered=!(!t.username||!t.avatar)},SET_REGISTRATION_SUB(e,t){Le.debug("[SET_REGISTRATION_SUB]: %o",t),t.keyfile&&(e.keyfile=t.keyFile.contents),t.expiration&&(e.expiretime=t.expiration)},SET_DEV_MODE(e,t){Le.debug("[SET_DEV_MODE]: %o",t),e.devEnv=t}};var je=function(){return(je=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,$e.a&&(e.prototype[$e.a]=t)}function Ge(e){return(Ge="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)}function ze(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index120){for(var d=Math.floor(c/80),f=c%80,h=[],m=0;m0||Fe(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Fe(0,"column in locationOffset is 1-indexed and must be positive")};!function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}(Xe);var Je=r("04b4"),Ze=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function et(){return this.lastToken=this.token,this.token=this.lookahead()}function tt(){var e=this.token;if(e.kind!==Ze.EOF)do{e=e.next||(e.next=it(this,e))}while(e.kind===Ze.COMMENT);return e}function rt(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function nt(e){return isNaN(e)?Ze.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function it(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new rt(Ze.EOF,i,i,a,s,t);var c=n.charCodeAt(o);switch(c){case 33:return new rt(Ze.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new rt(Ze.COMMENT,t,s,r,n,i,a.slice(t+1,s))}(r,o,a,s,t);case 36:return new rt(Ze.DOLLAR,o,o+1,a,s,t);case 38:return new rt(Ze.AMP,o,o+1,a,s,t);case 40:return new rt(Ze.PAREN_L,o,o+1,a,s,t);case 41:return new rt(Ze.PAREN_R,o,o+1,a,s,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new rt(Ze.SPREAD,o,o+3,a,s,t);break;case 58:return new rt(Ze.COLON,o,o+1,a,s,t);case 61:return new rt(Ze.EQUALS,o,o+1,a,s,t);case 64:return new rt(Ze.AT,o,o+1,a,s,t);case 91:return new rt(Ze.BRACKET_L,o,o+1,a,s,t);case 93:return new rt(Ze.BRACKET_R,o,o+1,a,s,t);case 123:return new rt(Ze.BRACE_L,o,o+1,a,s,t);case 124:return new rt(Ze.PIPE,o,o+1,a,s,t);case 125:return new rt(Ze.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,c=0;for(;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new rt(Ze.NAME,t,s,r,n,i,o.slice(t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,c=t,u=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw Ye(e,c,"Invalid number, unexpected digit after 0: ".concat(nt(s),"."))}else c=ot(e,c,s),s=a.charCodeAt(c);if(46===s&&(u=!0,s=a.charCodeAt(++c),c=ot(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=ot(e,c,s),s=a.charCodeAt(c)),46===s||69===s||101===s)throw Ye(e,c,"Invalid number, expected digit but got: ".concat(nt(s),"."));return new rt(u?Ze.FLOAT:Ze.INT,t,c,n,i,o,a.slice(t,c))}(r,o,c,a,s,t);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,c=s,u=0,l="";for(;s=48&&o<=57){do{o=n.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw Ye(e,i,"Invalid number, expected digit but got: ".concat(nt(o),"."))}function at(e,t,r,n){return st(e)<<12|st(t)<<8|st(r)<<4|st(n)}function st(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Ve(rt,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}));var ct=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});var ut=function(){function e(e,t){var r="string"==typeof e?new Xe(e):e;r instanceof Xe||Fe(0,"Must provide Source. Received: ".concat(Object(Ue.a)(r))),this._lexer=function(e,t){var r=new rt(Ze.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:r,token:r,line:1,lineStart:0,advance:et,lookahead:tt}}(r),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Ze.NAME);return{kind:Ke.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:Ke.a.DOCUMENT,definitions:this.many(Ze.SOF,this.parseDefinition,Ze.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Ze.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Ze.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Ze.BRACE_L))return{kind:Ke.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(Ze.NAME)&&(t=this.parseName()),{kind:Ke.a.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Ze.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Ze.PAREN_L,this.parseVariableDefinition,Ze.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:Ke.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Ze.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ze.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Ze.DOLLAR),{kind:Ke.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:Ke.a.SELECTION_SET,selections:this.many(Ze.BRACE_L,this.parseSelection,Ze.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Ze.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(Ze.COLON)?(e=n,t=this.parseName()):t=n,{kind:Ke.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ze.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Ze.PAREN_L,t,Ze.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Ze.COLON),{kind:Ke.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:Ke.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(Ze.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Ze.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Ze.NAME)?{kind:Ke.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:Ke.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:Ke.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:Ke.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Ze.BRACKET_L:return this.parseList(e);case Ze.BRACE_L:return this.parseObject(e);case Ze.INT:return this._lexer.advance(),{kind:Ke.a.INT,value:t.value,loc:this.loc(t)};case Ze.FLOAT:return this._lexer.advance(),{kind:Ke.a.FLOAT,value:t.value,loc:this.loc(t)};case Ze.STRING:case Ze.BLOCK_STRING:return this.parseStringLiteral();case Ze.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:Ke.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:Ke.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:Ke.a.ENUM,value:t.value,loc:this.loc(t)});case Ze.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:Ke.a.STRING,value:e.value,block:e.kind===Ze.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:Ke.a.LIST,values:this.any(Ze.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Ze.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:Ke.a.OBJECT,fields:this.any(Ze.BRACE_L,(function(){return t.parseObjectField(e)}),Ze.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(Ze.COLON),{kind:Ke.a.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Ze.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Ze.AT),{kind:Ke.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Ze.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Ze.BRACKET_R),e={kind:Ke.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Ze.BANG)?{kind:Ke.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:Ke.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Ze.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Ze.STRING)||this.peek(Ze.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.many(Ze.BRACE_L,this.parseOperationTypeDefinition,Ze.BRACE_R);return{kind:Ke.a.SCHEMA_DEFINITION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Ze.COLON);var r=this.parseNamedType();return{kind:Ke.a.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:Ke.a.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:Ke.a.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(Ze.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(Ze.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(Ze.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(Ze.BRACE_L)&&this._lexer.lookahead().kind===Ze.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Ze.BRACE_L,this.parseFieldDefinition,Ze.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(Ze.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:Ke.a.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Ze.PAREN_L,this.parseInputValueDef,Ze.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(Ze.COLON);var n,i=this.parseTypeReference();this.expectOptionalToken(Ze.EQUALS)&&(n=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:Ke.a.INPUT_VALUE_DEFINITION,description:t,name:r,type:i,defaultValue:n,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:Ke.a.INTERFACE_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:Ke.a.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(Ze.EQUALS)){this.expectOptionalToken(Ze.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(Ze.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:Ke.a.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Ze.BRACE_L,this.parseEnumValueDefinition,Ze.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:Ke.a.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:Ke.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Ze.BRACE_L,this.parseInputValueDef,Ze.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Ze.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(Ze.BRACE_L,this.parseOperationTypeDefinition,Ze.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:Ke.a.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:Ke.a.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:Ke.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Ke.a.INTERFACE_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Ke.a.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Ke.a.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:Ke.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ze.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:Ke.a.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(Ze.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(Ze.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==ct[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new lt(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Ye(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(pt(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Ze.NAME||t.value!==e)throw Ye(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(pt(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Ze.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return Ye(this._lexer.source,t.start,"Unexpected ".concat(pt(t)))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},e}();function lt(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function pt(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}Ve(lt,(function(){return{start:this.start,end:this.end}}));var dt=new Map,ft=new Map,ht=!0,mt=!1;function gt(e){return e.replace(/[\s,]+/g," ").trim()}function vt(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=function(e){return gt(e.source.body.substring(e.start,e.end))}(e.loc),o=ft.get(n);o&&!o.has(i)?ht&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||ft.set(n,o=new Set),o.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e)})),je(je({},e),{definitions:r})}function bt(e){var t=gt(e);if(!dt.has(t)){var r=function(e,t){return new ut(e,t).parseDocument()}(e,{experimentalFragmentVariables:mt});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");dt.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(vt(r)))}return dt.get(t)}function yt(e){for(var t=[],r=1;r0}var Ht,Yt=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||function(e){var t="";return Qt(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"})),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(Ot.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(Ht||(Ht={}));var Kt=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o;var s=Object(Tt.m)(n.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=r,a}return Object(Ot.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:Gt.error}}var t,r=this.queryManager.getCurrentQueryResult(this),n=r.data,i=r.partial,o=this.queryManager.queryStore.get(this.queryId),a=this.options.fetchPolicy,s="network-only"===a||"no-cache"===a;if(o){var c=o.networkStatus;if(function(e,t){return void 0===t&&(t="none"),e&&(e.networkError||"none"===t&&Qt(e.graphQLErrors))}(o,this.options.errorPolicy))return{data:void 0,loading:!1,networkStatus:c,error:new Yt({graphQLErrors:o.graphQLErrors,networkError:o.networkError})};o.variables&&(this.options.variables=Object(Ot.a)(Object(Ot.a)({},this.options.variables),o.variables),this.variables=this.options.variables),t={data:n,loading:Wt(c),networkStatus:c},o.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=o.graphQLErrors)}else{var u=s||i&&"cache-only"!==a;t={data:n,loading:u,networkStatus:u?Gt.loading:Gt.ready}}return i||this.updateLastResult(Object(Ot.a)(Object(Ot.a)({},t),{stale:!1})),Object(Ot.a)(Object(Ot.a)({},t),{partial:i})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(It.a)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new Rt.a(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),Object(It.a)(this.variables,e)||(this.variables=Object(Ot.a)(Object(Ot.a)({},this.variables),e)),Object(It.a)(this.options.variables,this.variables)||(this.options.variables=Object(Ot.a)(Object(Ot.a)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(Ot.a)(Object(Ot.a)({},this.options),{fetchPolicy:t}),Ht.refetch))},t.prototype.fetchMore=function(e){var t=this;Object(Rt.b)(e.updateQuery,2);var r=Object(Ot.a)(Object(Ot.a)({},e.query?e:Object(Ot.a)(Object(Ot.a)(Object(Ot.a)({},this.options),e),{variables:Object(Ot.a)(Object(Ot.a)({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),n=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(n,r,Ht.normal,this.queryId).then((function(i){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:i.data,variables:r.variables})})),t.queryManager.stopQuery(n),i}),(function(e){throw t.queryManager.stopQuery(n),e}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=Object(Ot.a)(Object(Ot.a)({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r=e.fetchPolicy;return this.setVariables(this.options.variables,t!==r&&("cache-only"===t||"standby"===t||"network-only"===r),e.fetchResults)},t.prototype.setVariables=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1,e=e||this.variables,!t&&Object(It.a)(e,this.variables)?this.observers.size&&r?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.getQueryWithPreviousResult(this.queryId),n=r.previousResult,i=r.variables,o=r.document,a=Object(Tt.I)((function(){return e(n,{variables:i})}));a&&(t.dataStore.markUpdateQueryResult(o,i,a),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){Zt(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(Tt.f)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var r=e._subscription._observer;r&&!r.error&&(r.error=Xt)}catch(e){}var n=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),n&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,r=this.queryId;this.shouldSubscribe&&t.addObservableQuery(r,this),this.options.pollInterval&&(Zt(this),t.startPollingQuery(this.options,r));var n=function(t){e.updateLastResult(Object(Ot.a)(Object(Ot.a)({},e.lastResult),{errors:t.graphQLErrors,networkStatus:Gt.error,loading:!1})),Jt(e.observers,"error",e.lastError=t)};t.observeQuery(r,this.options,{next:function(r){if(e.lastError||e.isDifferentFromLastResult(r)){var n=e.updateLastResult(r),i=e.options,o=i.query,a=i.variables,s=i.fetchPolicy;t.transform(o).hasClientExports?t.getLocalState().addExportedVariables(o,a).then((function(i){var a=e.variables;e.variables=e.options.variables=i,!r.loading&&n&&"cache-only"!==s&&t.transform(o).serverQuery&&!Object(It.a)(a,i)?e.refetch():Jt(e.observers,"next",r)})):Jt(e.observers,"next",r)}},error:n}).catch(n)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(qt);function Xt(e){}function Jt(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function Zt(e){var t=e.options.fetchPolicy;Object(Rt.b)("cache-first"!==t&&"cache-only"!==t,3)}var er=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),tr=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];Object(Rt.b)(!t||t.document===e.document||Object(It.a)(t.document,e.document),19);var r,n=!1,i=null;e.storePreviousVariables&&t&&t.networkStatus!==Gt.loading&&(Object(It.a)(t.variables,e.variables)||(n=!0,i=t.variables)),r=n?Gt.setVariables:e.isPoll?Gt.poll:e.isRefetch?Gt.refetch:Gt.loading;var o=[];t&&t.graphQLErrors&&(o=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:i,networkError:null,graphQLErrors:o,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=Gt.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=Qt(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=Gt.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=Gt.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=Gt.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){var r=this.store&&this.store[e];r&&(r.networkError=null,r.previousVariables=null,t&&(r.networkStatus=Gt.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(r){e.indexOf(r)<0?t.stopQuery(r):t.store[r].networkStatus=Gt.loading}))},e}();var rr=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(Tt.A)(t.resolvers,e)})):this.resolvers=Object(Tt.A)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return Object(Ot.b)(this,void 0,void 0,(function(){return Object(Ot.d)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then((function(e){return Object(Ot.a)(Object(Ot.a)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(Tt.s)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(Tt.C)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(Ot.a)(Object(Ot.a)({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(Rt.b)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(Ot.b)(this,void 0,void 0,(function(){return Object(Ot.d)(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return Object(Ot.a)(Object(Ot.a)({},t),e.exportedVariables)}))]:[2,Object(Ot.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(Bt.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return Bt.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(Tt.d)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,i,o){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),Object(Ot.b)(this,void 0,void 0,(function(){var a,s,c,u,l,p,d,f,h;return Object(Ot.d)(this,(function(m){return a=Object(Tt.l)(e),s=Object(Tt.j)(e),c=Object(Tt.g)(s),u=a.operation,l=u?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(u):"Query",d=(p=this).cache,f=p.client,h={fragmentMap:c,context:Object(Ot.a)(Object(Ot.a)({},r),{cache:d,client:f}),variables:n,fragmentMatcher:i,defaultOperationType:l,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return Object(Ot.b)(this,void 0,void 0,(function(){var n,i,o,a,s,c=this;return Object(Ot.d)(this,(function(u){return n=r.fragmentMap,i=r.context,o=r.variables,a=[t],s=function(e){return Object(Ot.b)(c,void 0,void 0,(function(){var s,c;return Object(Ot.d)(this,(function(u){return Object(Tt.F)(e,o)?Object(Tt.t)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;void 0!==t&&a.push(((r={})[Object(Tt.E)(e)]=t,r))}))]:(Object(Tt.v)(e)?s=e:(s=n[e.name.value],Object(Rt.b)(s,7)),s&&s.typeCondition&&(c=s.typeCondition.name.value,r.fragmentMatcher(t,c,i))?[2,this.resolveSelectionSet(s.selectionSet,t,r).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return Object(Tt.B)(a)}))]}))}))},e.prototype.resolveField=function(e,t,r){return Object(Ot.b)(this,void 0,void 0,(function(){var n,i,o,a,s,c,u,l,p,d=this;return Object(Ot.d)(this,(function(f){return n=r.variables,i=e.name.value,o=Object(Tt.E)(e),a=i!==o,s=t[o]||t[i],c=Promise.resolve(s),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=t.__typename||r.defaultOperationType,(l=this.resolvers&&this.resolvers[u])&&((p=l[a?i:o])&&(c=Promise.resolve(p(t,Object(Tt.b)(e,n),r.context,{field:e,fragmentMap:r.fragmentMap}))))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}();function nr(e){var t=new Set,r=null;return new qt((function(n){return t.add(n),r=r||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(n)&&!t.size&&r&&(r.unsubscribe(),r=null)}}))}var ir=Object.prototype.hasOwnProperty,or=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,s=e.ssrMode,c=void 0!==s&&s,u=e.clientAwareness,l=void 0===u?{}:u,p=e.localState,d=e.assumeImmutableResults;this.mutationStore=new er,this.queryStore=new tr,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(Tt.e?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=l,this.localState=p||new rr({cache:i.getCache()}),this.ssrMode=c,this.assumeImmutableResults=!!d}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.fetchQueryRejectFns.forEach((function(e){e(new Rt.a(8))}))},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,n=e.optimisticResponse,i=e.updateQueries,o=e.refetchQueries,a=void 0===o?[]:o,s=e.awaitRefetchQueries,c=void 0!==s&&s,u=e.update,l=e.errorPolicy,p=void 0===l?"none":l,d=e.fetchPolicy,f=e.context,h=void 0===f?{}:f;return Object(Ot.b)(this,void 0,void 0,(function(){var e,o,s,l=this;return Object(Ot.d)(this,(function(f){switch(f.label){case 0:return Object(Rt.b)(t,9),Object(Rt.b)(!d||"no-cache"===d,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,h)]:[3,2];case 1:r=f.sent(),f.label=2;case 2:return o=function(){var e={};return i&&l.queries.forEach((function(t,r){var n=t.observableQuery;if(n){var o=n.queryName;o&&ir.call(i,o)&&(e[r]={updater:i[o],query:l.queryStore.get(r)})}})),e},this.mutationStore.initMutation(e,t,r),this.dataStore.markMutationInit({mutationId:e,document:t,variables:r,updateQueries:o(),update:u,optimisticResponse:n}),this.broadcastQueries(),s=this,[2,new Promise((function(i,l){var f,m;s.getObservableFromLink(t,Object(Ot.a)(Object(Ot.a)({},h),{optimisticResponse:n}),r,!1).subscribe({next:function(n){Object(Tt.q)(n)&&"none"===p?m=new Yt({graphQLErrors:n.errors}):(s.mutationStore.markMutationResult(e),"no-cache"!==d&&s.dataStore.markMutationResult({mutationId:e,result:n,document:t,variables:r,updateQueries:o(),update:u}),f=n)},error:function(t){s.mutationStore.markMutationError(e,t),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),s.setQuery(e,(function(){return{document:null}})),l(new Yt({networkError:t}))},complete:function(){if(m&&s.mutationStore.markMutationError(e,m),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),m)l(m);else{"function"==typeof a&&(a=a(f));var t=[];Qt(a)&&a.forEach((function(e){if("string"==typeof e)s.queries.forEach((function(r){var n=r.observableQuery;n&&n.queryName===e&&t.push(n.refetch())}));else{var r={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(r.context=e.context),t.push(s.query(r))}})),Promise.all(c?t:[]).then((function(){s.setQuery(e,(function(){return{document:null}})),"ignore"===p&&f&&Object(Tt.q)(f)&&delete f.errors,i(f)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,r,n){return Object(Ot.b)(this,void 0,void 0,(function(){var i,o,a,s,c,u,l,p,d,f,h,m,g,v,b,y,w,x,_=this;return Object(Ot.d)(this,(function(E){switch(E.label){case 0:return i=t.metadata,o=void 0===i?null:i,a=t.fetchPolicy,s=void 0===a?"cache-first":a,c=t.context,u=void 0===c?{}:c,l=this.transform(t.query).document,p=this.getVariables(l,t.variables),this.transform(l).hasClientExports?[4,this.localState.addExportedVariables(l,p,u)]:[3,2];case 1:p=E.sent(),E.label=2;case 2:if(t=Object(Ot.a)(Object(Ot.a)({},t),{variables:p}),h=f="network-only"===s||"no-cache"===s,f||(m=this.dataStore.getCache().diff({query:l,variables:p,returnPartialData:!0,optimistic:!1}),g=m.complete,v=m.result,h=!g||"cache-and-network"===s,d=v),b=h&&"cache-only"!==s&&"standby"!==s,Object(Tt.s)(["live"],l)&&(b=!0),y=this.idCounter++,w="no-cache"!==s?this.updateQueryWatch(e,l,t):void 0,this.setQuery(e,(function(){return{document:l,lastRequestId:y,invalidated:!0,cancel:w}})),this.invalidate(n),this.queryStore.initQuery({queryId:e,document:l,storePreviousVariables:b,variables:p,isPoll:r===Ht.poll,isRefetch:r===Ht.refetch,metadata:o,fetchMoreForQueryId:n}),this.broadcastQueries(),b){if(x=this.fetchRequest({requestId:y,queryId:e,document:l,options:t,fetchMoreForQueryId:n}).catch((function(t){throw function(e){return e.hasOwnProperty("graphQLErrors")}(t)?t:(y>=_.getQuery(e).lastRequestId&&(_.queryStore.markQueryError(e,t,n),_.invalidate(e),_.invalidate(n),_.broadcastQueries()),new Yt({networkError:t}))})),"cache-and-network"!==s)return[2,x];x.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!b),this.invalidate(e),this.invalidate(n),this.transform(l).hasForcedResolvers?[2,this.localState.runResolvers({document:l,remoteResult:{data:d},context:u,variables:p,onlyRunForcedResolvers:!0}).then((function(r){return _.markQueryResult(e,r,t,n),_.broadcastQueries(),r}))]:(this.broadcastQueries(),[2,{data:d}])}}))}))},e.prototype.markQueryResult=function(e,t,r,n){var i=r.fetchPolicy,o=r.variables,a=r.errorPolicy;"no-cache"===i?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,o,n,"ignore"===a||"all"===a)},e.prototype.queryListenerForObserver=function(e,t,r){var n=this;function i(e,t){if(r[e])try{r[e](t)}catch(e){}}return function(r,o){if(n.invalidate(e,!1),r){var a=n.getQuery(e),s=a.observableQuery,c=a.document,u=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==u){var l=Wt(r.networkStatus),p=s&&s.getLastResult(),d=!(!p||p.networkStatus===r.networkStatus),f=t.returnPartialData||!o&&r.previousVariables||d&&t.notifyOnNetworkStatusChange||"cache-only"===u||"cache-and-network"===u;if(!l||f){var h=Qt(r.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||r.networkError)return i("error",new Yt({graphQLErrors:r.graphQLErrors,networkError:r.networkError}));try{var g=void 0,v=void 0;if(o)"no-cache"!==u&&"network-only"!==u&&n.setQuery(e,(function(){return{newData:null}})),g=o.result,v=!o.complete;else{var b=s&&s.getLastError(),y="none"!==m&&(b&&b.graphQLErrors)!==r.graphQLErrors;if(p&&p.data&&!y)g=p.data,v=!1;else{var w=n.dataStore.getCache().diff({query:c,variables:r.previousVariables||r.variables,returnPartialData:!0,optimistic:!0});g=w.result,v=!w.complete}}var x=v&&!(t.returnPartialData||"cache-only"===u),_={data:x?p&&p.data:g,loading:l,networkStatus:r.networkStatus,stale:x};"all"===m&&h&&(_.errors=r.graphQLErrors),i("next",_)}catch(e){i("error",new Yt({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.dataStore.getCache(),n=r.transformDocument(e),i=Object(Tt.D)(r.transformForLink(n)),o=this.localState.clientQuery(n),a=this.localState.serverQuery(i),s={document:n,hasClientExports:Object(Tt.r)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:o,serverQuery:a,defaultVars:Object(Tt.h)(Object(Tt.m)(n))},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(n),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(Ot.a)(Object(Ot.a)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(Rt.b)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=Object(Ot.a)({},e);return new Kt({queryManager:this,options:r,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(Rt.b)(e.query,12),Object(Rt.b)("Document"===e.query.kind,13),Object(Rt.b)(!e.returnPartialData,14),Object(Rt.b)(!e.pollInterval,15),new Promise((function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Rt.a(16))}));var e=[];return this.queries.forEach((function(t,r){t.observableQuery&&e.push(r)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(i)}})),this.broadcastQueries(),Promise.all(r)},e.prototype.observeQuery=function(e,t,r){return this.addQueryListener(e,this.queryListenerForObserver(e,t,r)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.variables;r=this.transform(r).document,i=this.getVariables(r,i);var o=function(e){return t.getObservableFromLink(r,{},e,!1).map((function(i){if(n&&"no-cache"===n||(t.dataStore.markSubscriptionResult(i,r,e),t.broadcastQueries()),Object(Tt.q)(i))throw new Yt({graphQLErrors:i.errors});return i}))};if(this.transform(r).hasClientExports){var a=this.localState.addExportedVariables(r,i).then(o);return new qt((function(e){var t=null;return a.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return o(i)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=r.returnPartialData,s=e.getLastResult(),c=this.getQuery(e.queryId).newData;if(c&&c.complete)return{data:c.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};var u=this.dataStore.getCache().diff({query:i,variables:n,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),l=u.result,p=u.complete;return{data:p||a?l:void 0,partial:!p}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(Rt.b)(r,17),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,r){t.invalidated&&t.listeners.forEach((function(n){n&&n(e.queryStore.get(r),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var i,o=this;void 0===n&&(n=this.queryDeduplication);var a=this.transform(e).serverQuery;if(a){var s=this.inFlightLinkObservables,c=this.link,u={query:a,variables:r,operationName:Object(Tt.n)(a)||void 0,context:this.prepareContext(Object(Ot.a)(Object(Ot.a)({},t),{forceFetch:!n}))};if(t=u.context,n){var l=s.get(a)||new Map;s.set(a,l);var p=JSON.stringify(r);if(!(i=l.get(p))){l.set(p,i=nr(Vt(c,u)));var d=function(){l.delete(p),l.size||s.delete(a),f.unsubscribe()},f=i.subscribe({next:d,error:d,complete:d})}}else i=nr(Vt(c,u))}else i=qt.of({data:{}}),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(i=function(e,t){return new qt((function(r){var n=r.next,i=r.error,o=r.complete,a=0,s=!1,c={next:function(e){++a,new Promise((function(r){r(t(e))})).then((function(e){--a,n&&n.call(r,e),s&&c.complete()}),(function(e){--a,i&&i.call(r,e)}))},error:function(e){i&&i.call(r,e)},complete:function(){s=!0,a||o&&o.call(r)}},u=e.subscribe(c);return function(){return u.unsubscribe()}}))}(i,(function(e){return o.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})}))),i},e.prototype.fetchRequest=function(e){var t,r,n=this,i=e.requestId,o=e.queryId,a=e.document,s=e.options,c=e.fetchMoreForQueryId,u=s.variables,l=s.errorPolicy,p=void 0===l?"none":l,d=s.fetchPolicy;return new Promise((function(e,l){var f=n.getObservableFromLink(a,s.context,u),h="fetchRequest:"+o;n.fetchQueryRejectFns.set(h,l);var m=function(){n.fetchQueryRejectFns.delete(h),n.setQuery(o,(function(e){e.subscriptions.delete(g)}))},g=f.map((function(e){if(i>=n.getQuery(o).lastRequestId&&(n.markQueryResult(o,e,s,c),n.queryStore.markQueryResult(o,e,c),n.invalidate(o),n.invalidate(c),n.broadcastQueries()),"none"===p&&Qt(e.errors))return l(new Yt({graphQLErrors:e.errors}));if("all"===p&&(r=e.errors),c||"no-cache"===d)t=e.data;else{var f=n.dataStore.getCache().diff({variables:u,query:a,optimistic:!1,returnPartialData:!0}),h=f.result;(f.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){m(),l(e)},complete:function(){m(),e({data:t,errors:r,loading:!1,networkStatus:Gt.ready,stale:!1})}});n.setQuery(o,(function(e){e.subscriptions.add(g)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),n=Object(Ot.a)(Object(Ot.a)({},r),t(r));this.queries.set(e,n)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(Ot.a)(Object(Ot.a)({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==Gt.ready&&t.networkStatus!==Gt.error},e.prototype.startPollingQuery=function(e,t,r){var n=this,i=e.pollInterval;if(Object(Rt.b)(i,18),!this.ssrMode){var o=this.pollingInfoByQueryId.get(t);o||this.pollingInfoByQueryId.set(t,o={}),o.interval=i,o.options=Object(Ot.a)(Object(Ot.a)({},e),{fetchPolicy:"network-only"});var a=function(){var e=n.pollingInfoByQueryId.get(t);e&&(n.checkInFlight(t)?s():n.fetchQuery(t,e.options,Ht.poll).then(s,s))},s=function(){var e=n.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};r&&this.addQueryListener(t,r),s()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),ar=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,i){void 0===i&&(i=!1);var o=!Object(Tt.q)(e);i&&Object(Tt.q)(e)&&e.data&&(o=!0),!n&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(Tt.q)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t,r=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(n){var i=r.cache;r.cache=n;try{r.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{r.cache=i}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!Object(Tt.q)(e.result)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],n=e.updateQueries;n&&Object.keys(n).forEach((function(i){var o=n[i],a=o.query,s=o.updater,c=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),u=c.result;if(c.complete){var l=Object(Tt.I)((function(){return s(u,{mutationResult:e.result,queryName:Object(Tt.n)(a.document)||void 0,queryVariables:a.variables})}));l&&r.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}})),this.cache.performTransaction((function(t){r.forEach((function(e){return t.write(e)}));var n=e.update;n&&Object(Tt.I)((function(){return n(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),sr=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.cache,n=e.ssrMode,i=void 0!==n&&n,o=e.ssrForceFetchDelay,a=void 0===o?0:o,s=e.connectToDevTools,c=e.queryDeduplication,u=void 0===c||c,l=e.defaultOptions,p=e.assumeImmutableResults,d=void 0!==p&&p,f=e.resolvers,h=e.typeDefs,m=e.fragmentMatcher,g=e.name,v=e.version,b=e.link;if(!b&&f&&(b=$t.empty()),!b||!r)throw new Rt.a(4);this.link=b,this.cache=r,this.store=new ar(r),this.disableNetworkFetches=i||a>0,this.queryDeduplication=u,this.defaultOptions=l||{},this.typeDefs=h,a&&setTimeout((function(){return t.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==s&&(s&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new rr({cache:r,client:this,resolvers:f,fragmentMatcher:m}),this.queryManager=new or({link:this.link,store:this.store,queryDeduplication:u,ssrMode:i,clientAwareness:{name:g,version:v},localState:this.localState,assumeImmutableResults:d,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(Ot.a)(Object(Ot.a)({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(Ot.a)(Object(Ot.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(Ot.a)(Object(Ot.a)({},this.defaultOptions.query),e)),Object(Rt.b)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(Ot.a)(Object(Ot.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(Ot.a)(Object(Ot.a)({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Vt(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();var cr=r("7506"),ur={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},lr=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},pr=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=new Rt.a(2);throw n.parseError=e,n}return r},dr=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.includeExtensions,o=e.useGETForQueries,a=Object(Ot.e)(e,["uri","fetch","includeExtensions","useGETForQueries"]);(function(e){if(!e&&"undefined"==typeof fetch)throw new Rt.a(1)})(n),n||(n=fetch);var s={http:{includeExtensions:i},options:a.fetchOptions,credentials:a.credentials,headers:a.headers};return new $t((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,r),i=e.getContext(),a={};if(i.clientAwareness){var c=i.clientAwareness,u=c.name,l=c.version;u&&(a["apollographql-client-name"]=u),l&&(a["apollographql-client-version"]=l)}var p,d=Object(Ot.a)({},a,i.headers),f={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:d},h=function(e,t){for(var r=[],n=2;n=300&&lr(t,r,"Response not successful: Received status code "+t.status),Array.isArray(r)||r.hasOwnProperty("data")||r.hasOwnProperty("errors")||lr(t,r,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),r}))}}(e)).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){p&&p.abort()}}))}))};var fr=function(e){function t(t){return e.call(this,dr(t).request)||this}return Object(Ot.c)(t,e),t}($t);function hr(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:gr(e)}]}}function mr(e,t){return{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:t||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:gr(e)}]}}function gr(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return gr(e[0]);var t=[];return Object.keys(e).forEach((function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:gr(e[r])||void 0};t.push(n)})),{kind:"SelectionSet",selections:t}}var vr,br={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},yr=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(Tt.k)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(Tt.k)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t=e.id,r=e.data;if(void 0!==t){var n=null;try{n=this.read({rootId:t,optimistic:!1,query:br})}catch(e){}var i=n&&n.__typename||"__ClientData",o=Object.assign({__typename:i},r);this.writeFragment({id:t,fragment:mr(o,i),data:o})}else this.writeQuery({query:hr(r),data:r})},e}();vr||(vr={});var wr=null,xr={},_r=1,Er="@wry/context:Slot",Sr=Array,kr=Sr[Er]||function(){var e=function(){function e(){this.id=["slot",_r++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=wr;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===xr)break;return e!==wr&&(wr.slots[this.id]=t),!0}return wr&&(wr.slots[this.id]=xr),!1},e.prototype.getValue=function(){if(this.hasValue())return wr.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var i,o=((i={__proto__:null})[this.id]=e,i),a=wr;wr={parent:a,slots:o};try{return t.apply(n,r)}finally{wr=a}},e.bind=function(e){var t=wr;return function(){var r=wr;try{return wr=t,e.apply(this,arguments)}finally{wr=r}}},e.noContext=function(e,t,r){if(!wr)return e.apply(r,t);var n=wr;try{return wr=null,e.apply(r,t)}finally{wr=n}},e}();try{Object.defineProperty(Sr,Er,{value:Sr[Er]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();function Or(){}kr.bind,kr.noContext;var Tr=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=Or),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getEntry(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),Ir=new kr,Ar=[],Cr=[];function Rr(e,t){if(!e)throw new Error(t||"assertion failure")}function Nr(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Dr=function(){function e(t,r){this.fn=t,this.args=r,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(Rr(!this.recomputing,"already recomputing"),function(e){var t=Ir.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Lr(e)?Ur(t,e):Fr(t,e),t}(this)||!Vr(this))return Lr(this)?function(e){var t=Gr(e);return Ir.withValue(e,Pr,[e]),function(e){if("function"==typeof e.subscribe)try{Br(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){e.dirty=!1,Lr(e)||jr(e)}(e),t.forEach(Vr),Nr(e.value)}(this):Nr(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Mr(this),Br(this))},e.prototype.dispose=function(){var e=this;Gr(this).forEach(Vr),Br(this),this.parents.forEach((function(t){t.setDirty(),zr(t,e)}))},e.count=0,e}();function Pr(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function Lr(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Mr(e){e.parents.forEach((function(t){return Ur(t,e)}))}function jr(e){e.parents.forEach((function(t){return Fr(t,e)}))}function Ur(e,t){if(Rr(e.childValues.has(t)),Rr(Lr(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=Cr.pop()||new Set;e.dirtyChildren.add(t),Mr(e)}function Fr(e,t){Rr(e.childValues.has(t)),Rr(!Lr(t));var r=e.childValues.get(t);0===r.length?e.childValues.set(t,function(e){return e.slice(0)}(t.value)):function(e,t){var r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),$r(e,t),Lr(e)||jr(e)}function $r(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(Cr.length<100&&Cr.push(r),e.dirtyChildren=null))}function Vr(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function Gr(e){var t=Ar;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(r,n){zr(e,n),t.push(n)}))),Rr(null===e.dirtyChildren),t}function zr(e,t){t.parents.delete(e),e.childValues.delete(t),$r(e,t)}function Br(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var Wr=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t}}(),Object.prototype.hasOwnProperty),Zr=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=Yr((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){Jr.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(r){t.set(r,e[r])})),Object.keys(this.data).forEach((function(r){Jr.call(e,r)||t.delete(r)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function en(e){return new Zr(e)}var tn=function(){function e(e){var t=this,r=void 0===e?{}:e,n=r.cacheKeyRoot,i=void 0===n?new Wr(Tt.e):n,o=r.freezeResults,a=void 0!==o&&o,s=this,c=s.executeStoreQuery,u=s.executeSelectionSet,l=s.executeSubSelectedArray;this.freezeResults=a,this.executeStoreQuery=Yr((function(e){return c.call(t,e)}),{makeCacheKey:function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher;if(n.store instanceof Zr)return i.lookup(n.store,t,a,JSON.stringify(o),r.id)}}),this.executeSelectionSet=Yr((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,r=e.rootValue,n=e.execContext;if(n.contextValue.store instanceof Zr)return i.lookup(n.contextValue.store,t,n.fragmentMatcher,JSON.stringify(n.variableValues),r.id)}}),this.executeSubSelectedArray=Yr((function(e){return l.call(t,e)}),{makeCacheKey:function(e){var t=e.field,r=e.array,n=e.execContext;if(n.contextValue.store instanceof Zr)return i.lookup(n.contextValue.store,t,r,JSON.stringify(n.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(Ot.a)(Object(Ot.a)({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.variables,i=e.previousResult,o=e.returnPartialData,a=void 0===o||o,s=e.rootId,c=void 0===s?"ROOT_QUERY":s,u=e.fragmentMatcherFunction,l=e.config,p=Object(Tt.o)(r);n=Object(Tt.c)({},Object(Tt.h)(p),n);var d={store:t,dataIdFromObject:l&&l.dataIdFromObject,cacheRedirects:l&&l.cacheRedirects||{}},f=this.executeStoreQuery({query:r,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:d,variableValues:n,fragmentMatcher:u}),h=f.missing&&f.missing.length>0;return h&&!a&&f.missing.forEach((function(e){if(!e.tolerable)throw new Rt.a(8)})),i&&Object(It.a)(i,f.result)&&(f.result=i),{result:f.result,complete:!h}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,a=void 0===o?nn:o,s=Object(Tt.l)(t),c=Object(Tt.j)(t),u={query:t,fragmentMap:Object(Tt.g)(c),contextValue:n,variableValues:i,fragmentMatcher:a};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:r,execContext:u})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,n=e.rootValue,i=e.execContext,o=i.fragmentMap,a=i.contextValue,s=i.variableValues,c={result:null},u=[],l=a.store.get(n.id),p=l&&l.__typename||"ROOT_QUERY"===n.id&&"Query"||void 0;function d(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach((function(e){var r;if(Object(Tt.F)(e,s))if(Object(Tt.t)(e)){var c=d(t.executeField(l,p,e,i));void 0!==c&&u.push(((r={})[Object(Tt.E)(e)]=c,r))}else{var f=void 0;if(Object(Tt.v)(e))f=e;else if(!(f=o[e.name.value]))throw new Rt.a(9);var h=f.typeCondition&&f.typeCondition.name.value,m=!h||i.fragmentMatcher(n,h,a);if(m){var g=t.executeSelectionSet({selectionSet:f.selectionSet,rootValue:n,execContext:i});"heuristic"===m&&g.missing&&(g=Object(Ot.a)(Object(Ot.a)({},g),{missing:g.missing.map((function(e){return Object(Ot.a)(Object(Ot.a)({},e),{tolerable:!0})}))})),u.push(d(g))}}})),c.result=Object(Tt.B)(u),this.freezeResults,c},e.prototype.executeField=function(e,t,r,n){var i=n.variableValues,o=n.contextValue,a=function(e,t,r,n,i,o){o.resultKey;var a=o.directives,s=r;(n||a)&&(s=Object(Tt.p)(s,n,a));var c=void 0;if(e&&void 0===(c=e[s])&&i.cacheRedirects&&"string"==typeof t){var u=i.cacheRedirects[t];if(u){var l=u[r];l&&(c=l(e,n,{getCacheKey:function(e){var t=i.dataIdFromObject(e);return t&&Object(Tt.H)({id:t,typename:e.__typename})}}))}}return void 0===c?{result:c,missing:[{object:e,fieldName:s,tolerable:!1}]}:(Object(Tt.w)(c)&&(c=c.json),{result:c})}(e,t,r.name.value,Object(Tt.b)(r,i),o,{resultKey:Object(Tt.E)(r),directives:Object(Tt.i)(r,i)});return Array.isArray(a.result)?this.combineExecResults(a,this.executeSubSelectedArray({field:r,array:a.result,execContext:n})):r.selectionSet?null==a.result?a:this.combineExecResults(a,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:a.result,execContext:n})):(rn(r,a.result),this.freezeResults,a)},e.prototype.combineExecResults=function(){for(var e,t=[],r=0;r=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var ln={fragmentMatcher:new Xr,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var pn=Object.prototype.hasOwnProperty,dn=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(Ot.c)(t,e),t.prototype.toObject=function(){return Object(Ot.a)(Object(Ot.a)({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return pn.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(on),fn=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new Wr(Tt.e),r.silenceBroadcast=!1,r.config=Object(Ot.a)(Object(Ot.a)({},ln),t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=!!r.config.addTypename,r.data=r.config.resultCaching?new Zr:new on,r.optimisticData=r.data,r.storeWriter=new sn,r.storeReader=new tn({cacheKeyRoot:r.cacheKeyRoot,freezeResults:t.freezeResults});var n=r,i=n.maybeBroadcastWatch;return r.maybeBroadcastWatch=Yr((function(e){return i.call(r,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return n.data instanceof Zr?n.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(Ot.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:r,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:r}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:r,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new Rt.a(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof dn;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new dn(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(Tt.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(yr),hn=r("633a"),mn=function(e){function t(t){var r=e.call(this)||this;return t instanceof hn.SubscriptionClient?r.subscriptionClient=t:r.subscriptionClient=new hn.SubscriptionClient(t.uri,t.options,t.webSocketImpl),r}return Object(Ot.c)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}($t);function gn(e){return new $t((function(t,r){return new Ct((function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function t(t){var r=e.call(this)||this;return r.link=gn(t),r}Object(Ot.c)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}($t);var vn=function(){function e(e,t,r,n){var i=this;this.operation=e,this.nextLink=t,this.delayFor=r,this.retryIf=n,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){i.values.push(e);for(var t=0,r=i.observers;t=i)&&(r?r(n,t):!!n)}}(i),r}return Object(Ot.c)(t,e),t.prototype.request=function(e,t){var r=new vn(e,t,this.delayFor,this.retryIf);return r.start(),new Ct((function(e){return r.subscribe(e),function(){r.unsubscribe(e)}}))},t}($t);const yn=new URL(ve||window.location.origin),wn={},xn=e=>{Le.debug("[createGraphqlClient]");const t=new $t((t,r)=>r(t).map(r=>{const{response:{headers:n}}=t.getContext();if(n){const t=n.get("x-environment")||null,r=n.get("x-unraid-api-version")||null;t&&e.commit("SET_MY_SERVERS_ENV",t),r&&e.commit("SET_MY_SERVERS_API_VERSION",r)}return r})).concat(new fr({uri:`${yn.protocol}//${yn.host}/graphql`})),r=`${yn.protocol.includes("https")?"wss://":"ws://"}${yn.host}/graphql`,n=new mn({uri:r,options:{timeout:65e3,reconnect:!0,connectionParams:{"x-api-key":e.state.apikey}}});let i;n.subscriptionClient.maxConnectTimeGenerator.setMin(3e3),n.subscriptionClient.onConnected(()=>{Le.debug("[🚀 wslink.onConnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onReconnected(()=>{Le.debug("[🚀 wslink.onReconnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onDisconnected(()=>{e.state.graphOnline&&(clearTimeout(i),i=setTimeout(()=>{Le.debug("[🚀 wslink.onDisconnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!1),e.state.myServersError||e.commit("SET_MY_SERVERS_ERROR","Disconnected from Unraid API")},150))});const o=Ft(({query:e})=>{const t=Object(Tt.l)(e);return"OperationDefinition"===t.kind&&"subscription"===t.operation},n,t),a=function(e){return new $t((function(t,r){var n=Object(Ot.e)(t,[]);return new Ct((function(i){var o;return Promise.resolve(n).then((function(r){return e(r,t.getContext())})).then(t.setContext).then((function(){o=r(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)})})).catch(i.error.bind(i)),function(){o&&o.unsubscribe()}}))}))}((t,{headers:r})=>({headers:{...r,"x-api-key":e.state.apikey}})),s=gn(({graphQLErrors:t,networkError:r})=>{if(t){Le.error("[GraphQL error] %o",t);const r=t[0].message||t[0].error.message||"No error object - [UNRAID]";e.commit("SET_MY_SERVERS_ERROR",r)}if(r){Le.error("[Network error]",r);const t=r.message?r.message:r;e.commit("SET_MY_SERVERS_ERROR",t.includes("Unexpected token < in JSON at position 0")?"Unraid API • CORS Error":t)}e.commit("SET_MY_SERVERS_LOADING",!1)}),c=new bn({delay:{initial:300,max:1/0,jitter:!0},attempts:{max:1/0,retryIf:(t,r)=>(Le.debug("[retryLink - retryIf]",{error:t,_operation:r}),e.commit("SET_GRAPH_ONLINE",!1),!!t)}});return new sr({link:$t.from([c,s,a,o]),connectToDevTools:!1,cache:new fn,defaultOptions:{watchQuery:{fetchPolicy:"no-cache"},query:{fetchPolicy:"no-cache"},mutate:{fetchPolicy:"no-cache"},subscribe:{fetchPolicy:"no-cache"}}})},_n=e=>{if(!e.state.apikey)return Le.debug("[getGraphqlClient] NO API KEY");if(Object.keys(wn).includes(e.state.apikey))return Le.debug("[getGraphqlClient] found existing client"),wn[e.state.apikey];Le.debug("[getGraphqlClient] new client inbound");const t=xn(e);return wn[e.state.apikey]=t,t};var En=function(){return(En=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&(r(i.reverse()[0]),n.clearMeasures&&n.clearMeasures(t),In.callbacks.delete(t),In.callbacks.size<1&&(In.observer.disconnect(),n.clearResourceTimings&&n.clearResourceTimings()),!0)},In={callbacks:new Map,observer:null,observe:function(e,t){if(e&&t){var r=On.a.polyfill("performance",{doThrow:!1});(function(e,t){return!In.observer&&e&&t&&(In.observer=new t((function(t){In.callbacks.forEach((function(r,n){Tn(t,n,r,e)}))})),e.clearResourceTimings&&e.clearResourceTimings()),In.observer})(r,On.a.polyfill("PerformanceObserver",{doThrow:!1}))&&(Tn(r,e,t,r)||(In.callbacks.size<1&&In.observer.observe({entryTypes:["resource","measure"]}),In.callbacks.set(e,t)))}}},An=In,Cn=function(e){this.error=e},Rn=function(){return(Rn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?r[0]+e+"?"+r[1]:this._url+e})},e.prototype.options=function(e,t){return void 0===t&&(t=!0),this.selfFactory({options:t?kn(this._options,e):e})},e.prototype.query=function(e,t){return void 0===t&&(t=!1),this.selfFactory({url:Mn(this._url,e,t)})},e.prototype.headers=function(e){return this.selfFactory({options:kn(this._options,{headers:e||{}})})},e.prototype.accept=function(e){return this.headers({Accept:e})},e.prototype.content=function(e){var t;return this.headers(((t={})[Pn]=e,t))},e.prototype.auth=function(e){return this.headers({Authorization:e})},e.prototype.catcher=function(e,t){var r=new Map(this._catchers);return r.set(e,t),this.selfFactory({catchers:r})},e.prototype.signal=function(e){return this.selfFactory({options:Rn(Rn({},this._options),{signal:e.signal})})},e.prototype.resolve=function(e,t){return void 0===t&&(t=!1),this.selfFactory({resolvers:t?[e]:Nn(Nn([],this._resolvers),[e])})},e.prototype.defer=function(e,t){return void 0===t&&(t=!1),this.selfFactory({deferredChain:t?[e]:Nn(Nn([],this._deferredChain),[e])})},e.prototype.middlewares=function(e,t){return void 0===t&&(t=!1),this.selfFactory({middlewares:t?e:Nn(Nn([],this._middlewares),e)})},e.prototype.method=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r=null);var n=this.options(Rn(Rn({},t),{method:e})),i=n._options.headers;return function(e){var t=e._url,r=e._catchers,n=e._resolvers,i=e._middlewares,o=e._options,a=new Map(r),s=kn(On.a.defaults,o),c=On.a.polyfill("AbortController",{doThrow:!1,instance:!0});!s.signal&&c&&(s.signal=c.signal);var u={ref:null,clear:function(){u.ref&&(clearTimeout(u.ref),u.ref=null)}},l=function(e){return function(t){return 0===e.length?t:1===e.length?e[0](t):e.reduceRight((function(r,n,i){return i===e.length-2?n(r(t)):n(r)}))}}(i)(On.a.polyfill("fetch"))(t,s),p=l.catch((function(e){throw new Cn(e)})).then((function(e){return u.clear(),e.ok?e:e[On.a.errorType||"text"]().then((function(t){var r=new Error(t);throw r[On.a.errorType||"text"]=t,r.status=e.status,r.response=e,r}))})),d=function(t){return t.catch((function(t){u.clear();var r=t instanceof Cn?t.error:t;if(t instanceof Cn&&a.has("__fromFetch"))return a.get("__fromFetch")(r,e);if(a.has(r.status))return a.get(r.status)(r,e);if(a.has(r.name))return a.get(r.name)(r,e);throw r}))},f=function(e){return function(t){return d(e?p.then((function(t){return t&&t[e]()})).then((function(e){return t?t(e):e})):p.then((function(e){return t?t(e):e})))}},h={res:f(null),json:f("json"),blob:f("blob"),formData:f("formData"),arrayBuffer:f("arrayBuffer"),text:f("text"),perfs:function(e){return l.then((function(t){return An.observe(t.url,e)})),h},setTimeout:function(e,t){return void 0===t&&(t=c),u.clear(),u.ref=setTimeout((function(){return t.abort()}),e),h},controller:function(){return[c,h]},error:function(e,t){return a.set(e,t),h},badRequest:function(e){return h.error(400,e)},unauthorized:function(e){return h.error(401,e)},forbidden:function(e){return h.error(403,e)},notFound:function(e){return h.error(404,e)},timeout:function(e){return h.error(408,e)},internalError:function(e){return h.error(500,e)},fetchError:function(e){return h.error("__fromFetch",e)},onAbort:function(e){return h.error("AbortError",e)}};return n.reduce((function(t,r){return r(t,e)}),h)}((n=r?"object"!=typeof r||i&&!Object.entries(i).every((function(e){var t=e[0],r=e[1];return t.toLowerCase()!==Pn.toLowerCase()||r.startsWith(Dn)}))?n.body(r):n.json(r):n)._deferredChain.reduce((function(e,t){return t(e,e._url,e._options)}),n))},e.prototype.get=function(e){return this.method("GET",e)},e.prototype.delete=function(e){return this.method("DELETE",e)},e.prototype.put=function(e,t){return this.method("PUT",t,e)},e.prototype.post=function(e,t){return this.method("POST",t,e)},e.prototype.patch=function(e,t){return this.method("PATCH",t,e)},e.prototype.head=function(e){return this.method("HEAD",e)},e.prototype.opts=function(e){return this.method("OPTIONS",e)},e.prototype.replay=function(e){return this.method(this._options.method,e)},e.prototype.body=function(e){return this.selfFactory({options:Rn(Rn({},this._options),{body:e})})},e.prototype.json=function(e){var t,r=null===(t=Object.entries(this._options.headers||{}).find((function(e){var t=e[0],r=e[1];return t.toLowerCase()===Pn.toLowerCase()&&r.startsWith(Dn)})))||void 0===t?void 0:t[1];return this.content(r||Dn).body(JSON.stringify(e))},e.prototype.formData=function(e,t){return void 0===t&&(t=!1),this.body(function e(t,r,n,i){return void 0===r&&(r=!1),void 0===n&&(n=On.a.polyfill("FormData",{instance:!0})),void 0===i&&(i=[]),Object.entries(t).forEach((function(t){var o=t[0],a=t[1],s=i.reduce((function(e,t){return e?e+"["+t+"]":t}),null);if(s=s?s+"["+o+"]":o,a instanceof Array)for(var c=0,u=a;cLe.error(e));const $n=Fn("https://keys.lime-technology.com").catcher(e=>Le.error(e)),Vn=Fn("https://wanip4.unraid.net/").catcher(e=>Le.error(e)),Gn=Fn("/webGui/include/InstallKey.php").catcher(e=>Le.error(e)),zn=Fn().catcher(e=>Le.error(e)),Bn=Fn("/update.php").catcher(e=>Le.error(e)),Wn=Fn("/webGui/include/UpdateDNS.php").catcher(e=>Le.error(e));let qn=0;const Qn=e=>{setTimeout(()=>{Wn.formUrl({csrf_token:e}).post().res(e=>Le.debug("[WebguiUpdateDns] %o",e)).catch(e=>Le.error("[WebguiUpdateDns] %o",e))},500)},Hn={openPopUp({commit:e,dispatch:t,state:r},n){if(Le.debug("[openPopUp]: %o",n||"focus existing pop-up"),r.popUpWindow)return r.popUpWindow.focus();const i=((e,t,r,n)=>{const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,o=void 0!==window.screenTop?window.screenTop:window.screenY,a=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,c=a/window.screen.availWidth>1?a/window.screen.availWidth:1,u=(a-r)/2/c+i,l=(s-n)/2/c+o,p=Object.entries({toolbar:"no",location:"yes",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",width:r/c,height:n/c,top:l,left:u}).reduce((e,t)=>e+`${t[0]}=${t[1]},`,"");return window.open(e,t,p)})(n.url,n.name,n.width,n.height),o=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,a=n.url.toString().includes("/preflight")?"#fff":"linear-gradient(to right, #E22828 0%, #ff8c2f 100%)";i.document.body.style.background=o?"#222":a;try{i.focus(),e("CHANGE_POP_UP_WINDOW",i),e("STATE_AT_OPEN",r.registered);const n=setInterval(()=>{r.popUpWindow||clearInterval(n),r.popUpWindow&&r.popUpWindow.closed&&(clearInterval(n),t("resetPopUp",{reloadWebGUI:!1}))},250);return window.onunload=()=>{r.popUpWindow&&!r.popUpWindow.closed&&r.popUpWindow.close()},!0}catch(e){return alert("Pop-up blocker detected.\nTo continue successfully please add this website to your browser's exeception list then refresh.")}},resetPopUp({commit:e,dispatch:t},r={reloadWebGUI:!0}){Le.debug("[resetPopUp]: %o",r),e("CHANGE_POP_UP_WINDOW",null),t("updateServerState"),r.reloadWebGUI&&t("reloadWebGUI")},closePopUp({dispatch:e,state:t},r={reloadWebGUI:!1}){Le.debug("[closePopUp]: %o",r),t.popUpWindow&&(t.popUpWindow.close(),e("resetPopUp",{reloadWebGUI:r.reloadWebGUI}))},reloadWebGUI(){Le.debug("[reloadWebGUI]: %s","✨"),window.location.reload()},closePopUpFromPopUp({dispatch:e}){Le.debug("[closePopUpFromPopUp]: %o"),e("resetPopUp"),window.close()},sendDataPostMessageToServer({state:e}){const t="SignOut"===e.submissionFrom?{event:"MYSERVERS_UNREGISTER"}:{event:"REG_WIZARD",keyfile:e.keyfile,license:e.license,email:e.userEmail,apikey:e.apikey,avatar:e.avatar,username:e.username,guid:e.guid};Le.debug("[sendDataPostMessageToServer]: %o",t);try{return Se.postMessage(JSON.stringify(t),"*")}catch(e){return Ee||Le.warn("[sendDataPostMessageToServer] !CAN_POST_MESSAGE",t),Le.error("[sendDataPostMessageToServer]: %o",e)}},requestUpdatedServerStateFromUpc({state:e}){Le.debug("[requestUpdatedServerStateFromUpc]");try{return Se.postMessage(JSON.stringify({event:"SUCCESS_NEW_STATE"}),e.site)}catch(e){return Ee||Le.warn("[requestUpdatedServerStateFromUpc] !CAN_POST_MESSAGE",Ee),Le.error("[requestUpdatedServerStateFromUpc]: %o",e)}},receivePostMessage({commit:e,dispatch:t,getters:r,state:n},i={inject:!1,event:null}){if(!i.event)return void Le.error("postMessage no event");const[o,a]=Oe(i.event.data);if(o)return;Le.debug("[receivePostMessage]: %o",a);const s=i.event.origin,c=s===me,u=ge.includes(s),l=!!(a&&a.server&&a.server.site)&&s===a.server.site,p=s===n.site,d=!!(a&&a.server&&a.server.extraOrigins)&&a.server.extraOrigins.includes(s),f="SESSION"===a.event?l||d:p,h=c||u||f,m={"data.server.extraOrigins":a&&a.server?a.server.extraOrigins:"","data.server.site":a&&a.server?a.server.site:"","payload.event.origin":s,"state.site":n.site,pmOriginMatchesDataServerUrl:l,pmOriginMatchesStateSite:p,pmOriginIncludedInExtraOrigins:d,fromRegWiz:c,fromPurchase:u,fromWebGui:f,originAllowed:h};if(!h)return Le.error("❌ postMessage origin not allowed ❌ %o",m),e("SET_POST_MESSAGE_ERROR",m),void e("SET_RAW_SERVER_STATE",a.server);Le.debug("[originAllowed]: %o",m);const g=e=>{Le.debug("[sendBackPostMessage] %o",e);try{return i.event.source.postMessage(JSON.stringify(e),s)}catch(t){return Le.error("[sendBackPostMessage.catch] %o",{error:t,message:e})}},v=async e=>{if(!e)return Le.error("[installKey] missing license data: %s",e);let t=e.split("/");if(t=t[t.length-1].slice(0,-4).toUpperCase(),t===n.state)return g({event:"LICENSE_PINGBACK",message:"Failed to license new key – duplicate install detected",license:e,success:!1}),Le.error("[installKey] duplicate install detected",{state:n.state,keyType:t});Le.debug("[installKey] %o",e);return await Gn.query({url:e}).get().res(t=>{Le.debug("[installKey] SUCCESS %o",t),setTimeout(()=>{Qn(n.csrf)},1e3),g({event:"LICENSE_PINGBACK",message:"New license key installed",license:e,success:!0})}).catch(t=>{Le.error("[installKey] FAILED: "+e,t),g({event:"LICENSE_PINGBACK",message:"Failed to license new key",license:e,success:!1})})},b=async()=>{Le.debug("[signOutUnraidNet] 👋");return await Bn.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",apikey:"",avatar:"",email:"",username:"",wanaccess:"no",...!n.hideMyServers&&{"#command":"/plugins/dynamix.my.servers/scripts/.nginx_reload"}}).post().res(e=>{Le.debug("[signOutUnraidNet.WebguiUpdate]: WebguiUpdate.res %o",e),g({event:"ACCOUNT_PINGBACK",success:!0,type:"signOut",webGuiPathname:window.location.pathname})}).catch(e=>{Le.error(`[signOutUnraidNet.WebguiUpdate] Sign out ${n.servername} from Unraid.net failed 😢 %o`,e),g({event:"ACCOUNT_PINGBACK",success:!1,type:"signOut",webGuiPathname:window.location.pathname})})};switch(a.event){case"SESSION":Le.debug("[receivePostMessage.SESSION]"),e("SET_FULL_SERVER_STATE",a.server),e("SET_RAW_SERVER_STATE",a.server),fe.mergeLocaleMessage(a.locale,a.messages),fe.locale=a.locale,Le.debug(`[receivePostMessage.SESSION] ${fe.locale} locale & messages set`,fe.messages);break;case"PREFLIGHT_REQUEST":if(Le.debug("[receivePostMessage.PREFLIGHT_REQUEST]"),!r.allowedOrigins.includes(s)){Le.error("[🙅♂️ ACCESS DENIED]");break}Le.debug("[receivePostMessage.SUCCESS_NEW_STATE]");try{t("updateServerState").then(e=>{Le.debug("[SUCCESS_NEW_STATE.updateServerState.then] %o",{res:e,"getters.server":r.server}),g({event:"SESSION",server:{...r.server},locale:fe.locale,messages:{...fe.messages[fe.locale]}})}).catch(e=>{Le.error("[SUCCESS_NEW_STATE.updateServerState.catch] %o",e),g({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){Le.error("[SUCCESS_NEW_STATE.updateServerState.trycatch] %o",e),g({event:"DELIVER_NEW_STATE",success:!1})}break;case"LICENSE_PINGBACK":Le.debug("[receivePostMessage.LICENSE_PINGBACK]"),e("LICENSE_PINGBACK",a);break;case"ACCOUNT_PINGBACK":Le.debug("[receivePostMessage.ACCOUNT_PINGBACK]"),e("ACCOUNT_PINGBACK",a);break;case"DELIVER_NEW_STATE":Le.debug("[receivePostMessage.DELIVER_NEW_STATE] %o",a);const i=!!n.license,o=n.licenseAction&&!n.licenseAction.success,c=n.state,u=a&&a.state?a.state:null,l=c===u;if(Le.debug("[DELIVER_NEW_STATE]: %o",{keyToInstall:i,failedKeyInstall:o,oldState:c,newState:u,potentiallyStaleState:l,deliverNewStateRetryCounter:qn}),o){e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}if(i&&l&&qn<6){setTimeout(()=>{Le.debug("[potentiallyStaleState]: %o",{potentiallyStaleState:l}),Le.debug("[deliverNewStateRetryCounter]: %o",{deliverNewStateRetryCounter:qn}),t("requestUpdatedServerStateFromUpc"),qn+=1},350*qn);break}if(i&&l&&qn>=6){e("SET_APP_ERROR_MESSAGE",`Failed to receive latest server info${n.licenseAction&&n.licenseAction.success?" after successful key install":""}. Please close this pop-up and refresh the webGUI.`),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}e("SET_FULL_SERVER_STATE",a),e("SET_RAW_SERVER_STATE",a),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now()),qn=0;break;case"KEY_PURCHASE":Le.debug("[receivePostMessage.KEY_PURCHASE]"),v(a.license),a.oem&&b();break;case"MYSERVERS_UNREGISTER":Le.debug("[receivePostMessage.MYSERVERS_UNREGISTER]: WebguiUpdate"),b();break;case"REG_WIZARD":Le.debug("[receivePostMessage.REG_WIZARD]"),a.license&&v(a.license),Le.debug("[receivePostMessage.REG_WIZARD]: WebguiUpdate %o"),Bn.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",regWizTime:`${Date.now()}_${a.guid}`,...a.apikey&&{apikey:a.apikey},...a.email&&{email:a.email},...a.username&&{username:a.username},...a.avatar&&{avatar:a.avatar}}).post().res(e=>{Le.debug("[receivePostMessage.REG_WIZARD]: WebguiUpdate.res %o",e),a.license||Qn(n.csrf),g({event:"ACCOUNT_PINGBACK",success:!0,type:"signIn",webGuiPathname:window.location.pathname})}).catch(e=>{Le.error("[WebguiUpdate] %o",e),g({event:"ACCOUNT_PINGBACK",success:!1,type:"signIn",webGuiPathname:window.location.pathname})});break;case"RELOAD":Le.debug("[receivePostMessage.RELOAD]"),window.location.reload();break;case"SUCCESS_NEW_STATE":Le.debug("[receivePostMessage.SUCCESS_NEW_STATE]");try{t("updateServerState").then(e=>{Le.debug("[SUCCESS_NEW_STATE.updateServerState.then]"),g({...e,event:"DELIVER_NEW_STATE",success:!0})}).catch(e=>{Le.error("[SUCCESS_NEW_STATE.updateServerState.catch] %o",e),g({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){Le.error("[SUCCESS_NEW_STATE.updateServerState.trycatch] %o",e),g({event:"DELIVER_NEW_STATE",success:!1})}break;case"REDIRECT_MAIN":Le.debug("[receivePostMessage.REDIRECT_MAIN]"),window.location.href="/Main";break;default:Le.debug("[receivePostMessage.UNHANDLED_MESSAGE]")}},setStateFromWebComponentProp({commit:e},t){Le.debug("[setStateFromWebComponentProp]");const[r,n]=Oe(decodeURIComponent(t));return r?Le.error("[setStateFromWebComponentProp]: %o",t):e("SET_FULL_SERVER_STATE",n)},async updateServerState({commit:e,dispatch:t,getters:r,state:n}){if(Le.debug("[updateServerState]"),me===window.location.origin)return Le.debug("[SKIPPED] updateServerState()");Le.debug("[updateServerState]",{"state.hideMyServers":n.hideMyServers,"!state.graphOnline":!n.graphOnline,"!getters.validApiKeyLength":!r.validApiKeyLength,"!getters.validApiKeyForUpc":!r.validApiKeyForUpc}),!n.hideMyServers&&n.graphOnline&&r.validApiKeyLength&&r.validApiKeyForUpc?(Le.debug("[updateServerState] via serverStateFromApi"),await t("serverStateFromApi")):(Le.debug("[updateServerState] via ",r.statePhpPath),await zn.url(r.statePhpPath).get().json().then(t=>t?e("SET_FULL_SERVER_STATE",t):Le.error("[updateUpcFromStatePhp]: no `res` skipping `SET_FULL_SERVER_STATE`")).catch(e=>{Le.error("[updateUpcFromStatePhp WebguiState.catch] %o",e),(e.toString().includes("Unexpected token")||e.toString().includes("503"))&&(window.location.href="/")}));const i=r.server;return Le.debug("[updateServerState] newState %o",i),i},async validateGuid({commit:e,getters:t,state:r}){await new Promise((n,i)=>{if(r.guidValidationRunning)return Le.debug("[validateGuid] already validating");e("CHANGE_GUID_VALIDATION_RUNNING",!0);const o=r.regWizTime?r.regWizTime.split("_")[1]:null,a=!!o&&o===r.guid;Le.debug("[validateGuid] %o",{guid:r.guid,regGuid:r.regGuid,regWizTimeGuid:o,previouslyRegistered:a});let s="GUID Invalid";if(!r.guid||r.guid===_e)return Le.debug(`[validateGuid] ${s} %o`,{"!state.guid":!r.guid,GUID_NOT_RECEIVED:_e}),s+=": not present",e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!1);if(a&&!t.stateData.error)return Le.debug("[validateGuid] previouslyRegistered %s",r.guid),e("CHANGE_GUID_REGISTERED",!0),e("CHANGE_GUID_VALID",!0),e("CHANGE_GUID_FORUMACCOUNT",!0),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!0);const c=r.guid.includes("000000000000");if(r.guid&&r.guid!==_e&&(c||27!==r.guid.length))return c?(s+=": Too many consecutive zeros",e("SET_STATE","EBLACKLISTED2")):(s+=": Not long enough",e("SET_STATE","EBLACKLISTED1")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),i(new Error(s));r.regGuid||Le.warn("[validateGuid]: state.regGuid empty. Getting regGuid from state.regWizTime.");const u=r.regGuid||o||"";e("CHANGE_GUID_FOR_VALIDATION","EGUID"===r.state?u:r.guid),e("CHANGE_GUID_BLACKLISTED",null);try{const t=$n.url("/validate/guid").formUrl({guid:r.guidForValidation}).post().forbidden(t=>{let n;const[i,o]=Oe(t.message);o&&!i||!t.message||(n=t.message),o&&o.error&&(n=o.error),Le.error("[validateGuid] POST.forbidden %o",n),n.includes("blacklisted")?(e("CHANGE_GUID_BLACKLISTED",!0),"EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED"),e("SET_APP_ERROR_MESSAGE",n)):Le.warn("[validateGuid] skip EBLACKLISTED state overwrite")):n.includes("invalid GUID")&&("EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",n)):Le.warn("[validateGuid] skip EBLACKLISTED state overwrite")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1)}).json(t=>{Le.debug("[validateGuid] POST.json %o",t),t.registered&&e("CHANGE_GUID_REGISTERED",t.registered),e("CHANGE_GUID_FORUMACCOUNT",t.forumaccount||!1),e("CHANGE_GUID_VALID",!0),e("CHANGE_REPLACEABLE",t.replaceable)}).catch(t=>{Le.error("[validateGuid] POST.catch %o",t),e("SET_APP_ERROR_MESSAGE",t.message),i(new Error(t))}).finally(()=>{Le.debug("[validateGuid] POST.finally"),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1)});return n(t)}catch(t){return Le.error("[validateGuid] try/catch %o",t),e("SET_APP_ERROR_MESSAGE",t),e("CHANGE_GUID_VALIDATION_RUNNING",!1),i(new Error(t))}})},jumpToUpc({commit:e}){window.scrollTo({top:0,behavior:"smooth"}),e("TRIGGER_UPC",!0),setTimeout(()=>{e("TRIGGER_UPC",!1)},500)},async getWanIp({commit:e,state:t}){if(Le.debug("[getWanIp]"),t.wanip)return Le.debug("[getWanIp] SKIPPED",t.wanip);try{return e("SET_WANIP",await Vn.get().text())}catch(e){return Le.error("[getWanIp] Unable to get WAN IP")}},fetchServers:async e=>{Le.debug("[fetchServers]"),e.commit("SET_MY_SERVERS_LOADING",!0);const t=await _n(e).query({query:xt`query initialGetServers {
servers {
name
guid
@@ -13,7 +25,7 @@
username
}
}
- }`});De.debug("[fetchServers] response %o",t);const{data:r}=t;r&&(r.servers.length>1&&e.dispatch("getWanIp"),e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",r.servers),e.commit("SET_MY_SERVERS_LOADING",!1)),bn(e).subscribe({query:yt`subscription getServers {
+ }`});Le.debug("[fetchServers] response %o",t);const{data:r}=t;r&&(r.servers.length>1&&e.dispatch("getWanIp"),e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",r.servers),e.commit("SET_MY_SERVERS_LOADING",!1)),_n(e).subscribe({query:xt`subscription getServers {
servers {
name
guid
@@ -28,7 +40,7 @@
username
}
}
- }`}).subscribe({next(t){De.debug("[new subscription data] %o",t),e.state.graphOnline||e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",t.data.servers)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})},serverStateFromApi:async e=>{De.debug("[serverStateFromApi]");const t=yt`query serverState {
+ }`}).subscribe({next(t){Le.debug("[new subscription data] %o",t),e.state.graphOnline||e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",t.data.servers)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})},serverStateFromApi:async e=>{Le.debug("[serverStateFromApi] %o",{apiVersion:e.state.apiVersion,">=2.35.0":xe()(e.state.apiVersion,"2.35.0"),">2.27.0":Et()(e.state.apiVersion,"2.27.0"),"<=2.27.0":kt()(e.state.apiVersion,"2.27.0")});const t=xt`query serverState {
owner {
username
avatar
@@ -44,37 +56,56 @@
product
}
registration {
- guid
+ ${xe()(e.state.apiVersion,"2.35.0")?"expiration":""}
keyFile {
- location
contents
}
- state
- type
}
crashReportingEnabled
vars {
regGen
regState
- ${xt.a.lte(e.state.apiVersion,"2.27.0")?"configError":""}
- ${xt.a.lte(e.state.apiVersion,"2.27.0")?"configValid":""}
+ ${kt()(e.state.apiVersion,"2.27.0")?"configError":""}
+ ${kt()(e.state.apiVersion,"2.27.0")?"configValid":""}
}
- ${xt.a.gt(e.state.apiVersion,"2.27.0")?"config { error valid }":""}
- }`,r=await bn(e).query({errorPolicy:"all",query:t});return De.debug("[🪐 serverStateFromApi] response %o",r),e.commit("SET_FULL_SERVER_STATE",(e=>{const{data:t}=e;if(!t)return De.error("[🪐 serverStateFromApi] response %o",e);const r={registered:!!t.owner&&!(!t.owner.username||!t.owner.avatar),servername:t.info.os.hostname,username:t.owner?t.owner.username:null,avatar:t.owner?t.owner.avatar:null,guid:t.flash.guid,keyfile:t.registration.keyFile.contents||null,flashProduct:t.flash.product,flashvendor:t.flash.vendor,sendCrashInfo:t.crashReportingEnabled,reggen:t.vars.regGen,state:t.vars.regState,config:t.config?t.config:{error:t.vars.configError||null,valid:t.vars.configValid||!0}};return De.debug("[🪐 serverStateFromApi] mutated response %o",r),r})(r)),De.debug("[🪐 serverStateFromApi] serverVarsSub"),bn(e).subscribe({query:yt`subscription serverVarsSub {
+ ${Et()(e.state.apiVersion,"2.27.0")?"config { error valid }":""}
+ }`,r=await _n(e).query({errorPolicy:"all",query:t});return Le.debug("[🪐 serverStateFromApi] response %o",r),e.commit("SET_FULL_SERVER_STATE",(e=>{const{data:t}=e;if(!t)return Le.error("[🪐 serverStateFromApi] response %o",e);const r={registered:!!t.owner&&!(!t.owner.username||!t.owner.avatar),servername:t.info&&t.info.os?t.info.os.hostname:null,username:t.owner?t.owner.username:null,avatar:t.owner?t.owner.avatar:null,guid:t.flash?t.flash.guid:null,keyfile:t.registration&&t.registration.keyFile?t.registration.keyFile.contents:null,flashProduct:t.flash?t.flash.product:null,flashvendor:t.flash?t.flash.vendor:null,sendCrashInfo:t.crashReportingEnabled,reggen:t.vars?t.vars.regGen:null,state:t.vars?t.vars.regState:null,config:t.config?t.config:{error:t.vars?t.vars.configError:null,valid:!t.vars||t.vars.configValid},expiretime:t.registration&&t.registration.expiration?t.registration.expiration:0};return Le.debug("[🪐 serverStateFromApi] mutated response %o",r),r})(r)),Le.debug("[🪐 serverStateFromApi] serverVarsSub"),_n(e).subscribe({query:xt`subscription serverVarsSub {
vars {
regGen
regState
- ${xt.a.lte(e.state.apiVersion,"2.27.0")?"configError":""}
- ${xt.a.lte(e.state.apiVersion,"2.27.0")?"configValid":""}
+ ${kt()(e.state.apiVersion,"2.27.0")?"configError":""}
+ ${kt()(e.state.apiVersion,"2.27.0")?"configValid":""}
}
- }`}).subscribe({next(t){De.debug("[🪐 serverStateFromApi] serverVarsSub: %o",t),e.commit("SET_STATE",t.data.vars.regState)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),De.debug("[🪐 serverStateFromApi] serverOwnerSub"),bn(e).subscribe({query:yt`subscription serverOwnerSub {
+ }`}).subscribe({next(t){Le.debug("[🪐 serverStateFromApi] serverVarsSub: %o",t),e.commit("SET_STATE",t.data.vars.regState)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Le.debug("[🪐 serverStateFromApi] serverOwnerSub"),_n(e).subscribe({query:xt`subscription serverOwnerSub {
owner {
username
avatar
}
- }`}).subscribe({next(t){De.debug("[🪐 serverStateFromApi] serverOwnerSub: %o",t),e.commit("SET_OWNER",t.data.owner)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),xt.a.gt(e.state.apiVersion,"2.27.0")&&(De.debug("[🪐 serverStateFromApi] serverConfigSub"),bn(e).subscribe({query:yt`subscription serverConfigSub {
+ }`}).subscribe({next(t){Le.debug("[🪐 serverStateFromApi] serverOwnerSub: %o",t),e.commit("SET_OWNER",t.data.owner)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Et()(e.state.apiVersion,"2.27.0")&&(Le.debug("[🪐 serverStateFromApi] serverConfigSub"),_n(e).subscribe({query:xt`subscription serverConfigSub {
config {
error
valid
}
- }`}).subscribe({next(t){De.debug("[🪐 serverStateFromApi] serverConfigSub: %o",t),e.commit("SET_CONFIG",t.data.config)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})),De.debug("[🪐 serverStateFromApi] DONE %o",r.data),r.data},stopGraphqlClient:e=>Object.keys(gn).includes(e)?(De.debug("[getGraphqlClient] found existing client & stopping it"),gn[e]):De.debug("[getGraphqlClient] client does not exist for apikey %s",e)};i.default.use(v.a);var Wn=new v.a.Store({state:ye,getters:Ie,mutations:Pe,actions:Bn});var qn=g({i18n:fe,store:Wn,name:"Authed",props:["propRegistered"],data:()=>({regChanged:!1,popUpClosedTimer:null}),computed:{...Object(v.e)(["state","registered","isPopUpOpen","signOutPayload","wizardWindow"]),...Object(v.c)(["stateData"]),computedReg(){return null===this.registered?!!this.propRegistered:this.registered},buttonPayload(){return this.stateData.error?this.wizardWindow:this.computedReg?this.signOutPayload:this.wizardWindow},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.computedReg?this.$t("signOut"):this.$t("signIn")},buttonTitle(){return this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},watch:{isPopUpOpen(e){!e&&this.regChanged&&(De.debug("[REGISTERED CHANGED] 🔥 reload webGUI settings"),window.location.reload())},registered(e,t){null!==t&&e!==this.propRegistered&&(De.debug("[REGISTERED CHANGED]",{newVal:e,oldVal:t}),this.regChanged=!0,this.isPopUpOpen||(De.debug("[REGISTERED CHANGED] 🔥🔥 reload webGUI settings"),window.location.reload()))}},methods:{...Object(v.b)(["closePopUp","openPopUp"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[r("div",[r("button",{attrs:{type:"button",title:e.buttonTitle},on:{click:function(t){return e.openPopUp(e.buttonPayload)}}},[e._v(e._s(e.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))]):e._e()])],1)])}),[],!1,(function(e){var t=r("dfd4");t.__inject__&&t.__inject__(e)}),"5e5ba4da",null,!0).exports,Qn=(g({name:"keyline",props:{color:{type:String,default:"grey"}},computed:{computedClass(){return"gradient"===this.color?"h-2px bg-gradient-r-red-orange":"h-1px bg-grey"}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("hr",{staticClass:"w-full shadow-none border-none rounded-none",class:e.computedClass})}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{staticClass:"unraid_sc_loader",style:e.styles,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97",height:e.height+"px",role:"img"}},[r("title",[e._v(e._s(e.title))]),r("desc",[e._v("Unraid logo animating with a wave like effect")]),r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("path",{staticClass:"unraid_sc_loader_9",attrs:{d:"m70,19.24zm57,0l6.54,0l0,38.49l-6.54,0l0,-38.49z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_8",attrs:{d:"m70,19.24zm47.65,11.9l-6.55,0l0,-23.79l6.55,0l0,23.79z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_7",attrs:{d:"m70,19.24zm31.77,-4.54l-6.54,0l0,-14.7l6.54,0l0,14.7z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_6",attrs:{d:"m70,19.24zm15.9,11.9l-6.54,0l0,-23.79l6.54,0l0,23.79z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_5",attrs:{d:"m63.49,19.24l6.51,0l0,38.49l-6.51,0l0,-38.49z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_4",attrs:{d:"m70,19.24zm-22.38,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_3",attrs:{d:"m70,19.24zm-38.26,43.03l6.55,0l0,14.73l-6.55,0l0,-14.73z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_2",attrs:{d:"m70,19.24zm-54.13,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_1",attrs:{d:"m70,19.24zm-63.46,38.49l-6.54,0l0,-38.49l6.54,0l0,38.49z",fill:"url(#"+e.random+")"}})])});var Hn=g({name:"loading",props:{height:{type:Number,default:64},styles:{type:Object,default:()=>({})},gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"},title:{type:String,default:"Loading"}},data:()=>({random:Math.random().toString(36).substring(7)})},Qn,[],!1,(function(e){var t=r("ef7a");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,Yn=(g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 222.36 39.04"}},[r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"47.53",y1:"79.1",x2:"170.71",y2:"-44.08",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("title",[e._v("Unraid Logo")]),r("path",{attrs:{d:"M146.7,29.47H135l-3,9h-6.49L138.93,0h8l13.41,38.49h-7.09L142.62,6.93l-5.83,16.88h8ZM29.69,0V25.4c0,8.91-5.77,13.64-14.9,13.64S0,34.31,0,25.4V0H6.54V25.4c0,5.17,3.19,7.92,8.25,7.92s8.36-2.75,8.36-7.92V0ZM50.86,12v26.5H44.31V0h6.11l17,26.5V0H74V38.49H67.9ZM171.29,0h6.54V38.49h-6.54Zm51.07,24.69c0,9-5.88,13.8-15.17,13.8H192.67V0H207.3c9.18,0,15.06,4.78,15.06,13.8ZM215.82,13.8c0-5.28-3.3-8.14-8.52-8.14h-8.08V32.77h8c5.33,0,8.63-2.8,8.63-8.08ZM108.31,23.92c4.34-1.6,6.93-5.28,6.93-11.55C115.24,3.68,110.18,0,102.48,0H88.84V38.49h6.55V5.66h6.87c3.8,0,6.21,1.82,6.21,6.71s-2.41,6.76-6.21,6.76H98.88l9.21,19.36h7.53Z",fill:"url(#"+e.random+")"}})])}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97"}},[r("title",[e._v("unraid-mark")]),r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("path",{attrs:{fill:"url(#"+e.random+")",d:"M63.49,19.24H70V57.73H63.49ZM6.54,57.73H0V19.24H6.54Zm25.2,4.54h6.55V77H31.74ZM15.87,45.84h6.54V69.62H15.87Zm31.75,0h6.54V69.62H47.62ZM127,19.24h6.54V57.73H127ZM101.77,14.7H95.23V0h6.54Zm15.88,16.44H111.1V7.35h6.55Zm-31.75,0H79.36V7.35H85.9Z"}})])}),Kn=g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},Yn,[],!1,null,null,null,!0).exports,Xn=r("5d74"),Jn=r.n(Xn);i.default.use(Jn.a,{url:(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX?Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX:"")+"/assets/svg/sprite.svg",class:"svg-icon"});var Zn=(g({name:"svg-icon",props:{symbol:{type:String,required:!0},symbolClass:String}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("svg",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"unraid-svg-icon",class:e.symbolClass,attrs:{symbol:e.symbol,title:e.symbol,role:"presentation"}})}),[],!1,(function(e){var t=r("39a1");t.__inject__&&t.__inject__(e)}),"3b60bb54",null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"text-center w-full"},[r("header",[r("h2",{staticClass:"text-24px md:text-30px",domProps:{innerHTML:e._s(e.stateData.heading?e.stateData.heading:e.stateData.error.heading)}}),r("div",{staticClass:"text-14px opacity-90 mt-12px mx-auto",class:{"text-center":e.stateData.messageCenter,"text-left":!e.stateData.messageCenter,"prose-2xl":!e.CAN_POST_MESSAGE,prose:e.CAN_POST_MESSAGE}},[r("div",{domProps:{innerHTML:e._s(e.stateData.message?e.stateData.message:e.stateData.error.message)}}),e.showExpiretime?r("HelperTimeConvert",{staticClass:"italic text-center font-semibold mt-16px"}):e._e()],1)]),r("div",{staticClass:"ActionRequired flex flex-col justify-center mt-16px"},[e.isPopUpOpen?[r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:e.$t("backToPopUp")},on:{"btn-click":function(t){return e.openPopUp(e.signInPayload)}}}),r("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{text:e.$t("closePopUp")},on:{"btn-click":function(t){return e.closePopUp()}}})]:[e.stateData.actions.includes("register")?[r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignIn":null,text:e.$t("signIn")},on:{"btn-click":function(t){return e.openPopUp(e.signInPayload)}}}),e.guidRegistered||e.forumaccount?e._e():r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignUp":null,text:e.$t("signUp")},on:{"btn-click":function(t){return e.openPopUp(e.signUpPayload)}}})]:e._e(),e.stateData.actions.includes("purchase")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:null,text:e.$t("actions.purchase")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("purchase")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.redeemWindow.url:null,text:"Redeem Activation Code"},on:{"btn-click":function(t){return e.openPopUp(e.redeemWindow)}}}):e._e(),e.stateData.actions.includes("upgrade")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:null,text:e.$t("actions.upgrade")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("replace")&&e.replaceable?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"ReplaceKey":null,text:e.$t("actions.replace")},on:{"btn-click":function(t){return e.openPopUp(e.replaceKeyPayload)}}}):e._e(),e.stateData.actions.includes("replace")&&!e.replaceable?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("actions.replaceIneligible"),title:e.guidBlacklisted?"Your Unraid registration key is ineligible for replacement as it is blacklisted.":e.$t("stateData.EGUID.error.message.replacementIneligible"),disabled:""},on:{"btn-click":function(t){return e.niceTry()}}}):e._e(),e.stateData.actions.includes("recover")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"RecoverKey":null,text:e.$t("actions.recover")},on:{"btn-click":function(t){return e.openPopUp(e.recoverKeyPayload)}}}):e._e(),e.stateData.actions.includes("continueTrial")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("regWizPopUp.continueTrial")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("extend")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"ExtendTrial":null,text:e.$t("actions.extend")},on:{"btn-click":function(t){return e.openPopUp(e.extendTrialPayload)}}}):e._e(),e.stateData.actions.includes("close")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("continueToUnraid")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("signOut")&&e.CAN_POST_MESSAGE?r("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignOut":null,text:e.$t("signOut")},on:{"btn-click":function(t){return e.openPopUp(e.signOutPayload)}}}):e._e()]],2)])}),ei=r("5a0c"),ti=r.n(ei);const ri=(e,t,r,n,i,o,a)=>({years:e,months:t,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a});var ni=(e,t,r)=>{let n,i=ti()(e),o=ti()(t);if(i.isSame(o))return r?ri(0,0,0,0,0,0,!1):"";if(i.isAfter(o)){const e=i;i=o,o=e,n=!0}else n=!1;let a=o.year()-i.year(),s=o.month()-i.month(),c=o.date()-i.date(),l=o.hour()-i.hour(),u=o.minute()-i.minute(),p=o.second()-i.second();if(p<0&&(p=60+p,u-=1),u<0&&(u=60+u,l-=1),l<0&&(l=24+l,c-=1),c<0){const e=ti()(`${o.year()}-${o.month()+1}`).subtract(1,"M").daysInMonth();c=e{const r=e?ti()(parseInt(e,10)):ti()(),n=t?ti()(parseInt(t,10)):ti()();return ni(r,n,!0)};var oi=(e,t)=>t?ii(e,""):ii("",e),ai=r("23ad"),si=r.n(ai);r("e072"),r("6210"),r("e5b7");const ci=document.getElementsByTagName("unraid-user-profile")[0];if(ci){const e=ci.getAttribute("locale").slice(0,2);ti.a.locale(e),De.debug("[formatDate] dayjs.locale()",ti.a.locale())}ti.a.extend(si.a);var li=e=>ti()(parseInt(e,10)).format("llll"),ui=g({data:()=>({parsedUptime:"",parsedExpireTime:""}),computed:{...Object(v.c)(["showExpiretime"]),...Object(v.e)(["state","expiretime","uptime"]),formattedUptime(){return li(this.uptime)},formattedExpireTime(){return li(this.expiretime)},timeCopy(){return this.showExpiretime?{title:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.date",{date:this.formattedExpireTime}):this.$t("upc.meta.trial.active.date",{date:this.formattedExpireTime}),text:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.timeDiff",{timeDiff:this.parsedExpireTime}):this.$t("upc.meta.trial.active.timeDiff",{timeDiff:this.parsedExpireTime})}:{title:this.$t("upc.meta.uptime.date",{date:this.formattedUptime}),text:this.$t("upc.meta.uptime.readable",{timeDiff:this.parsedUptime})}}},methods:{buildStringFromValues({years:e,months:t,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a,displaySecondsInStringReturn:s}){const c=[],l={year:this.$t("year"),years:this.$t("years"),month:this.$t("month"),months:this.$t("months"),day:this.$t("day"),days:this.$t("days"),hour:this.$t("hour"),hours:this.$t("hours"),minute:this.$t("minute"),minutes:this.$t("minutes"),second:this.$t("second"),seconds:this.$t("seconds"),firstDateWasLater:this.$t("ago"),delimiter:" "},u=(e,t)=>`${e} ${l[t+(1===e?"":"s")]}`;return e&&c.push(u(e,"year")),t&&c.push(u(t,"month")),r&&c.push(u(r,"day")),n&&c.push(u(n,"hour")),i&&c.push(u(i,"minute")),!o||(e||t||r||n||i)&&!s||c.push(u(o,"second")),a&&c.push(l.firstDateWasLater),c.join(l.delimiter)},runTimeDiff(){this.uptime&&(this.parsedUptime=this.buildStringFromValues(oi(this.uptime,!0))),this.expiretime&&(this.parsedExpireTime=this.buildStringFromValues(oi(this.expiretime,!1)))},letsGo(){this.runTimeDiff(),this.interval=setInterval(()=>{this.runTimeDiff()},1e3)}},created(){this.letsGo()},beforeDestroy(){clearInterval(this.interval)}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("p",{staticClass:"select-all",attrs:{title:e.timeCopy.title}},[e._v(e._s(e.timeCopy.text))])}),[],!1,null,null,null,!0).exports,pi=g({props:{hrefUrl:{type:[Boolean,URL],default:!1},routeName:{type:String},text:{type:String,required:!0}},computed:{}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.routeName?r("router-link",{attrs:{to:{name:e.routeName}}},[e._v(e._s(e.text))]):e.hrefUrl?r("a",{attrs:{href:e.hrefUrl}},[e._v(e._s(e.text))]):r("button",{on:{click:function(t){return e.$emit("btn-click")}}},[e._v(e._s(e.text))])}),[],!1,null,null,null,!0);var di=g({components:{HelperTimeConvert:ui,UiButton:pi.exports},data:()=>({CAN_POST_MESSAGE:xe}),computed:{...Object(v.c)(["stateData","showExpiretime"]),...Object(v.e)(["isPopUpOpen","purchaseWindow","redeemWindow","forumaccount","guidBlacklisted","guidRegistered","extendTrialPayload","recoverKeyPayload","registered","replaceable","replaceKeyPayload","signOutPayload","signInPayload","signUpPayload","state","wizardWindow","messages"])},methods:{...Object(v.b)(["openPopUp","closePopUp","closePopUpFromPopUp"]),...Object(v.d)(["SET_IS_LAUNCHPAD_OPEN"]),niceTry(){alert("❌ Nice try you little sneak ❌")}}},Zn,[],!1,(function(e){var t=r("2251");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var fi=g({i18n:fe,store:Wn,name:"Launchpad",props:["serverstate","webguiTranslations"],components:{UnraidLoading:Hn,LaunchpadActionRequired:di},computed:{...Object(v.e)(["guid","isLaunchpadOpen","loading"]),...Object(v.c)(["server"])},methods:{...Object(v.b)(["setStateFromWebComponentProp","validateGuid"]),...Object(v.d)(["SET_IS_LAUNCHPAD_OPEN"])},watch:{signedOutWithKey(e,t){e&&!t&&this.validateGuid()}},created(){if(this.serverstate&&this.setStateFromWebComponentProp(this.serverstate),this.guid)this.validateGuid();else{const e=setInterval(()=>{this.guid&&(clearInterval(e),this.validateGuid())},250)}}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:e.$t("closeLaunchpad")},on:{click:function(t){return e.SET_IS_LAUNCHPAD_OPEN(!1)}}})]),r("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[r("main",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[e.loading?r("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}):r("LaunchpadActionRequired")],1)])],1)])}),[],!1,(function(e){var t=r("f153");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var hi=g({i18n:fe,store:Wn,name:"UpcTrigger",props:[],data:()=>({}),computed:{...Object(v.c)(["stateData","stateDataKeyActions"]),...Object(v.e)(["isPopUpOpen","registered","state","triggerUPC","wizardWindow"]),copy(){return this.registered?"BASIC"===this.state||"PLUS"===this.state?"To support more storage devices as your server grows, click Upgrade Key in the User Profile located at the top right of the webGUI on every page.":"Key actions are done in the User Profile located at the top right of the webGUI on every page.":"You must be signed in to Unraid.net to perform key actions."},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.registered?this.stateDataKeyActions?"Open User Profile":"":this.$t("signIn")},buttonTitle(){return this.stateDataKeyActions?"Open User Profile":this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},methods:{...Object(v.b)(["jumpToUpc","closePopUp","openPopUp"]),btnClick(){return!this.registered||this.isPopUpOpen?this.openPopUp(this.wizardWindow):this.jumpToUpc()}}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[null!==e.registered&&e.buttonText?r("div",{staticClass:"flex flex-wrap pl-12px"},[r("p",{staticClass:"w-7/20 pr-12px"},[e._v(e._s(e.copy))]),r("div",{staticClass:"w-13/20 inline-flex flex-row"},[r("button",{attrs:{type:"button",title:e.buttonTitle,disabled:e.triggerUPC},on:{click:function(t){return e.btnClick()}}},[e._v(e._s(e.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))]):e._e()])],1)]):e._e()])}),[],!1,(function(e){var t=r("22c9");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,mi=r("ab14"),gi=r.n(mi),vi=r("c7db"),bi=r("b692"),yi=r.n(bi),wi=r("a3b3"),xi=r.n(wi),_i=r("8a86"),Ei=r.n(_i),Si=r("b2a0"),ki=r.n(Si),Oi=r("45b7"),Ti=r.n(Oi),Ii=r("381c"),Ai=r.n(Ii),Ci=g({props:{payload:{type:Object},text:{type:String},emphasize:{type:Boolean,default:!1},external:{type:Boolean,default:!0}},components:{UnraidSvgUiKey:Ai.a,UnraidSvgUtilNewWindow:xi.a},methods:{...Object(v.b)(["openPopUp"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("button",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":e.emphasize},attrs:{title:e.external?""+e.$t("upc.opensNewHttpsWindow.base",[e.text]):null},on:{click:function(t){return e.$emit("click")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.text)+" ")],1),e.external?r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):e._e()],1)}),[],!1,null,null,null,!0).exports,Ri=r("a190"),Ni=r.n(Ri),Di=r("a313"),Pi=r.n(Di),Li=r("94d0"),Mi=r.n(Li),ji=r("973e"),Ui=r.n(ji),$i=r("b045"),Fi=r.n($i),Vi=g({components:{UnraidLoading:Hn,UnraidSvgUiWarningFill:Ni.a,UnraidSvgUtilCheck:Pi.a,UnraidSvgUtilDelete:Mi.a,UnraidSvgUtilHelp:Ui.a,UnraidSvgUtilInfo:Fi.a,UnraidSvgUtilNewWindow:xi.a},props:["errorStateMessageVisible","hideotherservers","hideMyServers"],watch:{apikey(e,t){t||!e||this.hideMyServers||(De.debug("[apikey set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz()),!t||e||this.hideMyServers||(De.debug("[apikey removed] disconnect from unraid-api",{newVal:e,oldVal:t}),this.stopGraphqlClient(t))},noRemoteApikeyRegisteredWithPlg(e,t){t||!e||this.hideMyServers||(De.debug("[noRemoteApikeyRegisteredWithPlg set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz()),!t||e||this.hideMyServers||(De.debug("[noRemoteApikeyRegisteredWithPlg removed] disconnect from unraid-api",{newVal:e,oldVal:t}),this.stopGraphqlClient(this.apikey))},registered(e,t){t||!e||this.hideMyServers||(De.debug("[apikey set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())},myServersError(e,t){!t||e||this.myServers.length||(De.debug("[myServersError set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())}},computed:{...Object(v.c)(["stateData","validApiKeyLength","noRemoteApikeyRegisteredWithPlg","keyTypeForPurchase","errorTooManyDisks"]),...Object(v.e)(["apikey","guid","graphOnline","myServers","myServersLoading","myServersError","registered","hasRemoteApikey","servername","signInPayload","state","wanip","deviceCount"]),currentServer(){return this.myServers?this.myServers.filter(e=>e.guid===this.guid?e:null)[0]:{name:this.servername,status:"offline"}},currentServerStatus(){return this.currentServer?this.currentServer.status:"offline"},filteredServers(){return this.myServers?this.hideotherservers?[]:this.myServers.filter(e=>e.guid!==this.guid?e:null).sort((e,t)=>e.name.localeCompare(t.name,"en",{numeric:!0,sensitivity:"base"})):[]},errorToggleText(){return this.stateData.error.message?"EEXPIRED"===this.state?this.stateData.error.heading:this.$t("fixError"):this.myServersError||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks?this.computedErrorHeading:""},errorToggleTitle(){if(this.stateData.error||this.stateData.message||this.myServersError){return`${!this.stateData.error.message&&!this.stateData.message||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks?this.computedErrorHeading:this.stateData.humanReadable} • ${this.errorStateMessageVisible?this.$t("upc.myServers.closeDetails"):this.$t("learnMore")}`}return""},computedErrorHeading(){return this.noRemoteApikeyRegisteredWithPlg?this.$t("upc.noRemoteApikeyRegisteredWithPlg.heading"):this.stateData.error.heading?this.stateData.error.heading:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.heading"):this.$t("upc.myServers.errors.myServers.heading"):this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):""},computedError(){if(this.noRemoteApikeyRegisteredWithPlg)return this.$t("upc.noRemoteApikeyRegisteredWithPlg.msg");if(this.stateData.error.message)return this.stateData.error.message;if(this.myServersError)return this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.message"):this.myServersError;if(this.errorTooManyDisks){const e=this.$t("upc.errorTooManyDisks.msg.base");return"Basic"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.basic")} ${e}`:"Plus"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.plus")} ${e}`:e}return""}},methods:{...Object(v.b)(["fetchServers","stopGraphqlClient","openPopUp"]),serversPlz(){return De.debug("[serversPlz]",{apikey:this.apikey,noRemoteApikeyRegisteredWithPlg:this.noRemoteApikeyRegisteredWithPlg,validApiKeyLength:this.validApiKeyLength}),this.noRemoteApikeyRegisteredWithPlg?De.error("[MyServers] remote apikey does not exist"):this.validApiKeyLength?this.fetchServers():De.error("[MyServers] invalid apikey")}},created(){!this.hideMyServers&&this.registered&&this.serversPlz()}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative"},[r("ul",{staticClass:"relative"},[e.filteredServers.length&&e.myServersError?r("li",{staticClass:"text-red text-12px font-semibold px-16px pb-4px"},[r("em",[e._v(e._s(e.$t("upc.myServers.displayingLastKnown")))])]):e._e(),e.computedError?r("li",{key:"current-server-error",staticClass:"w-full"},[r("button",{staticClass:"btn-error group py-8px px-16px flex flex-col",attrs:{title:e.errorToggleTitle},on:{click:function(t){return e.$emit("toggle-error")}}},[r("div",{staticClass:"w-full flex flex-row justify-between items-center"},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"font-semibold mx-8px"},[e._v(" "+e._s(e.servername)+" ")])],1),e.computedError&&e.errorStateMessageVisible?r("UnraidSvgUtilDelete",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):r("UnraidSvgUtilInfo",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.computedError&&e.errorStateMessageVisible?r("div",{staticClass:"UnraidUPC-serverError"},[r("div",{staticClass:"text-14px font-semibold pt-4px"},[r("h3",{staticClass:"text-16px mb-4px"},[e._v(e._s(e.errorToggleText))]),r("p",{domProps:{innerHTML:e._s(e.computedError)}})])]):e._e()])],1)]):e._e(),r("transition",{attrs:{name:"fade",mode:"out-in"}},["EEXPIRED"!==e.state&&e.stateData.error&&e.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("contactSupport")])},on:{click:function(t){return e.$emit("contact-support")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("contactSupport"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.noRemoteApikeyRegisteredWithPlg&&e.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("signIn")])},on:{click:function(t){return e.openPopUp(e.signInPayload)}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("upc.signInActions.resolve"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),e.computedError?e._e():r("li",{key:"current-server",staticClass:"w-full py-8px px-16px flex flex-row items-center",class:{"text-beta":"online"===e.currentServerStatus,"text-orange cursor-not-allowed":"online"!==e.currentServerStatus},attrs:{title:e.$t("upc.myServers.accessLabels.current")+" • "+("online"!==e.currentServerStatus?e.$t("upc.myServers.mothership.notConnected"):e.$t("upc.myServers.mothership.connected"))}},["online"!==e.currentServerStatus?r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}):r("UnraidSvgUtilCheck",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"ml-8px select-all"},[e._v(e._s(e.currentServer?e.currentServer.name:e.servername))])],1),r("transition-group",{attrs:{name:"fade",mode:"out-in"}},[e.myServersLoading?r("UnraidLoading",{key:"gql-loading",staticClass:"w-36px my-8px mx-auto",attrs:{height:21,title:e.$t("upc.myServers.loading")}}):e._l(e.filteredServers,(function(t,n){return r("li",{key:"filteredServer_"+n},["online"===t.status&&e.wanip!==t.wanip&&t.remoteurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:t.remoteurl,tabindex:"0",title:e.$t("upc.myServers.accessLabels.remote")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):"online"===t.status&&t.localurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:t.localurl,tabindex:"0",title:e.$t("upc.myServers.accessLabels.local")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):"never_connected"!==t.status?r("span",{staticClass:"w-full flex flex-row items-center px-16px py-8px opacity-50 cursor-not-allowed",attrs:{title:"online"===t.status?e.$t("upc.myServers.accessLabels.unavailable"):e.$t("upc.myServers.accessLabels.offline")}},[r("span",{staticClass:"text-red text-14px w-12px mr-8px"},[e._v("×")]),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):e._e()])}))],2)],1)])}),[],!1,null,null,null,!0).exports,Gi=g({components:{HelperTimeConvert:ui},computed:{...Object(v.e)(["registered","state"]),...Object(v.c)(["stateData"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"text-gamma text-12px text-right font-semibold leading-normal flex flex-row items-baseline justify-end pr-16px pt-4px"},[r("HelperTimeConvert"),r("span",{staticClass:"px-12px"},[e._v("•")]),e.registered&&e.stateData.actions.includes("upgrade")?r("button",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.upgrade")},on:{click:function(t){return e.$emit("upgrade")}}},[r("h5",[e._v("Unraid OS "),r("em",[r("strong",[e._v(e._s(e.stateData.humanReadable))])])])]):r("h5",[e._v("Unraid OS "),r("em",{class:{"text-red":e.stateData.error||"EEXPIRED"===e.state}},[r("strong",[e._v(e._s(e.stateData.humanReadable))])])]),e.registered&&e.stateData.actions.includes("purchase")?r("button",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.purchase")},on:{click:function(t){return e.$emit("purchase")}}},[e._v(e._s(e.$t("actions.purchase")))]):e._e()],1)}),[],!1,null,null,null,!0).exports;var zi=g({i18n:fe,store:Wn,name:"UserProfile",mixins:[vi.mixin],components:{UnraidLogoMark:Kn,KeyAction:Ci,MetaInfo:Gi,MyServers:Vi,UnraidSvgUtilLogout:yi.a,UnraidSvgUtilNewWindow:xi.a,UnraidSvgUtilSelect:Ei.a,UnraidSvgUtilEdit:ki.a,UnraidSvgUiWarning:Ti.a},props:{serverstate:String,banner:{type:String,default:""},bgcolor:[String,Number],displaydesc:{type:String,default:""},locale:String,localeMessages:String,metacolor:String,textcolor:String,theme:{type:String,default:"black"},hideotherservers:{type:String,default:""},apikey:String,apiVersion:String,csrf:String,expiretime:[Number,String],hideMyServers:{type:String,default:null},plgPath:String,regWizTime:String,sendCrashInfo:String,serverdesc:String,servermodel:String,serverupdate:Boolean,uptime:[Number,String]},data:()=>({NODE_ENV:he,avatarFail:!1,copyingIp:!1,dropdownTimeout:"",dropdownVisible:!1,errorStateMessageVisible:!0}),computed:{...Object(v.e)(["avatar","isLaunchpadOpen","isPopUpOpen","guid","guidRegistered","popUpWindow","regAtOpen","purchaseWindow","redeemWindow","registered","servername","internalip","state","username","darkTheme","lightTheme","extendTrialPayload","recoverKeyPayload","replaceKeyPayload","signInPayload","signUpPayload","signOutPayload","troubleshootPayload","wizardWindow","messages","myServersEnv","triggerUPC","graphOnline"]),...Object(v.c)(["errorTooManyDisks","noRemoteApikeyRegisteredWithPlg","signedOutWithKey","stateData"]),darkMode(){return"black"===this.theme||"azure"===this.theme},usernameButtonText(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("signIn"):this.stateData.error&&!this.stateData.error.signInToFix&&"EEXPIRED"===!this.state?this.$t("fixError"):this.registered?this.username:this.$t("signIn")},usernameButtonTitle(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("upc.signInActions.resolve"):this.stateData.error&&!this.stateData.error.signInToFix?this.$t("learnMore"):this.isPopUpOpen&&this.isLaunchpadOpen?this.$t("upc.confirmClosure"):this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):this.isLaunchpadOpen?this.$t("closeLaunchpad"):"EEXPIRED"===this.state?this.registered?this.$t("upc.trialHasExpiredSeeOptions"):this.stateData.actions.includes("extend")?this.$t("upc.signInActions.purchaseKeyOrExtendTrial"):this.$t("upc.signInActions.purchaseKey"):this.registered&&this.dropdownVisible?this.$t("upc.closeDropdown"):this.registered&&!this.dropdownVisible?this.$t("upc.openDropdown"):this.$t("upc.opensNewHttpsWindow.signIn")},displayKeylineBelowActions(){return!!(this.stateData.actions.includes("purchase")||this.stateData.actions.includes("upgrade")||this.stateData.actions.includes("recover")||this.stateData.actions.includes("replace")||this.stateData.actions.includes("extend"))},extraLinks(){return[...!this.hideMyServers||this.stateData.error.message||this.errorTooManyDisks?[{url:"",text:"",external:!1}]:[],...this.hideMyServers?[{url:"https://wiki.unraid.net/My_Servers",text:"Install My Servers Beta",external:!0,title:this.$t("upc.extraLinks.newTab",["Install My Servers Beta"])}]:[{url:this.myServersEnv?"https://forums.unraid.net/my-servers-staging/":"https://forums.unraid.net/my-servers/",text:this.$t("upc.extraLinks.myServers"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.myServers")])},{url:"/Settings/ManagementAccess#"+(this.plgPath?"MyServersSettings":"UnraidNetSettings"),text:this.$t("upc.extraLinks.settings.text"),settings:!0,title:this.$t("upc.extraLinks.settings.title")}]]},devEnv(){let e=he;const t="UPC_ENV=",r=document.cookie.split(";");for(let n=0;n{this.dropdownVisible=!1},1e3)},autoTriggerLaunchpad(){setTimeout(()=>{const e=`${this.servername}_${this.guid?this.guid.slice(-12):"NO_GUID"}`;sessionStorage.getItem(e)||"ENOKEYFILE"!==this.state||(sessionStorage.setItem(e,"またね"),this.isLaunchpadOpen||this.toggleLaunchpad())},100)},toggleLaunchpad(){const e="unraid-launchpad";if(!document.getElementsByTagName(e).length){const t=document.getElementsByTagName("body")[0],r=document.createElement(e);t.appendChild(r)}const t=()=>{this.dropdownVisible&&(this.dropdownVisible=!1),this.isPopUpOpen&&this.closePopUp(),this.SET_IS_LAUNCHPAD_OPEN(!this.isLaunchpadOpen)};this.isPopUpOpen&&this.isLaunchpadOpen?window.confirm(this.$t("upc.pleaseConfirmClosureYouHaveOpenPopUp"))&&t():t()},onAvatarError(){De.error("Avatar failed to load %s",this.avatar),this.avatarFail=!0},async initUserProfile(){if(De.debug("[initUserProfile]"),this.setStateFromWebComponentProp(this.serverstate),this.apikey&&this.SET_API_KEY(this.apikey),this.apiVersion&&this.SET_MY_SERVERS_API_VERSION(this.apiVersion),this.csrf&&this.SET_CSRF(this.csrf),this.expiretime&&this.SET_EXPIRE_TIME(this.expiretime),this.hideMyServers&&this.SET_HIDE_MY_SERVERS(this.hideMyServers),this.plgPath&&this.SET_PLG_PATH(this.plgPath),this.regWizTime&&this.SET_REGWIZ_TIME(this.regWizTime),this.serverdesc&&this.SET_SERVERDESC(this.serverdesc),this.uptime&&this.SET_UPTIME(this.uptime),!this.registered){const e=`Sign In to your Unraid.net account to perform license key actions${this.hideMyServers?"":" and to receive real-time server monitoring with My Servers"}.`,t="Learn more at https://wiki.unraid.net/My_Servers.",r=["color: white","background: linear-gradient(to right, #E22828 0%, #FF8C2F 100%)","font-size: 10px","padding: 4px"].join(";");De.log("%c"+e,r),De.log("%c"+t,r)}if(this.localeMessages){De.debug("[this.locale] %o",this.locale);const[e,t]=Se(decodeURIComponent(this.localeMessages));e&&De.error("[initUserProfile.localeMessages] %s","Unable to set locale and locale messages"),this.$i18n.locale=this.locale,this.$i18n.setLocaleMessage(this.locale,t[this.locale]),De.debug(`[initUserProfile.$i18n] ${this.$i18n.locale} locale & messages set %o`,t[this.locale]),this.SET_LOCALE(this.locale)}this.signedOutWithKey&&this.regWizTime?(De.debug("[initUserProfile] %o",{signedOutWithKey:this.signedOutWithKey,regWizTime:this.regWizTime}),await this.validateGuid()):this.autoTriggerLaunchpad(),window.addEventListener("message",e=>{this.receivePostMessage({inject:!1,event:e})},!1)},copyIP(){if(De.debug("[copyIP] %s",this.internalip),!navigator.clipboard)return De.error("Unable to copy IP: %s",this.internalip);const e=()=>{this.copyingIp=!this.copyingIp,setTimeout(()=>{this.copyingIp=!this.copyingIp},750)};try{return navigator.clipboard.writeText(this.internalip),e()}catch(e){return De.error(`Unable to copy IP: ${this.internalip} %o`,e)}}},watch:{signedOutWithKey(e,t){De.debug("[signedOutWithKey]",{newVal:e,oldVal:t,regWizTime:this.regWizTime}),e&&!t&&this.regWizTime&&this.validateGuid()},isPopUpOpen(e,t){this.isLaunchpadOpen&&!e&&t&&!this.regAtOpen&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)},triggerUPC(e){e&&setTimeout(()=>{this.dropdownVisible=!0},150)},graphOnline(e,t){e&&!t&&this.updateServerState()}},created(){this.initUserProfile()},beforeMount(){const e=document.getElementsByTagName("body")[0],t={darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"}};let{alpha:r,beta:n,gamma:i}=this.darkMode?t.darkTheme:t.lightTheme;this.textcolor&&(r=this.textcolor),this.bgcolor&&(n=this.bgcolor,e.style.setProperty("--color-customgradient-start",gi()(n,0)),e.style.setProperty("--color-customgradient-end",gi()(n,.9))),this.metacolor&&(i=this.metacolor),e.style.setProperty("--color-alpha",r),e.style.setProperty("--color-beta",n),e.style.setProperty("--color-gamma",i)}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"UnraidUPC",class:{"--hasBanner-default":e.banner&&!e.bgcolor,"--hasBanner-custom":e.banner&&e.bgcolor},attrs:{id:"UnraidUPC"}},[e.isPopUpOpen&&!e.isLaunchpadOpen?r("div",{staticClass:"absolute z-10 inset-0 flex flex-col items-end justify-center pr-6"},[r("div",{staticClass:"text-center inline-flex flex-col items-center justify-center"},[r("button",{staticClass:"text-14px button button-alt",on:{click:function(t){return e.openPopUp()}}},[e._v(e._s(e.$t("backToPopUp")))]),r("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))])])]):e._e(),r("MetaInfo",{class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.isPopUpOpen&&!e.isLaunchpadOpen},on:{purchase:function(t){return e.openPopUp(e.purchaseWindow)},upgrade:function(t){return e.openPopUp(e.purchaseWindow)},signin:function(t){return e.openPopUp(e.signInPayload)}}}),r("div",{staticClass:"relative z-0 flex flex-row items-center justify-end h-full",class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.isPopUpOpen&&!e.isLaunchpadOpen}},[r("h1",{staticClass:"relative text-18px border-t-0 border-r-0 border-l-0 border-b-2 border-transparent"},[e.displaydesc?[r("span",{attrs:{title:e.servermodel}},[e._v(e._s(e.serverdesc))]),r("span",{staticClass:"text-grey-mid px-8px"},[e._v("•")])]:e._e(),r("span",{staticClass:"cursor-pointer",attrs:{title:e.$t("lanIp",[e.internalip])},on:{click:function(t){return e.copyIP()}}},[e._v(e._s(e.servername))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.copyingIp?r("span",{staticClass:"text-12px absolute right-0 bg-gradient-to-r from-red to-orange text-center block w-100px rounded"},[e._v(e._s("LAN IP Copied"))]):e._e()])],2),r("div",{staticClass:"block w-2px h-24px ml-16px bg-grey-mid"}),r("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"relative flex items-center justify-end h-full",on:{mouseenter:function(t){return e.dropdownMouseEnter()},mouseleave:function(t){return e.dropdownMouseLeave()}}},[r("button",{staticClass:"UnraidUPC-username group text-18px hover:text-alpha focus:text-alpha border border-transparent flex flex-row justify-end items-center h-full px-16px outline-none focus:outline-none",class:{"text-orange-dark":e.isLaunchpadOpen||!e.username&&!e.stateData.error,"text-alpha":e.username&&!e.isLaunchpadOpen,"text-red":e.stateData.error},attrs:{title:e.usernameButtonTitle},on:{click:function(t){return e.usernameAvatarButton()}}},[e.stateData.error||"EEXPIRED"===e.state||e.noRemoteApikeyRegisteredWithPlg||e.errorTooManyDisks?r("UnraidSvgUiWarning",{staticClass:"text-red fill-current relative w-24px h-24px mr-8px"}):e._e(),r("span",{staticClass:"inline-flex items-center bg-transparent border-t-0 border-l-0 border-r-0 border-b-2 border-transparent group-hover:border-orange-dark group-focus:border-orange-dark transition-colors duration-150 ease-in-out"},[e._v(" "+e._s(e.usernameButtonText)+" "),e.registered&&!e.isLaunchpadOpen?r("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"}):e._e()],1),r("span",{staticClass:"relative z-0 flex items-center justify-center w-36px h-36px ml-8px rounded-full",class:{"bg-transparent":e.registered&&!e.avatarFail,"bg-gradient-to-r from-red to-orange":!e.registered||e.avatarFail}},[e.registered&&!e.avatarFail?r("img",{staticClass:"absolute z-10 inset-0 w-36px h-36px rounded-full overflow-hidden",attrs:{src:e.avatar,alt:""+e.$t("upc.avatarAlt",[e.username])},on:{error:e.onAvatarError}}):r("UnraidLogoMark",{staticClass:"relative z-0 w-28px",attrs:{"gradient-start":"#fff","gradient-stop":"#fff"}})],1)],1),r("transition",{attrs:{name:"slideVerticalFade",mode:"out-in"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.dropdownVisible&&e.registered,expression:"dropdownVisible && registered"}],staticClass:"UnraidUPC-dropdown",class:{"border-grey-darkest":e.darkMode,"border-grey-light":!e.darkMode}},[e.hideMyServers?e._e():r("header",{staticClass:"text-14px pt-16px px-16px rounded-t"},[r("h5",{staticClass:"text-18px leading-none inline-flex flex-row items-center"},[r("span",{staticClass:"font-semibold"},[e._v(e._s(e.$t("upc.myServers.heading")))]),r("span",{staticClass:"text-grey-mid text-10px uppercase ml-8px py-4px px-6px border-2 border-grey-mid rounded-full"},[e._v(e._s(e.$t("upc.myServers.beta")))]),e.myServersEnv?r("span",{staticClass:"ml-8px",attrs:{title:"API • "+e.myServersEnv}},[e._v("⚙️")]):e._e(),e.devEnv?r("span",{staticClass:"ml-8px",attrs:{title:e.devEnv}},[e._v("⚠️")]):e._e()])]),r("ul",{staticClass:"list-reset my-8px p-0"},["development"===e.NODE_ENV?[r("li",[r("KeyAction",{attrs:{text:"[DEV] Launchpad",external:!1},on:{click:function(t){return e.toggleLaunchpad()}}})],1),r("li",[r("KeyAction",{attrs:{text:"[DEV] Pop-up"},on:{click:function(t){return e.openPopUp(e.wizardWindow)}}})],1)]:e._e(),e.displayKeylineBelowActions?[r("li",[e.stateData.actions.includes("purchase")?[r("KeyAction",{attrs:{text:e.$t("actions.purchase")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}),r("KeyAction",{attrs:{text:"Redeem Activation Code"},on:{click:function(t){return e.openPopUp(e.redeemWindow)}}})]:e._e(),e.stateData.actions.includes("upgrade")?r("KeyAction",{attrs:{text:e.$t("actions.upgrade")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("recover")?r("KeyAction",{attrs:{text:e.$t("actions.recover")},on:{click:function(t){return e.openPopUp(e.recoverKeyPayload)}}}):e._e(),e.stateData.actions.includes("replace")?r("KeyAction",{attrs:{text:e.$t("actions.replace")},on:{click:function(t){return e.openPopUp(e.replaceKeyPayload)}}}):e._e(),e.stateData.actions.includes("extend")?r("KeyAction",{attrs:{text:e.$t("actions.extend")},on:{click:function(t){return e.openPopUp(e.extendTrialPayload)}}}):e._e()],2),r("li",{staticClass:"my-8px mx-12px"},[r("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:e._e(),!e.hideMyServers||e.stateData.error.message||e.errorTooManyDisks?r("MyServers",{attrs:{hideMyServers:e.hideMyServers,errorStateMessageVisible:e.errorStateMessageVisible,hideotherservers:e.hideotherservers},on:{"contact-support":function(t){return e.openPopUp(e.troubleshootPayload)},"toggle-error":function(t){e.errorStateMessageVisible=!e.errorStateMessageVisible}}}):e._e(),e._l(e.extraLinks,(function(t,n){return[t.url?r("li",{key:n},[r("a",{staticClass:"flex flex-row items-center",attrs:{href:t.url,target:t.external?"_blank":"",rel:t.external?"noopener noreferrer":"",title:t.title}},[t.external?r("UnraidSvgUtilNewWindow",{staticClass:"fill-current w-12px h-12px mr-8px"}):e._e(),t.settings?r("UnraidSvgUtilEdit",{staticClass:"fill-current w-12px h-12px mr-8px"}):e._e(),e._v(" "+e._s(t.text)+" ")],1)]):r("div",{key:n,staticClass:"mx-12px"},[r("hr",{staticClass:"w-full h-2px my-8px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]})),r("li",[r("button",{staticClass:"group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",["Sign Out of Unraid.net"])},on:{click:function(t){return e.openPopUp(e.signOutPayload)}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilLogout",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Sign Out of Unraid.net")+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)])],2)])])],1)])],1)}),[],!1,(function(e){var t=r("e519");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var Bi=g({i18n:fe,store:Wn,name:"WanIpCheck",props:{phpWanIp:{type:String,default:""}},computed:{...Object(v.e)(["wanip","site"]),...Object(v.c)(["isRemoteAccess"]),loading(){return!this.wanip}},methods:{...Object(v.b)(["getWanIp"])},created(){De.debug("[🍣 WanIpCheck 🍣]"),this.wanip||this.getWanIp()}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[e.loading?r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.checking")+"…")}}):[e.phpWanIp?[e.isRemoteAccess?r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.phpWanIp]))}}):e.phpWanIp!==e.wanip||e.isRemoteAccess?r("span",{staticClass:"mismatch",domProps:{innerHTML:e._s(e.$t("wanIpCheck.mismatch",[e.phpWanIp,e.wanip]))}}):r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.wanip]))}})]:r("span",{staticClass:"error",domProps:{innerHTML:e._s(e.$t("wanIpCheck.resolveError"))}})]],2)}),[],!1,(function(e){var t=r("6e03");t.__inject__&&t.__inject__(e)}),"4ca8352c",null,!0).exports;window.customElements.define("unraid-authed",m(i.default,qn)),window.customElements.define("unraid-launchpad",m(i.default,fi)),window.customElements.define("unraid-upc-trigger",m(i.default,hi)),window.customElements.define("unraid-user-profile",m(i.default,zi)),window.customElements.define("unraid-wan-ip-check",m(i.default,Bi))},"5d74":function(e,t,r){e.exports={options:{},ssr:function(e,t){var r=e.data,n=r.attrs,i=n.symbol,o=n.size,a=this.getAttributes(o);a&&(r.attrs=Object.assign({},r.attrs,a)),o&&delete r.attrs.size,i&&delete r.attrs.symbol;var s=r.class,c=r.staticClass||"";c+=s?Object.keys(s).join(" "):"",this.hasClass(c)||(r.staticClass=r.staticClass?r.staticClass+" "+this.options.class:this.options.class);var l=e.context.$createElement("use",{attrs:{href:this.getHref(i)}});Array.isArray(e.children)?e.children.push(l):e.children=[l]},install:function(e,t){void 0===t&&(t={}),this.options.class=t.class||"icon",this.options.url=void 0===t.url?"/assets/svg/sprite.svg":t.url;var r=this;e.directive("svg",{bind:function(e,t,n){var i=t.value||n.data.attrs.symbol,o=n.data.attrs&&n.data.attrs.size,a=r.getAttributes(o);a&&(e.setAttribute("viewBox",a.viewBox),e.setAttribute("width",a.width),e.setAttribute("height",a.height)),i&&e.removeAttribute("symbol"),o&&e.removeAttribute("size");var s=e.getAttribute("class");if(r.hasClass(s)||e.setAttribute("class",s?s+" "+r.options.class:r.options.class),!e||null===e.querySelector("use")){var c=document.createElementNS("http://www.w3.org/2000/svg","use"),l=r.getHref(i);c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),c.setAttribute("href",l),e.appendChild(c)}},update:function(e,t,n){var i=r.getHref(t.value||n.data.attrs.symbol),o=e&&e.querySelector("use");if(o){if(o.getAttribute("href")===i)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","use");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttribute("href",i),e.replaceChild(a,o)}}})},getAttributes:function(e){if(!e)return null;var t=e.toString().replace(/( |, |,)/g," ").split(" "),r=t.length;if(3===r||r>4)return console.warn('[vue-svg-sprite] size: "'+e+'" is not valid'),null;var n=[];n[0]=r<4?0:t[0],n[1]=r<4?0:t[1];var i=n[2]=r<4?t[0]:t[2];return{height:n[3]=t[r-1],viewBox:n.join(" "),width:i}},hasClass:function(e){var t=this.options.class;return!!e&&e.split(" ").some((function(e){var r=e.split(/(-|_)/)[0];return-1!==r.indexOf(t)&&r.length===t.length}))},getHref:function(e){return""===this.options.url?"#"+e:this.options.url+"#"+e}}},"609d":function(e,t,r){const n=r("df02");e.exports=(e,t)=>new n(e,t).minor},"61bb":function(e,t,r){const{MAX_LENGTH:n}=r("fe45"),{re:i,t:o}=r("22c0"),a=r("df02"),s=r("e12f");e.exports=(e,t)=>{if(t=s(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?i[o.LOOSE]:i[o.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},6210:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan_Feb_März_Apr_Mai_Juni_Juli_Aug_Sept_Okt_Nov_Dez".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i}(r("5a0c"))},"626e":function(e,t,r){"use strict";var n=[/passw(or)?d/i,/^pw$/,/^pass$/i,/secret/i,/token/i,/api[-._]?key/i,/session[-._]?id/i,/^connect\.sid$/],i=[/^\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/];t.key=function(e){return n.some((function(t){return t.test(e)}))},t.value=function(e){return i.some((function(t){return t.test(e)}))}},"627e":function(e,t,r){const n=r("61bb"),i=r("c5fb");e.exports=(e,t)=>{if(i(e,t))return null;{const r=n(e),i=n(t),o=r.prerelease.length||i.prerelease.length,a=o?"pre":"",s=o?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==i[e])return a+e;return s}}},"633a":function(e,t,r){"use strict";(function(e){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=t.shift();s&&s.applyMiddleware.apply(i,[e,o])}else r(e)};o()}(a(t.middlewares),t)}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,b.default.GQL_START,e))})).catch((function(e){r.unsubscribe(n),t(r.formatErrors(e))})),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new l({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!p.default(r)&&!h.getOperationAST(r,i)||i&&!p.default(i)||n&&!d.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:f.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,b.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var r=e.data;t.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[r].handler;delete this.operations[r],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case b.default.GQL_DATA:var o=t.payload.errors?n(n({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,b.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=y}).call(this,r("c8ba"))},"6c20":function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r("48b5");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r("c8ba"),r("dd40")(e))},"6ddc":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)<=0},"6e03":function(e,t,r){"use strict";r.r(t);var n=r("9c76");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},7506:function(e,t,r){"use strict";r.r(t),r.d(t,"print",(function(){return o}));var n=r("2f6c"),i=r("04b4");function o(e){return Object(n.b)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=u("(",c(e.variableDefinitions,", "),")"),i=c(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?c([t,c([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+u(" = ",n)+u(" ",c(i," "))},SelectionSet:function(e){return l(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet;return c([u("",t,": ")+r+u("(",c(n,", "),")"),c(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c(["...",u("on ",t),c(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(u("(",c(n,", "),")")," ")+"on ".concat(r," ").concat(u("",c(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?Object(i.b)(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,r=e.operationTypes;return c(["schema",c(t," "),l(r)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return c(["scalar",e.name,c(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["type",t,u("implements ",c(r," & ")),c(n," "),l(i)]," ")})),FieldDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(f(r)?u("(\n",p(c(r,"\n")),"\n)"):u("(",c(r,", "),")"))+": "+n+u(" ",c(i," "))})),InputValueDefinition:s((function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return c([t+": "+r,u("= ",n),c(i," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["interface",t,c(r," "),l(n)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.types;return c(["union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.values;return c(["enum",t,c(r," "),l(n)]," ")})),EnumValueDefinition:s((function(e){return c([e.name,c(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["input",t,c(r," "),l(n)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(f(r)?u("(\n",p(c(r,"\n")),"\n)"):u("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c(["extend schema",c(t," "),l(r)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend type",t,u("implements ",c(r," & ")),c(n," "),l(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend interface",t,c(r," "),l(n)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c(["extend union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c(["extend enum",t,c(r," "),l(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend input",t,c(r," "),l(n)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function l(e){return e&&0!==e.length?"{\n"+p(c(e,"\n"))+"\n}":""}function u(e,t,r){return t?e+t+(r||""):""}function p(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function f(e){return e&&e.some(d)}},"76db":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>0!==n(e,t,r)},"778d":function(e,t,r){const n=r("df02"),i=r("7b1f");e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}},"786a":function(e,t){var r=e.exports=function(e){return new n(e)};function n(e){this.value=e}function i(e,t,r){var n=[],i=[],s=!0;return function e(p){var d=r?o(p):p,f={},h=!0,m={node:d,node_:p,path:[].concat(n),parent:i[i.length-1],parents:i,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(h=!1)},delete:function(e){delete m.parent.node[m.key],e&&(h=!1)},remove:function(e){c(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(h=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){s=!1},block:function(){h=!1}};if(!s)return m;function g(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=a(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e{"string"==typeof r&&(i=r,r=void 0);try{return new n(e,r).inc(t,i).version}catch(e){return null}}},7973:function(e,t,r){const n=r("df02"),i=r("61bb"),{re:o,t:a}=r("22c0");e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=o[a.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[a.COERCERTL].lastIndex=-1}else r=e.match(o[a.COERCE]);return null===r?null:i(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},"7b1f":function(e,t,r){class n{constructor(e,t){if(t=o(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!h(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=i.get(t);if(r)return r;const n=this.options.loose,o=n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],p),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],d)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ");const c=n?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>O(e,this.options)).filter(this.options.loose?e=>!!e.match(c):()=>!0).map(e=>new a(e,this.options)),g=(m.length,new Map);for(const e of m){if(h(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const b=[...g.values()];return i.set(t,b),b}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>g(r,t)&&e.set.some(e=>g(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r},v=(e,t)=>(s("comp",e,t),e=x(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=E(e,t),s("xrange",e),e=k(e,t),s("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const r=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),b(r)?a="":b(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a})},x=(e,t)=>e.trim().split(/\s+/).map(e=>_(e,t)).join(" "),_=(e,t)=>{s("caret",e,t);const r=t.loose?l[u.CARETLOOSE]:l[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let c;return s("caret",e,t,r,i,o,a),b(r)?c="":b(i)?c=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?c="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),c="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",c),c})},E=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>S(e,t)).join(" ")),S=(e,t)=>{e=e.trim();const r=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(r,(r,n,i,o,a,c)=>{s("xRange",e,r,n,i,o,a,c);const l=b(i),u=l||b(o),p=u||b(a),d=p;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(c="-0"),r=`${n+i}.${o}.${a}${c}`):u?r=`>=${i}.0.0${c} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),s("xRange return",r),r})},k=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),O=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,i,o,a,s,c,l,u,p,d,f)=>`${r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:a?">="+r:`>=${r}${e?"-0":""}`} ${c=b(l)?"":b(u)?`<${+l+1}.0.0-0`:b(p)?`<${l}.${+u+1}.0-0`:d?`<=${l}.${u}.${p}-${d}`:e?`<${l}.${u}.${+p+1}-0`:"<="+c}`.trim(),I=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},"7e06":function(e,t,r){(t=r("24fb")(!1)).push([e.i,".mismatch[data-v-4ca8352c]{display:inline-block;width:50%;white-space:normal}.error[data-v-4ca8352c]{color:#e22828;font-weight:600}",""]),e.exports=t},"82ac":function(e,t,r){const n=r("61bb");e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},8840:function(e,t,r){const n=r("df02");e.exports=(e,t,r)=>{const i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}},"8a86":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 298 169"},u),...p},o.concat([r("path",{attrs:{d:"M20.3 0h257.3c17.8 0 26.7 21.5 14.1 34.1L163.1 162.8c-7.8 7.8-20.5 7.8-28.3 0L6.2 34.1C-6.4 21.5 2.5 0 20.3 0z"}})]))}}},"8d9b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WS_TIMEOUT=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;t.WS_TIMEOUT=3e4},"8dac":function(e,t,r){(t=r("24fb")(!1)).push([e.i,'/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#a1a1aa}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:fira-mono,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.prose{line-height:1.25}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.right-0{right:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.m-0{margin:0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-8px{margin-left:8px;margin-right:8px}.mx-12px{margin-left:12px;margin-right:12px}.my-0{margin-top:0;margin-bottom:0}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8px{margin-top:8px;margin-bottom:8px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.-mt-2{margin-top:-.5rem}.mt-4px{margin-top:4px}.mt-8px{margin-top:8px}.mt-12px{margin-top:12px}.mt-16px{margin-top:16px}.mt-90px{margin-top:90px}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8px{margin-right:8px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-4px{margin-bottom:4px}.ml-4{margin-left:1rem}.ml-8px{margin-left:8px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.block{display:block}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.table{display:table}.hidden{display:none}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-1px{height:1px}.h-2px{height:2px}.h-8px{height:8px}.h-12px{height:12px}.h-24px{height:24px}.h-36px{height:36px}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-7\\/20{width:35%}.w-13\\/20{width:65%}.w-full{width:100%}.w-2px{width:2px}.w-8px{width:8px}.w-12px{width:12px}.w-28px{width:28px}.w-36px{width:36px}.w-100px{width:100px}.min-w-260px{min-width:260px}.max-w-2xs{max-width:15rem}.max-w-lg{max-width:32rem}.max-w-4xl{max-width:56rem}.max-w-150px{max-width:150px}.max-w-160px{max-width:160px}.max-w-300px{max-width:300px}.flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\\:scale-110:focus,.hover\\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.select-all{-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.list-disc{list-style-type:disc}.flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-col,.flex-row{-webkit-box-direction:normal}.flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.items-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-scroll{overflow-y:scroll}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border-2{border-width:2px}.border{border-width:1px}.border-t-0{border-top-width:0}.border-r-0{border-right-width:0}.border-r-2{border-right-width:2px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-none{border-style:none}.border-transparent{border-color:transparent}.border-grey-darkest{--tw-border-opacity:1;border-color:rgba(34,34,34,var(--tw-border-opacity))}.border-grey-mid{--tw-border-opacity:1;border-color:rgba(153,153,153,var(--tw-border-opacity))}.border-grey-light{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.border-grey-lighter{--tw-border-opacity:1;border-color:rgba(241,245,248,var(--tw-border-opacity))}.border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgba(226,40,40,var(--tw-border-opacity))}.focus\\:border-orange-dark:focus,.group:focus .group-focus\\:border-orange-dark,.group:hover .group-hover\\:border-orange-dark,.hover\\:border-orange-dark:hover{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}@media (prefers-color-scheme:dark){.dark\\:border-grey-dark{--tw-border-opacity:1;border-color:rgba(56,55,53,var(--tw-border-opacity))}}.bg-transparent{background-color:transparent}.bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.bg-grey-mid{--tw-bg-opacity:1;background-color:rgba(153,153,153,var(--tw-bg-opacity))}.bg-grey{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity:1;background-color:rgba(255,140,47,var(--tw-bg-opacity))}.bg-red{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity))}.bg-green{--tw-bg-opacity:1;background-color:rgba(0,153,0,var(--tw-bg-opacity))}.bg-alpha{background-color:var(--color-alpha)}.bg-beta{background-color:var(--color-beta)}@media (prefers-color-scheme:dark){.dark\\:bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.dark\\:bg-grey-dark{--tw-bg-opacity:1;background-color:rgba(56,55,53,var(--tw-bg-opacity))}.dark\\:bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}}.bg-gradient-to-r{background-image:-webkit-gradient(linear,left top,right top,from(var(--tw-gradient-stops)));background-image:linear-gradient(90deg,var(--tw-gradient-stops))}@media (prefers-color-scheme:dark){.dark\\:bg-gradient-to-b{background-image:-webkit-gradient(linear,left top,left bottom,from(var(--tw-gradient-stops)));background-image:linear-gradient(180deg,var(--tw-gradient-stops))}}.from-red{--tw-gradient-from:#e22828;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(226,40,40,0))}@media (prefers-color-scheme:dark){.dark\\:from-black{--tw-gradient-from:#1c1b1b;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(28,27,27,0))}.dark\\:from-grey-darkest{--tw-gradient-from:#222;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(34,34,34,0))}}.to-orange{--tw-gradient-to:#ff8c2f}@media (prefers-color-scheme:dark){.dark\\:to-black{--tw-gradient-to:#1c1b1b}}.fill-current{fill:currentColor}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-24px{padding:24px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-6px{padding-left:6px;padding-right:6px}.px-8px{padding-left:8px;padding-right:8px}.px-12px{padding-left:12px;padding-right:12px}.px-16px{padding-left:16px;padding-right:16px}.px-24px{padding-left:24px;padding-right:24px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-4px{padding-top:4px;padding-bottom:4px}.py-8px{padding-top:8px;padding-bottom:8px}.pt-4px{padding-top:4px}.pt-16px{padding-top:16px}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-12px{padding-right:12px}.pr-16px{padding-right:16px}.pb-4{padding-bottom:1rem}.pb-4px{padding-bottom:4px}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-12px{padding-left:12px}.pl-80px{padding-left:80px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-14px{font-size:14px}.text-16px{font-size:16px}.text-18px{font-size:18px}.text-24px{font-size:24px}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-normal{line-height:1.5}.text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.text-grey-darker{--tw-text-opacity:1;color:rgba(96,111,123,var(--tw-text-opacity))}.text-grey-dark{--tw-text-opacity:1;color:rgba(56,55,53,var(--tw-text-opacity))}.text-grey-mid{--tw-text-opacity:1;color:rgba(153,153,153,var(--tw-text-opacity))}.text-grey-lightest{--tw-text-opacity:1;color:rgba(242,242,242,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-orange-dark{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.text-orange{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.text-red{--tw-text-opacity:1;color:rgba(226,40,40,var(--tw-text-opacity))}.text-alpha{color:var(--color-alpha)}.text-beta{color:var(--color-beta)}.text-gamma{color:var(--color-gamma)}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\\:text-orange-dark:hover{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.hover\\:text-orange:hover{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.hover\\:text-alpha:hover{color:var(--color-alpha)}.focus\\:text-white:focus{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.focus\\:text-orange-dark:focus{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.focus\\:text-orange:focus{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.focus\\:text-alpha:focus{color:var(--color-alpha)}@media (prefers-color-scheme:dark){.dark\\:text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.dark\\:text-grey{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity))}.dark\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}}.hover\\:underline:hover,.underline{text-decoration:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.group:hover .group-hover\\:opacity-100,.opacity-100{opacity:1}*,:after,:before{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow,.shadow-md{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.shadow-lg,.shadow-none{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 transparent}.focus\\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px}*,:after,:before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur:blur(8px)}.transition-all{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-colors{-webkit-transition-property:background-color,border-color,color,fill,stroke;transition-property:background-color,border-color,color,fill,stroke;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-opacity{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-opacity{-webkit-transition-duration:.15s;transition-duration:.15s}.duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.TopBlip{margin-top:-3px}.TopBlip:before{position:absolute;z-index:20;display:block;content:"";width:0;height:0;top:-10px;right:62px;border-right:11px solid transparent;border-bottom:11px solid var(--color-alpha);border-left:11px solid transparent}.blur{-webkit-filter:blur(3px);filter:blur(3px)}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}.slideVerticalFade-enter-active,.slideVerticalFade-leave-active{-webkit-transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out,-webkit-transform .15s ease-out}.slideVerticalFade-enter,.slideVerticalFade-leave-to{opacity:0;-webkit-transform:translateY(36px);transform:translateY(36px)}.slideHorizontalFade-enter-active,.slideHorizontalFade-leave-active{-webkit-transition:opacity 1s ease-out,-webkit-transform 1s ease-out;transition:opacity 1s ease-out,-webkit-transform 1s ease-out;transition:opacity 1s ease-out,transform 1s ease-out;transition:opacity 1s ease-out,transform 1s ease-out,-webkit-transform 1s ease-out}.slideHorizontalFade-enter,.slideHorizontalFade-leave-to{opacity:0;-webkit-transform:translateX(36px);transform:translateX(36px)}.button{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;background-color:transparent;background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0}.button:active{-webkit-transform:scale(.975);transform:scale(.975)}.button:disabled{opacity:.5;cursor:not-allowed}.button:focus,.button:hover{-webkit-box-shadow:0;box-shadow:0}.button-alt,.button:focus,.button:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}.button-alt{font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;display:inline-block;border-radius:.125rem;-webkit-transition:none;transition:none}.button-alt:active{-webkit-transform:scale(.975);transform:scale(.975)}.button-alt:disabled{opacity:.5;cursor:not-allowed}.button-alt:focus,.button-alt:hover{background-color:transparent;--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0;-webkit-box-shadow:0;box-shadow:0}.button-fine-error{border-radius:.125rem;background-color:transparent;text-decoration:underline}.button-fine-error:focus,.button-fine-error:hover{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));text-decoration:none}.ActionRequired a,.ActionRequired button{padding-left:24px;padding-right:24px;padding-top:16px;padding-bottom:16px;font-size:14px}@media (min-width:576px){.sm\\:order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.sm\\:order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.sm\\:mb-0{margin-bottom:0}.sm\\:block{display:block}.sm\\:w-auto{width:auto}.sm\\:max-w-200px{max-width:200px}.sm\\:max-w-11rem{max-width:11rem}.sm\\:flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.sm\\:justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sm\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}}@media (min-width:768px){.md\\:h-12{height:3rem}.md\\:w-12{width:3rem}.md\\:p-8{padding:2rem}.md\\:p-32px{padding:32px}.md\\:text-30px{font-size:30px}}@media (min-width:1024px){.lg\\:max-w-xl{max-width:36rem}.lg\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\\:px-40px{padding-left:40px;padding-right:40px}}@media (min-width:1450px){.xxl\\:text-18px{font-size:18px}}',""]),e.exports=t},"8f4a":function(e,t,r){const n=r("7b1f");e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},9086:function(e,t,r){(t=r("24fb")(!1)).push([e.i,"button[data-v-5e5ba4da],button[type=button][data-v-5e5ba4da]{font-family:clear-sans;font-size:1.1rem;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;min-width:86px;margin:0 12px 10px 0;padding:8px;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:none;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}button[data-v-5e5ba4da]:hover,button:hover[type=button][data-v-5e5ba4da]{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828,#ff8c2f)}\n\n/*! purgecss start ignore */.fade-enter-active[data-v-5e5ba4da],.fade-leave-active[data-v-5e5ba4da]{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter[data-v-5e5ba4da],.fade-leave-to[data-v-5e5ba4da]{opacity:0}@media (prefers-reduced-motion){*[data-v-5e5ba4da]{-webkit-transition-duration:0!important;transition-duration:0!important}}[v-cloak][data-v-5e5ba4da]{display:none}\n\n/*! purgecss end ignore */",""]),e.exports=t},"945a":function(e,t,r){var n=r("fac5");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("e4b0acb0",n,e)}},"94d0":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M0 2l2-2 6 6 6-6 2 2-6 6 6 6-2 2-6-6-6 6-2-2 6-6z"}})]))}}},9588:function(e,t,r){const n=r("8840");e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},9647:function(e,t,r){const n=r("df02"),i=r("7b1f"),o=r("eec3");e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}),!a||r&&!o(r,a)||(r=a)}return r&&e.test(r)?r:null}},"973e":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zm-1-5v2.002h2V11H7zm0-1h2c0-2 2-2.5 2-4 0-.5 0-3-3-3-2 0-3 1-3 3h2c0-.667.333-1 1-1 1 0 1 1 1 1 0 1-2.022 1.5-2 4z"}})]))}}},"9ab4":function(e,t,r){"use strict";r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"f",(function(){return l}));var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},a0be:function(e,t,r){var n=r("9086");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("35d6").default;e.exports.__inject__=function(e){i("3892ba6e",n,e)}},a190:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},u),...p},o.concat([r("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})]))}}},a21d:function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(t,e,r)},a313:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M0 8l2-2 4 4 8-8 2 2-8 8-2 2z"}})]))}}},a3b3:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M14 3.4l-6.793 6.792-1.414-1.414L12.57 2H9V0h7v7h-2V3.4zM12 9h2v7H0V2h7v2H2v10h10V9z"}})]))}}},a7b2:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r1,i=!1,o=arguments[1],a=o;return new r((function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))}},{key:u,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=d(t,u);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(e){return e instanceof _}(i)&&i.constructor===r?i:new r((function(e){return i.subscribe(e)}))}if(s("iterator")&&(n=d(t,l)))return new r((function(e){m((function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(e.next(c),e.closed)return}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){m((function(){if(!e.closed){for(var r=0;r2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map((function(r){return r+": "+a(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function s(e){var t=e[String(n.a)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}},b045:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zM6.989 3v2.002h2V3h-2zM7 13h2V7H7a405.483 405.483 0 000 6z"}})]))}}},b2a0:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M5.362 8.44l3-3.027L3.618.626A6.32 6.32 0 0110.86 1.88c1.958 1.977 2.373 4.923 1.243 7.31L16 13.126V16h-3.15l-3.745-3.78a6.32 6.32 0 01-7.242-1.256C-.095 8.987-.51 6.04.62 3.654L5.362 8.44z"}})]))}}},b692:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=i;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M7 6h4V2l5 6-5 6v-4H7v2h2v4H0V0h9v4H7v2zm0 0V2H2v12h5v-4H4V6h3z"}})]))}}},bf00:function(e,t,r){const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||o&&a||s||l}}e.exports=i;const o=r("e12f"),{re:a,t:s}=r("22c0"),c=r("54c2"),l=r("0d7c"),u=r("df02"),p=r("7b1f")},bfa6:function(e,t,r){const n=r("329c"),i=r("f06c");e.exports=(e,t,r)=>{const o=[];let a=null,s=null;const c=e.sort((e,t)=>i(e,t,r));for(const e of c){n(e,t,r)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);const l=[];for(const[e,t]of o)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push("<="+t):l.push(`${e} - ${t}`):l.push(">="+e):l.push("*");const u=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length0===n(e,t,r)},c6b3:function(e,t,r){"use strict";(function(e){var r=function(e,t){for(var r=0,n=t.length,i=e.length;r{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new n(o,r)))}),o}},ca20:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GRAPHQL_SUBSCRIPTIONS=t.GRAPHQL_WS=void 0;t.GRAPHQL_WS="graphql-ws";t.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},cbbf:function(e,t,r){(t=r("24fb")(!1)).push([e.i,"/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#a1a1aa}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:fira-mono,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.prose{line-height:1.25}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.right-0{right:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.m-0{margin:0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-8px{margin-left:8px;margin-right:8px}.mx-12px{margin-left:12px;margin-right:12px}.my-0{margin-top:0;margin-bottom:0}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8px{margin-top:8px;margin-bottom:8px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.-mt-2{margin-top:-.5rem}.mt-4px{margin-top:4px}.mt-8px{margin-top:8px}.mt-12px{margin-top:12px}.mt-16px{margin-top:16px}.mt-90px{margin-top:90px}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8px{margin-right:8px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-4px{margin-bottom:4px}.ml-4{margin-left:1rem}.ml-8px{margin-left:8px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.block{display:block}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.table{display:table}.hidden{display:none}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-1px{height:1px}.h-2px{height:2px}.h-8px{height:8px}.h-12px{height:12px}.h-24px{height:24px}.h-36px{height:36px}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-7\\/20{width:35%}.w-13\\/20{width:65%}.w-full{width:100%}.w-2px{width:2px}.w-8px{width:8px}.w-12px{width:12px}.w-28px{width:28px}.w-36px{width:36px}.w-100px{width:100px}.min-w-260px{min-width:260px}.max-w-2xs{max-width:15rem}.max-w-lg{max-width:32rem}.max-w-4xl{max-width:56rem}.max-w-150px{max-width:150px}.max-w-160px{max-width:160px}.max-w-300px{max-width:300px}.flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\\:scale-110:focus,.hover\\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.select-all{-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.list-disc{list-style-type:disc}.flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-col,.flex-row{-webkit-box-direction:normal}.flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.items-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-scroll{overflow-y:scroll}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border-2{border-width:2px}.border{border-width:1px}.border-t-0{border-top-width:0}.border-r-0{border-right-width:0}.border-r-2{border-right-width:2px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-none{border-style:none}.border-transparent{border-color:transparent}.border-grey-darkest{--tw-border-opacity:1;border-color:rgba(34,34,34,var(--tw-border-opacity))}.border-grey-mid{--tw-border-opacity:1;border-color:rgba(153,153,153,var(--tw-border-opacity))}.border-grey-light{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.border-grey-lighter{--tw-border-opacity:1;border-color:rgba(241,245,248,var(--tw-border-opacity))}.border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgba(226,40,40,var(--tw-border-opacity))}.focus\\:border-orange-dark:focus,.group:focus .group-focus\\:border-orange-dark,.group:hover .group-hover\\:border-orange-dark,.hover\\:border-orange-dark:hover{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}@media (prefers-color-scheme:dark){.dark\\:border-grey-dark{--tw-border-opacity:1;border-color:rgba(56,55,53,var(--tw-border-opacity))}}.bg-transparent{background-color:transparent}.bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.bg-grey-mid{--tw-bg-opacity:1;background-color:rgba(153,153,153,var(--tw-bg-opacity))}.bg-grey{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity:1;background-color:rgba(255,140,47,var(--tw-bg-opacity))}.bg-red{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity))}.bg-green{--tw-bg-opacity:1;background-color:rgba(0,153,0,var(--tw-bg-opacity))}.bg-alpha{background-color:var(--color-alpha)}.bg-beta{background-color:var(--color-beta)}@media (prefers-color-scheme:dark){.dark\\:bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.dark\\:bg-grey-dark{--tw-bg-opacity:1;background-color:rgba(56,55,53,var(--tw-bg-opacity))}.dark\\:bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}}.bg-gradient-to-r{background-image:-webkit-gradient(linear,left top,right top,from(var(--tw-gradient-stops)));background-image:linear-gradient(90deg,var(--tw-gradient-stops))}@media (prefers-color-scheme:dark){.dark\\:bg-gradient-to-b{background-image:-webkit-gradient(linear,left top,left bottom,from(var(--tw-gradient-stops)));background-image:linear-gradient(180deg,var(--tw-gradient-stops))}}.from-red{--tw-gradient-from:#e22828;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(226,40,40,0))}@media (prefers-color-scheme:dark){.dark\\:from-black{--tw-gradient-from:#1c1b1b;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(28,27,27,0))}.dark\\:from-grey-darkest{--tw-gradient-from:#222;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(34,34,34,0))}}.to-orange{--tw-gradient-to:#ff8c2f}@media (prefers-color-scheme:dark){.dark\\:to-black{--tw-gradient-to:#1c1b1b}}.fill-current{fill:currentColor}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-24px{padding:24px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-6px{padding-left:6px;padding-right:6px}.px-8px{padding-left:8px;padding-right:8px}.px-12px{padding-left:12px;padding-right:12px}.px-16px{padding-left:16px;padding-right:16px}.px-24px{padding-left:24px;padding-right:24px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-4px{padding-top:4px;padding-bottom:4px}.py-8px{padding-top:8px;padding-bottom:8px}.pt-4px{padding-top:4px}.pt-16px{padding-top:16px}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-12px{padding-right:12px}.pr-16px{padding-right:16px}.pb-4{padding-bottom:1rem}.pb-4px{padding-bottom:4px}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-12px{padding-left:12px}.pl-80px{padding-left:80px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-14px{font-size:14px}.text-16px{font-size:16px}.text-18px{font-size:18px}.text-24px{font-size:24px}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-normal{line-height:1.5}.text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.text-grey-darker{--tw-text-opacity:1;color:rgba(96,111,123,var(--tw-text-opacity))}.text-grey-dark{--tw-text-opacity:1;color:rgba(56,55,53,var(--tw-text-opacity))}.text-grey-mid{--tw-text-opacity:1;color:rgba(153,153,153,var(--tw-text-opacity))}.text-grey-lightest{--tw-text-opacity:1;color:rgba(242,242,242,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-orange-dark{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.text-orange{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.text-red{--tw-text-opacity:1;color:rgba(226,40,40,var(--tw-text-opacity))}.text-alpha{color:var(--color-alpha)}.text-beta{color:var(--color-beta)}.text-gamma{color:var(--color-gamma)}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\\:text-orange-dark:hover{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.hover\\:text-orange:hover{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.hover\\:text-alpha:hover{color:var(--color-alpha)}.focus\\:text-white:focus{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.focus\\:text-orange-dark:focus{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.focus\\:text-orange:focus{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.focus\\:text-alpha:focus{color:var(--color-alpha)}@media (prefers-color-scheme:dark){.dark\\:text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.dark\\:text-grey{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity))}.dark\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}}.hover\\:underline:hover,.underline{text-decoration:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.group:hover .group-hover\\:opacity-100,.opacity-100{opacity:1}*,:after,:before{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow,.shadow-md{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.shadow-lg,.shadow-none{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 transparent}.focus\\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px}*,:after,:before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur:blur(8px)}.transition-all{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-colors{-webkit-transition-property:background-color,border-color,color,fill,stroke;transition-property:background-color,border-color,color,fill,stroke;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-opacity{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-opacity{-webkit-transition-duration:.15s;transition-duration:.15s}.duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}button,button[type=button]{font-family:clear-sans;font-size:1.1rem;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;min-width:86px;margin:0 12px 10px 0;padding:8px;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:none;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}button:hover,button:hover[type=button]{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828,#ff8c2f)}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}@media (prefers-reduced-motion){*{-webkit-transition-duration:0!important;transition-duration:0!important}}[v-cloak]{display:none}@media (min-width:576px){.sm\\:order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.sm\\:order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.sm\\:mb-0{margin-bottom:0}.sm\\:block{display:block}.sm\\:w-auto{width:auto}.sm\\:max-w-200px{max-width:200px}.sm\\:max-w-11rem{max-width:11rem}.sm\\:flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.sm\\:justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sm\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}}@media (min-width:768px){.md\\:h-12{height:3rem}.md\\:w-12{width:3rem}.md\\:p-8{padding:2rem}.md\\:p-32px{padding:32px}.md\\:text-30px{font-size:30px}}@media (min-width:1024px){.lg\\:max-w-xl{max-width:36rem}.lg\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\\:px-40px{padding-left:40px;padding-right:40px}}@media (min-width:1450px){.xxl\\:text-18px{font-size:18px}}",""]),e.exports=t},cefe:function(e,t,r){const n=r("7b1f");e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},d1e2:function(e,t,r){const n=r("df02"),i=r("bf00"),{ANY:o}=i,a=r("7b1f"),s=r("329c"),c=r("eec3"),l=r("2426"),u=r("6ddc"),p=r("0e49");e.exports=(e,t,r,d)=>{let f,h,m,g,v;switch(e=new n(e,d),t=new a(t,d),r){case">":f=c,h=u,m=l,g=">",v=">=";break;case"<":f=l,h=p,m=c,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let r=0;r{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,f(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e)}),a.operator===g||a.operator===v)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}},d7c6:function(e,t,r){const n=r("7b1f");e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},db0b:function(e,t,r){const n=r("d1e2");e.exports=(e,t,r)=>n(e,t,"<",r)},dbb3:function(e,t,r){const n=r("8840");e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},ddc3:function(e,t,r){const n=r("22c0");e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r("fe45").SEMVER_SPEC_VERSION,SemVer:r("df02"),compareIdentifiers:r("2874").compareIdentifiers,rcompareIdentifiers:r("2874").rcompareIdentifiers,parse:r("61bb"),valid:r("82ac"),clean:r("a017"),inc:r("7907"),diff:r("627e"),major:r("06be"),minor:r("609d"),patch:r("2c9f"),prerelease:r("3bd4"),compare:r("f06c"),rcompare:r("a21d"),compareLoose:r("f182"),compareBuild:r("8840"),sort:r("9588"),rsort:r("dbb3"),gt:r("eec3"),lt:r("2426"),eq:r("c5fb"),neq:r("76db"),gte:r("0e49"),lte:r("6ddc"),cmp:r("54c2"),coerce:r("7973"),Comparator:r("bf00"),Range:r("7b1f"),satisfies:r("329c"),toComparators:r("8f4a"),maxSatisfying:r("778d"),minSatisfying:r("ca0b"),minVersion:r("9647"),validRange:r("cefe"),outside:r("d1e2"),gtr:r("566a"),ltr:r("db0b"),intersects:r("d7c6"),simplifyRange:r("bfa6"),subset:r("23d7")}},df02:function(e,t,r){const n=r("0d7c"),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r("fe45"),{re:a,t:s}=r("22c0"),c=r("e12f"),{compareIdentifiers:l}=r("2874");class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=u},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return(i?"/":"")+(t=r(n(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return(e=r(n(e.split("/"),(function(e){return!!e})),!o).join("/"))||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},dfd4:function(e,t,r){"use strict";r.r(t);var n=r("a0be");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},e072:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return t.default.locale(r,null,!0),r}(r("5a0c"))},e12f:function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},e519:function(e,t,r){"use strict";r.r(t);var n=r("2a99");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},e5b7:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};return t.default.locale(r,null,!0),r}(r("5a0c"))},eec3:function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)>0},ef7a:function(e,t,r){"use strict";r.r(t);var n=r("945a");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},f06c:function(e,t,r){const n=r("df02");e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},f153:function(e,t,r){"use strict";r.r(t);var n=r("10f4");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},f182:function(e,t,r){const n=r("f06c");e.exports=(e,t)=>n(e,t,!0)},f39f:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),l.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},l.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n0)for(var r=0,i=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;null!==o&&n(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Le.debug("[🪐 serverStateFromApi] serverRegistrationSub"),_n(e).subscribe({query:xt`subscription serverRegistrationSub {
+ registration {
+ ${xe()(e.state.apiVersion,"2.35.0")?"expiration":""}
+ keyFile {
+ contents
+ }
+ }
+ }`}).subscribe({next(t){Le.debug("[🪐 serverStateFromApi] serverRegistrationSub: %o",t),e.commit("SET_REGISTRATION_SUB",t.data.registration)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})),Le.debug("[🪐 serverStateFromApi] DONE %o",r.data),r.data},stopGraphqlClient:e=>Object.keys(wn).includes(e)?(Le.debug("[getGraphqlClient] found existing client & stopping it"),wn[e]):Le.debug("[getGraphqlClient] client does not exist for apikey %s",e)};i.default.use(v.a);var Yn=new v.a.Store({state:ye,getters:Ce,mutations:Me,actions:Hn});var Kn=g({i18n:fe,store:Yn,name:"Authed",props:["propRegistered"],data:()=>({regChanged:!1,popUpClosedTimer:null}),computed:{...Object(v.e)(["state","registered","isPopUpOpen","signOutPayload","wizardWindow"]),...Object(v.c)(["stateData"]),computedReg(){return null===this.registered?!!this.propRegistered:this.registered},buttonPayload(){return this.stateData.error?this.wizardWindow:this.computedReg?this.signOutPayload:this.wizardWindow},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.computedReg?this.$t("signOut"):this.$t("signIn")},buttonTitle(){return this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},watch:{isPopUpOpen(e){!e&&this.regChanged&&(Le.debug("[REGISTERED CHANGED] 🔥 reload webGUI settings"),window.location.reload())},registered(e,t){null!==t&&e!==this.propRegistered&&(Le.debug("[REGISTERED CHANGED]",{newVal:e,oldVal:t}),this.regChanged=!0,this.isPopUpOpen||(Le.debug("[REGISTERED CHANGED] 🔥🔥 reload webGUI settings"),window.location.reload()))}},methods:{...Object(v.b)(["closePopUp","openPopUp"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[r("div",[r("button",{attrs:{type:"button",title:e.buttonTitle},on:{click:function(t){return e.openPopUp(e.buttonPayload)}}},[e._v(e._s(e.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))]):e._e()])],1)])}),[],!1,(function(e){var t=r("dfd4");t.__inject__&&t.__inject__(e)}),"5e5ba4da",null,!0).exports,Xn=(g({name:"keyline",props:{color:{type:String,default:"grey"}},computed:{computedClass(){return"gradient"===this.color?"h-2px bg-gradient-r-red-orange":"h-1px bg-grey"}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("hr",{staticClass:"w-full shadow-none border-none rounded-none",class:e.computedClass})}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{staticClass:"unraid_sc_loader",style:e.styles,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97",height:e.height+"px",role:"img"}},[r("title",[e._v(e._s(e.title))]),r("desc",[e._v("Unraid logo animating with a wave like effect")]),r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("path",{staticClass:"unraid_sc_loader_9",attrs:{d:"m70,19.24zm57,0l6.54,0l0,38.49l-6.54,0l0,-38.49z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_8",attrs:{d:"m70,19.24zm47.65,11.9l-6.55,0l0,-23.79l6.55,0l0,23.79z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_7",attrs:{d:"m70,19.24zm31.77,-4.54l-6.54,0l0,-14.7l6.54,0l0,14.7z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_6",attrs:{d:"m70,19.24zm15.9,11.9l-6.54,0l0,-23.79l6.54,0l0,23.79z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_5",attrs:{d:"m63.49,19.24l6.51,0l0,38.49l-6.51,0l0,-38.49z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_4",attrs:{d:"m70,19.24zm-22.38,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_3",attrs:{d:"m70,19.24zm-38.26,43.03l6.55,0l0,14.73l-6.55,0l0,-14.73z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_2",attrs:{d:"m70,19.24zm-54.13,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:"url(#"+e.random+")"}}),r("path",{staticClass:"unraid_sc_loader_1",attrs:{d:"m70,19.24zm-63.46,38.49l-6.54,0l0,-38.49l6.54,0l0,38.49z",fill:"url(#"+e.random+")"}})])});var Jn=g({name:"loading",props:{height:{type:Number,default:64},styles:{type:Object,default:()=>({})},gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"},title:{type:String,default:"Loading"}},data:()=>({random:Math.random().toString(36).substring(7)})},Xn,[],!1,(function(e){var t=r("ef7a");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,Zn=(g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 222.36 39.04"}},[r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"47.53",y1:"79.1",x2:"170.71",y2:"-44.08",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("title",[e._v("Unraid Logo")]),r("path",{attrs:{d:"M146.7,29.47H135l-3,9h-6.49L138.93,0h8l13.41,38.49h-7.09L142.62,6.93l-5.83,16.88h8ZM29.69,0V25.4c0,8.91-5.77,13.64-14.9,13.64S0,34.31,0,25.4V0H6.54V25.4c0,5.17,3.19,7.92,8.25,7.92s8.36-2.75,8.36-7.92V0ZM50.86,12v26.5H44.31V0h6.11l17,26.5V0H74V38.49H67.9ZM171.29,0h6.54V38.49h-6.54Zm51.07,24.69c0,9-5.88,13.8-15.17,13.8H192.67V0H207.3c9.18,0,15.06,4.78,15.06,13.8ZM215.82,13.8c0-5.28-3.3-8.14-8.52-8.14h-8.08V32.77h8c5.33,0,8.63-2.8,8.63-8.08ZM108.31,23.92c4.34-1.6,6.93-5.28,6.93-11.55C115.24,3.68,110.18,0,102.48,0H88.84V38.49h6.55V5.66h6.87c3.8,0,6.21,1.82,6.21,6.71s-2.41,6.76-6.21,6.76H98.88l9.21,19.36h7.53Z",fill:"url(#"+e.random+")"}})])}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97"}},[r("title",[e._v("unraid-mark")]),r("defs",[r("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[r("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),r("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),r("path",{attrs:{fill:"url(#"+e.random+")",d:"M63.49,19.24H70V57.73H63.49ZM6.54,57.73H0V19.24H6.54Zm25.2,4.54h6.55V77H31.74ZM15.87,45.84h6.54V69.62H15.87Zm31.75,0h6.54V69.62H47.62ZM127,19.24h6.54V57.73H127ZM101.77,14.7H95.23V0h6.54Zm15.88,16.44H111.1V7.35h6.55Zm-31.75,0H79.36V7.35H85.9Z"}})])}),ei=g({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},Zn,[],!1,null,null,null,!0).exports,ti=r("5d74"),ri=r.n(ti);i.default.use(ri.a,{url:(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX?Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX:"")+"/assets/svg/sprite.svg",class:"svg-icon"});var ni=(g({name:"svg-icon",props:{symbol:{type:String,required:!0},symbolClass:String}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("svg",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"unraid-svg-icon",class:e.symbolClass,attrs:{symbol:e.symbol,title:e.symbol,role:"presentation"}})}),[],!1,(function(e){var t=r("39a1");t.__inject__&&t.__inject__(e)}),"3b60bb54",null,!0).exports,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"text-center w-full"},[r("header",[r("h2",{staticClass:"text-24px md:text-30px",domProps:{innerHTML:e._s(e.stateData.heading?e.stateData.heading:e.stateData.error.heading)}}),r("div",{staticClass:"text-14px opacity-90 mt-12px mx-auto",class:{"text-center":e.stateData.messageCenter,"text-left":!e.stateData.messageCenter,"prose-2xl":!e.CAN_POST_MESSAGE,prose:e.CAN_POST_MESSAGE}},[r("div",{domProps:{innerHTML:e._s(e.stateData.message?e.stateData.message:e.stateData.error.message)}}),e.showExpiretime?r("HelperTimeConvert",{staticClass:"italic text-center font-semibold mt-16px"}):e._e()],1)]),r("div",{staticClass:"ActionRequired flex flex-col justify-center mt-16px"},[e.isPopUpOpen?[r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:e.$t("backToPopUp")},on:{"btn-click":function(t){return e.openPopUp(e.signInPayload)}}}),r("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{text:e.$t("closePopUp")},on:{"btn-click":function(t){return e.closePopUp()}}})]:[e.stateData.actions.includes("register")?[r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignIn":null,text:e.$t("signIn")},on:{"btn-click":function(t){return e.openPopUp(e.signInPayload)}}}),e.guidRegistered||e.forumaccount?e._e():r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignUp":null,text:e.$t("signUp")},on:{"btn-click":function(t){return e.openPopUp(e.signUpPayload)}}})]:e._e(),e.stateData.actions.includes("purchase")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:null,text:e.$t("actions.purchase")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("purchase")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.redeemWindow.url:null,text:"Redeem Activation Code"},on:{"btn-click":function(t){return e.openPopUp(e.redeemWindow)}}}):e._e(),e.stateData.actions.includes("upgrade")?r("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:null,text:e.$t("actions.upgrade")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("replace")&&e.replaceable?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"ReplaceKey":null,text:e.$t("actions.replace")},on:{"btn-click":function(t){return e.openPopUp(e.replaceKeyPayload)}}}):e._e(),e.stateData.actions.includes("replace")&&!e.replaceable?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("actions.replaceIneligible"),title:e.guidBlacklisted?"Your Unraid registration key is ineligible for replacement as it is blacklisted.":e.$t("stateData.EGUID.error.message.replacementIneligible"),disabled:""},on:{"btn-click":function(t){return e.niceTry()}}}):e._e(),e.stateData.actions.includes("recover")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"RecoverKey":null,text:e.$t("actions.recover")},on:{"btn-click":function(t){return e.openPopUp(e.recoverKeyPayload)}}}):e._e(),e.stateData.actions.includes("continueTrial")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("regWizPopUp.continueTrial")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("extend")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"ExtendTrial":null,text:e.$t("actions.extend")},on:{"btn-click":function(t){return e.openPopUp(e.extendTrialPayload)}}}):e._e(),e.stateData.actions.includes("close")?r("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("continueToUnraid")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("signOut")&&e.CAN_POST_MESSAGE?r("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{routeName:e.CAN_POST_MESSAGE?"SignOut":null,text:e.$t("signOut")},on:{"btn-click":function(t){return e.openPopUp(e.signOutPayload)}}}):e._e()]],2)])}),ii=r("5a0c"),oi=r.n(ii);const ai=(e,t,r,n,i,o,a)=>({years:e,months:t,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a});var si=(e,t,r)=>{let n,i=oi()(e),o=oi()(t);if(i.isSame(o))return r?ai(0,0,0,0,0,0,!1):"";if(i.isAfter(o)){const e=i;i=o,o=e,n=!0}else n=!1;let a=o.year()-i.year(),s=o.month()-i.month(),c=o.date()-i.date(),u=o.hour()-i.hour(),l=o.minute()-i.minute(),p=o.second()-i.second();if(p<0&&(p=60+p,l-=1),l<0&&(l=60+l,u-=1),u<0&&(u=24+u,c-=1),c<0){const e=oi()(`${o.year()}-${o.month()+1}`).subtract(1,"M").daysInMonth();c=e{const r=e?oi()(parseInt(e,10)):oi()(),n=t?oi()(parseInt(t,10)):oi()();return si(r,n,!0)};var ui=(e,t)=>t?ci(e,""):ci("",e),li=r("23ad"),pi=r.n(li);r("e072"),r("6210"),r("e5b7");const di=document.getElementsByTagName("unraid-user-profile")[0];if(di){const e=di.getAttribute("locale").slice(0,2);oi.a.locale(e),Le.debug("[formatDate] dayjs.locale()",oi.a.locale())}oi.a.extend(pi.a);var fi=e=>oi()(parseInt(e,10)).format("llll"),hi=g({data:()=>({parsedUptime:"",parsedExpireTime:""}),computed:{...Object(v.c)(["showExpiretime"]),...Object(v.e)(["state","expiretime","uptime"]),formattedUptime(){return fi(this.uptime)},formattedExpireTime(){return fi(this.expiretime)},timeCopy(){return this.showExpiretime?{title:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.date",{date:this.formattedExpireTime}):this.$t("upc.meta.trial.active.date",{date:this.formattedExpireTime}),text:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.timeDiff",{timeDiff:this.parsedExpireTime}):this.$t("upc.meta.trial.active.timeDiff",{timeDiff:this.parsedExpireTime})}:{title:this.$t("upc.meta.uptime.date",{date:this.formattedUptime}),text:this.$t("upc.meta.uptime.readable",{timeDiff:this.parsedUptime})}}},methods:{buildStringFromValues({years:e,months:t,days:r,hours:n,minutes:i,seconds:o,firstDateWasLater:a,displaySecondsInStringReturn:s}){const c=[],u={year:this.$t("year"),years:this.$t("years"),month:this.$t("month"),months:this.$t("months"),day:this.$t("day"),days:this.$t("days"),hour:this.$t("hour"),hours:this.$t("hours"),minute:this.$t("minute"),minutes:this.$t("minutes"),second:this.$t("second"),seconds:this.$t("seconds"),firstDateWasLater:this.$t("ago"),delimiter:" "},l=(e,t)=>`${e} ${u[t+(1===e?"":"s")]}`;return e&&c.push(l(e,"year")),t&&c.push(l(t,"month")),r&&c.push(l(r,"day")),n&&c.push(l(n,"hour")),i&&c.push(l(i,"minute")),!o||(e||t||r||n||i)&&!s||c.push(l(o,"second")),a&&c.push(u.firstDateWasLater),c.join(u.delimiter)},runTimeDiff(){this.uptime&&(this.parsedUptime=this.buildStringFromValues(ui(this.uptime,!0))),this.expiretime&&(this.parsedExpireTime=this.buildStringFromValues(ui(this.expiretime,!1)))},letsGo(){this.runTimeDiff(),this.interval=setInterval(()=>{this.runTimeDiff()},1e3)}},created(){this.letsGo()},beforeDestroy(){clearInterval(this.interval)}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("p",{staticClass:"select-all",attrs:{title:e.timeCopy.title}},[e._v(e._s(e.timeCopy.text))])}),[],!1,null,null,null,!0).exports,mi=g({props:{hrefUrl:{type:[Boolean,URL],default:!1},routeName:{type:String},text:{type:String,required:!0}},computed:{}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.routeName?r("router-link",{attrs:{to:{name:e.routeName}}},[e._v(e._s(e.text))]):e.hrefUrl?r("a",{attrs:{href:e.hrefUrl}},[e._v(e._s(e.text))]):r("button",{on:{click:function(t){return e.$emit("btn-click")}}},[e._v(e._s(e.text))])}),[],!1,null,null,null,!0);var gi=g({components:{HelperTimeConvert:hi,UiButton:mi.exports},data:()=>({CAN_POST_MESSAGE:Ee}),computed:{...Object(v.c)(["stateData","showExpiretime"]),...Object(v.e)(["isPopUpOpen","purchaseWindow","redeemWindow","forumaccount","guidBlacklisted","guidRegistered","extendTrialPayload","recoverKeyPayload","registered","replaceable","replaceKeyPayload","signOutPayload","signInPayload","signUpPayload","state","wizardWindow","messages"])},methods:{...Object(v.b)(["openPopUp","closePopUp","closePopUpFromPopUp"]),...Object(v.d)(["SET_IS_LAUNCHPAD_OPEN"]),niceTry(){alert("❌ Nice try you little sneak ❌")}}},ni,[],!1,(function(e){var t=r("2251");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var vi=g({i18n:fe,store:Yn,name:"Launchpad",props:["serverstate","webguiTranslations"],components:{UnraidLoading:Jn,LaunchpadActionRequired:gi},computed:{...Object(v.e)(["guid","isLaunchpadOpen","loading"]),...Object(v.c)(["server"])},methods:{...Object(v.b)(["setStateFromWebComponentProp","validateGuid"]),...Object(v.d)(["SET_IS_LAUNCHPAD_OPEN"])},watch:{signedOutWithKey(e,t){e&&!t&&this.validateGuid()}},created(){if(this.serverstate&&this.setStateFromWebComponentProp(this.serverstate),this.guid)this.validateGuid();else{const e=setInterval(()=>{this.guid&&(clearInterval(e),this.validateGuid())},250)}}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[r("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:e.$t("closeLaunchpad")},on:{click:function(t){return e.SET_IS_LAUNCHPAD_OPEN(!1)}}})]),r("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[r("main",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[e.loading?r("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}):r("LaunchpadActionRequired")],1)])],1)])}),[],!1,(function(e){var t=r("f153");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var bi=g({i18n:fe,store:Yn,name:"UpcTrigger",props:[],data:()=>({}),computed:{...Object(v.c)(["stateData","stateDataKeyActions"]),...Object(v.e)(["isPopUpOpen","registered","state","triggerUPC","wizardWindow"]),copy(){return this.registered?"BASIC"===this.state||"PLUS"===this.state?"To support more storage devices as your server grows, click Upgrade Key in the User Profile located at the top right of the webGUI on every page.":"Key actions are done in the User Profile located at the top right of the webGUI on every page.":"You must be signed in to Unraid.net to perform key actions."},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.registered?this.stateDataKeyActions?"Open User Profile":"":this.$t("signIn")},buttonTitle(){return this.stateDataKeyActions?"Open User Profile":this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},methods:{...Object(v.b)(["jumpToUpc","closePopUp","openPopUp"]),btnClick(){return!this.registered||this.isPopUpOpen?this.openPopUp(this.wizardWindow):this.jumpToUpc()}}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[null!==e.registered&&e.buttonText?r("div",{staticClass:"flex flex-wrap pl-12px"},[r("p",{staticClass:"w-7/20 pr-12px"},[e._v(e._s(e.copy))]),r("div",{staticClass:"w-13/20 inline-flex flex-row"},[r("button",{attrs:{type:"button",title:e.buttonTitle,disabled:e.triggerUPC},on:{click:function(t){return e.btnClick()}}},[e._v(e._s(e.buttonText))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.isPopUpOpen?r("button",{staticClass:"ml-8px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))]):e._e()])],1)]):e._e()])}),[],!1,(function(e){var t=r("22c9");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,yi=r("ab14"),wi=r.n(yi),xi=r("c7db"),_i=r("b692"),Ei=r.n(_i),Si=r("a3b3"),ki=r.n(Si),Oi=r("8a86"),Ti=r.n(Oi),Ii=r("b2a0"),Ai=r.n(Ii),Ci=r("45b7"),Ri=r.n(Ci),Ni=r("381c"),Di=r.n(Ni),Pi=g({props:{payload:{type:Object},text:{type:String},emphasize:{type:Boolean,default:!1},external:{type:Boolean,default:!0}},components:{UnraidSvgUiKey:Di.a,UnraidSvgUtilNewWindow:ki.a},methods:{...Object(v.b)(["openPopUp"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("button",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":e.emphasize},attrs:{title:e.external?""+e.$t("upc.opensNewHttpsWindow.base",[e.text]):null},on:{click:function(t){return e.$emit("click")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.text)+" ")],1),e.external?r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):e._e()],1)}),[],!1,null,null,null,!0).exports,Li=r("a190"),Mi=r.n(Li),ji=r("a313"),Ui=r.n(ji),Fi=r("94d0"),$i=r.n(Fi),Vi=r("973e"),Gi=r.n(Vi),zi=r("b045"),Bi=r.n(zi),Wi=g({components:{UnraidLoading:Jn,UnraidSvgUiWarningFill:Mi.a,UnraidSvgUtilCheck:Ui.a,UnraidSvgUtilDelete:$i.a,UnraidSvgUtilHelp:Gi.a,UnraidSvgUtilInfo:Bi.a,UnraidSvgUtilNewWindow:ki.a},props:["errorStateMessageVisible","hideotherservers","hideMyServers"],watch:{apikey(e,t){t||!e||this.hideMyServers||(Le.debug("[apikey set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz()),!t||e||this.hideMyServers||(Le.debug("[apikey removed] disconnect from unraid-api",{newVal:e,oldVal:t}),this.stopGraphqlClient(t))},noRemoteApikeyRegisteredWithPlg(e,t){t||!e||this.hideMyServers||(Le.debug("[noRemoteApikeyRegisteredWithPlg set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz()),!t||e||this.hideMyServers||(Le.debug("[noRemoteApikeyRegisteredWithPlg removed] disconnect from unraid-api",{newVal:e,oldVal:t}),this.stopGraphqlClient(this.apikey))},registered(e,t){t||!e||this.hideMyServers||(Le.debug("[apikey set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())},myServersError(e,t){!t||e||this.myServers.length||(Le.debug("[myServersError set] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())}},computed:{...Object(v.c)(["stateData","validApiKeyLength","noRemoteApikeyRegisteredWithPlg","keyTypeForPurchase","errorTooManyDisks","myServersOutage"]),...Object(v.e)(["apikey","apiVersion","guid","graphOnline","myServers","myServersLoading","myServersError","registered","hasRemoteApikey","servername","signInPayload","state","wanip","deviceCount"]),currentServer(){return this.myServers?this.myServers.filter(e=>e.guid===this.guid?e:null)[0]:{name:this.servername,status:"offline"}},currentServerStatus(){return this.currentServer?this.currentServer.status:"offline"},filteredServers(){return this.myServers?this.hideotherservers?[]:this.myServers.filter(e=>e.guid!==this.guid?e:null).sort((e,t)=>e.name.localeCompare(t.name,"en",{numeric:!0,sensitivity:"base"})):[]},errorToggleText(){return this.stateData.error.message?"EEXPIRED"===this.state?this.stateData.error.heading:this.$t("fixError"):this.myServersError||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks||this.myServersOutage&&this.myServersOutage.enabled?this.computedErrorHeading:""},errorToggleTitle(){if(this.stateData.error||this.stateData.message||this.myServersError||this.myServersOutage&&this.myServersOutage.enabled){return`${!this.stateData.error.message&&!this.stateData.message||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks?this.computedErrorHeading:this.stateData.humanReadable} • ${this.errorStateMessageVisible?this.$t("upc.myServers.closeDetails"):this.$t("learnMore")}`}return""},computedErrorHeading(){return this.noRemoteApikeyRegisteredWithPlg?this.$t("upc.noRemoteApikeyRegisteredWithPlg.heading"):this.stateData.error.heading?this.stateData.error.heading:this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.heading"):this.$t("upc.myServers.errors.myServers.heading"):this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):this.myServersOutage.enabled?this.myServersOutage.message.heading:""},computedError(){if(this.noRemoteApikeyRegisteredWithPlg)return this.$t("upc.noRemoteApikeyRegisteredWithPlg.msg");if(this.stateData.error.message)return this.stateData.error.message;if(this.myServersError)return this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.message"):this.myServersError;if(this.errorTooManyDisks){const e=this.$t("upc.errorTooManyDisks.msg.base");return"Basic"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.basic")} ${e}`:"Plus"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.plus")} ${e}`:e}return this.myServersOutage.enabled?this.myServersOutage.message.main:""}},methods:{...Object(v.b)(["fetchServers","stopGraphqlClient","openPopUp"]),serversPlz(){return Le.debug("[serversPlz]",{apikey:this.apikey,noRemoteApikeyRegisteredWithPlg:this.noRemoteApikeyRegisteredWithPlg,validApiKeyLength:this.validApiKeyLength,myServersOutage:this.myServersOutage}),this.myServersOutage&&this.myServersOutage.enabled?Le.error(this.myServersOutage.message.main):this.noRemoteApikeyRegisteredWithPlg?Le.error("[MyServers] remote apikey does not exist"):this.validApiKeyLength?this.fetchServers():Le.error("[MyServers] invalid apikey")}},created(){!this.hideMyServers&&this.registered&&this.serversPlz()}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative"},[r("ul",{staticClass:"relative"},[e.filteredServers.length&&e.myServersError?r("li",{staticClass:"text-red text-12px font-semibold px-16px pb-4px"},[r("em",[e._v(e._s(e.$t("upc.myServers.displayingLastKnown")))])]):e._e(),e.computedError?r("li",{key:"current-server-error",staticClass:"w-full"},[r("button",{staticClass:"btn-error group py-8px px-16px flex flex-col",attrs:{title:e.errorToggleTitle},on:{click:function(t){return e.$emit("toggle-error")}}},[r("div",{staticClass:"w-full flex flex-row justify-between items-center"},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"font-semibold mx-8px"},[e._v(" "+e._s(e.servername)+" ")])],1),e.computedError&&e.errorStateMessageVisible?r("UnraidSvgUtilDelete",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):r("UnraidSvgUtilInfo",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.computedError&&e.errorStateMessageVisible?r("div",{staticClass:"UnraidUPC-serverError"},[r("div",{staticClass:"text-14px font-semibold pt-4px"},[r("h3",{staticClass:"text-16px mb-4px"},[e._v(e._s(e.errorToggleText))]),r("p",{domProps:{innerHTML:e._s(e.computedError)}})])]):e._e()])],1)]):e._e(),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.computedError&&!e.stateData.error&&e.errorStateMessageVisible&&e.myServersOutage&&e.myServersOutage.enabled&&e.myServersOutage.message.link?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{href:e.myServersOutage.message.link,title:e.myServersOutage.message.linkSameTab?"":e.$t("upc.opensNewHttpsWindow.base",[this.myServersOutage.message.heading]),target:e.myServersOutage.message.linkSameTab?"":"_blank",rel:"noreferrer noopener"}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.myServersOutage.message.linkSameTab?"Go to Plugins":e.$t("learnMore"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),r("transition",{attrs:{name:"fade",mode:"out-in"}},["EEXPIRED"!==e.state&&e.stateData.error&&e.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("contactSupport")])},on:{click:function(t){return e.$emit("contact-support")}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("contactSupport"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.noRemoteApikeyRegisteredWithPlg&&e.errorStateMessageVisible?r("li",[r("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("signIn")])},on:{click:function(t){return e.openPopUp(e.signInPayload)}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("upc.signInActions.resolve"))+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),e.computedError?e._e():r("li",{key:"current-server",staticClass:"w-full py-8px px-16px flex flex-row items-center",class:{"text-beta":"online"===e.currentServerStatus,"text-orange cursor-not-allowed":"online"!==e.currentServerStatus},attrs:{title:e.$t("upc.myServers.accessLabels.current")+" • "+("online"!==e.currentServerStatus?e.$t("upc.myServers.mothership.notConnected"):e.$t("upc.myServers.mothership.connected"))}},["online"!==e.currentServerStatus?r("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}):r("UnraidSvgUtilCheck",{staticClass:"fill-current w-12px h-12px"}),r("span",{staticClass:"ml-8px select-all"},[e._v(e._s(e.currentServer?e.currentServer.name:e.servername))])],1),r("transition-group",{attrs:{name:"fade",mode:"out-in"}},[e.myServersLoading?r("UnraidLoading",{key:"gql-loading",staticClass:"w-36px my-8px mx-auto",attrs:{height:21,title:e.$t("upc.myServers.loading")}}):e._l(e.filteredServers,(function(t,n){return r("li",{key:"filteredServer_"+n},["online"===t.status&&e.wanip!==t.wanip&&t.remoteurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:t.remoteurl,tabindex:"0",title:e.$t("upc.myServers.accessLabels.remote")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):"online"===t.status&&t.localurl?r("a",{staticClass:"w-full flex flex-row items-center",attrs:{href:t.localurl,tabindex:"0",title:e.$t("upc.myServers.accessLabels.local")}},[r("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):"never_connected"!==t.status?r("span",{staticClass:"w-full flex flex-row items-center px-16px py-8px opacity-50 cursor-not-allowed",attrs:{title:"online"===t.status?e.$t("upc.myServers.accessLabels.unavailable"):e.$t("upc.myServers.accessLabels.offline")}},[r("span",{staticClass:"text-red text-14px w-12px mr-8px"},[e._v("×")]),r("span",{staticClass:"select-all"},[e._v(e._s(t.name))])]):e._e()])}))],2)],1)])}),[],!1,null,null,null,!0).exports,qi=g({components:{HelperTimeConvert:hi},computed:{...Object(v.e)(["registered","state"]),...Object(v.c)(["stateData"])}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"text-gamma text-12px text-right font-semibold leading-normal flex flex-row items-baseline justify-end pr-16px pt-4px"},[r("HelperTimeConvert"),r("span",{staticClass:"px-12px"},[e._v("•")]),e.registered&&e.stateData.actions.includes("upgrade")?r("button",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.upgrade")},on:{click:function(t){return e.$emit("upgrade")}}},[r("h5",[e._v("Unraid OS "),r("em",[r("strong",[e._v(e._s(e.stateData.humanReadable))])])])]):r("h5",[e._v("Unraid OS "),r("em",{class:{"text-red":e.stateData.error||"EEXPIRED"===e.state}},[r("strong",[e._v(e._s(e.stateData.humanReadable))])])]),e.registered&&e.stateData.actions.includes("purchase")?r("button",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.purchase")},on:{click:function(t){return e.$emit("purchase")}}},[e._v(e._s(e.$t("actions.purchase")))]):e._e()],1)}),[],!1,null,null,null,!0).exports;var Qi=g({i18n:fe,store:Yn,name:"UserProfile",mixins:[xi.mixin],components:{UnraidLogoMark:ei,KeyAction:Pi,MetaInfo:qi,MyServers:Wi,UnraidSvgUtilLogout:Ei.a,UnraidSvgUtilNewWindow:ki.a,UnraidSvgUtilSelect:Ti.a,UnraidSvgUtilEdit:Ai.a,UnraidSvgUiWarning:Ri.a},props:{serverstate:String,banner:{type:String,default:""},bgcolor:[String,Number],displaydesc:{type:String,default:""},locale:String,localeMessages:String,metacolor:String,textcolor:String,theme:{type:String,default:"black"},hideotherservers:{type:String,default:""},apikey:String,apiVersion:String,csrf:String,expiretime:[Number,String],hideMyServers:{type:String,default:null},plgPath:String,regWizTime:String,sendCrashInfo:String,serverdesc:String,servermodel:String,serverupdate:Boolean,uptime:[Number,String]},data:()=>({NODE_ENV:he,avatarFail:!1,copyingIp:!1,dropdownTimeout:"",dropdownVisible:!1,errorStateMessageVisible:!0}),computed:{...Object(v.e)(["avatar","isLaunchpadOpen","isPopUpOpen","guid","guidRegistered","popUpWindow","regAtOpen","purchaseWindow","redeemWindow","registered","servername","internalip","state","username","darkTheme","lightTheme","extendTrialPayload","recoverKeyPayload","replaceKeyPayload","signInPayload","signUpPayload","signOutPayload","troubleshootPayload","wizardWindow","messages","myServersEnv","triggerUPC","graphOnline"]),...Object(v.c)(["errorTooManyDisks","noRemoteApikeyRegisteredWithPlg","signedOutWithKey","stateData","myServersOutage"]),darkMode(){return"black"===this.theme||"azure"===this.theme},usernameButtonText(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("signIn"):this.stateData.error&&!this.stateData.error.signInToFix&&"EEXPIRED"===!this.state?this.$t("fixError"):this.registered?this.username:this.$t("signIn")},usernameButtonTitle(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):this.stateData.error&&this.stateData.error.signInToFix&&!this.registered?this.$t("upc.signInActions.resolve"):this.stateData.error&&!this.stateData.error.signInToFix?this.$t("learnMore"):this.isPopUpOpen&&this.isLaunchpadOpen?this.$t("upc.confirmClosure"):this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):this.isLaunchpadOpen?this.$t("closeLaunchpad"):"EEXPIRED"===this.state?this.registered?this.$t("upc.trialHasExpiredSeeOptions"):this.stateData.actions.includes("extend")?this.$t("upc.signInActions.purchaseKeyOrExtendTrial"):this.$t("upc.signInActions.purchaseKey"):this.registered&&this.dropdownVisible?this.$t("upc.closeDropdown"):this.registered&&!this.dropdownVisible?this.$t("upc.openDropdown"):this.$t("upc.opensNewHttpsWindow.signIn")},displayKeylineBelowActions(){return!!(this.stateData.actions.includes("purchase")||this.stateData.actions.includes("upgrade")||this.stateData.actions.includes("recover")||this.stateData.actions.includes("replace")||this.stateData.actions.includes("extend"))},extraLinks(){return[...!this.hideMyServers||this.stateData.error.message||this.errorTooManyDisks?[{url:"",text:"",external:!1}]:[],...this.hideMyServers?[{url:"https://wiki.unraid.net/My_Servers",text:"Install My Servers Beta",external:!0,title:this.$t("upc.extraLinks.newTab",["Install My Servers Beta"])}]:[{url:this.myServersEnv?"https://forums.unraid.net/my-servers-staging/":"https://forums.unraid.net/my-servers/",text:this.$t("upc.extraLinks.myServers"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.myServers")])},{url:"/Settings/ManagementAccess#"+(this.plgPath?"MyServersSettings":"UnraidNetSettings"),text:this.$t("upc.extraLinks.settings.text"),settings:!0,title:this.$t("upc.extraLinks.settings.title")}]]},devEnv(){let e=he;const t="UPC_ENV=",r=document.cookie.split(";");for(let n=0;n{this.dropdownVisible=!1},1e3)},autoTriggerLaunchpad(){setTimeout(()=>{const e=`${this.servername}_${this.guid?this.guid.slice(-12):"NO_GUID"}`;sessionStorage.getItem(e)||"ENOKEYFILE"!==this.state||(sessionStorage.setItem(e,"またね"),this.isLaunchpadOpen||this.toggleLaunchpad())},100)},toggleLaunchpad(){const e="unraid-launchpad";if(!document.getElementsByTagName(e).length){const t=document.getElementsByTagName("body")[0],r=document.createElement(e);t.appendChild(r)}const t=()=>{this.dropdownVisible&&(this.dropdownVisible=!1),this.isPopUpOpen&&this.closePopUp(),this.SET_IS_LAUNCHPAD_OPEN(!this.isLaunchpadOpen)};this.isPopUpOpen&&this.isLaunchpadOpen?window.confirm(this.$t("upc.pleaseConfirmClosureYouHaveOpenPopUp"))&&t():t()},onAvatarError(){Le.error("Avatar failed to load %s",this.avatar),this.avatarFail=!0},async initUserProfile(){if(Le.debug("[initUserProfile]"),this.setStateFromWebComponentProp(this.serverstate),this.apikey&&this.SET_API_KEY(this.apikey),this.apiVersion&&this.SET_MY_SERVERS_API_VERSION(this.apiVersion),this.csrf&&this.SET_CSRF(this.csrf),this.expiretime&&this.SET_EXPIRE_TIME(this.expiretime),this.hideMyServers&&this.SET_HIDE_MY_SERVERS(this.hideMyServers),this.plgPath&&this.SET_PLG_PATH(this.plgPath),this.regWizTime&&this.SET_REGWIZ_TIME(this.regWizTime),this.serverdesc&&this.SET_SERVERDESC(this.serverdesc),this.uptime&&this.SET_UPTIME(this.uptime),this.devEnv&&this.SET_DEV_MODE(this.devEnv),!this.registered){const e=`Sign In to your Unraid.net account to perform license key actions${this.hideMyServers?"":" and to receive real-time server monitoring with My Servers"}.`,t="Learn more at https://wiki.unraid.net/My_Servers.",r=["color: white","background: linear-gradient(to right, #E22828 0%, #FF8C2F 100%)","font-size: 10px","padding: 4px"].join(";");Le.log("%c"+e,r),Le.log("%c"+t,r)}if(this.localeMessages){Le.debug("[this.locale] %o",this.locale);const[e,t]=Oe(decodeURIComponent(this.localeMessages));e&&Le.error("[initUserProfile.localeMessages] %s","Unable to set locale and locale messages"),this.$i18n.locale=this.locale,this.$i18n.setLocaleMessage(this.locale,t[this.locale]),Le.debug(`[initUserProfile.$i18n] ${this.$i18n.locale} locale & messages set %o`,t[this.locale]),this.SET_LOCALE(this.locale)}this.signedOutWithKey&&this.regWizTime?(Le.debug("[initUserProfile] %o",{signedOutWithKey:this.signedOutWithKey,regWizTime:this.regWizTime}),await this.validateGuid()):this.autoTriggerLaunchpad(),window.addEventListener("message",e=>{this.receivePostMessage({inject:!1,event:e})},!1)},copyIP(){if(Le.debug("[copyIP] %s",this.internalip),!navigator.clipboard)return Le.error("Unable to copy IP: %s",this.internalip);const e=()=>{this.copyingIp=!this.copyingIp,setTimeout(()=>{this.copyingIp=!this.copyingIp},750)};try{return navigator.clipboard.writeText(this.internalip),e()}catch(e){return Le.error(`Unable to copy IP: ${this.internalip} %o`,e)}}},watch:{signedOutWithKey(e,t){Le.debug("[signedOutWithKey]",{newVal:e,oldVal:t,regWizTime:this.regWizTime}),e&&!t&&this.regWizTime&&this.validateGuid()},isPopUpOpen(e,t){this.isLaunchpadOpen&&!e&&t&&!this.regAtOpen&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)},triggerUPC(e){e&&setTimeout(()=>{this.dropdownVisible=!0},150)},graphOnline(e,t){e&&!t&&this.updateServerState()}},created(){this.initUserProfile()},beforeMount(){const e=document.getElementsByTagName("body")[0],t={darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"}};let{alpha:r,beta:n,gamma:i}=this.darkMode?t.darkTheme:t.lightTheme;this.textcolor&&(r=this.textcolor),this.bgcolor&&(n=this.bgcolor,e.style.setProperty("--color-customgradient-start",wi()(n,0)),e.style.setProperty("--color-customgradient-end",wi()(n,.9))),this.metacolor&&(i=this.metacolor),e.style.setProperty("--color-alpha",r),e.style.setProperty("--color-beta",n),e.style.setProperty("--color-gamma",i)}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"UnraidUPC",class:{"--hasBanner-default":e.banner&&!e.bgcolor,"--hasBanner-custom":e.banner&&e.bgcolor},attrs:{id:"UnraidUPC"}},[e.isPopUpOpen&&!e.isLaunchpadOpen?r("div",{staticClass:"absolute z-10 inset-0 flex flex-col items-end justify-center pr-6"},[r("div",{staticClass:"text-center inline-flex flex-col items-center justify-center"},[r("button",{staticClass:"text-14px button button-alt",on:{click:function(t){return e.openPopUp()}}},[e._v(e._s(e.$t("backToPopUp")))]),r("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))])])]):e._e(),r("MetaInfo",{class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.isPopUpOpen&&!e.isLaunchpadOpen},on:{purchase:function(t){return e.openPopUp(e.purchaseWindow)},upgrade:function(t){return e.openPopUp(e.purchaseWindow)},signin:function(t){return e.openPopUp(e.signInPayload)}}}),r("div",{staticClass:"relative z-0 flex flex-row items-center justify-end h-full",class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.isPopUpOpen&&!e.isLaunchpadOpen}},[r("h1",{staticClass:"relative text-18px border-t-0 border-r-0 border-l-0 border-b-2 border-transparent"},[e.displaydesc?[r("span",{attrs:{title:e.servermodel}},[e._v(e._s(e.serverdesc))]),r("span",{staticClass:"text-grey-mid px-8px"},[e._v("•")])]:e._e(),r("span",{staticClass:"cursor-pointer",attrs:{title:e.$t("lanIp",[e.internalip])},on:{click:function(t){return e.copyIP()}}},[e._v(e._s(e.servername))]),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.copyingIp?r("span",{staticClass:"text-12px absolute right-0 bg-gradient-to-r from-red to-orange text-center block w-100px rounded"},[e._v(e._s("LAN IP Copied"))]):e._e()])],2),r("div",{staticClass:"block w-2px h-24px ml-16px bg-grey-mid"}),r("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"relative flex items-center justify-end h-full",on:{mouseenter:function(t){return e.dropdownMouseEnter()},mouseleave:function(t){return e.dropdownMouseLeave()}}},[r("button",{staticClass:"UnraidUPC-username group text-18px hover:text-alpha focus:text-alpha border border-transparent flex flex-row justify-end items-center h-full px-16px outline-none focus:outline-none",class:{"text-orange-dark":e.isLaunchpadOpen||!e.username&&!e.stateData.error,"text-alpha":e.username&&!e.isLaunchpadOpen,"text-red":e.stateData.error},attrs:{title:e.usernameButtonTitle},on:{click:function(t){return e.usernameAvatarButton()}}},[e.stateData.error||"EEXPIRED"===e.state||e.noRemoteApikeyRegisteredWithPlg||e.errorTooManyDisks?r("UnraidSvgUiWarning",{staticClass:"text-red fill-current relative w-24px h-24px mr-8px"}):e._e(),r("span",{staticClass:"inline-flex items-center bg-transparent border-t-0 border-l-0 border-r-0 border-b-2 border-transparent group-hover:border-orange-dark group-focus:border-orange-dark transition-colors duration-150 ease-in-out"},[e._v(" "+e._s(e.usernameButtonText)+" "),e.registered&&!e.isLaunchpadOpen?r("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"}):e._e()],1),r("span",{staticClass:"relative z-0 flex items-center justify-center w-36px h-36px ml-8px rounded-full",class:{"bg-transparent":e.registered&&!e.avatarFail,"bg-gradient-to-r from-red to-orange":!e.registered||e.avatarFail}},[e.registered&&!e.avatarFail?r("img",{staticClass:"absolute z-10 inset-0 w-36px h-36px rounded-full overflow-hidden",attrs:{src:e.avatar,alt:""+e.$t("upc.avatarAlt",[e.username])},on:{error:e.onAvatarError}}):r("UnraidLogoMark",{staticClass:"relative z-0 w-28px",attrs:{"gradient-start":"#fff","gradient-stop":"#fff"}})],1)],1),r("transition",{attrs:{name:"slideVerticalFade",mode:"out-in"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.dropdownVisible&&e.registered,expression:"dropdownVisible && registered"}],staticClass:"UnraidUPC-dropdown",class:{"border-grey-darkest":e.darkMode,"border-grey-light":!e.darkMode}},[e.hideMyServers?e._e():r("header",{staticClass:"text-14px pt-16px px-16px rounded-t"},[r("h5",{staticClass:"text-18px leading-none inline-flex flex-row items-center"},[r("span",{staticClass:"font-semibold"},[e._v(e._s(e.$t("upc.myServers.heading")))]),r("span",{staticClass:"text-grey-mid text-10px uppercase ml-8px py-4px px-6px border-2 border-grey-mid rounded-full"},[e._v(e._s(e.$t("upc.myServers.beta")))]),e.myServersEnv?r("span",{staticClass:"ml-8px",attrs:{title:"API • "+e.myServersEnv}},[e._v("⚙️")]):e._e(),e.devEnv?r("span",{staticClass:"ml-8px",attrs:{title:e.devEnv}},[e._v("⚠️")]):e._e()])]),r("ul",{staticClass:"list-reset my-8px p-0"},["development"===e.NODE_ENV?[r("li",[r("KeyAction",{attrs:{text:"[DEV] Launchpad",external:!1},on:{click:function(t){return e.toggleLaunchpad()}}})],1),r("li",[r("KeyAction",{attrs:{text:"[DEV] Pop-up"},on:{click:function(t){return e.openPopUp(e.wizardWindow)}}})],1)]:e._e(),e.displayKeylineBelowActions?[r("li",[e.stateData.actions.includes("purchase")?[r("KeyAction",{attrs:{text:e.$t("actions.purchase")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}),r("KeyAction",{attrs:{text:"Redeem Activation Code"},on:{click:function(t){return e.openPopUp(e.redeemWindow)}}})]:e._e(),e.stateData.actions.includes("upgrade")?r("KeyAction",{attrs:{text:e.$t("actions.upgrade")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("recover")?r("KeyAction",{attrs:{text:e.$t("actions.recover")},on:{click:function(t){return e.openPopUp(e.recoverKeyPayload)}}}):e._e(),e.stateData.actions.includes("replace")?r("KeyAction",{attrs:{text:e.$t("actions.replace")},on:{click:function(t){return e.openPopUp(e.replaceKeyPayload)}}}):e._e(),e.stateData.actions.includes("extend")?r("KeyAction",{attrs:{text:e.$t("actions.extend")},on:{click:function(t){return e.openPopUp(e.extendTrialPayload)}}}):e._e()],2),r("li",{staticClass:"my-8px mx-12px"},[r("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:e._e(),!e.hideMyServers||e.stateData.error.message||e.errorTooManyDisks||e.myServersOutage.enabled?r("MyServers",{attrs:{hideMyServers:e.hideMyServers,errorStateMessageVisible:e.errorStateMessageVisible,hideotherservers:e.hideotherservers},on:{"contact-support":function(t){return e.openPopUp(e.troubleshootPayload)},"toggle-error":function(t){e.errorStateMessageVisible=!e.errorStateMessageVisible}}}):e._e(),e._l(e.extraLinks,(function(t,n){return[t.url?r("li",{key:n},[r("a",{staticClass:"flex flex-row items-center",attrs:{href:t.url,target:t.external?"_blank":"",rel:t.external?"noopener noreferrer":"",title:t.title}},[t.external?r("UnraidSvgUtilNewWindow",{staticClass:"fill-current w-12px h-12px mr-8px"}):e._e(),t.settings?r("UnraidSvgUtilEdit",{staticClass:"fill-current w-12px h-12px mr-8px"}):e._e(),e._v(" "+e._s(t.text)+" ")],1)]):r("div",{key:n,staticClass:"mx-12px"},[r("hr",{staticClass:"w-full h-2px my-8px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]})),r("li",[r("button",{staticClass:"group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",["Sign Out of Unraid.net"])},on:{click:function(t){return e.openPopUp(e.signOutPayload)}}},[r("span",{staticClass:"inline-flex flex-row items-center"},[r("UnraidSvgUtilLogout",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Sign Out of Unraid.net")+" ")],1),r("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)])],2)])])],1)])],1)}),[],!1,(function(e){var t=r("e519");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var Hi=g({i18n:fe,store:Yn,name:"WanIpCheck",props:{phpWanIp:{type:String,default:""}},computed:{...Object(v.e)(["wanip","site"]),...Object(v.c)(["isRemoteAccess"]),loading(){return!this.wanip}},methods:{...Object(v.b)(["getWanIp"])},created(){Le.debug("[🍣 WanIpCheck 🍣]"),this.wanip||this.getWanIp()}},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[e.loading?r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.checking")+"…")}}):[e.phpWanIp?[e.isRemoteAccess?r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.phpWanIp]))}}):e.phpWanIp!==e.wanip||e.isRemoteAccess?r("span",{staticClass:"mismatch",domProps:{innerHTML:e._s(e.$t("wanIpCheck.mismatch",[e.phpWanIp,e.wanip]))}}):r("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.wanip]))}})]:r("span",{staticClass:"error",domProps:{innerHTML:e._s(e.$t("wanIpCheck.resolveError"))}})]],2)}),[],!1,(function(e){var t=r("6e03");t.__inject__&&t.__inject__(e)}),"4ca8352c",null,!0).exports;window.customElements.define("unraid-authed",m(i.default,Kn)),window.customElements.define("unraid-launchpad",m(i.default,vi)),window.customElements.define("unraid-upc-trigger",m(i.default,bi)),window.customElements.define("unraid-user-profile",m(i.default,Qi)),window.customElements.define("unraid-wan-ip-check",m(i.default,Hi))},"5d74":function(e,t,r){e.exports={options:{},ssr:function(e,t){var r=e.data,n=r.attrs,i=n.symbol,o=n.size,a=this.getAttributes(o);a&&(r.attrs=Object.assign({},r.attrs,a)),o&&delete r.attrs.size,i&&delete r.attrs.symbol;var s=r.class,c=r.staticClass||"";c+=s?Object.keys(s).join(" "):"",this.hasClass(c)||(r.staticClass=r.staticClass?r.staticClass+" "+this.options.class:this.options.class);var u=e.context.$createElement("use",{attrs:{href:this.getHref(i)}});Array.isArray(e.children)?e.children.push(u):e.children=[u]},install:function(e,t){void 0===t&&(t={}),this.options.class=t.class||"icon",this.options.url=void 0===t.url?"/assets/svg/sprite.svg":t.url;var r=this;e.directive("svg",{bind:function(e,t,n){var i=t.value||n.data.attrs.symbol,o=n.data.attrs&&n.data.attrs.size,a=r.getAttributes(o);a&&(e.setAttribute("viewBox",a.viewBox),e.setAttribute("width",a.width),e.setAttribute("height",a.height)),i&&e.removeAttribute("symbol"),o&&e.removeAttribute("size");var s=e.getAttribute("class");if(r.hasClass(s)||e.setAttribute("class",s?s+" "+r.options.class:r.options.class),!e||null===e.querySelector("use")){var c=document.createElementNS("http://www.w3.org/2000/svg","use"),u=r.getHref(i);c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u),c.setAttribute("href",u),e.appendChild(c)}},update:function(e,t,n){var i=r.getHref(t.value||n.data.attrs.symbol),o=e&&e.querySelector("use");if(o){if(o.getAttribute("href")===i)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","use");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttribute("href",i),e.replaceChild(a,o)}}})},getAttributes:function(e){if(!e)return null;var t=e.toString().replace(/( |, |,)/g," ").split(" "),r=t.length;if(3===r||r>4)return console.warn('[vue-svg-sprite] size: "'+e+'" is not valid'),null;var n=[];n[0]=r<4?0:t[0],n[1]=r<4?0:t[1];var i=n[2]=r<4?t[0]:t[2];return{height:n[3]=t[r-1],viewBox:n.join(" "),width:i}},hasClass:function(e){var t=this.options.class;return!!e&&e.split(" ").some((function(e){var r=e.split(/(-|_)/)[0];return-1!==r.indexOf(t)&&r.length===t.length}))},getHref:function(e){return""===this.options.url?"#"+e:this.options.url+"#"+e}}},6210:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan_Feb_März_Apr_Mai_Juni_Juli_Aug_Sept_Okt_Nov_Dez".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i}(r("5a0c"))},"626e":function(e,t,r){"use strict";var n=[/passw(or)?d/i,/^pw$/,/^pass$/i,/secret/i,/token/i,/api[-._]?key/i,/session[-._]?id/i,/^connect\.sid$/],i=[/^\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/];t.key=function(e){return n.some((function(t){return t.test(e)}))},t.value=function(e){return i.some((function(t){return t.test(e)}))}},"633a":function(e,t,r){"use strict";(function(e){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=t.shift();s&&s.applyMiddleware.apply(i,[e,o])}else r(e)};o()}(a(t.middlewares),t)}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,b.default.GQL_START,e))})).catch((function(e){r.unsubscribe(n),t(r.formatErrors(e))})),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!p.default(r)&&!h.getOperationAST(r,i)||i&&!p.default(i)||n&&!d.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:f.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,b.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var r=e.data;t.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var i=this.operations[r].handler;delete this.operations[r],i.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case b.default.GQL_DATA:var o=t.payload.errors?n(n({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,o);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,b.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=y}).call(this,r("c8ba"))},"6c20":function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r("48b5");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r("c8ba"),r("dd40")(e))},"6ddc":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)<=0},"6e03":function(e,t,r){"use strict";r.r(t);var n=r("9c76");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},7506:function(e,t,r){"use strict";r.r(t),r.d(t,"print",(function(){return o}));var n=r("2f6c"),i=r("04b4");function o(e){return Object(n.b)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",c(e.variableDefinitions,", "),")"),i=c(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?c([t,c([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+l(" = ",n)+l(" ",c(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet;return c([l("",t,": ")+r+l("(",c(n,", "),")"),c(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c(["...",l("on ",t),c(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",c(n,", "),")")," ")+"on ".concat(r," ").concat(l("",c(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?Object(i.b)(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,r=e.operationTypes;return c(["schema",c(t," "),u(r)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return c(["scalar",e.name,c(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")})),FieldDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(f(r)?l("(\n",p(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+": "+n+l(" ",c(i," "))})),InputValueDefinition:s((function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return c([t+": "+r,l("= ",n),c(i," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["interface",t,c(r," "),u(n)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.types;return c(["union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.values;return c(["enum",t,c(r," "),u(n)]," ")})),EnumValueDefinition:s((function(e){return c([e.name,c(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["input",t,c(r," "),u(n)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(f(r)?l("(\n",p(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c(["extend schema",c(t," "),u(r)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend interface",t,c(r," "),u(n)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c(["extend union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c(["extend enum",t,c(r," "),u(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend input",t,c(r," "),u(n)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function u(e){return e&&0!==e.length?"{\n"+p(c(e,"\n"))+"\n}":""}function l(e,t,r){return t?e+t+(r||""):""}function p(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function f(e){return e&&e.some(d)}},"786a":function(e,t){var r=e.exports=function(e){return new n(e)};function n(e){this.value=e}function i(e,t,r){var n=[],i=[],s=!0;return function e(p){var d=r?o(p):p,f={},h=!0,m={node:d,node_:p,path:[].concat(n),parent:i[i.length-1],parents:i,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(h=!1)},delete:function(e){delete m.parent.node[m.key],e&&(h=!1)},remove:function(e){c(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(h=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){s=!1},block:function(){h=!1}};if(!s)return m;function g(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=a(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1,i=!1,o=arguments[1],a=o;return new r((function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))}},{key:l,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=d(t,l);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(e){return e instanceof _}(i)&&i.constructor===r?i:new r((function(e){return i.subscribe(e)}))}if(s("iterator")&&(n=d(t,u)))return new r((function(e){m((function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(e.next(c),e.closed)return}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){m((function(){if(!e.closed){for(var r=0;r2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map((function(r){return r+": "+a(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function s(e){var t=e[String(n.a)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}},b045:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zM6.989 3v2.002h2V3h-2zM7 13h2V7H7a405.483 405.483 0 000 6z"}})]))}}},b2a0:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M5.362 8.44l3-3.027L3.618.626A6.32 6.32 0 0110.86 1.88c1.958 1.977 2.373 4.923 1.243 7.31L16 13.126V16h-3.15l-3.745-3.78a6.32 6.32 0 01-7.242-1.256C-.095 8.987-.51 6.04.62 3.654L5.362 8.44z"}})]))}}},b692:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:i,children:o=[]}=t,{class:a,staticClass:s,style:c,staticStyle:u,attrs:l={},...p}=i;return r("svg",{class:[a,s],style:[c,u],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},l),...p},o.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M7 6h4V2l5 6-5 6v-4H7v2h2v4H0V0h9v4H7v2zm0 0V2H2v12h5v-4H4V6h3z"}})]))}}},c6b3:function(e,t,r){"use strict";(function(e){var r=function(e,t){for(var r=0,n=t.length,i=e.length;ri)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=l},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return(i?"/":"")+(t=r(n(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return(e=r(n(e.split("/"),(function(e){return!!e})),!o).join("/"))||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},dfd4:function(e,t,r){"use strict";r.r(t);var n=r("a0be");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},e072:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return t.default.locale(r,null,!0),r}(r("5a0c"))},e12f:function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},e519:function(e,t,r){"use strict";r.r(t);var n=r("2a99");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},e5b7:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};return t.default.locale(r,null,!0),r}(r("5a0c"))},eec3:function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>n(e,t,r)>0},ef7a:function(e,t,r){"use strict";r.r(t);var n=r("945a");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},f06c:function(e,t,r){const n=r("df02");e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},f153:function(e,t,r){"use strict";r.r(t);var n=r("10f4");for(var i in n)["default"].indexOf(i)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(i)},f39f:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n