diff --git a/.dockerignore b/.dockerignore index e238c85..adaa099 100644 --- a/.dockerignore +++ b/.dockerignore @@ -15,6 +15,11 @@ tmp node_modules web_ui/node_modules web_ui/dist -mineru/cli/static/web test_files tests +build +**/.env +**/.env.* +**/.venv +**/venv* +**/*.egg-info diff --git a/.gitattributes b/.gitattributes index 9ed5841..ef9d1ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,4 +2,6 @@ *.mjs linguist-vendored *.html linguist-documentation *.css linguist-vendored -*.scss linguist-vendored \ No newline at end of file +*.scss linguist-vendored +*.sh text eol=lf +docker/** text eol=lf diff --git a/.gitignore b/.gitignore index 6690c3c..fc5d412 100644 --- a/.gitignore +++ b/.gitignore @@ -52,5 +52,7 @@ _build/ output/ web_ui/node_modules +build/ +*.egg-info/ -web_ui/dist \ No newline at end of file +web_ui/dist diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..fe6b903 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,662 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 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 Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are 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. + + 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. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + 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 Affero 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. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + 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 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 work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero 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 Affero 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 Affero 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 Affero 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. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + 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 AGPL, see +. + diff --git a/docker/china/Dockerfile b/docker/china/Dockerfile index 06f61a8..3583a22 100644 --- a/docker/china/Dockerfile +++ b/docker/china/Dockerfile @@ -1,108 +1,27 @@ -# ========================================== -# 阶段 1:前端构建 (Node.js Builder) -# ========================================== -FROM node:18-alpine AS frontend-builder - -WORKDIR /build -# 利用镜像缓存:先拷贝 package.json -COPY web_ui/package*.json ./ -RUN npm config set registry https://registry.npmmirror.com && \ - npm install - -# 拷贝源码并构建 -COPY web_ui/ . -RUN npm run build - -# ========================================== -# 阶段 2:最终运行环境 (CoreX Runtime) -# ========================================== +# MinerU 2.7.6 / Iluvatar CoreX FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 +ENV MINERU_VLLM_DEVICE=corex -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local - -# 1. 系统级依赖:仅安装运行时必需的字体和工具 -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1-mesa-glx \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -# 2. Python 依赖安装策略: -# 使用 --no-deps 确保不覆盖 CoreX 预装的 torch 2.7.1 和 vllm 0.11.2 -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install 'mineru[core]>=2.7.4' --no-deps -i https://mirrors.aliyun.com/pypi/simple && \ - # 手动补齐 MinerU 运行必需但基础镜像可能缺失的轻量依赖(不会破坏 torch) - python3 -m pip install \ - "numpy==1.26.4" \ - "opencv-python==4.11.0.86" \ - "pydantic>=2.12,<3" \ - "modelscope" \ - "magic-pdf" \ - boto3 \ - "pdfminer.six>=20251230" \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip cache purge - +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 WORKDIR /app - -# 3. 拷贝项目源码(排除 web_ui 源码以减小体积) -COPY . . - -# ... 前面步骤保持不变 ... - -# 4. 从阶段 1 拷贝前端构建产物 -RUN mkdir -p mineru/cli/static/web -COPY --from=frontend-builder /build/dist/ ./mineru/cli/static/web/ - -# 5. 配置文件优化:必须先于模型下载执行 -RUN mkdir -p /root/.cache/modelscope/hub/models && \ - echo '{ \ - "models-dir": "/root/.cache/modelscope/hub/models", \ - "device-mode": "gpu", \ - "vlm-config": { \ - "kind": "vllm", \ - "precision": "fp16" \ - } \ - }' > /root/magic-pdf.json - -# 6. 模型预下载 -RUN /bin/bash -c "export MINERU_MODEL_SOURCE=local && mineru-models-download -s modelscope -m all" - - - -# 7. 入口点 -ENTRYPOINT ["/bin/bash", "-c", "exec \"$@\"", "--"] -CMD ["python3", "-m", "mineru.cli.main"] +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge +EXPOSE 8000 +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] +CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/china/Dockerfile.corex b/docker/china/Dockerfile.corex index 49249e8..3583a22 100644 --- a/docker/china/Dockerfile.corex +++ b/docker/china/Dockerfile.corex @@ -1,65 +1,27 @@ +# MinerU 2.7.6 / Iluvatar CoreX FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 +ENV MINERU_VLLM_DEVICE=corex -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local -ENV MINERU_MODEL_DIR=/models -ENV MINERU_TOOLS_CONFIG_JSON=/root/mineru.json - -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1-mesa-glx \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install 'mineru[core]>=2.7.4' --no-deps -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install \ - "numpy==1.26.4" \ - "opencv-python==4.11.0.86" \ - "pydantic>=2.12,<3" \ - "modelscope" \ - "magic-pdf" \ - boto3 \ - "pdfminer.six>=20251230" \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip cache purge - +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 WORKDIR /app -COPY . . -COPY docker/entrypoint.mineru-api.sh /usr/local/bin/entrypoint.mineru-api.sh -RUN chmod +x /usr/local/bin/entrypoint.mineru-api.sh - -ENTRYPOINT ["/usr/local/bin/entrypoint.mineru-api.sh"] +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge +EXPOSE 8000 +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/china/corex.Dockerfile b/docker/china/corex.Dockerfile index c59ae05..3583a22 100644 --- a/docker/china/corex.Dockerfile +++ b/docker/china/corex.Dockerfile @@ -1,29 +1,27 @@ -# Base image containing the vLLM inference environment, requiring amd64(x86-64) CPU + iluvatar GPU. +# MinerU 2.7.6 / Iluvatar CoreX FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 +ENV MINERU_VLLM_DEVICE=corex - -# Install Noto fonts for Chinese characters -RUN apt-get update && \ - apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig && \ - fc-cache -fv && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install mineru latest -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install 'mineru[core]>=2.7.4' \ - numpy==1.26.4 \ - opencv-python==4.11.0.86 \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install --force-reinstall --no-cache-dir "pydantic>=2.12,<3" -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -c "import pydantic; print('pydantic', pydantic.__version__); from pydantic import TypeAdapter; print('pydantic TypeAdapter ok')" && \ - python3 -m pip cache purge - -# Download models and update the configuration file -RUN /bin/bash -c "mineru-models-download -s modelscope -m all" - -# Set the entry point to activate the virtual environment and run the command line tool -ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"] +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 +WORKDIR /app +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge +EXPOSE 8000 +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] +CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/china/iluvatar.Dockerfile b/docker/china/iluvatar.Dockerfile index 4c21a0f..3583a22 100644 --- a/docker/china/iluvatar.Dockerfile +++ b/docker/china/iluvatar.Dockerfile @@ -1,86 +1,27 @@ -# ========================================== -# 阶段 1: 构建阶段 (Builder) - 负责前端 UI 编译 -# ========================================== -FROM docker.m.daocloud.io/ubuntu:22.04 AS builder - -ENV DEBIAN_FRONTEND=noninteractive - -# 替换为阿里云镜像源并安装 Node.js [cite: 8, 9] -RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \ - apt-get update && apt-get install -y curl && \ - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ - apt-get install -y nodejs && \ - apt-get clean - -WORKDIR /app -COPY . . - -# 构建前端 Web UI [cite: 12] -WORKDIR /app/web_ui -RUN npm install && npm run build - - -# ========================================== -# 阶段 2: 运行阶段 (Runtime) - 天数智芯专用环境 -# ========================================== -# 使用天数智芯官方适配镜像,该镜像内置了 Python 3.10.18 和 CoreX 驱动 [cite: 15] +# MinerU 2.7.6 / Iluvatar CoreX FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 +ENV MINERU_VLLM_DEVICE=corex -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 WORKDIR /app - -# 1. 安装字体与 LibreOffice 依赖 [cite: 15] -RUN apt-get update && \ - apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1 \ - libreoffice-writer \ - libreoffice-core && \ - fc-cache -fv && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# 2. 核心环境修复:确保在 CoreX 的 Python 路径下安装依赖 -# 注意:使用 python3 -m pip 确保安装到 3.10.18 环境,避免 uvicorn 找不到 [cite: 16] -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install \ - 'mineru[core]>=2.7.4' \ - "uvicorn" \ - "fastapi" \ - "python-multipart" \ - "modelscope>=1.26.0" \ - "huggingface-hub>=0.32.4" \ - "mineru-vl-utils>=0.1.19.1" \ - "qwen-vl-utils>=0.0.14" \ - numpy==1.26.4 \ - opencv-python==4.11.0.86 \ - -i https://mirrors.aliyun.com/pypi/simple - -# 3. 拷贝源码及第一阶段的前端产物 [cite: 10, 13] -COPY . . -RUN mkdir -p /app/mineru/cli/static/web && \ - cp -r /app/web_ui/dist/* /app/mineru/cli/static/web/ - -# 4. 下载模型权重 (离线模式必备) [cite: 16] -RUN /bin/bash -c "mineru-models-download -s modelscope -m all" - -# 5. 注入适配天数 GPU 的配置文件 (开启 vLLM 推理) [cite: 13] -RUN mkdir -p /root/ && \ - echo '{ \ - "models-dir": "/root/.cache/modelscope/hub/models", \ - "device-mode": "cuda", \ - "vlm-config": { \ - "kind": "vllm", \ - "precision": "fp16" \ - } \ - }' > /root/magic-pdf.json - -# 6. 设置环境变量 [cite: 17] -ENV MINERU_MODEL_SOURCE=local -ENV PYTHONPATH=/app +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge EXPOSE 8000 - -# 7. 启动服务:使用 /bin/bash 包装以加载 CoreX 环境路径,解决二进制执行错误 -ENTRYPOINT ["/bin/bash", "-c", "PYTHONPATH=/app exec python3 -m mineru.cli.fast_api --host 0.0.0.0 --port 8000"] \ No newline at end of file +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] +CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/china/iluvatar1.Dockerfile b/docker/china/iluvatar1.Dockerfile index 6eb1825..3583a22 100644 --- a/docker/china/iluvatar1.Dockerfile +++ b/docker/china/iluvatar1.Dockerfile @@ -1,107 +1,27 @@ -# ========================================== -# 阶段 1: 构建阶段 (Builder) - 适配天数智芯 (Iluvatar CoreX) -# ========================================== -FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 AS builder - -ENV DEBIAN_FRONTEND=noninteractive - -# 替换为阿里云镜像源(corex base 已预优化,若无匹配则不影响) -RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \ - sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list - -# 安装构建环境、Node.js(Web UI)、libreoffice、字体等依赖 -# corex base 已包含部分字体与 Python,但仍需补充构建工具与 Node.js -RUN apt-get update && \ - apt-get install -y \ - build-essential curl wget git fontconfig libgl1 \ - libreoffice-writer libreoffice-core \ - fonts-noto-core fonts-noto-cjk \ - python3-pip && \ - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ - apt-get install -y nodejs && \ - fc-cache -fv && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +# MinerU 2.7.6 / Iluvatar CoreX +FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 +ENV MINERU_VLLM_DEVICE=corex +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 WORKDIR /app -COPY . . - -# 1. 升级基础 Python 构建工具 -RUN python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/ - -RUN python3 -m pip install --no-cache-dir \ - "uvicorn[standard]>=0.30" \ - "fastapi>=0.115" \ - "python-multipart>=0.0.9" \ - -i https://mirrors.aliyun.com/pypi/simple/ - -# 2. 引入 corex.Dockerfile 的 pinned 依赖(解决版本冲突) -RUN python3 -m pip install \ - numpy==1.26.4 \ - opencv-python==4.11.0.86 \ - -i https://mirrors.aliyun.com/pypi/simple/ - -# 3. 预装项目所需核心依赖(跳过 torch,因为 corex base 已提供 GPU 版) -RUN python3 -m pip install \ - "modelscope>=1.26.0" \ - "huggingface-hub>=0.32.4" \ - "mineru-vl-utils>=0.1.19.1" \ - "qwen-vl-utils>=0.0.14" \ - "transformers>=4.51.1" \ - "accelerate>=1.5.1" \ - -i https://mirrors.aliyun.com/pypi/simple/ - -# 4. 安装项目及所有可选依赖 [all](自动涵盖 doclayout_yolo、layout/vlm 等) -RUN python3 -m pip install -e ".[all]" -i https://mirrors.aliyun.com/pypi/simple/ - -# 5. 构建阶段预下载所有权重文件(结合 corex 的下载命令 + 配置) -RUN mkdir -p /root/.cache/modelscope/hub/models && \ - echo '{"models-dir": "/root/.cache/modelscope/hub/models", "device-mode":"gpu"}' > /root/magic-pdf.json && \ - export MINERU_CONFIG_PATH=/root/magic-pdf.json && \ - /bin/bash -c "mineru-models-download -s modelscope -m all" - -# 6. 构建前端 Web UI -WORKDIR /app/web_ui -RUN npm install && npm run build -WORKDIR /app -RUN mkdir -p mineru/cli/static/web && cp -r web_ui/dist/* mineru/cli/static/web/ - -# ========================================== -# 阶段 2: 运行阶段 (Runtime) -# ========================================== -FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 AS runtime - -ENV DEBIAN_FRONTEND=noninteractive - -# 替换为阿里云镜像源(安全起见) -RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \ - sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list || true - -RUN apt-get update && \ - apt-get install -y libgl1 libreoffice-writer libreoffice-core \ - fonts-noto-core fonts-noto-cjk fontconfig python3 python3-pip && \ - fc-cache -fv && apt-get clean && rm -rf /var/lib/apt/lists/* - -WORKDIR /app - -# 从构建阶段拷贝依赖、预下载模型、源码和 Web UI 静态文件 -COPY --from=builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages -COPY --from=builder /usr/local/bin /usr/local/bin -COPY --from=builder /root/.cache/modelscope/hub/models /root/.cache/modelscope/hub/models -COPY --from=builder /app /app - -# 核心修复:注入标准的运行时配置文件(适配 GPU) -RUN mkdir -p /root/ && \ - echo '{ \ - "models-dir": "/root/.cache/modelscope/hub/models", \ - "device-mode": "gpu", \ - "vlm-config": { \ - "kind": "transformers", \ - "precision": "fp16" \ - } \ - }' > /root/magic-pdf.json - +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge EXPOSE 8000 - -# 启动服务(结合 corex 的 MINERU_MODEL_SOURCE=local + 原 fast_api 入口) -ENTRYPOINT ["/bin/sh", "-c", "export MINERU_MODEL_SOURCE=local && PYTHONPATH=/app python3 -m mineru.cli.fast_api --host 0.0.0.0 --port 8000"] \ No newline at end of file +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] +CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/constraints-2.7.6.txt b/docker/constraints-2.7.6.txt new file mode 100644 index 0000000..7ec3beb --- /dev/null +++ b/docker/constraints-2.7.6.txt @@ -0,0 +1,8 @@ +# Apply together with accelerator constraints generated from the vendor image. +mineru==2.7.6 +numpy==1.26.4 +opencv-python==4.11.0.86 +transformers==4.57.3 +mineru-vl-utils==0.1.19.1 +qwen-vl-utils==0.0.14 +pydantic>=2.12,<3 diff --git a/docker/entrypoint.mineru-api.sh b/docker/entrypoint.mineru-api.sh index 76e05a6..9d62785 100644 --- a/docker/entrypoint.mineru-api.sh +++ b/docker/entrypoint.mineru-api.sh @@ -1,47 +1,29 @@ #!/usr/bin/env bash set -euo pipefail +export MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-local} +export MINERU_MODEL_DIR=${MINERU_MODEL_DIR:-/models} +export MINERU_TOOLS_CONFIG_JSON=${MINERU_TOOLS_CONFIG_JSON:-/root/mineru.json} +export MINERU_API_MAX_CONCURRENT_REQUESTS=${MINERU_API_MAX_CONCURRENT_REQUESTS:-1} +export PYTHONPATH="/app${PYTHONPATH:+:$PYTHONPATH}" -MODEL_DIR=${MINERU_MODEL_DIR:-/models} -PIPELINE_MODEL_DIR=${MINERU_PIPELINE_MODEL_DIR:-${MODEL_DIR}/pipeline} -VLM_MODEL_DIR=${MINERU_VLM_MODEL_DIR:-${MODEL_DIR}/vlm} -CONFIG_PATH=${MINERU_TOOLS_CONFIG_JSON:-/root/mineru.json} - -mkdir -p "$PIPELINE_MODEL_DIR" "$VLM_MODEL_DIR" "$(dirname "$CONFIG_PATH")" - -export CONFIG_PATH PIPELINE_MODEL_DIR VLM_MODEL_DIR - +# Preserve mounted settings, including optional title-aided configuration. python3 - <<'PY' import json import os from pathlib import Path -config_path = Path(os.environ["CONFIG_PATH"]) -config = { - "bucket_info": {"[default]": [None, None, None]}, - "latex-delimiter-config": { - "display": {"left": "$$", "right": "$$"}, - "inline": {"left": "$", "right": "$"}, - }, - "llm-aided-config": { - "title_aided": { - "api_key": "", - "base_url": "", - "model": "", - "enable_thinking": False, - "enable": False, - } - }, - "models-dir": { - "pipeline": os.environ["PIPELINE_MODEL_DIR"], - "vlm": os.environ["VLM_MODEL_DIR"], - }, - "config_version": "1.3.1", -} -config_path.write_text(json.dumps(config, ensure_ascii=False, indent=2), encoding="utf-8") +path = Path(os.environ['MINERU_TOOLS_CONFIG_JSON']) +config = json.loads(path.read_text()) if path.exists() else {} +models = config.setdefault('models-dir', {}) +if not isinstance(models, dict): + raise ValueError('models-dir must contain pipeline and vlm paths') +root = Path(os.environ['MINERU_MODEL_DIR']) +for backend in ('pipeline', 'vlm'): + override = os.getenv(f'MINERU_{backend.upper()}_MODEL_DIR') + models[backend] = override or models.get(backend) or str(root / backend) +config.setdefault('config_version', '1.3.1') +path.parent.mkdir(parents=True, exist_ok=True) +if not path.exists() or json.loads(path.read_text()) != config: + path.write_text(json.dumps(config, ensure_ascii=False, indent=2)) PY - -export MINERU_TOOLS_CONFIG_JSON="$CONFIG_PATH" -export MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-local} -export PYTHONPATH=${PYTHONPATH:-/app} - exec "$@" diff --git a/docker/global/Dockerfile b/docker/global/Dockerfile index f2e7b1f..2462238 100644 --- a/docker/global/Dockerfile +++ b/docker/global/Dockerfile @@ -1,39 +1,26 @@ -# Use the official vllm image for gpu with Ampere、Ada Lovelace、Hopper architecture (8.0 <= Compute Capability <= 9.0) -# Compute Capability version query (https://developer.nvidia.com/cuda-gpus) -# only support x86_64 architecture -FROM vllm/vllm-openai:v0.10.1.1 +# MinerU 2.7.6 / NVIDIA CUDA +FROM vllm/vllm-openai:v0.11.2 -# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0) -# support x86_64 architecture and ARM(AArch64) architecture -# FROM vllm/vllm-openai:v0.11.0 - -# Install libgl for opencv support & Noto fonts for Chinese characters -RUN apt-get update && \ - apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1 && \ - fc-cache -fv && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install LibreOffice for Word to PDF conversion (minimal installation) -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - libreoffice-writer \ - libreoffice-core \ - fonts-noto-core \ - fonts-noto-cjk && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install mineru latest -RUN python3 -m pip install -U 'mineru[core]>=2.7.0' --break-system-packages && \ - python3 -m pip cache purge - -# Download models and update the configuration file -RUN /bin/bash -c "mineru-models-download -s huggingface -m all" - -# Set the entry point to activate the virtual environment and run the command line tool -ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"] \ No newline at end of file +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 +WORKDIR /app +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge +EXPOSE 8000 +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] +CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/global/Dockerfile.cuda b/docker/global/Dockerfile.cuda index de62db7..2462238 100644 --- a/docker/global/Dockerfile.cuda +++ b/docker/global/Dockerfile.cuda @@ -1,67 +1,26 @@ -FROM pytorch/pytorch:2.7.1-cuda12.6-cudnn9-runtime - -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local -ENV MINERU_MODEL_DIR=/models -ENV MINERU_TOOLS_CONFIG_JSON=/root/mineru.json - -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1 \ - libglib2.0-0 \ - git \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -RUN ln -sf "$(command -v python)" /usr/local/bin/python3 && \ - python -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python -m pip install \ - 'mineru[core]>=2.7.4' \ - 'vllm==0.11.2' \ - 'pydantic>=2.12,<3' \ - modelscope \ - magic-pdf \ - boto3 \ - 'pdfminer.six>=20251230' \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime-gpu \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python -m pip cache purge +# MinerU 2.7.6 / NVIDIA CUDA +FROM vllm/vllm-openai:v0.11.2 +ENV DEBIAN_FRONTEND=noninteractive \ + MINERU_MODEL_SOURCE=local \ + MINERU_MODEL_DIR=/models \ + MINERU_TOOLS_CONFIG_JSON=/root/mineru.json \ + MINERU_API_MAX_CONCURRENT_REQUESTS=1 WORKDIR /app -COPY . . -COPY docker/entrypoint.mineru-api.sh /usr/local/bin/entrypoint.mineru-api.sh -RUN chmod +x /usr/local/bin/entrypoint.mineru-api.sh - -ENTRYPOINT ["/usr/local/bin/entrypoint.mineru-api.sh"] +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-noto-core fonts-noto-cjk fontconfig libgl1 libglib2.0-0 \ + libreoffice-writer libreoffice-core && fc-cache -fv && \ + apt-get clean && rm -rf /var/lib/apt/lists/* +COPY . /app +# Resolve against the accelerator wheels already provided by the selected base image. +RUN python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt && \ + python3 -m pip install 'setuptools>=61,<81' wheel && \ + python3 -m pip install --no-build-isolation \ + -c /tmp/accelerator-constraints.txt -c docker/constraints-2.7.6.txt '.[core]' && \ + python3 scripts/accelerator_constraints.py /tmp/accelerator-constraints.txt --check && \ + python3 -m pip check && \ + python3 -c "from mineru.version import __version__; assert __version__ == '2.7.6'" && \ + chmod +x docker/entrypoint.mineru-api.sh && python3 -m pip cache purge +EXPOSE 8000 +ENTRYPOINT ["/app/docker/entrypoint.mineru-api.sh"] CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docs/mineru-migration/2.7.6-baseline.json b/docs/mineru-migration/2.7.6-baseline.json new file mode 100644 index 0000000..4067e74 --- /dev/null +++ b/docs/mineru-migration/2.7.6-baseline.json @@ -0,0 +1,202 @@ +{ + "version": "2.7.6", + "url": "https://files.pythonhosted.org/packages/44/99/a4cf2751c4055d25d16e915215c031ae362bf4bf198efed4991161c6159e/mineru-2.7.6-py3-none-any.whl", + "sha256": "b85ea4cef26397013e92dfdf3a32e68b422e233d27ba103a152843559fd7eb51", + "customizations": [ + "cli/common.py: Word conversion and file progress", + "cli/fast_api.py: application API and compatibility routes", + "cli/gradio_app.py: Markmap view", + "backend/pipeline/pipeline_middle_json_mkcontent.py: six heading levels", + "backend/vlm/vlm_middle_json_mkcontent.py: six heading levels", + "utils/llm_aided.py: six-level title prompt" + ], + "official_source_hashes": { + "version.py": "eb11b65df72d35957f88c01b0dfdcfb1c7b05b08cf7f07e6002db369e311d8a2", + "__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "backend/utils.py": "18b254dc8ce70e6844d7fa8d9a453550eb6cbac9081c17b382c1153ba51aafe6", + "backend/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "backend/hybrid/hybrid_analyze.py": "49c930e93fa9bccbf757f9ea66405e5bc918e333480655b1a9e4b6bd7a8daad6", + "backend/hybrid/hybrid_magic_model.py": "fc3bc1ab958ffd466f9877e1665a31aaff8c2a85967bfc9ed6434bbfa440e6b5", + "backend/hybrid/hybrid_model_output_to_middle_json.py": "c84f9cd5e19ae4bccfa8b7ca7ef04e37f4894658eacb3d81ecb8a0945704ec54", + "backend/hybrid/__init__.py": "20582bd82f0d7d2023f2aec917b40ea8cbc2889e8573c4c8b94dd48760da1595", + "backend/pipeline/batch_analyze.py": "dd406cd963b0708fa67c6025c59b78dfb3aa48e95e5cf2e7a586eb0fd8790f9e", + "backend/pipeline/model_init.py": "d831d8c2aad65ed2b7bfabb911fa051d9a9f50d134d0c2dfcee10687e3a1a018", + "backend/pipeline/model_json_to_middle_json.py": "ade5e4511ff02a6243eb877bbd135733116f8b09330e51a346c869770b15aae2", + "backend/pipeline/model_list.py": "edc5cc05f66b3f42baa96b9e8350fff96a1400d79220dce49ff89cf44ed840bb", + "backend/pipeline/para_split.py": "2aaf79326be43e6eeb2b1942486893bd52b217b084ac7236786180b39b0b9744", + "backend/pipeline/pipeline_analyze.py": "f365c7ee15729ee0ff9ee93ebfb6bfce1c7fdd9fcc1d2df5b08bab4349479974", + "backend/pipeline/pipeline_magic_model.py": "c3c8c6c7c7fac9937459fdb23cfdcbf6b60a73dae8831ade642ad427326f3cef", + "backend/pipeline/pipeline_middle_json_mkcontent.py": "34908b18a13b06a336e1b45da5709f4da9728aaa33a301598e9773a48532e5a0", + "backend/pipeline/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "backend/vlm/model_output_to_middle_json.py": "02a617e38812f5cad43bfb7b4ae51ab43ef51158e8c3aa48eb2036224de0434b", + "backend/vlm/utils.py": "8a0c6073e6578def93290bd9da9fd82594cc9074bdc9713bbb5f8571a184559d", + "backend/vlm/vlm_analyze.py": "55cf2b473bdc1397a08d6fc9ecbd1bb9ea3674b2b76f728a233bc22b60320519", + "backend/vlm/vlm_magic_model.py": "4687685703498738f2b912e7e48a398053085f53710aeb8bcc26d4c4668a57cd", + "backend/vlm/vlm_middle_json_mkcontent.py": "c3e4b36e6e078ad47b318e298a7482659757b4f4aa9ad954f5c8cd87820e4328", + "backend/vlm/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "cli/client.py": "98f35f3044a1546fa2b619a5250e6719121a7768026605230461cdef30262e14", + "cli/common.py": "7cc3dcdb7e43b67ba942487db8520c1d4a71392bc2a79c9cdc0e7ab0069b0166", + "cli/fast_api.py": "6606e9f208a291cb8e9e065a966cebb1f50cadd2a739df5300066b31f190597b", + "cli/gradio_app.py": "d882163a6d9b1071eae4164c95f98ddf2009c3535ff125002d343de68f9b632d", + "cli/models_download.py": "2cd7e822952524cee6eea6f64a20b1b63303c388c82c142d67034fd89a18f355", + "cli/vlm_server.py": "dbb1daa8edf0a4c5d203f9c0dc20ba24e0531cadeaeba48fd34703ea6f47b901", + "cli/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "data/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "data/data_reader_writer/base.py": "9ea98071d1ce5cc3893ba4404f720b96280315ac3c3a9d124f20b0e723b301b2", + "data/data_reader_writer/dummy.py": "312c5069938af22fa59643d70e7d3c92fbee22d7b9a0907fe25463af59a75ed0", + "data/data_reader_writer/filebase.py": "8255d548927eb80fffa83d09feb7611d4d956043866a20b6824f52270ca73e3e", + "data/data_reader_writer/multi_bucket_s3.py": "6f05488a65556a3d0c35e549a4d000ad6e35746caaaaf0b3abd259e8e85db298", + "data/data_reader_writer/s3.py": "3707fc89c1d542a9bc448da7e00cf356ec0aef9775ab925956e0e97bbe028478", + "data/data_reader_writer/__init__.py": "f6a9c636bb2e181330c1fb10cbaa0285d933fbe6bf2cf758584d15659af4cabe", + "data/io/base.py": "4aa350a9edf466fa15be0ec656ffa12cc0a337ac81803c9041678b806b137e14", + "data/io/http.py": "776f826411a330f3af7409240bdcf150429862264f80befa66a706e21203793d", + "data/io/s3.py": "ddf0e2b4deeb1069f50ca0e48cab5fdb20baf260eb27eb55cb28bc55890d61e0", + "data/io/__init__.py": "9a343f2c049a5fee3fa60fb5bb368c272b0812582552cde8f9a92aac03fc3024", + "data/utils/exceptions.py": "a3116951056e9bc2d1140820d5c66f328378c604947bde6b80d0d4da6cd39707", + "data/utils/path_utils.py": "ca47a8f965b5eb723618a016a34bc8a4fd4caedc08f7d3cfaad082d39ba1bd53", + "data/utils/schemas.py": "30afe99d690aebd3119d56b29278b6b42472eacc7b71d09e3ebcbf5bb5148217", + "data/utils/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/layout/doclayoutyolo.py": "0edb4835dba5cd38987150e5ffbd280ed51d7d598673daa429699b3ce180795d", + "model/layout/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/mfd/yolo_v8.py": "388e40c5582ddc5bd7a783589340435d7be90e5a3d62333a6f20f20bf4d9f09b", + "model/mfd/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/mfr/utils.py": "a408b51e7913b8ed11eb6e751dd97ea39d26d301f409ef3d3c07fbe160ac5cf5", + "model/mfr/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/mfr/pp_formulanet_plus_m/predict_formula.py": "b586f1746fe834b6f5f02b1092eb1903eaf77f11d0775b839dfcc8150e88214e", + "model/mfr/pp_formulanet_plus_m/processors.py": "3122b26a7c620c38e00d01c1a2ff868cab4f9ccc7db529b1042f462243377edf", + "model/mfr/pp_formulanet_plus_m/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/mfr/unimernet/Unimernet.py": "64ad0cf5f3e667388ae03df71f760d0fb4671e2424455092fa5bcd7d8f8dedda", + "model/mfr/unimernet/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/mfr/unimernet/unimernet_hf/modeling_unimernet.py": "fe5377cc32b17aab16fa1f6d5f1efd0d8893e6e4f83fd8b11b8f56ad260a1711", + "model/mfr/unimernet/unimernet_hf/__init__.py": "907708486f064b84d6256df84822427a2d63c68e87c6f3b4d1a0b476ac8d1602", + "model/mfr/unimernet/unimernet_hf/unimer_mbart/configuration_unimer_mbart.py": "87045aaf7a6a37f715b374d14cd4ae841e3069c06771f27eaaf6936a345bd317", + "model/mfr/unimernet/unimernet_hf/unimer_mbart/modeling_unimer_mbart.py": "5e49cbe940f6b217dc12b003f242e4e754f2dcbb5bbfbb838bf6379311b58def", + "model/mfr/unimernet/unimernet_hf/unimer_mbart/tokenization_unimer_mbart.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/mfr/unimernet/unimernet_hf/unimer_mbart/__init__.py": "f53dab069c865f96054188fcf7e996ba346890ebb3e3180dade06e7a0720d7f7", + "model/mfr/unimernet/unimernet_hf/unimer_swin/configuration_unimer_swin.py": "397dde4542819ca097b7124e1b7b1d368075215f99ede7e0594fa069c9583860", + "model/mfr/unimernet/unimernet_hf/unimer_swin/image_processing_unimer_swin.py": "6bd902bf0cc925246b29036d5b6a0ea53c2b6a9cdea7c06318558b84b1754f49", + "model/mfr/unimernet/unimernet_hf/unimer_swin/modeling_unimer_swin.py": "43f7dd9851d406d12801f5a9f5aa307704c213630814c38f6d88e84b25cada25", + "model/mfr/unimernet/unimernet_hf/unimer_swin/__init__.py": "f3fd432b00c20d4064787622249e8c667a1d641b1ab476ea872821d75b3d7840", + "model/ocr/pytorch_paddle.py": "707313979b0aca7e01636db4efeec643879997d05051cb39b9cc70fcd15ecc82", + "model/ocr/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/ori_cls/paddle_ori_cls.py": "5484b6d887ab1d24fb83ad000bdaf63c44081ba35059e41a1f53ab5c8c4d4ec8", + "model/ori_cls/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/reading_order/layout_reader.py": "21550570d303177fa48a8f812318e9a479d64b77873eabef362848c367db2053", + "model/reading_order/xycut.py": "7b3352abf6385178b3b41e7c85b5c9b234c994e06a5888ee5b9036b8b49a652a", + "model/reading_order/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/table/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/table/cls/paddle_table_cls.py": "e4fb6278a42703380c3514d91609ea42c196293110df2c855909c14488df4380", + "model/table/cls/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/table/rec/RapidTable.py": "d9d35d189b1576c19f466eabddd78445432cb79448c47d18ba21802e441b353c", + "model/table/rec/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/table/rec/slanet_plus/main.py": "bdfadcbd0f4905fdf661953d78da1eb68a9da5cac536c03558da9006c1bc8b6a", + "model/table/rec/slanet_plus/matcher.py": "bb017ec022da625690dc943ff98cb01959755d0627c7b1bf453b962d6f099419", + "model/table/rec/slanet_plus/matcher_utils.py": "f70b7fc9d79e5622dde7b6d4ea0de59d75e78b8f6a2d2adad82eb0485419922c", + "model/table/rec/slanet_plus/table_structure.py": "aadf873d8210ca9d1a586fcc9a733fb0c40257c64b6f8ac02d2b9ec82a213e03", + "model/table/rec/slanet_plus/table_structure_utils.py": "6184a4c0dd9674bc7baa458c48690f63bc97387e44355860e42b111a1b59e569", + "model/table/rec/slanet_plus/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/table/rec/unet_table/main.py": "275dd0effeacb58c9e76655e75ff42643ed1d2dba0b867d3837677a1be060ee3", + "model/table/rec/unet_table/table_recover.py": "ad2c9e5b2b8fd7433c74b280e5ed27e0fd835cc61b55b9a02f111c75903cff41", + "model/table/rec/unet_table/table_structure_unet.py": "8679982f36454652b463882bf3be06f4668b6a170a9cd65836e9fcebd15d987f", + "model/table/rec/unet_table/utils.py": "09802a256d3078f264e0d01e99bf16db4dcdec4df6bf4ba38966f16a70e177c2", + "model/table/rec/unet_table/utils_table_line_rec.py": "eb3d2360ee92f300267c77b9b40c847f3599210bfcc2b9ff75153d182ee82aba", + "model/table/rec/unet_table/utils_table_recover.py": "5e4b09b18f36652d24a949cd4fe8ef698cf1277577b2f312ce3d29bb021abb59", + "model/table/rec/unet_table/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/utils/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/utils/pytorchocr/base_ocr_v20.py": "e5b23b300bbae6bfaf9f6f24af0749ea98d932412f5a3b2913b110693b11111c", + "model/utils/pytorchocr/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/utils/pytorchocr/data/__init__.py": "618bb773e5b87e0104af1c4333df2e437a16c0f121fbac3be4b638cdc8f856d3", + "model/utils/pytorchocr/data/imaug/operators.py": "79d05a0de7b39910241a476e3c5e8859c529136597461ee6011a929f0cb29c40", + "model/utils/pytorchocr/data/imaug/__init__.py": "7381f48173d1c1e434c0c16792b08b4d1e8caed1be7b89148a7c70ab61b557d5", + "model/utils/pytorchocr/modeling/common.py": "debda34ef3d8412e08813bc8a91e25e9b055c11ee39fef3bad29a9bf7b65ab12", + "model/utils/pytorchocr/modeling/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/utils/pytorchocr/modeling/architectures/base_model.py": "4615760e6fa8b34f24085ca54f9ef346eef61eafd125d172df141ed4c3da0ae5", + "model/utils/pytorchocr/modeling/architectures/__init__.py": "0c203d152e26139a021c3941854ae460b77115e4086e13e3e0ff2827f811643f", + "model/utils/pytorchocr/modeling/backbones/det_mobilenet_v3.py": "af48169c0d579add19c381502f1ee47fe596c1977fdba3df37384cd3976b72e1", + "model/utils/pytorchocr/modeling/backbones/rec_donut_swin.py": "9530a37bb98fb84f9f1ded3901325ee42efbc319340914e8940b43fe07d04e68", + "model/utils/pytorchocr/modeling/backbones/rec_hgnet.py": "52c21bcea37f928c86a128754c0f6bdbb4a08291db78a4b71e6992f80d80c34e", + "model/utils/pytorchocr/modeling/backbones/rec_lcnetv3.py": "f954734cfb6becb4e6c09e1d0adb08fbe803f35600761de59556aef4ae159dcf", + "model/utils/pytorchocr/modeling/backbones/rec_mobilenet_v3.py": "989984eb11a98c7647d956b0d7a2e5225a911459bd47dc91b122446b7627de7c", + "model/utils/pytorchocr/modeling/backbones/rec_mv1_enhance.py": "2b8a7d28560d9a5b55df2dd0b311c8012371a2a946b71800a02c5e1687f20a6c", + "model/utils/pytorchocr/modeling/backbones/rec_pphgnetv2.py": "61fa75c51e5286ce5bd6ec468e1152ad880fabd065dcda20612a3e28e26ed3c9", + "model/utils/pytorchocr/modeling/backbones/rec_svtrnet.py": "008694677216064473da95a66a70634b441d25c6278a6312578316a1f36941c8", + "model/utils/pytorchocr/modeling/backbones/__init__.py": "74e9aa86f2eb04cfb68a6730b7bde44ba00f98c6e1a15613a33966a8e9117ea0", + "model/utils/pytorchocr/modeling/heads/cls_head.py": "a6e232e46954b4029eafa792e0758abb4ecfcd177e1e50c0a88cf95aa8c11da0", + "model/utils/pytorchocr/modeling/heads/det_db_head.py": "fa4f1ba6e190c3fc48543b2e9ab7e298ec60d0efa83f630e0320c94e353bd11a", + "model/utils/pytorchocr/modeling/heads/rec_ctc_head.py": "cb0ca4e512605084dd5efad4664db205258ab1a648aa74e87dd15bb9052dc235", + "model/utils/pytorchocr/modeling/heads/rec_multi_head.py": "2b8d12300f2d0155aefb77f081f8778c659e54501d5673321e3799788f4e3bb4", + "model/utils/pytorchocr/modeling/heads/rec_ppformulanet_head.py": "e5c2c951ab032ab6020b8ef34f1d83e4eb25e829cf87a24099dc1beac69e0d68", + "model/utils/pytorchocr/modeling/heads/rec_unimernet_head.py": "c2c1f16445f654eea43442d1e37794325796257ac352070fe672d67cd22b33e1", + "model/utils/pytorchocr/modeling/heads/__init__.py": "7650d6008083ff73eb622862a421c33f91822551fff9fc128fb59fa237c808ca", + "model/utils/pytorchocr/modeling/necks/db_fpn.py": "4cb176a52caf442d283f32f4795c8d960dd6e99bdfaf827c7c3d67ce2541eee2", + "model/utils/pytorchocr/modeling/necks/intracl.py": "c3641dc1d23d069896f76552e26a8bdf5b1511121b639dd37db0f943aa2489a6", + "model/utils/pytorchocr/modeling/necks/rnn.py": "4c052ae267b883fc97c5ab79c053a0193aa7a82d9450ad456762defb61162aa0", + "model/utils/pytorchocr/modeling/necks/__init__.py": "eb7e0bd72f905afe4ff28a4d89298abd0131dd4b24736d111bc0d888275b97c5", + "model/utils/pytorchocr/postprocess/cls_postprocess.py": "d555565d3fdbd6f8466fb3c6beac9f510dc8a7b2eea47eb6bcfbdaf7c1ad8d30", + "model/utils/pytorchocr/postprocess/db_postprocess.py": "01d64f17b7eb850dbb555769d0616631c5ed8afc036597d7621cc93a53f8cd4b", + "model/utils/pytorchocr/postprocess/rec_postprocess.py": "a86077a271441611e3aa4b0847520a3b1d8463df1ec1fb268c00e3ad15e0df46", + "model/utils/pytorchocr/postprocess/__init__.py": "882d4e97a093c51599054c90ff9215311ea422eaeff5624f3965a8ecd02e6410", + "model/utils/pytorchocr/utils/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "model/utils/pytorchocr/utils/resources/arch_config.yaml": "06f697b075d7572c5838562392dec7b72656884c8baef1ec1ec2587d06528436", + "model/utils/pytorchocr/utils/resources/models_config.yml": "408baa7aef75a5fbaac9ae096f199941290e6247be876073db53b6a4e2d03d87", + "model/utils/pytorchocr/utils/resources/pp_formulanet_arch_config.yaml": "6bbcae78e4d4adfa59a3c0ac2babd0a246cb341d89f8fefb8a168287f2e8cef4", + "model/utils/pytorchocr/utils/resources/dict/ka_dict.txt": "fad3f765943275eec2134a6fbc9b52785426641104d4e7db3a159dc73f341dde", + "model/utils/pytorchocr/utils/resources/dict/ppocrv4_doc_dict.txt": "a5bc3887c43c901e5a3f97b13ffadf1c5754ede7cc8c9f5abe22e875a7c48372", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_arabic_dict.txt": "7f92f7dbb9b75a4787a83bfb4f6d14a8ab515525130c9d40a9036f61cf6999e9", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_cyrillic_dict.txt": "db40aa52ceb112055be80c694afdf655d5d2c4f7873704524cc16a447ca913ba", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_devanagari_dict.txt": "09c7440bfc5477e5c41052304b6b185aff8c4a5e8b2b4c23c1c706f6fe1ee9fc", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_dict.txt": "d1979e9f794c464c0d2e0b70a7fe14dd978e9dc644c0e71f14158cdf8342af1b", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_el_dict.txt": "31defc62c0c3ad3674a82da6192226a2ba98ef4ff014a7045cb88d59f9c3de31", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_en_dict.txt": "e025a66d31f327ba0c232e03f407ae8d105e1e709e7ccb3f408aa778c24e70d6", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_eslav_dict.txt": "3e95f1581557162870cacdba5af91a4c6be2890710d395b0c3c7578e7ee5e6eb", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_korean_dict.txt": "a88071c68c01707489baa79ebe0405b7beb5cca229f4fc94cc3ef992328802d7", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_latin_dict.txt": "ccbcc45730b3fbbd9050c5bc74db6a99067141ef1035e3d14889a84a6b9b1aff", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_ta_dict.txt": "85b541352ae18dc6ba6d47152d8bf8adff6b0266e605d2eef2990c1bf466117b", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_te_dict.txt": "42f83f5d3fdb50778e4fa5b66c58d99a59ab7792151c5e74f34b8ffd7b61c9d6", + "model/utils/pytorchocr/utils/resources/dict/ppocrv5_th_dict.txt": "57f5406f94bb6688fb7077f7be65f08bbd71cecf48c01ea26c522cb5c4836b7a", + "model/utils/tools/__init__.py": "c44a91eb967c60ecce2e8acb8cad0b087a2cdb35feb42bb14abc67763534d211", + "model/utils/tools/infer/predict_cls.py": "f1198a975bde8e7665eb971a1d9355dad6ba84cb20e41fcb13e16ea823bc4fc0", + "model/utils/tools/infer/predict_det.py": "bd8411127eef10b5f106cafbd8208256f9b583057cd8e35a0b019fc542239def", + "model/utils/tools/infer/predict_rec.py": "f811fddc90e2b2ed244fa0b21c0e2995438a71bd8bf94bc393b4de8a7e6ec2de", + "model/utils/tools/infer/predict_system.py": "8647a0927ea1ab6bf6cea1d500feb5e7e93e7e44d2f2cc116126d97a8aa6488f", + "model/utils/tools/infer/pytorchocr_utility.py": "8b53c537efe479f254519e1593b8a0b354d4f207c4ad30e50d763afbc51ababc", + "model/utils/tools/infer/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97", + "model/vlm/lmdeploy_server.py": "3efc4935c508281f15cd63035de575b744874a0cff50b3b7e9903325ba69cfdd", + "model/vlm/vllm_server.py": "802e1b93005b9d05e99b16a2ab59cf7fb460585fa95181128cbb2cbde26ae83a", + "model/vlm/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "resources/header.html": "ef1adfe9b1a5a11fb765e4c3c80f89bdabc4fcd791b940dede9d3b7042945d22", + "resources/fasttext-langdetect/lid.176.ftz": "e33db98de5d095f003b0645244841d33b0763864daf8d0516ae3cc1cfa759a56", + "utils/block_pre_proc.py": "b86066c5fd8c47d6e99539d023cc478c223e923de9951849af485c58a89d6ce4", + "utils/block_sort.py": "e52d5576946023bd83d9d45bdd0a795d08aa4a688fa442f0148a9ba6c847d630", + "utils/boxbase.py": "c67180d64ee156d4d0aeb7aa94998af92037cbd79d4c780b9868aa1ab4977241", + "utils/char_utils.py": "ef84f9625af99a2d6e75d008b8992ef59eac1fbbe147bb79f79fc7eea99bbb87", + "utils/check_sys_env.py": "4d18f3838c56ca8486ae0bf829a3f6db903ef7dc4180b01f67570f706aab0400", + "utils/cli_parser.py": "e2c78502ed64ba5b189f0e96336abf7318043addad12b655908f8b34417f906c", + "utils/config_reader.py": "d37012a89509225e8291755cb1ec299cf0c0a3d23b598763fe1c7ea2c50aae51", + "utils/cut_image.py": "8379b89df7093569718be3f49295d3b659aca5790c70b09f1b0998b90f99da11", + "utils/draw_bbox.py": "164829a6353346137ebb1bc285d9211d77036af244680a4c0faa82eaaa11c1f4", + "utils/engine_utils.py": "2666a8f7e3beb190f31fbbc034a103698e8d27cb6eb612ac4ebdb72c521e04b5", + "utils/enum_class.py": "59e8edef35fe11b9af40cfda8883c24b870537f2b4fbc398ce53b93f2cacba07", + "utils/format_utils.py": "dacf3dbc77122128eea2593c1ef8372bee7ead16e24f752cede14bcd42ab34ab", + "utils/guess_suffix_or_lang.py": "6940b6c002706b92c7d121f1c136ce109a95560be9754096145ea87fc7835647", + "utils/hash_utils.py": "50f4bff0d441995ba67723afd7a2e6bfa2f2db12bc3950c911ee601ba80a2059", + "utils/language.py": "ed14f79b149aee3769a02e7249ded975d1c0ed33bb52c9e60ce5a2619031bb28", + "utils/llm_aided.py": "f56532b6fc5e9d202e696478b1342154f43987ca58d3054e1f53b6b23ffa74bb", + "utils/magic_model_utils.py": "f07bfe04393d133e13531ea1ad527febbe726598203e3e9489bf35952a66d228", + "utils/models_download_utils.py": "51f8efc21c4ee819091dae494a9115359ef51a82cc3cc989a729b74c7113d93e", + "utils/model_utils.py": "61a77136e46fb96679c96d8d912a43d1961325d8f46554b65fc285fe19465820", + "utils/ocr_utils.py": "94f22bc0d5226f99abcd4929a274581ee502763576aaf11334b4b338bc9f96b5", + "utils/os_env_config.py": "5472bd952dd014986bc166bd14e154d52c26ee85e76f2e1268d3634f2a274d38", + "utils/pdf_classify.py": "e83179a47ffd52af377ec16da7b9f88be39d6101b3a0d395f4bd1505486004c4", + "utils/pdf_image_tools.py": "b534a4dfd7e024a2c4b21c0f02e2462e5fe9552ae610a8d6039e45e9d19caf88", + "utils/pdf_page_id.py": "7a6f7aea4d760915b8463e3d44688b07ff082f09173c19d645eb40a5ac77793b", + "utils/pdf_reader.py": "59e20d9b94b25815174f4c0ff65cc86de1ecf0fe9650890dea754be57e0bcc6e", + "utils/pdf_text_tool.py": "284ced8df76ab081c7ba24c400c00becbaf5392dd1ed4afeb93a8688246345e4", + "utils/run_async.py": "acf78fe010997ab47c541c910e1898cdf6626a12d5aa8644055012e787408cd8", + "utils/span_block_fix.py": "d1e5508c90ab4f4df0a11b7d86887a52ee364e9d5d69c7c64efdb1dc1f6aabde", + "utils/span_pre_proc.py": "9eee818794d63ca1731ee15f6c4b3402caf4e0ce3138be4838dcfff062479f8e", + "utils/table_merge.py": "2ce471cf44c77a60aa1fbe3a14c562a84b8bcccd3cf0ce07808904bb00c87cd5", + "utils/__init__.py": "f0246b09056e1316b406db51161dd9e34945cb62b98cdd2ca7aeca5a33a58f97" + } +} diff --git a/docs/mineru-migration/2.7.6.md b/docs/mineru-migration/2.7.6.md new file mode 100644 index 0000000..d8a95ae --- /dev/null +++ b/docs/mineru-migration/2.7.6.md @@ -0,0 +1,67 @@ +# MinerU 2.7.6 + +本分支基于官方 PyPI 2.7.6,原始包校验值及文件清单见 `2.7.6-baseline.json`。 +保留 Word 转 PDF、解析进度、Gradio/独立导图页面及导图整理接口。 +解析内核使用 2.7.6 的跨页表格、PDF 超时和国产卡适配修复。 + +## 六级标题和 MaxKB + +Pipeline、VLM 的 Markdown 与 content-list 输出保留一级至六级标题。 +可选的 LLM 辅助标题分级提示也允许六级。实际识别结果取决于文档和启用的分级方式。 + +MaxKB 新建解析资源选择 V2,默认版本为 2.7.6。 +服务地址填写 API 基址,例如 `http://parser-host:8100`。 +`POST /file_parse` 和独立页面使用的 `POST /api/file_parse` 指向同一处理函数。 +响应按请求返回 Markdown、middle_json、model_output、content_list、Base64 图片。 +MaxKB 保留原有 2.7.1、2.7.4、3.4.5、4.x 资源的版本定义。 + +## 构建 + +在仓库根目录执行。Docker 命令需有相应权限。 + +```bash +API_FLAVOR=cuda bash scripts/build-images.sh +API_FLAVOR=corex bash scripts/build-images.sh +``` + +NVIDIA API 镜像为 `unis-mindmap-api:2.7.6-cuda`,使用 vLLM 0.11.2 配套基础镜像。 +天数 API 镜像为 `unis-mindmap-api:2.7.6-corex`,使用厂商 CoreX 4.4.0、Torch 2.7.1、vLLM 0.11.2、Python 3.10 基础镜像。 +独立页面镜像为 `unis-mindmap-web:2.7.6`。 + +API 镜像从本仓库安装 `.[core]`,并约束 `mineru==2.7.6`。 +安装前记录基础镜像的 Torch、torchvision、vLLM 等版本,作为 pip 约束,安装后再次核对并运行 `pip check`。 +新增依赖包括 Word 备用转换所需的 python-docx 和 Pydantic 2。 +CoreX 与 CUDA 的依赖解析冲突会使构建失败,日志会保留 pip 的冲突原因。 + +## 准备模型和启动 + +先准备与 MinerU 2.7.6 对应的 Pipeline、VLM 权重。 +`MINERU_MODEL_DIR` 下使用 `pipeline`、`vlm` 两个目录,分别放对应模型仓库的根内容。 +构建和启动过程使用挂载的本地模型。 + +```bash +API_FLAVOR=cuda GPU_IDS=0 MINERU_MODEL_DIR=/data/unis/mineru-models bash scripts/start-mindmap.sh +API_FLAVOR=corex GPU_IDS=0 MINERU_MODEL_DIR=/data/unis/mineru-models bash scripts/start-mindmap.sh +``` + +脚本默认使用容器名 `mineru-276-api`、`mindmap-276-web`。 +API 映射至宿主机 `127.0.0.1:8100`,页面端口为 `9898`。 +可通过 `API_NAME`、`WEB_NAME`、`API_PORT`、`WEB_PORT` 调整。 +已有同名容器时脚本退出,由运维显式管理旧容器。 +天数启动传递 `MINERU_VLLM_DEVICE=corex`,并挂载厂商运行所需的设备和内核目录。 + +可挂载 `MINERU_TOOLS_CONFIG_JSON` 指定的 JSON 配置。 +入口保留已有配置,并补齐缺失的模型目录。 +`MINERU_PIPELINE_MODEL_DIR`、`MINERU_VLM_MODEL_DIR` 可分别覆盖模型路径。 +`MINERU_GPU_MEMORY_UTILIZATION` 默认 `0.5`,用于 vLLM 显存预算。 +API 默认单请求并发,`MINERU_API_MAX_CONCURRENT_REQUESTS` 可配置上限。 + +## 检查 + +```bash +python -m unittest discover -s tests/unittest -p test_parser_276.py -v +python -m build --wheel +``` + +协议测试模拟推理输出,检查 HTTP 协议和标题保留。 +目标卡验收需另行检查实际驱动、模型加载、PDF/OCR、显存和并发行为。 diff --git a/mineru.egg-info/PKG-INFO b/mineru.egg-info/PKG-INFO index 0821e15..723d6f9 100644 --- a/mineru.egg-info/PKG-INFO +++ b/mineru.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: mineru -Version: 2.7.1 +Version: 2.7.6 Summary: A practical tool for converting PDF to Markdown License: AGPL-3.0 Project-URL: homepage, https://mineru.net/ @@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 Requires-Python: <3.14,>=3.10 Description-Content-Type: text/markdown +License-File: LICENSE.md Requires-Dist: boto3>=1.28.43 Requires-Dist: click>=8.1.7 Requires-Dist: loguru>=0.7.2 @@ -26,6 +27,8 @@ Requires-Dist: pillow>=11.0.0 Requires-Dist: pypdfium2>=4.30.0 Requires-Dist: pypdf>=5.6.0 Requires-Dist: reportlab +Requires-Dist: python-docx<2,>=1.2 +Requires-Dist: pydantic<3,>=2.12 Requires-Dist: pdftext>=0.6.3 Requires-Dist: modelscope>=1.26.0 Requires-Dist: huggingface-hub>=0.32.4 @@ -59,7 +62,7 @@ Requires-Dist: matplotlib<4,>=3.10; extra == "pipeline" Requires-Dist: ultralytics<9,>=8.3.48; extra == "pipeline" Requires-Dist: doclayout_yolo==0.0.4; extra == "pipeline" Requires-Dist: dill<1,>=0.3.8; extra == "pipeline" -Requires-Dist: PyYAML<7,>=6.0.2; extra == "pipeline" +Requires-Dist: PyYAML<7,>=6.0.1; extra == "pipeline" Requires-Dist: ftfy<7,>=6.3.1; extra == "pipeline" Requires-Dist: shapely<3,>=2.0.7; extra == "pipeline" Requires-Dist: pyclipper<2,>=1.3.0; extra == "pipeline" @@ -75,9 +78,6 @@ Requires-Dist: uvicorn; extra == "api" Provides-Extra: gradio Requires-Dist: gradio==5.49.1; extra == "gradio" Requires-Dist: gradio-pdf==0.0.22; extra == "gradio" -Provides-Extra: vuex -Requires-Dist: nodejs>=16.0.0; extra == "vuex" -Requires-Dist: npm>=8.0.0; extra == "vuex" Provides-Extra: core Requires-Dist: mineru[vlm]; extra == "core" Requires-Dist: mineru[pipeline]; extra == "core" @@ -87,4 +87,8 @@ Provides-Extra: all Requires-Dist: mineru[core]; extra == "all" Requires-Dist: mineru[mlx]; sys_platform == "darwin" and extra == "all" Requires-Dist: mineru[vllm]; sys_platform == "linux" and extra == "all" -Requires-Dist: mineru[lmdeploy]; sys_platform == "windows" and extra == "all" +Requires-Dist: mineru[lmdeploy]; sys_platform == "win32" and extra == "all" +Dynamic: license-file + + +markitdown diff --git a/mineru.egg-info/SOURCES.txt b/mineru.egg-info/SOURCES.txt index 852f7d7..b6e977f 100644 --- a/mineru.egg-info/SOURCES.txt +++ b/mineru.egg-info/SOURCES.txt @@ -1,3 +1,5 @@ +LICENSE.md +README.md pyproject.toml mineru/__init__.py mineru/version.py @@ -36,6 +38,22 @@ mineru/cli/fast_api.py mineru/cli/gradio_app.py mineru/cli/models_download.py mineru/cli/vlm_server.py +mineru/cli/static/markmap/d3.min.js +mineru/cli/static/markmap/markmap-lib.js +mineru/cli/static/markmap/markmap-toolbar.js +mineru/cli/static/markmap/markmap-view.js +mineru/cli/static/web/index.html +mineru/cli/static/web/assets/index-B_viQAxH.css +mineru/cli/static/web/assets/index-CxJ0NebI.css +mineru/cli/static/web/assets/index-D7YNJWSR.js +mineru/cli/static/web/assets/index-zcV97yfy.js +mineru/cli/static/web/assets/markdown-_Dy2zPzC.js +mineru/cli/static/web/assets/vendor-DDOvA1Mb.js +mineru/cli/static/web/assets/vendor-DSv9k51x.js +mineru/cli/static/web/markmap/d3.min.js +mineru/cli/static/web/markmap/markmap-lib.js +mineru/cli/static/web/markmap/markmap-toolbar.js +mineru/cli/static/web/markmap/markmap-view.js mineru/data/__init__.py mineru/data/data_reader_writer/__init__.py mineru/data/data_reader_writer/base.py diff --git a/mineru.egg-info/entry_points.txt b/mineru.egg-info/entry_points.txt index 675154a..ef9d2fe 100644 --- a/mineru.egg-info/entry_points.txt +++ b/mineru.egg-info/entry_points.txt @@ -1,9 +1,8 @@ [console_scripts] -mineru = mineru.cli:client.main +mineru = mineru.cli.client:main mineru-api = mineru.cli.fast_api:main mineru-gradio = mineru.cli.gradio_app:main mineru-lmdeploy-server = mineru.cli.vlm_server:lmdeploy_server mineru-models-download = mineru.cli.models_download:download_models mineru-openai-server = mineru.cli.vlm_server:openai_server mineru-vllm-server = mineru.cli.vlm_server:vllm_server -mineru-vue-dev = web_ui:start.sh diff --git a/mineru.egg-info/requires.txt b/mineru.egg-info/requires.txt index 9d4b10c..ab41098 100644 --- a/mineru.egg-info/requires.txt +++ b/mineru.egg-info/requires.txt @@ -10,6 +10,8 @@ pillow>=11.0.0 pypdfium2>=4.30.0 pypdf>=5.6.0 reportlab +python-docx<2,>=1.2 +pydantic<3,>=2.12 pdftext>=0.6.3 modelscope>=1.26.0 huggingface-hub>=0.32.4 @@ -32,7 +34,7 @@ mineru[mlx] [all:sys_platform == "linux"] mineru[vllm] -[all:sys_platform == "windows"] +[all:sys_platform == "win32"] mineru[lmdeploy] [api] @@ -61,7 +63,7 @@ matplotlib<4,>=3.10 ultralytics<9,>=8.3.48 doclayout_yolo==0.0.4 dill<1,>=0.3.8 -PyYAML<7,>=6.0.2 +PyYAML<7,>=6.0.1 ftfy<7,>=6.3.1 shapely<3,>=2.0.7 pyclipper<2,>=1.3.0 @@ -85,7 +87,3 @@ vllm<0.12,>=0.10.1.1 torch<3,>=2.6.0 transformers!=4.57.2,<5.0.0,>=4.51.1 accelerate>=1.5.1 - -[vuex] -nodejs>=16.0.0 -npm>=8.0.0 diff --git a/mineru/backend/hybrid/hybrid_magic_model.py b/mineru/backend/hybrid/hybrid_magic_model.py index 2aab61b..fd27edb 100644 --- a/mineru/backend/hybrid/hybrid_magic_model.py +++ b/mineru/backend/hybrid/hybrid_magic_model.py @@ -424,7 +424,8 @@ def __tie_up_category_by_index(blocks, subject_block_type, object_block_type): # 调用通用方法 return tie_up_category_by_index( get_subjects, - get_objects + get_objects, + object_block_type=object_block_type ) diff --git a/mineru/backend/pipeline/model_init.py b/mineru/backend/pipeline/model_init.py index 5ed2b8c..65173e1 100644 --- a/mineru/backend/pipeline/model_init.py +++ b/mineru/backend/pipeline/model_init.py @@ -297,7 +297,14 @@ def ocr_det_batch_setting(device): # 检测torch的版本号 import torch from packaging import version - if version.parse(torch.__version__) >= version.parse("2.8.0") or str(device).startswith('mps'): + + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + + if ( + version.parse(torch.__version__) >= version.parse("2.8.0") + or str(device).startswith('mps') + or device_type.lower() in ["corex"] + ): enable_ocr_det_batch = False else: enable_ocr_det_batch = True diff --git a/mineru/backend/pipeline/pipeline_analyze.py b/mineru/backend/pipeline/pipeline_analyze.py index 4383eec..4a6fdae 100644 --- a/mineru/backend/pipeline/pipeline_analyze.py +++ b/mineru/backend/pipeline/pipeline_analyze.py @@ -193,7 +193,12 @@ def batch_image_analyze( # 检测torch的版本号 import torch from packaging import version - if version.parse(torch.__version__) >= version.parse("2.8.0") or str(device).startswith('mps'): + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + if ( + version.parse(torch.__version__) >= version.parse("2.8.0") + or str(device).startswith('mps') + or device_type.lower() in ["corex"] + ): enable_ocr_det_batch = False else: enable_ocr_det_batch = True diff --git a/mineru/backend/pipeline/pipeline_middle_json_mkcontent.py b/mineru/backend/pipeline/pipeline_middle_json_mkcontent.py index 8a80b0d..994cb46 100644 --- a/mineru/backend/pipeline/pipeline_middle_json_mkcontent.py +++ b/mineru/backend/pipeline/pipeline_middle_json_mkcontent.py @@ -296,8 +296,8 @@ def union_make(pdf_info_dict: list, def get_title_level(block): title_level = block.get('level', 1) - if title_level > 4: - title_level = 4 + if title_level > 6: + title_level = 6 elif title_level < 1: title_level = 0 return title_level diff --git a/mineru/backend/vlm/utils.py b/mineru/backend/vlm/utils.py index b6fdee2..5d1f5e2 100644 --- a/mineru/backend/vlm/utils.py +++ b/mineru/backend/vlm/utils.py @@ -18,6 +18,15 @@ def enable_custom_logits_processors() -> bool: compute_capability = f"{major}.{minor}" elif hasattr(torch, 'npu') and torch.npu.is_available(): compute_capability = "8.0" + elif hasattr(torch, 'gcu') and torch.gcu.is_available(): + compute_capability = "8.0" + elif hasattr(torch, 'musa') and torch.musa.is_available(): + compute_capability = "8.0" + elif hasattr(torch, 'mlu') and torch.mlu.is_available(): + compute_capability = "8.0" + elif hasattr(torch, 'sdaa') and torch.sdaa.is_available(): + compute_capability = "8.0" + else: logger.info("CUDA not available, disabling custom_logits_processors") return False @@ -71,16 +80,6 @@ def set_lmdeploy_backend(device_type: str) -> str: def set_default_gpu_memory_utilization() -> float: - override = os.getenv("MINERU_GPU_MEMORY_UTILIZATION") - if override: - try: - value = float(override) - except ValueError: - raise ValueError("MINERU_GPU_MEMORY_UTILIZATION must be a float between 0 and 1") - if not 0 < value < 1: - raise ValueError("MINERU_GPU_MEMORY_UTILIZATION must be a float between 0 and 1") - return value - from vllm import __version__ as vllm_version device = get_device() gpu_memory = get_vram(device) @@ -107,3 +106,127 @@ def set_default_batch_size() -> int: logger.warning(f'Error determining VRAM: {e}, using default batch_ratio: 1') batch_size = 1 return batch_size + + +def _get_device_config(device_type: str) -> dict | None: + """获取不同设备类型的配置参数""" + + # 各设备类型的配置定义 + DEVICE_CONFIGS = { + # "musa": { + # "compilation_config_dict": { + # "cudagraph_capture_sizes": [1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 24, 28, 30], + # "simple_cuda_graph": True + # }, + # "block_size": 32, + # }, + "corex": { + "compilation_config_dict": { + "cudagraph_mode": "FULL_DECODE_ONLY", + "level": 0 + }, + }, + "kxpu": { + "compilation_config_dict": { + "splitting_ops": [ + "vllm.unified_attention", "vllm.unified_attention_with_output", + "vllm.unified_attention_with_output_kunlun", "vllm.mamba_mixer2", + "vllm.mamba_mixer", "vllm.short_conv", "vllm.linear_attention", + "vllm.plamo2_mamba_mixer", "vllm.gdn_attention", "vllm.sparse_attn_indexer" + ] + }, + "block_size": 128, + "dtype": "float16", + "distributed_executor_backend": "mp", + "enable_chunked_prefill": False, + "enable_prefix_caching": False, + }, + } + + return DEVICE_CONFIGS.get(device_type.lower()) + + +def _check_server_arg_exists(args: list, arg_name: str) -> bool: + """检查命令行参数列表中是否已存在指定参数""" + return any(arg == f"--{arg_name}" or arg.startswith(f"--{arg_name}=") for arg in args) + + +def _add_server_arg_if_missing(args: list, arg_name: str, value: str) -> None: + """如果参数不存在,则添加到命令行参数列表""" + if not _check_server_arg_exists(args, arg_name): + args.extend([f"--{arg_name}", value]) + + +def _add_server_flag_if_missing(args: list, flag_name: str) -> None: + """如果 flag 不存在,则添加到命令行参数列表""" + if not _check_server_arg_exists(args, flag_name): + args.append(f"--{flag_name}") + + +def _add_engine_kwarg_if_missing(kwargs: dict, key: str, value) -> None: + """如果参数不存在,则添加到 kwargs 字典""" + if key not in kwargs: + kwargs[key] = value + + +def mod_kwargs_by_device_type(kwargs_or_args: dict | list, vllm_mode: str) -> dict | list: + """根据设备类型修改 vllm 配置参数 + + Args: + kwargs_or_args: 配置参数,server 模式为 list,engine 模式为 dict + vllm_mode: vllm 运行模式 ("server", "sync_engine", "async_engine") + + Returns: + 修改后的配置参数 + """ + device_type = os.getenv("MINERU_VLLM_DEVICE", "") + config = _get_device_config(device_type) + + if config is None: + return kwargs_or_args + + if vllm_mode == "server": + _apply_server_config(kwargs_or_args, config) + else: + _apply_engine_config(kwargs_or_args, config, vllm_mode) + + return kwargs_or_args + + +def _apply_server_config(args: list, config: dict) -> None: + """应用 server 模式的配置""" + import json + + for key, value in config.items(): + if key == "compilation_config_dict": + _add_server_arg_if_missing( + args, "compilation-config", + json.dumps(value, separators=(',', ':')) + ) + else: + # 转换 key 格式: block_size -> block-size + arg_name = key.replace("_", "-") + if arg_name in {"enable-chunked-prefill", "enable-prefix-caching"} and value is False: + _add_server_flag_if_missing(args, f"no-{arg_name}") + continue + _add_server_arg_if_missing(args, arg_name, str(value)) + + +def _apply_engine_config(kwargs: dict, config: dict, vllm_mode: str) -> None: + """应用 engine 模式的配置""" + try: + from vllm.config import CompilationConfig + except ImportError: + raise ImportError("Please install vllm to use the vllm-async-engine backend.") + + for key, value in config.items(): + if key == "compilation_config_dict": + if vllm_mode == "sync_engine": + compilation_config = value + elif vllm_mode == "async_engine": + compilation_config = CompilationConfig(**value) + else: + continue + _add_engine_kwarg_if_missing(kwargs, "compilation_config", compilation_config) + else: + _add_engine_kwarg_if_missing(kwargs, key, value) diff --git a/mineru/backend/vlm/vlm_analyze.py b/mineru/backend/vlm/vlm_analyze.py index 6c0e6d3..e66658e 100644 --- a/mineru/backend/vlm/vlm_analyze.py +++ b/mineru/backend/vlm/vlm_analyze.py @@ -1,11 +1,12 @@ # Copyright (c) Opendatalab. All rights reserved. import os import time +import json from loguru import logger from .utils import enable_custom_logits_processors, set_default_gpu_memory_utilization, set_default_batch_size, \ - set_lmdeploy_backend + set_lmdeploy_backend, mod_kwargs_by_device_type from .model_output_to_middle_json import result_to_middle_json from ...data.data_reader_writer import DataWriter from mineru.utils.pdf_image_tools import load_images_from_pdf @@ -99,6 +100,17 @@ class ModelSingleton: import vllm except ImportError: raise ImportError("Please install vllm to use the vllm-engine backend.") + + kwargs = mod_kwargs_by_device_type(kwargs, vllm_mode="sync_engine") + + if "compilation_config" in kwargs: + if isinstance(kwargs["compilation_config"], str): + try: + kwargs["compilation_config"] = json.loads(kwargs["compilation_config"]) + except json.JSONDecodeError: + logger.warning( + f"Failed to parse compilation_config as JSON: {kwargs['compilation_config']}") + del kwargs["compilation_config"] if "gpu_memory_utilization" not in kwargs: kwargs["gpu_memory_utilization"] = set_default_gpu_memory_utilization() if "model" not in kwargs: @@ -110,11 +122,27 @@ class ModelSingleton: vllm_llm = vllm.LLM(**kwargs) elif backend == "vllm-async-engine": try: - import inspect from vllm.engine.arg_utils import AsyncEngineArgs from vllm.v1.engine.async_llm import AsyncLLM + from vllm.config import CompilationConfig except ImportError: raise ImportError("Please install vllm to use the vllm-async-engine backend.") + + kwargs = mod_kwargs_by_device_type(kwargs, vllm_mode="async_engine") + + if "compilation_config" in kwargs: + if isinstance(kwargs["compilation_config"], dict): + # 如果是字典,转换为 CompilationConfig 对象 + kwargs["compilation_config"] = CompilationConfig(**kwargs["compilation_config"]) + elif isinstance(kwargs["compilation_config"], str): + # 如果是 JSON 字符串,先解析再转换 + try: + config_dict = json.loads(kwargs["compilation_config"]) + kwargs["compilation_config"] = CompilationConfig(**config_dict) + except (json.JSONDecodeError, TypeError) as e: + logger.warning( + f"Failed to parse compilation_config: {kwargs['compilation_config']}, error: {e}") + del kwargs["compilation_config"] if "gpu_memory_utilization" not in kwargs: kwargs["gpu_memory_utilization"] = set_default_gpu_memory_utilization() if "model" not in kwargs: @@ -123,8 +151,6 @@ class ModelSingleton: from mineru_vl_utils import MinerULogitsProcessor kwargs["logits_processors"] = [MinerULogitsProcessor] # 使用kwargs为 vllm初始化参数 - supported_args = set(inspect.signature(AsyncEngineArgs).parameters) - kwargs = {k: v for k, v in kwargs.items() if k in supported_args} vllm_async_llm = AsyncLLM.from_engine_args(AsyncEngineArgs(**kwargs)) elif backend == "lmdeploy-engine": try: diff --git a/mineru/backend/vlm/vlm_magic_model.py b/mineru/backend/vlm/vlm_magic_model.py index a4a17ad..ee96f56 100644 --- a/mineru/backend/vlm/vlm_magic_model.py +++ b/mineru/backend/vlm/vlm_magic_model.py @@ -349,7 +349,8 @@ def __tie_up_category_by_index(blocks, subject_block_type, object_block_type): # 调用通用方法 return tie_up_category_by_index( get_subjects, - get_objects + get_objects, + object_block_type=object_block_type ) diff --git a/mineru/backend/vlm/vlm_middle_json_mkcontent.py b/mineru/backend/vlm/vlm_middle_json_mkcontent.py index c081cd6..4c0ef9c 100644 --- a/mineru/backend/vlm/vlm_middle_json_mkcontent.py +++ b/mineru/backend/vlm/vlm_middle_json_mkcontent.py @@ -651,8 +651,8 @@ def union_make(pdf_info_dict: list, def get_title_level(block): title_level = block.get('level', 1) - if title_level > 4: - title_level = 4 + if title_level > 6: + title_level = 6 elif title_level < 1: title_level = 0 return title_level diff --git a/mineru/cli/fast_api.py b/mineru/cli/fast_api.py index 4c333a8..f697f99 100644 --- a/mineru/cli/fast_api.py +++ b/mineru/cli/fast_api.py @@ -14,10 +14,11 @@ import urllib.request import urllib.error from pathlib import Path import glob +import shutil os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "expandable_segments:True") -from fastapi import Depends, FastAPI, HTTPException, UploadFile, File, Form, APIRouter, Header +from fastapi import BackgroundTasks, Depends, FastAPI, HTTPException, UploadFile, File, Form, APIRouter, Header from pydantic import BaseModel from fastapi.middleware.gzip import GZipMiddleware from fastapi.middleware.cors import CORSMiddleware @@ -338,7 +339,9 @@ def sanitize_filename(filename: str) -> str: def cleanup_file(file_path: str) -> None: try: - if os.path.exists(file_path): + if os.path.isdir(file_path): + shutil.rmtree(file_path) + elif os.path.exists(file_path): os.remove(file_path) except Exception as e: logger.warning(f"fail clean file {file_path}: {e}") @@ -359,6 +362,7 @@ def get_infer_result(file_suffix_identifier: str, pdf_name: str, parse_dir: str) # --- 创建 API 路由组 --- api_router = APIRouter(prefix="/api") +parser_router = APIRouter() class MindmapLlmConfig(BaseModel): @@ -418,7 +422,7 @@ DEFAULT_MINDMAP_ORGANIZE_PROMPT = """你是文档结构整理助手。请基于 3. 保留原文语言:英文内容输出英文,中文内容输出中文,多语言内容按原文语言分别保留。 4. 不要编造原文没有的信息。 5. 保留关键数字、公式、专有名词、步骤和结论。 -6. 最大层级不超过 4 层。 +6. 最大层级不超过 6 层。 7. 每个父节点下最多 8 个子节点。 8. 节点标题尽量简短,正文说明使用短句列表。 9. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。""" @@ -430,7 +434,7 @@ MINDMAP_MERGE_PROMPT = """你是 Markdown 思维导图结构校对助手。下 2. 只检查和调整标题层级结构、顺序、重复标题和父子关系。 3. 不要重新总结正文,不要扩写内容,不要新增原文没有的信息。 4. 保留各局部大纲中的源语言:英文保持英文,中文保持中文,多语言分别保留。 -5. 最大层级不超过 4 层。 +5. 最大层级不超过 6 层。 6. 每个父节点下最多 8 个子节点,必要时只合并相近标题。 7. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。""" @@ -792,7 +796,9 @@ async def get_mindmap_progress(task_id: str): @api_router.post(path="/file_parse", dependencies=[Depends(limit_concurrency)]) +@parser_router.post(path="/file_parse", dependencies=[Depends(limit_concurrency)]) async def parse_pdf( + background_tasks: BackgroundTasks, files: List[UploadFile] = File(..., description="Upload pdf, image, or Word files for parsing"), output_dir: str = Form("./output", description="Output local directory"), lang_list: List[str] = Form(["ch"]), @@ -814,7 +820,7 @@ async def parse_pdf( ): # 从 app 实例状态中获取配置 (FastAPI 实例会在下方创建) from fastapi import Request - config = getattr(app.state, "config", {}) + config = dict(getattr(app.state, "config", {})) # 初始化进度跟踪 task_id = x_task_id or form_task_id or str(uuid.uuid4()) @@ -831,13 +837,14 @@ async def parse_pdf( try: unique_dir = os.path.join(output_dir, str(uuid.uuid4())) os.makedirs(unique_dir, exist_ok=True) + background_tasks.add_task(cleanup_file, unique_dir) pdf_file_names = [] pdf_bytes_list = [] for file in files: content = await file.read() - file_path = Path(file.filename) + file_path = Path((file.filename or 'document.pdf').replace('\\', '/').rsplit('/', 1)[-1]) temp_path = Path(unique_dir) / file_path.name with open(temp_path, "wb") as f: f.write(content) @@ -847,7 +854,10 @@ async def parse_pdf( try: pdf_bytes = read_fn(temp_path) pdf_bytes_list.append(pdf_bytes) - pdf_file_names.append(file_path.stem) + name = sanitize_filename(file_path.stem) + if name in pdf_file_names: + name = f"{name}_{len(pdf_file_names) + 1}" + pdf_file_names.append(name) os.remove(temp_path) except Exception as e: return JSONResponse(status_code=400, content={"error": f"Failed to load file: {str(e)}"}) @@ -922,13 +932,22 @@ async def parse_pdf( path = os.path.join(p_dir, f"{pdf_name}.md") if os.path.exists(path): zf.write(path, arcname=os.path.join(safe_pdf_name, f"{safe_pdf_name}.md")) + for enabled, suffix in ( + (return_middle_json, '_middle.json'), + (return_model_output, '_model.json'), + (return_content_list, '_content_list.json'), + ): + path = os.path.join(p_dir, pdf_name + suffix) + if enabled and os.path.exists(path): + zf.write(path, arcname=os.path.join(safe_pdf_name, safe_pdf_name + suffix)) if return_images: images_dir = os.path.join(p_dir, "images") for img in glob.glob(os.path.join(glob.escape(images_dir), "*.jpg")): zf.write(img, arcname=os.path.join(safe_pdf_name, "images", os.path.basename(img))) + background_tasks.add_task(cleanup_file, zip_path) return FileResponse(path=zip_path, media_type="application/zip", filename="results.zip", - background=BackgroundTask(cleanup_file, zip_path)) + background=background_tasks) else: result_dict = {} for pdf_name in pdf_file_names: @@ -943,6 +962,13 @@ async def parse_pdf( if os.path.exists(p_dir): if return_md: data["md_content"] = get_infer_result(".md", pdf_name, p_dir) + for enabled, key, suffix in ( + (return_middle_json, 'middle_json', '_middle.json'), + (return_model_output, 'model_output', '_model.json'), + (return_content_list, 'content_list', '_content_list.json'), + ): + if enabled: + data[key] = get_infer_result(suffix, pdf_name, p_dir) if return_images: img_dir = os.path.join(p_dir, "images") data["images"] = {os.path.basename(p): f"data:image/jpeg;base64,{encode_image(p)}" @@ -978,7 +1004,7 @@ def create_app(): global _request_semaphore try: - mcr = int(os.getenv("MINERU_API_MAX_CONCURRENT_REQUESTS", "0")) + mcr = int(os.getenv("MINERU_API_MAX_CONCURRENT_REQUESTS", "1")) if mcr > 0: _request_semaphore = asyncio.Semaphore(mcr) logger.info(f"Concurrency limited to {mcr}") @@ -991,11 +1017,12 @@ def create_app(): # 1. 首先挂载 API 路由组 (处理所有 /api/* 请求) app.include_router(api_router) + app.include_router(parser_router) # 2. 根路径重定向或特定处理 (可选) @app.get("/health") async def health(): - return {"status": "ok"} + return {"status": "ok", "version": __version__} # 3. 最后挂载静态文件服务 (处理剩下的所有请求,如 /, /index.html, /assets/*) static_dir = Path(__file__).parent / "static" / "web" @@ -1018,12 +1045,19 @@ app = create_app() @click.option('--reload', is_flag=True) def main(ctx, host, port, reload, **kwargs): kwargs.update(arg_parse(ctx)) + utilization = os.getenv('MINERU_GPU_MEMORY_UTILIZATION') + if utilization is not None: + utilization = float(utilization) + if not 0 < utilization <= 1: + raise click.BadParameter('MINERU_GPU_MEMORY_UTILIZATION must be greater than 0 and at most 1') + kwargs.setdefault('gpu_memory_utilization', utilization) app.state.config = kwargs - mcr = str(kwargs.get("mineru_api_max_concurrent_requests", "0") or "0") - os.environ["MINERU_API_MAX_CONCURRENT_REQUESTS"] = mcr - - uvicorn.run("mineru.cli.fast_api:app", host=host, port=port, reload=reload) + mcr = int(kwargs.pop('mineru_api_max_concurrent_requests', os.getenv('MINERU_API_MAX_CONCURRENT_REQUESTS', '1'))) + os.environ['MINERU_API_MAX_CONCURRENT_REQUESTS'] = str(mcr) + global _request_semaphore + _request_semaphore = asyncio.Semaphore(mcr) if mcr > 0 else None + uvicorn.run('mineru.cli.fast_api:app' if reload else app, host=host, port=port, reload=reload) if __name__ == "__main__": diff --git a/mineru/cli/static/web/assets/index-CxJ0NebI.css b/mineru/cli/static/web/assets/index-CxJ0NebI.css new file mode 100644 index 0000000..f365964 --- /dev/null +++ b/mineru/cli/static/web/assets/index-CxJ0NebI.css @@ -0,0 +1 @@ +:root{--el-color-white:#fff;--el-color-black:#000;--el-color-primary-rgb:64, 158, 255;--el-color-success-rgb:103, 194, 58;--el-color-warning-rgb:230, 162, 60;--el-color-danger-rgb:245, 108, 108;--el-color-error-rgb:245, 108, 108;--el-color-info-rgb:144, 147, 153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#fff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#fff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#fff;--el-box-shadow:0px 12px 32px 4px #0000000a, 0px 8px 20px #00000014;--el-box-shadow-light:0px 0px 12px #0000001f;--el-box-shadow-lighter:0px 0px 6px #0000001f;--el-box-shadow-dark:0px 16px 48px 16px #00000014, 0px 12px 32px #0000001f, 0px 8px 16px -8px #00000029;--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:#000c;--el-overlay-color-light:#000000b3;--el-overlay-color-lighter:#00000080;--el-mask-color:#ffffffe6;--el-mask-color-extra-light:#ffffff4d;--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;fill:currentColor;width:1em;height:1em;color:var(--color);line-height:1em;font-size:inherit;justify-content:center;align-items:center;display:inline-flex;position:relative}.el-icon.is-loading{animation:2s linear infinite rotating}.el-icon svg{width:1em;height:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);background-color:var(--el-color-white);opacity:1;transition:opacity var(--el-transition-duration-fast);align-items:center;margin:0;display:flex;position:relative;overflow:hidden}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-primary)}.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{flex-direction:column;gap:4px;display:flex}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size);margin-right:8px}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size);margin-right:12px}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;cursor:pointer;position:absolute;top:12px;right:16px}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;width:var(--el-aside-width,300px);flex-shrink:0;overflow:auto}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;width:var(--el-input-width);display:inline-block;position:relative}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{cursor:pointer;color:var(--el-text-color-regular);line-height:34px;font-size:var(--el-font-size-base);text-align:left;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:0 20px;list-style:none;overflow:hidden}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{cursor:default;height:100px;color:var(--el-text-color-secondary);justify-content:center;align-items:center;font-size:20px;display:flex}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size:40px;--el-avatar-size-small:24px;box-sizing:border-box;text-align:center;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size);outline:none;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.el-avatar>img{width:100%;height:100%;display:block}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);background-color:var(--el-backtop-bg-color);width:40px;height:40px;color:var(--el-backtop-text-color);box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5;border-radius:50%;justify-content:center;align-items:center;font-size:20px;display:flex;position:fixed}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;vertical-align:middle;width:-moz-fit-content;width:fit-content;display:inline-block;position:relative}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);font-size:var(--el-badge-font-size);height:var(--el-badge-size);padding:0 var(--el-badge-padding);white-space:nowrap;border:1px solid var(--el-bg-color);justify-content:center;align-items:center;display:inline-flex}.el-badge__content.is-fixed{top:0;right:calc(1px + var(--el-badge-size) / 2);z-index:var(--el-index-normal);position:absolute;transform:translateY(-50%)translate(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;width:8px;height:8px;padding:0;right:0}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);margin:0 9px;font-weight:700}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;align-items:center;display:inline-flex}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{transition:var(--el-transition-color);color:var(--el-text-color-primary);font-weight:700;text-decoration:none}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:before,.el-breadcrumb:after{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active,.el-button-group>.el-button.is-active{z-index:1}.el-button-group--horizontal{vertical-align:middle;display:inline-block}.el-button-group--horizontal:before,.el-button-group--horizontal:after{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--vertical{flex-direction:column;align-items:stretch;display:inline-flex}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:#ffffff80;--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);white-space:nowrap;cursor:pointer;height:32px;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;line-height:1;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);outline:none;justify-content:center;align-items:center;transition:all .1s;display:inline-flex}.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:none}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset,outline}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base);padding:8px 15px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";border-radius:inherit;background-color:var(--el-mask-color-extra-light);position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-dashed{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary);border-style:dashed}.el-button.is-circle{border-radius:50%;width:32px;padding:8px}.el-button.is-text{color:var(--el-button-text-color);background-color:#0000;border:0 solid #0000}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset,outline}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{color:var(--el-button-text-color);background:0 0;border-color:#0000;height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important;border-color:#0000!important}.el-button.is-link:not(.is-disabled):hover{background-color:#0000;border-color:#0000}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);background-color:#0000;border-color:#0000}.el-button--text{color:var(--el-color-primary);background:0 0;border-color:#0000;padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important;border-color:#0000!important}.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);background-color:#0000;border-color:#0000}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);background-color:#0000;border-color:#0000}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text,.el-button--primary.is-link{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:hover,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--primary.is-dashed{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-text-color:var(--el-color-primary-dark-2);--el-button-active-bg-color:var(--el-color-primary-light-9);--el-button-active-border-color:var(--el-color-primary-dark-2)}.el-button--primary.is-dashed.is-disabled,.el-button--primary.is-dashed.is-disabled:hover,.el-button--primary.is-dashed.is-disabled:focus,.el-button--primary.is-dashed.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text,.el-button--success.is-link{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:hover,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:active,.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--success.is-dashed{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-success);--el-button-hover-bg-color:var(--el-color-success-light-9);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-text-color:var(--el-color-success-dark-2);--el-button-active-bg-color:var(--el-color-success-light-9);--el-button-active-border-color:var(--el-color-success-dark-2)}.el-button--success.is-dashed.is-disabled,.el-button--success.is-dashed.is-disabled:hover,.el-button--success.is-dashed.is-disabled:focus,.el-button--success.is-dashed.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text,.el-button--warning.is-link{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:hover,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--warning.is-dashed{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-warning);--el-button-hover-bg-color:var(--el-color-warning-light-9);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-text-color:var(--el-color-warning-dark-2);--el-button-active-bg-color:var(--el-color-warning-light-9);--el-button-active-border-color:var(--el-color-warning-dark-2)}.el-button--warning.is-dashed.is-disabled,.el-button--warning.is-dashed.is-disabled:hover,.el-button--warning.is-dashed.is-disabled:focus,.el-button--warning.is-dashed.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text,.el-button--danger.is-link{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:hover,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--danger.is-dashed{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-danger);--el-button-hover-bg-color:var(--el-color-danger-light-9);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-text-color:var(--el-color-danger-dark-2);--el-button-active-bg-color:var(--el-color-danger-light-9);--el-button-active-border-color:var(--el-color-danger-dark-2)}.el-button--danger.is-dashed.is-disabled,.el-button--danger.is-dashed.is-disabled:hover,.el-button--danger.is-dashed.is-disabled:focus,.el-button--danger.is-dashed.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text,.el-button--info.is-link{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:hover,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:active,.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--info.is-dashed{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-info);--el-button-hover-bg-color:var(--el-color-info-light-9);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-text-color:var(--el-color-info-dark-2);--el-button-active-bg-color:var(--el-color-info-light-9);--el-button-active-border-color:var(--el-color-info-dark-2)}.el-button--info.is-dashed.is-disabled,.el-button--info.is-dashed.is-disabled:hover,.el-button--info.is-dashed.is-disabled:focus,.el-button--info.is-dashed.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:5px 11px;font-size:12px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);justify-content:space-between;padding:12px 20px;display:flex}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);padding:12px 0;font-weight:400}.el-calendar-table:not(.is-range) td.prev,.el-calendar-table:not(.is-range) td.next{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);color:var(--el-text-color-primary);transition:var(--el-transition-duration);flex-direction:column;display:flex;overflow:hidden}.el-card.is-always-shadow,.el-card.is-hover-shadow:hover,.el-card.is-hover-shadow:focus{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding);flex-grow:1;overflow:auto}.el-card__footer{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-top:1px solid var(--el-card-border-color);box-sizing:border-box}.el-carousel__item{width:100%;height:100%;z-index:calc(var(--el-index-normal) - 1);display:inline-block;position:absolute;top:0;left:0;overflow:hidden}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage:hover .el-carousel__mask,.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{width:100%;height:50%}.el-carousel__mask{background-color:var(--el-color-white);opacity:.24;width:100%;height:100%;transition:var(--el-transition-duration-fast);position:absolute;top:0;left:0}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:#1f2d3d1c;--el-carousel-arrow-hover-background:#1f2d3d3b;--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel.is-vertical-outside{flex-direction:row;align-items:center;display:flex}.el-carousel.is-vertical-outside .el-carousel__container{flex:1}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);background-color:var(--el-carousel-arrow-background);color:#fff;z-index:10;text-align:center;font-size:var(--el-carousel-arrow-font-size);border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{z-index:calc(var(--el-index-normal) + 1);margin:0;padding:0;list-style:none;position:absolute}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{top:50%;right:0;transform:translateY(-50%)}.el-carousel__indicators--outside{text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels .el-carousel__button{color:#000;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{cursor:pointer;background-color:#0000}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal);display:inline-block}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width) / 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);cursor:pointer;transition:var(--el-transition-duration);background-color:#fff;border:none;outline:none;margin:0;padding:0;display:block}.el-carousel__indicators--labels .el-carousel__button{width:auto;height:auto}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%)translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%)translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);width:-moz-fit-content;width:fit-content;font-size:var(--el-cascader-menu-font-size);display:flex}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{box-sizing:border-box;min-width:180px;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;min-height:100%;margin:0;padding:6px 0;list-style:none;position:relative}.el-cascader-menu__hover-zone{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.el-cascader-menu__empty-text{color:var(--el-cascader-color-empty);align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{outline:none;align-items:center;height:34px;padding:0 30px 0 20px;line-height:34px;display:flex;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-selectable.in-checked-path,.el-cascader-node.is-active{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):hover,.el-cascader-node:not(.is-disabled):focus{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;padding:0 8px;overflow:hidden}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);vertical-align:middle;font-size:var(--el-font-size-base);outline:none;line-height:32px;display:inline-block;position:relative}.el-cascader:not(.is-disabled):hover .el-input__wrapper{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{text-align:left;box-sizing:border-box;flex-wrap:wrap;gap:6px;padding:4px;line-height:normal;display:flex;position:absolute;top:50%;left:0;right:30px;transform:translateY(-50%)}.el-cascader__tags .el-tag{text-overflow:ellipsis;background:var(--el-cascader-tag-background);align-items:center;max-width:100%;display:inline-flex}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{text-overflow:ellipsis;flex:1;line-height:normal;overflow:hidden}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{text-overflow:ellipsis;background:var(--el-fill-color);align-items:center;max-width:100%;display:inline-flex}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{text-overflow:ellipsis;flex:1;line-height:normal;overflow:hidden}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center;margin:0;padding:6px 0}.el-cascader__suggestion-item{text-align:left;cursor:pointer;outline:none;justify-content:space-between;align-items:center;height:34px;padding:0 15px;display:flex}.el-cascader__suggestion-item:hover,.el-cascader__suggestion-item:focus{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{min-width:60px;height:24px;color:var(--el-cascader-menu-text-color);box-sizing:border-box;background:0 0;border:none;outline:none;flex:1;margin-left:7px;padding:0}.el-cascader__search-input::placeholder{color:#0000}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);transition:var(--el-transition-all);padding:7px 15px;font-weight:700;display:inline-block}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{background-color:var(--el-color-success-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{background-color:var(--el-color-warning-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{background-color:var(--el-color-danger-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{background-color:var(--el-color-error-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);--el-checkbox-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;position:relative}.el-checkbox-button__inner{line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;z-index:-1;outline:none;margin:0;position:absolute}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button.is-disabled.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-disabled-checked-fill)}.el-checkbox-button:first-child .el-checkbox-button__inner{border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;height:var(--el-checkbox-height,32px);align-items:center;margin-right:30px;display:inline-flex;position:relative}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color);will-change:transform}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%)rotate(45deg)scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";background-color:var(--el-checkbox-checked-icon-color);height:2px;display:block;position:absolute;top:5px;left:0;right:0;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);display:inline-block;position:relative}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";transform-origin:50%;border:1px solid #0000;border-top:0;border-left:0;width:3px;height:7px;transition:transform .15s ease-in 50ms;position:absolute;top:50%;left:50%;transform:translate(-45%,-60%)rotate(45deg)scaleY(0)}.el-checkbox__original{opacity:0;z-index:-1;outline:none;width:0;height:0;margin:0;position:absolute}.el-checkbox__label{line-height:1;font-size:var(--el-checkbox-font-size);padding-left:8px;display:inline-block}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{min-height:1px;display:block}.el-col-0{flex:0 0;max-width:0%;display:none}.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{position:relative;right:4.16667%}.el-col-push-1{position:relative;left:4.16667%}.el-col-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{position:relative;right:8.33333%}.el-col-push-2{position:relative;left:8.33333%}.el-col-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6667%}.el-col-pull-4{position:relative;right:16.6667%}.el-col-push-4{position:relative;left:16.6667%}.el-col-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333%}.el-col-pull-5{position:relative;right:20.8333%}.el-col-push-5{position:relative;left:20.8333%}.el-col-6{flex:0 0 25%;max-width:25%;display:block}.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1667%}.el-col-pull-7{position:relative;right:29.1667%}.el-col-push-7{position:relative;left:29.1667%}.el-col-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333%}.el-col-pull-8{position:relative;right:33.3333%}.el-col-push-8{position:relative;left:33.3333%}.el-col-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6667%}.el-col-pull-10{position:relative;right:41.6667%}.el-col-push-10{position:relative;left:41.6667%}.el-col-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333%}.el-col-pull-11{position:relative;right:45.8333%}.el-col-push-11{position:relative;left:45.8333%}.el-col-12{flex:0 0 50%;max-width:50%;display:block}.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1667%}.el-col-pull-13{position:relative;right:54.1667%}.el-col-push-13{position:relative;left:54.1667%}.el-col-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333%}.el-col-pull-14{position:relative;right:58.3333%}.el-col-push-14{position:relative;left:58.3333%}.el-col-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6667%}.el-col-pull-16{position:relative;right:66.6667%}.el-col-push-16{position:relative;left:66.6667%}.el-col-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333%}.el-col-pull-17{position:relative;right:70.8333%}.el-col-push-17{position:relative;left:70.8333%}.el-col-18{flex:0 0 75%;max-width:75%;display:block}.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1667%}.el-col-pull-19{position:relative;right:79.1667%}.el-col-push-19{position:relative;left:79.1667%}.el-col-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333%}.el-col-pull-20{position:relative;right:83.3333%}.el-col-push-20{position:relative;left:83.3333%}.el-col-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6667%}.el-col-pull-22{position:relative;right:91.6667%}.el-col-push-22{position:relative;left:91.6667%}.el-col-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333%}.el-col-pull-23{position:relative;right:95.8333%}.el-col-push-23{position:relative;left:95.8333%}.el-col-24{flex:0 0 100%;max-width:100%;display:block}.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{flex:0 0;max-width:0%;display:none}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6667%}.el-col-xs-pull-4{position:relative;right:16.6667%}.el-col-xs-push-4{position:relative;left:16.6667%}.el-col-xs-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333%}.el-col-xs-pull-5{position:relative;right:20.8333%}.el-col-xs-push-5{position:relative;left:20.8333%}.el-col-xs-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1667%}.el-col-xs-pull-7{position:relative;right:29.1667%}.el-col-xs-push-7{position:relative;left:29.1667%}.el-col-xs-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333%}.el-col-xs-pull-8{position:relative;right:33.3333%}.el-col-xs-push-8{position:relative;left:33.3333%}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6667%}.el-col-xs-pull-10{position:relative;right:41.6667%}.el-col-xs-push-10{position:relative;left:41.6667%}.el-col-xs-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333%}.el-col-xs-pull-11{position:relative;right:45.8333%}.el-col-xs-push-11{position:relative;left:45.8333%}.el-col-xs-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1667%}.el-col-xs-pull-13{position:relative;right:54.1667%}.el-col-xs-push-13{position:relative;left:54.1667%}.el-col-xs-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333%}.el-col-xs-pull-14{position:relative;right:58.3333%}.el-col-xs-push-14{position:relative;left:58.3333%}.el-col-xs-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6667%}.el-col-xs-pull-16{position:relative;right:66.6667%}.el-col-xs-push-16{position:relative;left:66.6667%}.el-col-xs-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333%}.el-col-xs-pull-17{position:relative;right:70.8333%}.el-col-xs-push-17{position:relative;left:70.8333%}.el-col-xs-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1667%}.el-col-xs-pull-19{position:relative;right:79.1667%}.el-col-xs-push-19{position:relative;left:79.1667%}.el-col-xs-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333%}.el-col-xs-pull-20{position:relative;right:83.3333%}.el-col-xs-push-20{position:relative;left:83.3333%}.el-col-xs-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6667%}.el-col-xs-pull-22{position:relative;right:91.6667%}.el-col-xs-push-22{position:relative;left:91.6667%}.el-col-xs-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333%}.el-col-xs-pull-23{position:relative;right:95.8333%}.el-col-xs-push-23{position:relative;left:95.8333%}.el-col-xs-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{flex:0 0;max-width:0%;display:none}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6667%}.el-col-sm-pull-4{position:relative;right:16.6667%}.el-col-sm-push-4{position:relative;left:16.6667%}.el-col-sm-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333%}.el-col-sm-pull-5{position:relative;right:20.8333%}.el-col-sm-push-5{position:relative;left:20.8333%}.el-col-sm-6{flex:0 0 25%;max-width:25%;display:block}.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1667%}.el-col-sm-pull-7{position:relative;right:29.1667%}.el-col-sm-push-7{position:relative;left:29.1667%}.el-col-sm-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333%}.el-col-sm-pull-8{position:relative;right:33.3333%}.el-col-sm-push-8{position:relative;left:33.3333%}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6667%}.el-col-sm-pull-10{position:relative;right:41.6667%}.el-col-sm-push-10{position:relative;left:41.6667%}.el-col-sm-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333%}.el-col-sm-pull-11{position:relative;right:45.8333%}.el-col-sm-push-11{position:relative;left:45.8333%}.el-col-sm-12{flex:0 0 50%;max-width:50%;display:block}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1667%}.el-col-sm-pull-13{position:relative;right:54.1667%}.el-col-sm-push-13{position:relative;left:54.1667%}.el-col-sm-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333%}.el-col-sm-pull-14{position:relative;right:58.3333%}.el-col-sm-push-14{position:relative;left:58.3333%}.el-col-sm-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6667%}.el-col-sm-pull-16{position:relative;right:66.6667%}.el-col-sm-push-16{position:relative;left:66.6667%}.el-col-sm-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333%}.el-col-sm-pull-17{position:relative;right:70.8333%}.el-col-sm-push-17{position:relative;left:70.8333%}.el-col-sm-18{flex:0 0 75%;max-width:75%;display:block}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1667%}.el-col-sm-pull-19{position:relative;right:79.1667%}.el-col-sm-push-19{position:relative;left:79.1667%}.el-col-sm-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333%}.el-col-sm-pull-20{position:relative;right:83.3333%}.el-col-sm-push-20{position:relative;left:83.3333%}.el-col-sm-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6667%}.el-col-sm-pull-22{position:relative;right:91.6667%}.el-col-sm-push-22{position:relative;left:91.6667%}.el-col-sm-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333%}.el-col-sm-pull-23{position:relative;right:95.8333%}.el-col-sm-push-23{position:relative;left:95.8333%}.el-col-sm-24{flex:0 0 100%;max-width:100%;display:block}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{flex:0 0;max-width:0%;display:none}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6667%}.el-col-md-pull-4{position:relative;right:16.6667%}.el-col-md-push-4{position:relative;left:16.6667%}.el-col-md-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333%}.el-col-md-pull-5{position:relative;right:20.8333%}.el-col-md-push-5{position:relative;left:20.8333%}.el-col-md-6{flex:0 0 25%;max-width:25%;display:block}.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1667%}.el-col-md-pull-7{position:relative;right:29.1667%}.el-col-md-push-7{position:relative;left:29.1667%}.el-col-md-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333%}.el-col-md-pull-8{position:relative;right:33.3333%}.el-col-md-push-8{position:relative;left:33.3333%}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6667%}.el-col-md-pull-10{position:relative;right:41.6667%}.el-col-md-push-10{position:relative;left:41.6667%}.el-col-md-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333%}.el-col-md-pull-11{position:relative;right:45.8333%}.el-col-md-push-11{position:relative;left:45.8333%}.el-col-md-12{flex:0 0 50%;max-width:50%;display:block}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1667%}.el-col-md-pull-13{position:relative;right:54.1667%}.el-col-md-push-13{position:relative;left:54.1667%}.el-col-md-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333%}.el-col-md-pull-14{position:relative;right:58.3333%}.el-col-md-push-14{position:relative;left:58.3333%}.el-col-md-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6667%}.el-col-md-pull-16{position:relative;right:66.6667%}.el-col-md-push-16{position:relative;left:66.6667%}.el-col-md-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333%}.el-col-md-pull-17{position:relative;right:70.8333%}.el-col-md-push-17{position:relative;left:70.8333%}.el-col-md-18{flex:0 0 75%;max-width:75%;display:block}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1667%}.el-col-md-pull-19{position:relative;right:79.1667%}.el-col-md-push-19{position:relative;left:79.1667%}.el-col-md-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333%}.el-col-md-pull-20{position:relative;right:83.3333%}.el-col-md-push-20{position:relative;left:83.3333%}.el-col-md-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6667%}.el-col-md-pull-22{position:relative;right:91.6667%}.el-col-md-push-22{position:relative;left:91.6667%}.el-col-md-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333%}.el-col-md-pull-23{position:relative;right:95.8333%}.el-col-md-push-23{position:relative;left:95.8333%}.el-col-md-24{flex:0 0 100%;max-width:100%;display:block}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{flex:0 0;max-width:0%;display:none}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6667%}.el-col-lg-pull-4{position:relative;right:16.6667%}.el-col-lg-push-4{position:relative;left:16.6667%}.el-col-lg-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333%}.el-col-lg-pull-5{position:relative;right:20.8333%}.el-col-lg-push-5{position:relative;left:20.8333%}.el-col-lg-6{flex:0 0 25%;max-width:25%;display:block}.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1667%}.el-col-lg-pull-7{position:relative;right:29.1667%}.el-col-lg-push-7{position:relative;left:29.1667%}.el-col-lg-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333%}.el-col-lg-pull-8{position:relative;right:33.3333%}.el-col-lg-push-8{position:relative;left:33.3333%}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6667%}.el-col-lg-pull-10{position:relative;right:41.6667%}.el-col-lg-push-10{position:relative;left:41.6667%}.el-col-lg-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333%}.el-col-lg-pull-11{position:relative;right:45.8333%}.el-col-lg-push-11{position:relative;left:45.8333%}.el-col-lg-12{flex:0 0 50%;max-width:50%;display:block}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1667%}.el-col-lg-pull-13{position:relative;right:54.1667%}.el-col-lg-push-13{position:relative;left:54.1667%}.el-col-lg-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333%}.el-col-lg-pull-14{position:relative;right:58.3333%}.el-col-lg-push-14{position:relative;left:58.3333%}.el-col-lg-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6667%}.el-col-lg-pull-16{position:relative;right:66.6667%}.el-col-lg-push-16{position:relative;left:66.6667%}.el-col-lg-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333%}.el-col-lg-pull-17{position:relative;right:70.8333%}.el-col-lg-push-17{position:relative;left:70.8333%}.el-col-lg-18{flex:0 0 75%;max-width:75%;display:block}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1667%}.el-col-lg-pull-19{position:relative;right:79.1667%}.el-col-lg-push-19{position:relative;left:79.1667%}.el-col-lg-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333%}.el-col-lg-pull-20{position:relative;right:83.3333%}.el-col-lg-push-20{position:relative;left:83.3333%}.el-col-lg-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6667%}.el-col-lg-pull-22{position:relative;right:91.6667%}.el-col-lg-push-22{position:relative;left:91.6667%}.el-col-lg-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333%}.el-col-lg-pull-23{position:relative;right:95.8333%}.el-col-lg-push-23{position:relative;left:95.8333%}.el-col-lg-24{flex:0 0 100%;max-width:100%;display:block}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{flex:0 0;max-width:0%;display:none}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6667%}.el-col-xl-pull-4{position:relative;right:16.6667%}.el-col-xl-push-4{position:relative;left:16.6667%}.el-col-xl-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333%}.el-col-xl-pull-5{position:relative;right:20.8333%}.el-col-xl-push-5{position:relative;left:20.8333%}.el-col-xl-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1667%}.el-col-xl-pull-7{position:relative;right:29.1667%}.el-col-xl-push-7{position:relative;left:29.1667%}.el-col-xl-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333%}.el-col-xl-pull-8{position:relative;right:33.3333%}.el-col-xl-push-8{position:relative;left:33.3333%}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6667%}.el-col-xl-pull-10{position:relative;right:41.6667%}.el-col-xl-push-10{position:relative;left:41.6667%}.el-col-xl-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333%}.el-col-xl-pull-11{position:relative;right:45.8333%}.el-col-xl-push-11{position:relative;left:45.8333%}.el-col-xl-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1667%}.el-col-xl-pull-13{position:relative;right:54.1667%}.el-col-xl-push-13{position:relative;left:54.1667%}.el-col-xl-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333%}.el-col-xl-pull-14{position:relative;right:58.3333%}.el-col-xl-push-14{position:relative;left:58.3333%}.el-col-xl-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6667%}.el-col-xl-pull-16{position:relative;right:66.6667%}.el-col-xl-push-16{position:relative;left:66.6667%}.el-col-xl-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333%}.el-col-xl-pull-17{position:relative;right:70.8333%}.el-col-xl-push-17{position:relative;left:70.8333%}.el-col-xl-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1667%}.el-col-xl-pull-19{position:relative;right:79.1667%}.el-col-xl-push-19{position:relative;left:79.1667%}.el-col-xl-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333%}.el-col-xl-pull-20{position:relative;right:83.3333%}.el-col-xl-push-20{position:relative;left:83.3333%}.el-col-xl-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6667%}.el-col-xl-pull-22{position:relative;right:91.6667%}.el-col-xl-push-22{position:relative;left:91.6667%}.el-col-xl-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333%}.el-col-xl-pull-23{position:relative;right:95.8333%}.el-col-xl-push-23{position:relative;left:95.8333%}.el-col-xl-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{width:100%;min-height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border:none;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);transition:border-bottom-color var(--el-transition-duration);box-sizing:border-box;outline:none;align-items:center;padding:0;font-weight:500;display:flex}.el-collapse-item__arrow{transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{text-align:left;flex:auto}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:#0000}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color);overflow:hidden}.el-collapse-item__content{font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);padding-bottom:25px;line-height:1.76923}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);box-sizing:content-box;background:var(--el-colorpicker-bg-color);width:300px;padding:12px}.el-color-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{text-align:right;justify-content:space-between;margin-top:12px;display:flex}.el-color-picker-panel__footer .el-input{color:#000;width:160px;font-size:12px;line-height:26px}.el-color-picker-panel.is-disabled .el-color-svpanel,.el-color-picker-panel.is-disabled .el-color-hue-slider{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{width:280px;margin-top:8px;font-size:12px;display:flex}.el-color-predefine__colors{flex-wrap:wrap;flex:1;gap:8px;display:flex}.el-color-predefine__color-selector{border-radius:var(--el-border-radius-base);cursor:pointer;border:none;outline:none;width:20px;height:20px;padding:0;overflow:hidden}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{height:100%;display:flex}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{box-sizing:border-box;float:right;background-color:red;width:280px;height:12px;padding:0 2px;position:relative}.el-color-hue-slider__bar{background:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{cursor:pointer;box-sizing:border-box;border:1px solid var(--el-border-color-lighter);z-index:1;background:#fff;border-radius:1px;width:4px;height:100%;position:absolute;top:0;left:0;box-shadow:0 0 2px #0009}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{width:100%;height:4px;top:0;left:0}.el-color-svpanel{background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#fff0);width:280px;height:180px;position:relative}.el-color-svpanel__cursor{cursor:pointer;border-radius:50%;width:4px;height:4px;position:absolute;transform:translate(-2px,-2px);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{box-sizing:border-box;background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;width:280px;height:12px;position:relative}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,#fff0 0%,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{cursor:pointer;box-sizing:border-box;border:1px solid var(--el-border-color-lighter);z-index:1;background:#fff;border-radius:1px;width:4px;height:100%;position:absolute;top:0;left:0;box-shadow:0 0 2px #0009}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(#fff0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{width:100%;height:4px;top:0;left:0}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333}.el-color-picker{outline:none;width:32px;height:32px;line-height:normal;display:inline-block;position:relative}.el-color-picker:hover:not(:-webkit-any(.is-disabled,.is-focused)) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:hover:not(:is(.is-disabled,.is-focused)) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed;background-color:var(--el-fill-color-light)}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{width:40px;height:40px}.el-color-picker--small{width:24px;height:24px}.el-color-picker--small .el-color-picker__icon,.el-color-picker--small .el-color-picker__empty{transform:scale(.8)}.el-color-picker__trigger{box-sizing:border-box;border:1px solid var(--el-border-color);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;width:100%;height:100%;padding:4px;font-size:0;display:inline-flex;position:relative}.el-color-picker__color{box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);text-align:center;width:100%;height:100%;display:block;position:relative}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{justify-content:center;align-items:center;width:100%;height:100%;display:inline-flex}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{color:#fff;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.el-color-picker__panel{border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light);background-color:#fff}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333}.el-container{box-sizing:border-box;flex-direction:row;flex:auto;min-width:0;display:flex}.el-container.is-vertical{flex-direction:column}.el-date-table{-webkit-user-select:none;user-select:none;font-size:12px}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;text-align:center;cursor:pointer;width:32px;height:30px;padding:4px 0;position:relative}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;width:24px;height:24px;margin:0 auto;line-height:24px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.start-date .el-date-table-cell__text,.el-date-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.start-date .el-date-table-cell,.el-date-table td.end-date .el-date-table-cell{color:#fff}.el-date-table td.start-date .el-date-table-cell__text,.el-date-table td.end-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{color:var(--el-datepicker-header-text-color);border-bottom:solid 1px var(--el-border-color-lighter);padding:5px;font-weight:400}.el-date-table th.el-date-table__week-header{width:24px;padding:0}.el-month-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-month-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.start-date .el-date-table-cell__text,.el-month-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{width:54px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.start-date .el-date-table-cell,.el-month-table td.end-date .el-date-table-cell{color:#fff}.el-month-table td.start-date .el-date-table-cell__text,.el-month-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.start-date .el-date-table-cell__text,.el-year-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{width:60px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.start-date .el-date-table-cell,.el-year-table td.end-date .el-date-table-cell{color:#fff}.el-year-table td.start-date .el-date-table-cell__text,.el-year-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{vertical-align:top;width:50%;max-height:192px;display:inline-block;position:relative;overflow:auto}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);width:100%;z-index:var(--el-index-normal);text-align:center;cursor:pointer;height:30px;font-size:12px;line-height:30px;position:absolute;left:0}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{text-align:center;padding:0}.el-time-spinner__list{text-align:center;margin:0;padding:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";width:100%;height:80px;display:block}.el-time-spinner__item{height:32px;color:var(--el-text-color-regular);font-size:12px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;text-align:left;vertical-align:middle;position:relative}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{height:inherit;color:var(--el-text-color-placeholder);float:left;font-size:14px}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;width:39%;height:30px;line-height:30px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:#0000;border:none;outline:none;margin:0;padding:0;display:inline-block}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{overflow-wrap:break-word;height:100%;color:var(--el-text-color-primary);flex:1;justify-content:center;align-items:center;margin:0;padding:0 5px;font-size:14px;display:inline-flex}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer;font-size:14px}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{vertical-align:middle;align-items:center;padding:0 10px;display:inline-flex}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{height:38px;font-size:14px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{height:22px;font-size:12px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:hover,.el-range-editor.is-disabled:focus{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));line-height:30px}.el-picker-panel .el-time-panel{border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-datepicker-bg-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body:after,.el-picker-panel__body-wrapper:after{content:"";clear:both;display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);text-align:right;background-color:var(--el-datepicker-bg-color);padding:4px 12px;font-size:0;position:relative}.el-picker-panel__shortcut{width:100%;color:var(--el-datepicker-text-color);text-align:left;cursor:pointer;background-color:#0000;border:0;outline:none;padding-left:12px;font-size:14px;line-height:28px;display:block}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{color:var(--el-datepicker-active-color);background-color:#e6f1fe}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);cursor:pointer;background-color:#0000;border-radius:2px;outline:none;padding:0 20px;font-size:12px;line-height:24px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{color:var(--el-datepicker-icon-color);cursor:pointer;background:0 0;border:0;outline:none;margin-top:8px;padding:1px 6px;font-size:12px;line-height:1}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;padding-top:6px;position:absolute;top:0;bottom:0;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-picker__header{text-align:center;padding:12px 12px 0}.el-date-picker__header--bordered{border-bottom:solid 1px var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{text-align:center;padding:10px}.el-date-picker__time-label{float:left;cursor:pointer;margin-left:10px;line-height:30px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{text-align:center;height:28px;position:relative}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{margin-right:50px;font-size:16px;font-weight:500}.el-date-range-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;width:50%;margin:0;padding:16px;display:table-cell}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-range-picker__time-header>.el-icon-arrow-right{vertical-align:middle;color:var(--el-datepicker-icon-color);font-size:20px;display:table-cell}.el-date-range-picker__time-picker-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{z-index:1;background:#fff;position:absolute;top:13px;right:0}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{text-align:center;z-index:1;padding:10px;position:relative}.el-time-range-picker__cell{box-sizing:border-box;width:50%;margin:0;padding:4px 7px 7px;display:inline-block}.el-time-range-picker__header{text-align:center;margin-bottom:5px;font-size:14px}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{width:180px;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box;border-radius:2px;position:relative;left:0}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";z-index:-1;box-sizing:border-box;text-align:left;height:32px;margin-top:-16px;padding-top:6px;position:absolute;top:50%;left:0;right:0}.el-time-panel__content:after{margin-left:12%;margin-right:12%;left:50%}.el-time-panel__content:before{border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));text-align:right;box-sizing:border-box;height:36px;padding:4px;line-height:25px}.el-time-panel__btn{cursor:pointer;color:var(--el-text-color-primary);background-color:#0000;border:none;outline:none;margin:0 5px;padding:0 5px;font-size:12px;line-height:28px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;height:100%;padding-top:6px;position:absolute;top:0;overflow:auto}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-size:14px;line-height:23px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color);position:fixed;top:0;left:0}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;padding:var(--el-dialog-padding-primary);width:var(--el-dialog-width,50%);overflow-wrap:break-word;position:relative}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{margin:0;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size,16px))}.el-dialog__headerbtn{cursor:pointer;width:48px;height:48px;font-size:var(--el-message-close-size,16px);background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{padding-top:var(--el-dialog-padding-primary);text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-20px)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);width:100%;height:1px;margin:24px 0;display:block}.el-divider--vertical{vertical-align:middle;border-left:1px var(--el-border-color) var(--el-border-style);width:1px;height:1em;margin:0 8px;display:inline-block;position:relative}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);padding:0 20px;font-size:14px;font-weight:500;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%)translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-overlay.is-drawer{overflow:hidden}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);--el-drawer-dragger-size:8px;box-sizing:border-box;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);transition:all var(--el-transition-duration);flex-direction:column;display:flex;position:absolute}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{color:var(--el-text-color-primary);padding:var(--el-drawer-padding-primary);align-items:center;margin-bottom:32px;padding-bottom:0;display:flex;overflow:hidden}.el-drawer__header>:first-child{flex:1}.el-drawer__title{line-height:inherit;flex:1;margin:0;font-size:16px}.el-drawer__footer{padding:var(--el-drawer-padding-primary);text-align:right;padding-top:10px;overflow:hidden}.el-drawer__close-btn{cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:#0000;border:none;outline:none;display:inline-flex}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{padding:var(--el-drawer-padding-primary);flex:1;overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;user-select:none;background-color:#0000;transition:all .2s;position:absolute}.el-drawer__dragger:before{content:"";background-color:#0000;transition:all .2s;position:absolute}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{height:100%;width:var(--el-drawer-dragger-size);cursor:ew-resize;top:0;bottom:0}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{width:3px;top:0;bottom:0}.el-drawer.ttb,.el-drawer.btt{width:100%;left:0;right:0}.el-drawer.ttb>.el-drawer__dragger,.el-drawer.btt>.el-drawer__dragger{width:100%;height:var(--el-drawer-dragger-size);cursor:ns-resize;left:0;right:0}.el-drawer.ttb>.el-drawer__dragger:before,.el-drawer.btt>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-from,.el-drawer-fade-enter-active,.el-drawer-fade-enter-to,.el-drawer-fade-leave-from,.el-drawer-fade-leave-active,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:#0000!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);vertical-align:top;line-height:1;display:inline-flex;position:relative}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;margin:0;padding:0;list-style:none}.el-dropdown .el-dropdown__caret-button{border-left:none;justify-content:center;align-items:center;width:32px;padding-left:0;padding-right:0;display:inline-flex}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";background:var(--el-overlay-color-lighter);width:1px;display:block;position:absolute;top:-1px;bottom:-1px;left:0}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{z-index:var(--el-dropdown-menu-index);background-color:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);box-shadow:none;border:none;margin:0;padding:5px 0;list-style:none;position:relative;top:0;left:0}.el-dropdown-menu__item{white-space:nowrap;line-height:22px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none;align-items:center;margin:0;padding:5px 16px;list-style:none;display:flex}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;font-size:14px;line-height:22px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;font-size:12px;line-height:20px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding);flex-direction:column;justify-content:center;align-items:center;display:flex}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;vertical-align:top;object-fit:contain;width:100%;height:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;vertical-align:top;width:100%;height:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{font-size:var(--el-font-size-base);color:var(--el-text-color-secondary);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;padding:var(--el-footer-padding);box-sizing:border-box;height:var(--el-footer-height);flex-shrink:0}.el-form-item{--font-size:14px;margin-bottom:18px;display:flex}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{text-align:left;justify-content:flex-start}.el-form-item--label-right .el-form-item__label{text-align:right;justify-content:flex-end}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{text-align:left;width:-moz-fit-content;width:fit-content;height:auto;margin-bottom:8px;padding-right:0;line-height:22px;display:block}.el-form-item__label-wrap{display:flex}.el-form-item__label{font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);box-sizing:border-box;flex:none;align-items:flex-start;height:32px;padding:0 12px 0 0;line-height:32px;display:inline-flex}.el-form-item__content{line-height:32px;font-size:var(--font-size);flex-wrap:wrap;flex:1;align-items:center;min-width:0;display:flex;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);padding-top:2px;font-size:12px;line-height:1;position:absolute;top:100%;left:0}.el-form-item__error--inline{margin-left:10px;display:inline-block;position:relative;top:auto;left:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px #0000}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{vertical-align:middle;margin-right:32px;display:inline-flex}.el-form--inline.el-form--label-top{flex-wrap:wrap;display:flex}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-header{--el-header-padding:0 20px;--el-header-height:60px;padding:var(--el-header-padding);box-sizing:border-box;height:var(--el-header-height);flex-shrink:0}.el-image-viewer__wrapper{position:fixed;top:0;bottom:0;left:0;right:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{z-index:1;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{width:40px;height:40px;font-size:40px;top:40px;right:40px}.el-image-viewer__canvas{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:static}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;height:44px;padding:0 23px;bottom:30px;left:50%;transform:translate(-50%)}.el-image-viewer__actions__inner{cursor:default;color:#fff;justify-content:space-around;align-items:center;gap:22px;width:100%;height:100%;padding:0 6px;font-size:23px;display:flex}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{cursor:default;color:#fff;bottom:90px;left:50%;transform:translate(-50%)}.el-image-viewer__prev{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;left:40px;transform:translateY(-50%)}.el-image-viewer__next{text-indent:2px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;right:40px;transform:translateY(-50%)}.el-image-viewer__close{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px}.el-image-viewer__mask{opacity:.5;background:#000;width:100%;height:100%;position:absolute;top:0;left:0}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-20px)}}.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{display:inline-block;position:relative;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle;justify-content:center;align-items:center;font-size:14px;display:flex}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;vertical-align:bottom;width:100%;font-size:var(--el-font-size-base);display:inline-block;position:relative}.el-textarea__inner{resize:vertical;box-sizing:border-box;width:100%;line-height:1.5;font-size:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);background-image:none;border:none;padding:5px 11px;font-family:inherit;display:block;position:relative}.el-textarea__inner.is-clearable{padding:5px 26px 5px 11px}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea__clear{color:var(--el-input-icon-color);cursor:pointer;font-size:14px;position:absolute;top:15px;right:11px;transform:translateY(-50%)}.el-textarea__clear:hover{color:var(--el-input-clear-hover-color)}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);font-size:12px;line-height:14px;position:absolute;bottom:5px;right:10px}.el-textarea .el-input__count.is-outside{top:100%;right:0;bottom:unset;background:0 0;padding-top:2px;line-height:1;position:absolute}.el-textarea.is-disabled .el-textarea__inner{box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);font-size:var(--el-font-size-base);width:var(--el-input-width);line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle;display:inline-flex;position:relative}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;color:var(--el-color-info);align-items:center;font-size:12px;display:inline-flex}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;padding-left:8px;display:inline-block}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;top:100%;right:0}.el-input .el-input__count.is-outside .el-input__count-inner{background:0 0;padding-left:0;line-height:1}.el-input__wrapper{background-color:var(--el-input-bg-color,var(--el-fill-color-blank));border-radius:var(--el-input-border-radius,var(--el-border-radius-base));cursor:text;transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;background-image:none;flex-grow:1;justify-content:center;align-items:center;padding:1px 11px;display:inline-flex;transform:translate(0)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height,32px) - 2px)}.el-input__inner{-webkit-appearance:none;width:100%;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);box-sizing:border-box;background:0 0;border:none;outline:none;flex-grow:1;padding:0}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{white-space:nowrap;height:100%;line-height:var(--el-input-inner-height);text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none;flex-wrap:nowrap;flex-shrink:0;display:inline-flex}.el-input__prefix-inner{pointer-events:all;justify-content:center;align-items:center;display:inline-flex}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{white-space:nowrap;height:100%;line-height:var(--el-input-inner-height);text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none;flex-wrap:nowrap;flex-shrink:0;display:inline-flex}.el-input__suffix-inner{pointer-events:all;justify-content:center;align-items:center;display:inline-flex}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;transition:all var(--el-transition-duration);justify-content:center;align-items:center;margin-left:8px;display:flex}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);cursor:not-allowed;box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height,40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height,24px) - 2px)}.el-input-group{align-items:stretch;width:100%;display:inline-flex}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);border-radius:var(--el-input-border-radius);white-space:nowrap;justify-content:center;align-items:center;min-height:100%;padding:0 20px;display:inline-flex;position:relative}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-select,.el-input-group__append .el-button,.el-input-group__prepend .el-select,.el-input-group__prepend .el-button{flex:1;margin:0 -20px;display:inline-block}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{color:inherit;background-color:#0000;border-color:#0000}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append{box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset;border-top-left-radius:0;border-bottom-left-radius:0}.el-input-hidden{display:none!important}.el-input-number{vertical-align:middle;width:150px;line-height:30px;display:inline-flex;position:relative}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__increase,.el-input-number__decrease{z-index:1;background:var(--el-fill-color-light);width:32px;height:auto;color:var(--el-text-color-regular);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-size:13px;display:flex;position:absolute;top:1px;bottom:1px}.el-input-number__increase:hover,.el-input-number__decrease:hover{color:var(--el-color-primary)}.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__increase.is-disabled,.el-input-number__decrease.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border);right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__increase,.el-input-number.is-disabled .el-input-number__decrease{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__increase:hover,.el-input-number.is-disabled .el-input-number__decrease:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__increase,.el-input-number--large .el-input-number__decrease{width:40px;font-size:14px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__increase,.el-input-number--small .el-input-number__decrease{width:24px;font-size:12px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__increase [class*=el-icon],.el-input-number--small .el-input-number__decrease [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__increase,.el-input-number.is-controls-right .el-input-number__decrease{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon],.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border);bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;top:auto;left:auto;right:1px}.el-input-number.is-controls-right[class*=large] [class*=increase],.el-input-number.is-controls-right[class*=large] [class*=decrease]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=increase],.el-input-number.is-controls-right[class*=small] [class*=decrease]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;box-sizing:border-box;cursor:pointer;font-size:var(--el-input-tag-font-size);padding:var(--el-input-tag-padding);width:var(--el-input-tag-width);min-height:var(--el-input-tag-mini-height);line-height:var(--el-input-tag-line-height);border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);transition:var(--el-transition-duration);box-shadow:0 0 0 1px var(--el-border-color) inset;align-items:center;display:flex;transform:translate(0)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix{padding:0 var(--el-input-tag-inner-padding);color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;display:flex}.el-input-tag__suffix{padding:0 var(--el-input-tag-inner-padding);color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;gap:8px;display:flex}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{cursor:pointer;border-color:#0000}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;gap:var(--el-input-tag-gap);flex-wrap:wrap;flex:1;min-width:0;max-width:100%;display:flex;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;user-select:none}.el-input-tag__drop-indicator{width:1px;height:var(--el-input-tag-line-height);background-color:var(--el-color-primary);position:absolute;top:0}.el-input-tag__inner .el-tag{cursor:pointer;border-color:#0000;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:normal;overflow:hidden}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{color:var(--el-input-tag-text-color);font-size:inherit;font-family:inherit;line-height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;outline:none;width:100%;padding:0}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{visibility:hidden;white-space:pre;max-width:100%;position:absolute;top:0;left:0;overflow:hidden}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);vertical-align:middle;cursor:pointer;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color);outline:none;flex-direction:row;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex;position:relative}.el-link.is-hover-underline:hover:after{content:"";border-bottom:1px solid var(--el-link-hover-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link.is-underline:after{content:"";border-bottom:1px solid var(--el-link-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{justify-content:center;align-items:center;display:inline-flex}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{z-index:2000;background-color:var(--el-mask-color);transition:opacity var(--el-transition-duration);margin:0;position:absolute;top:0;bottom:0;left:0;right:0}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size)) / 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size)) / 2);text-align:center;width:100%;position:absolute;top:50%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:2s linear infinite loading-rotate;display:inline}.el-loading-spinner .path{stroke-dasharray:90 150;stroke-dashoffset:0;stroke-width:2px;stroke:var(--el-color-primary);stroke-linecap:round;animation:1.5s ease-in-out infinite loading-dash}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:90 150;stroke-dashoffset:-40px}to{stroke-dasharray:90 150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;padding:var(--el-main-padding);flex:auto;display:block;overflow:auto}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);background-color:var(--el-menu-bg-color);box-sizing:border-box;margin:0;padding-left:0;list-style:none;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{height:var(--el-menu-horizontal-height);border-right:none;flex-wrap:nowrap;display:flex}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000;justify-content:center;align-items:center;margin:0;display:inline-flex}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);color:var(--el-menu-text-color);align-items:center;padding:0 10px;display:flex}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{color:var(--el-menu-active-color,var(--el-menu-hover-text-color));background-color:var(--el-menu-hover-bg-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin:0}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{visibility:hidden;width:0;height:0;display:inline-block;overflow:hidden}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;border-radius:var(--el-border-radius-small);min-width:200px;box-shadow:var(--el-box-shadow-light);border:none;padding:5px 0}.el-menu .el-icon{flex-shrink:0}.el-menu-item{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{width:var(--el-menu-icon-width);text-align:center;vertical-align:middle;margin-right:5px;font-size:18px}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{box-sizing:border-box;width:100%;height:100%;padding:0 var(--el-menu-base-level-padding);align-items:center;display:inline-flex;position:absolute;top:0;left:0}.el-sub-menu{margin:0;padding-left:0;list-style:none}.el-sub-menu__title{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin-right:5px;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{top:50%;right:var(--el-menu-base-level-padding);transition:transform var(--el-transition-duration);width:inherit;margin-top:-6px;margin-right:0;font-size:12px;position:absolute}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);color:var(--el-text-color-secondary);font-size:12px;line-height:normal}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-popper,.el-menu--popup-container,.el-menu{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);max-width:var(--el-messagebox-width);width:100%;padding:var(--el-messagebox-padding-primary);vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-messagebox-box-shadow);text-align:left;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;overflow-wrap:break-word;display:inline-block;position:relative;overflow:hidden}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{text-align:center;padding:16px;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.is-message-box .el-overlay-message-box:after{content:"";vertical-align:middle;width:0;height:100%;display:inline-block}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size,16px))}.el-message-box__title{font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height);color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{width:40px;height:40px;font-size:var(--el-message-close-size,16px);cursor:pointer;background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;gap:12px;display:flex}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{min-width:0;margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{padding-top:var(--el-messagebox-padding-primary);flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.el-message-box--center .el-message-box__title{justify-content:center;align-items:center;gap:6px;display:flex}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width);border-style:var(--el-border-style);border-color:var(--el-message-border-color);background-color:var(--el-message-bg-color);width:max-content;max-width:calc(100% - 32px);transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;padding:var(--el-message-padding);align-items:center;gap:8px;display:flex;position:fixed}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:50%;transform:translate(-50%)}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0}.el-message-fade-enter-from.is-left,.el-message-fade-enter-from.is-right,.el-message-fade-leave-to.is-left,.el-message-fade-leave-to.is-right{transform:translateY(-100%)}.el-message-fade-enter-from.is-left.is-bottom,.el-message-fade-enter-from.is-right.is-bottom,.el-message-fade-leave-to.is-left.is-bottom,.el-message-fade-leave-to.is-right.is-bottom{transform:translateY(100%)}.el-message-fade-enter-from.is-center,.el-message-fade-leave-to.is-center{transform:translate(-50%,-100%)}.el-message-fade-enter-from.is-center.is-bottom,.el-message-fade-leave-to.is-center.is-bottom{transform:translate(-50%,100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:break-word;z-index:9999;display:flex;position:fixed;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{min-width:0;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);flex:1}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);color:var(--el-notification-content-color);margin:6px 0 0;line-height:24px}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size);flex-shrink:0}.el-notification .el-notification__closeBtn{cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size);position:absolute;top:18px;right:15px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{z-index:2000;background-color:var(--el-overlay-color-lighter);height:100%;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);align-items:center;font-weight:400;display:flex}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select{width:128px}.el-pagination .btn-prev,.el-pagination .btn-next{font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box;border:none;justify-content:center;align-items:center;padding:0 4px;display:flex}.el-pagination .btn-prev *,.el-pagination .btn-next *{pointer-events:none}.el-pagination .btn-prev:focus,.el-pagination .btn-next:focus{outline:none}.el-pagination .btn-prev:hover,.el-pagination .btn-next:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-prev.is-active,.el-pagination .btn-next.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-prev.is-active.is-disabled,.el-pagination .btn-next.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-prev:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-next.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-prev .el-icon,.el-pagination .btn-next .el-icon{width:inherit;font-size:12px;font-weight:700;display:block}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);color:var(--el-text-color-regular);font-weight:400}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{margin-left:var(--el-pagination-item-gap);color:var(--el-text-color-regular);align-items:center;font-weight:400;display:flex}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;justify-content:flex-end;align-items:center;display:flex}.el-pagination.is-background .btn-prev,.el-pagination.is-background .btn-next,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .el-pager li:disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-prev,.el-pagination--small .btn-next,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small span:not([class*=suffix]),.el-pagination--small button{font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-prev,.el-pagination--large .btn-next,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{-webkit-user-select:none;user-select:none;align-items:center;margin:0;padding:0;font-size:0;list-style:none;display:flex}.el-pager li{font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box;border:none;justify-content:center;align-items:center;padding:0 4px;display:flex}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li:disabled,.el-pager li.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);min-width:150px;padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);overflow-wrap:break-word;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);margin-bottom:12px;line-height:1}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus:active,.el-popover.el-popper:focus{outline-width:0}.el-progress{align-items:center;line-height:1;display:flex;position:relative}.el-progress__text{color:var(--el-text-color-regular);min-width:50px;margin-left:5px;font-size:14px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{text-align:center;width:100%;margin:0;position:absolute;top:50%;left:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{margin-right:0;padding-right:0;display:block}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);vertical-align:middle;border-radius:100px;height:6px;position:relative;overflow:hidden}.el-progress-bar__inner{background-color:var(--el-color-primary);text-align:right;white-space:nowrap;border-radius:100px;height:100%;line-height:1;transition:width .6s;position:absolute;top:0;left:0}.el-progress-bar__inner:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-progress-bar__inner--indeterminate{animation:3s infinite indeterminate;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,#0000001a 25%,#0000 25%,#0000 50%,#0000001a 50%,#0000001a 75%,#0000 75%,#0000);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:3s linear infinite striped-flow}.el-progress-bar__innerText{vertical-align:middle;color:#fff;margin:0 5px;font-size:12px;display:inline-block}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{flex-wrap:wrap;align-items:center;font-size:0;display:inline-flex}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);cursor:pointer;white-space:nowrap;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;outline:none;align-items:center;height:32px;margin-right:30px;display:inline-flex;position:relative}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{width:12px;height:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;vertical-align:middle;outline:none;display:inline-flex;position:relative}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);transform:translate(-50%,-50%)scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);cursor:pointer;box-sizing:border-box;transition:all .3s;display:inline-block;position:relative}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";width:4px;height:4px;transition:transform .15s ease-in;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.el-radio__original{opacity:0;z-index:-1;outline:none;margin:0;position:absolute;top:0;bottom:0;left:0;right:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);--el-rate-outline-color:var(--el-color-primary-light-5);align-items:center;height:32px;display:inline-flex}.el-rate:focus,.el-rate:active{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset,outline}.el-rate__item{cursor:pointer;vertical-align:middle;color:var(--el-rate-void-color);font-size:0;line-height:normal;display:inline-block;position:relative}.el-rate .el-rate__icon{font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration);display:inline-block;position:relative}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;position:absolute;top:0;left:0;overflow:hidden}.el-rate__decimal--box{position:absolute;top:0;left:0}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{cursor:not-allowed;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;text-align:center;box-sizing:border-box;padding:var(--el-result-padding);flex-direction:column;justify-content:center;align-items:center;display:flex}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);margin:0;line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{font-size:var(--el-font-size-base);color:var(--el-text-color-regular);margin:0;line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;flex-wrap:wrap;display:flex;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;position:relative;overflow:hidden}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));width:0;height:0;transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3);display:block;position:relative}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{z-index:1;border-radius:4px;position:absolute;bottom:2px;right:2px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__loading,.el-select-dropdown__empty{text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;margin:0;padding:6px 0;list-style:none}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{font-size:var(--el-font-size-base);white-space:nowrap;text-overflow:ellipsis;color:var(--el-text-color-regular);box-sizing:border-box;cursor:pointer;height:34px;padding:0 32px 0 20px;line-height:34px;position:relative;overflow:hidden}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed;background-color:unset}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{content:"";background-position:50%;background-repeat:no-repeat;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;border-top:none;border-right:none;width:12px;height:12px;position:absolute;top:50%;right:20px;transform:translateY(-50%);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{margin:0;padding:0;list-style:none;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);text-overflow:ellipsis;white-space:nowrap;padding:0 20px;font-size:12px;line-height:34px;overflow:hidden}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;vertical-align:middle;width:var(--el-select-width);display:inline-block;position:relative}.el-select__wrapper{box-sizing:border-box;cursor:pointer;text-align:left;border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);min-height:32px;transition:var(--el-transition-duration);box-shadow:0 0 0 1px var(--el-border-color) inset;align-items:center;gap:6px;padding:4px 12px;font-size:14px;line-height:24px;display:flex;position:relative;transform:translate(0)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;gap:6px;display:flex}.el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:var(--el-transition-duration);cursor:pointer;transform:rotate(0)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{cursor:pointer;border-color:#0000}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:flex}.el-select__tags-text{text-overflow:ellipsis;white-space:nowrap;line-height:normal;display:block;overflow:hidden}.el-select__placeholder{z-index:-1;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}.el-select__placeholder.is-transparent{-webkit-user-select:none;user-select:none;color:var(--el-text-color-placeholder)}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;z-index:-1;position:absolute}.el-select__input{color:var(--el-select-multiple-input-color);font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;outline:none;width:100%;height:24px;padding:0;font-family:inherit}.el-select__input-calculator{visibility:hidden;white-space:pre;max-width:100%;position:absolute;top:0;left:0;overflow:hidden}.el-select--large .el-select__wrapper{gap:6px;min-height:40px;padding:8px 16px;font-size:14px;line-height:24px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{gap:4px;min-height:24px;padding:2px 8px;font-size:12px;line-height:20px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);width:100%;height:16px;display:inline-block}.el-skeleton__circle{width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);border-radius:50%}.el-skeleton__button{border-radius:4px;width:64px;height:40px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;border-radius:0;justify-content:center;align-items:center;display:flex}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100%}to{background-position:0}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;animation:1.4s infinite el-skeleton-loading}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;width:100%;height:32px;display:flex}.el-slider__runway{height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;position:relative}.el-slider__runway.show-input{width:auto;margin-right:30px}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed;transform:scale(1)}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);z-index:1;top:var(--el-slider-button-wrapper-offset);text-align:center;-webkit-user-select:none;user-select:none;background-color:#0000;outline:none;line-height:normal;position:absolute;transform:translate(-50%)}.el-slider__button-wrapper:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-slider__button-wrapper:hover,.el-slider__button-wrapper.hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none;border-radius:50%;display:inline-block}.el-slider__button:hover,.el-slider__button.hover,.el-slider__button.dragging{transform:scale(1.2)}.el-slider__button:hover,.el-slider__button.hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);position:absolute;transform:translate(-50%)}.el-slider__marks{width:18px;height:100%;top:0;left:12px}.el-slider__marks-text{color:var(--el-color-info);white-space:pre;margin-top:15px;font-size:14px;position:absolute;transform:translate(-50%)}.el-slider.is-vertical{flex:0;width:auto;height:100%;display:inline-flex;position:relative}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);border-radius:0 0 3px 3px;height:auto}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{vertical-align:top;display:inline-flex}.el-space__item{flex-wrap:wrap;display:flex}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{vertical-align:middle;display:inline-block}.el-spinner-inner{width:50px;height:50px;animation:2s linear infinite rotate}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:1.5s ease-in-out infinite dash}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1 150;stroke-dashoffset:0}50%{stroke-dasharray:90 150;stroke-dashoffset:-35px}to{stroke-dasharray:90 150;stroke-dashoffset:-124px}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-grow:0;flex-shrink:0;flex-basis:auto!important}.el-step:last-of-type .el-step__main,.el-step:last-of-type .el-step__description{padding-right:0}.el-step__head{width:100%;position:relative}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{z-index:1;box-sizing:border-box;background:var(--el-bg-color);justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;transition:all .15s ease-out;display:inline-flex;position:relative}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{-webkit-user-select:none;user-select:none;text-align:center;color:inherit;font-weight:700;line-height:1;display:inline-block}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{box-sizing:border-box;border:1px solid;width:0;height:0;transition:all .15s ease-out;display:block}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{margin-top:-5px;padding-right:10%;font-size:12px;font-weight:400;line-height:20px}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{padding-bottom:8px;line-height:24px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{width:auto;padding-right:10px;font-size:0}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8)translateY(1px)}.el-step.is-simple .el-step__main{flex-grow:1;align-items:stretch;display:flex;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{overflow-wrap:break-word;max-width:50%}.el-step.is-simple .el-step__arrow{flex-grow:1;justify-content:center;align-items:center;display:flex}.el-step.is-simple .el-step__arrow:before,.el-step.is-simple .el-step__arrow:after{content:"";background:var(--el-text-color-placeholder);width:1px;height:15px;display:inline-block;position:absolute}.el-step.is-simple .el-step__arrow:before{transform-origin:0 0;transform:rotate(-45deg)translateY(-4px)}.el-step.is-simple .el-step__arrow:after{transform-origin:100% 100%;transform:rotate(45deg)translateY(4px)}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{line-height:normal;display:flex}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);vertical-align:middle;align-items:center;height:32px;font-size:14px;line-height:20px;display:inline-flex;position:relative}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);cursor:pointer;vertical-align:middle;height:20px;color:var(--el-text-color-primary);font-size:14px;font-weight:500;display:inline-block}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{font-size:14px;line-height:1;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{opacity:0;width:0;height:0;margin:0;position:absolute}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;min-width:40px;height:20px;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);border-radius:10px;outline:none;align-items:center;display:inline-flex;position:relative}.el-switch__core .el-switch__inner{width:100%;transition:all var(--el-transition-duration);justify-content:center;align-items:center;height:16px;padding:0 4px 0 18px;display:flex;overflow:hidden}.el-switch__core .el-switch__inner-wrapper{color:var(--el-color-white);-webkit-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;align-items:center;font-size:12px;display:flex;overflow:hidden}.el-switch__core .el-switch__action{border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);background-color:var(--el-color-white);width:16px;height:16px;color:var(--el-switch-off-color);justify-content:center;align-items:center;display:flex;position:absolute;left:1px}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-border-color,var(--el-switch-on-color));background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{height:40px;font-size:14px;line-height:24px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;min-width:50px;height:24px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{height:24px;font-size:12px;line-height:16px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;min-width:30px;height:16px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;background-color:#fff;border-radius:2px}.el-table-filter__list{outline:none;min-width:100px;margin:0;padding:5px 0;list-style:none}.el-table-filter__list-item{cursor:pointer;line-height:36px;font-size:var(--el-font-size-base);outline:none;padding:0 10px}.el-table-filter__list-item:hover,.el-table-filter__list-item:focus{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{height:unset;align-items:center;margin-bottom:12px;margin-left:5px;margin-right:5px;display:flex}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);box-sizing:border-box;background-color:var(--el-table-bg-color);width:100%;max-width:100%;height:-moz-fit-content;height:fit-content;font-size:var(--el-font-size-base);color:var(--el-table-text-color);position:relative;overflow:hidden}.el-table__inner-wrapper{flex-direction:column;height:100%;display:flex;position:relative}.el-table__inner-wrapper:before{height:1px;bottom:0;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell,.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell{border-bottom-color:#0000}.el-table__empty-block{text-align:center;justify-content:center;align-items:center;width:100%;min-height:60px;display:flex;position:sticky;left:0}.el-table__empty-text{width:50%;color:var(--el-text-color-secondary);line-height:60px}.el-table__expand-column .cell{text-align:center;-webkit-user-select:none;user-select:none;padding:0}.el-table__expand-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);width:min(23px,100%);height:23px;font-size:12px;line-height:12px}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:#0000!important}.el-table__placeholder{width:20px;display:inline-block}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;text-align:left;min-width:0;z-index:var(--el-table-index);padding:8px 0;position:relative}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;width:15px;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;text-overflow:ellipsis;white-space:normal;overflow-wrap:break-word;padding:0 12px;line-height:23px;overflow:hidden}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table th.el-table__cell.is-leaf,.el-table td.el-table__cell{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{content:"";vertical-align:middle;background:#ff4d51;border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border:after,.el-table--border:before,.el-table--border .el-table__inner-wrapper:after,.el-table__inner-wrapper:before{content:"";background-color:var(--el-table-border-color);z-index:calc(var(--el-table-index) + 2);position:absolute}.el-table--border .el-table__inner-wrapper:after{width:100%;height:1px;z-index:calc(var(--el-table-index) + 2);top:0;left:0}.el-table--border:before{width:1px;height:100%;top:-1px;left:0}.el-table--border:after{width:1px;height:100%;top:-1px;right:0}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__header-wrapper,.el-table__body-wrapper,.el-table__footer-wrapper{width:100%}.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right,.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right{background:inherit;z-index:calc(var(--el-table-index) + 1);position:sticky!important}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{content:"";width:10px;box-shadow:none;touch-action:none;pointer-events:none;position:absolute;top:0;bottom:0;overflow:hidden}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px}.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch,.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch{z-index:calc(var(--el-table-index) + 1);background:#fff;right:0;position:sticky!important}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__header,.el-table__body,.el-table__footer{table-layout:fixed;border-collapse:separate}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__header-wrapper .el-table-column--selection>.cell,.el-table__body-wrapper .el-table-column--selection>.cell{align-items:center;height:23px;display:inline-flex}.el-table__header-wrapper .el-table-column--selection .el-checkbox,.el-table__body-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;position:relative;overflow:hidden}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{vertical-align:middle;width:24px;height:14px;overflow:initial;flex-direction:column;align-items:center;display:inline-flex;position:relative}.el-table .sort-caret{border:5px solid #0000;width:0;height:0;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;z-index:-1;position:absolute}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{z-index:calc(var(--el-table-index) + 2);position:sticky;top:0}.el-table.el-table--scrollable-y .el-table__body-footer{z-index:calc(var(--el-table-index) + 2);position:sticky;bottom:0}.el-table__column-resize-proxy{border-left:var(--el-table-border);width:0;z-index:calc(var(--el-table-index) + 9);position:absolute;top:0;bottom:0;left:200px}.el-table__column-filter-trigger{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);vertical-align:middle;font-size:14px}.el-table__border-left-patch{width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;top:0;left:0}.el-table__border-bottom-patch{height:1px;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;left:0}.el-table__border-right-patch{width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;top:0}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{text-align:center;width:20px;display:inline-block}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;left:0;overflow:hidden}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;left:0;overflow:hidden;box-shadow:2px 0 4px #0000000f}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__vertical,.el-table-v2__left .el-vl__horizontal{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;right:0;overflow:hidden;box-shadow:-2px 0 4px #0000000f}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__vertical,.el-table-v2__right .el-vl__horizontal{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{position:relative;overflow:hidden}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{position:absolute;bottom:0;left:0;right:0;overflow:hidden}.el-table-v2__empty{position:absolute;left:0}.el-table-v2__overlay{z-index:9999;position:absolute;top:0;bottom:0;left:0;right:0}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color);height:100%;color:var(--el-table-header-text-color);align-items:center;padding:0 8px;font-weight:700;display:flex;overflow:hidden}.el-table-v2__header-cell.is-align-center{text-align:center;justify-content:center}.el-table-v2__header-cell.is-align-right{text-align:right;justify-content:flex-end}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{transition:opacity,display var(--el-transition-duration);opacity:.6;display:none}.el-table-v2__sort-icon.is-sorting{opacity:1;display:flex}.el-table-v2__row{border-bottom:var(--el-table-border);transition:background-color var(--el-transition-duration);align-items:center;display:flex}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;height:100%;padding:0 8px;display:flex;overflow:hidden}.el-table-v2__row-cell.is-align-center{text-align:center;justify-content:center}.el-table-v2__row-cell.is-align-right{text-align:right;justify-content:flex-end}.el-table-v2__expand-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{-webkit-user-select:none;user-select:none;margin:0 4px}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{justify-content:space-between;align-items:center;margin:0 0 15px;padding:0;display:flex;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);z-index:1;height:2px;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none;position:absolute;bottom:0;left:0}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{border:1px solid var(--el-border-color);text-align:center;width:20px;height:20px;color:var(--el-text-color-primary);cursor:pointer;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;margin:10px 0 10px 10px;font-size:12px;line-height:20px;transition:all .15s;display:flex}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:auto;margin-bottom:-1px;position:relative;overflow:hidden}.el-tabs__nav-wrap:after{content:"";background-color:var(--el-border-color-light);width:100%;height:2px;z-index:var(--el-index-normal);position:absolute;bottom:0;left:0}.el-tabs__nav-wrap.is-bottom:after{top:0;bottom:auto}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{cursor:pointer;color:var(--el-text-color-secondary);text-align:center;width:20px;font-size:12px;line-height:44px;position:absolute}.el-tabs__nav-next.is-disabled,.el-tabs__nav-prev.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1);display:flex;position:relative}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{text-align:center;flex:1}.el-tabs__item{height:var(--el-tabs-header-height);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary);justify-content:center;align-items:center;padding:0 20px;font-weight:500;list-style:none;display:flex;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border-radius:50%;margin-left:5px}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;position:relative;overflow:hidden}.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--top>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height);box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);box-sizing:border-box;border-bottom:none;border-radius:4px 4px 0 0}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{transform-origin:100%;width:0;height:14px;font-size:12px;position:relative;right:-2px;overflow:hidden}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid #0000;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-top:-1px}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);color:var(--el-text-color-secondary);border:1px solid #0000;margin-top:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child,.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-top:10px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid #0000}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-scroll{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{width:2px;height:auto;top:0;bottom:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{text-align:center;cursor:pointer;width:100%;height:30px;line-height:30px}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled{cursor:not-allowed}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{top:0;left:auto}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{width:2px;height:100%;top:0;bottom:auto}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__active-bar.is-left{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right-color:#fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-right:none;border-radius:4px 0 0 4px}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid #0000;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:#d1dbe5 #0000}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left-color:#fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid #0000;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:#d1dbe5 #0000}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInRight-transition,.slideInLeft-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);position:absolute;left:0;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);position:absolute;left:0;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;opacity:1;transform:translate(0)}to{transform-origin:0 0;opacity:0;transform:translate(100%)}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;opacity:1;transform:translate(0)}to{transform-origin:0 0;opacity:0;transform:translate(-100%)}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);vertical-align:middle;height:24px;font-size:var(--el-tag-font-size);border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px;--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);border-style:solid;border-width:1px;justify-content:center;align-items:center;padding:0 9px;line-height:1;display:inline-flex}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size);border-radius:50%;display:flex}.el-tag .el-tag__close{background-color:#0000;border:none;border-radius:50%;outline:none;margin-left:6px;padding:0;overflow:hidden}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white);--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{--el-icon-size:16px;height:32px;padding:0 11px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{--el-icon-size:12px;height:20px;padding:0 7px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);font-size:var(--el-text-font-size);color:var(--el-text-color);overflow-wrap:break-word;align-self:center;margin:0;padding:0}.el-text.is-truncated{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.el-text.is-line-clamp{-webkit-box-orient:vertical;display:-webkit-inline-box;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{min-width:0;margin:5px 0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{vertical-align:middle;padding:0 30px;display:inline-block}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);box-sizing:border-box;max-height:100%;display:inline-block;position:relative;overflow:hidden}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-right-radius:0;border-bottom-left-radius:0}.el-transfer-panel__list{height:var(--el-transfer-panel-body-height);box-sizing:border-box;margin:0;padding:6px 0;list-style:none;overflow:auto}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;width:100%;line-height:var(--el-transfer-item-height);padding-left:22px;display:block;overflow:hidden}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;box-sizing:border-box;padding:15px}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);box-sizing:border-box;width:100%;font-size:12px;display:inline-block}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);align-items:center;margin:0;padding-left:15px;display:flex}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;width:100%;display:flex;position:relative}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{min-width:0;color:var(--el-text-color-primary);flex:1;align-items:center;font-size:16px;font-weight:400;display:flex}.el-transfer-panel .el-transfer-panel__header-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.el-transfer-panel .el-transfer-panel__header-count{color:var(--el-text-color-secondary);flex-shrink:0;margin-left:8px;margin-right:15px;font-size:12px}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);color:var(--el-text-color-secondary);text-align:center;margin:0;padding:6px 15px 0}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{text-align:center;width:100%;height:100%;min-height:60px;position:relative}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;position:absolute;left:0;right:0}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);height:var(--el-tree-node-content-height);cursor:pointer;align-items:center;display:flex}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);transition:transform var(--el-transition-duration) ease-in-out;font-size:12px;transform:rotate(0)}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:#0000;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:#0000;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{flex:1;height:20px;padding-left:0;line-height:20px;background:0 0!important}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;cursor:pointer;outline:none;justify-content:center;align-items:center;display:inline-flex}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{border-color:var(--el-border-color-darker);color:inherit}.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);margin-top:7px;font-size:12px}.el-upload iframe{z-index:-1;opacity:0;filter:alpha(opacity=0);position:absolute;top:0;left:0}.el-upload--picture-card{background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);box-sizing:border-box;text-align:center;cursor:pointer;border-radius:6px;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);margin-bottom:16px;font-size:67px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);text-align:center;font-size:14px}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{color:var(--el-text-color-regular);box-sizing:border-box;border-radius:4px;width:100%;margin-bottom:5px;font-size:14px;transition:all .5s cubic-bezier(.55,0,.1,1);position:relative}.el-upload-list__item .el-progress{width:100%;position:absolute;top:20px}.el-upload-list__item .el-progress__text{position:absolute;top:-13px;right:0}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);display:none;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{cursor:pointer;opacity:1;color:var(--el-color-primary);font-size:12px;font-style:normal;display:none;position:absolute;top:1px;right:5px}.el-upload-list__item:hover,.el-upload-list__item:focus-within{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close,.el-upload-list__item:focus-within .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-icon--close-tip,.el-upload-list__item:focus-within .el-icon--close-tip{right:24px}.el-upload-list__item:hover .el-progress__text,.el-upload-list__item:focus-within .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{flex-direction:column;justify-content:center;width:calc(100% - 30px);margin-left:4px;display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:hover,.el-upload-list__item.is-success .el-upload-list__item-name:focus{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:not(.focusing):focus,.el-upload-list__item.is-success:active{outline-width:0}.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip,.el-upload-list__item.is-success:active .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus-within .el-upload-list__item-status-label{opacity:0;display:none}.el-upload-list__item-name{color:var(--el-text-color-regular);text-align:center;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base);align-items:center;padding:0 4px;display:inline-flex}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-upload-list__item-status-label{line-height:inherit;height:100%;transition:opacity var(--el-transition-duration);justify-content:center;align-items:center;display:none;position:absolute;top:0;right:5px}.el-upload-list__item-delete{color:var(--el-text-color-regular);font-size:12px;display:none;position:absolute;top:0;right:10px}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{flex-wrap:wrap;margin:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);border-radius:6px;margin:0 8px 8px 0;padding:0;display:inline-flex;overflow:hidden}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{object-fit:contain;width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);text-align:center;width:40px;height:24px;top:-6px;right:-15px;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{margin-top:11px;font-size:12px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{cursor:default;color:#fff;opacity:0;background-color:var(--el-overlay-color-lighter);width:100%;height:100%;transition:opacity var(--el-transition-duration);justify-content:center;align-items:center;font-size:20px;display:inline-flex;position:absolute;top:0;left:0}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{font-size:inherit;color:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{width:126px;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);box-sizing:border-box;border-radius:6px;align-items:center;margin-top:10px;padding:10px;display:flex;overflow:hidden}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{object-fit:contain;z-index:1;background-color:var(--el-color-white);justify-content:center;align-items:center;width:70px;height:70px;display:inline-flex;position:relative}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);text-align:center;width:46px;height:26px;position:absolute;top:-7px;right:-17px;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{margin-top:12px;font-size:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{z-index:10;cursor:default;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}.el-upload-cover:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-upload-cover img{width:100%;height:100%;display:block}.el-upload-cover__label{background:var(--el-color-success);text-align:center;width:40px;height:24px;top:-6px;right:-15px;transform:rotate(45deg)}.el-upload-cover__label i{color:#fff;margin-top:11px;font-size:12px;transform:rotate(-45deg)}.el-upload-cover__progress{vertical-align:middle;width:243px;display:inline-block;position:static}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{width:100%;height:100%;position:absolute;top:0;left:0}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);text-align:center;width:100%;height:100%;position:absolute;bottom:0;left:0}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px;font-size:14px;display:inline-block}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;font-size:24px;line-height:inherit;margin:0 auto 5px;display:block}.el-upload-cover__title{text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;height:36px;color:var(--el-text-color-primary);background-color:#fff;margin:0;padding:0 10px;font-size:14px;font-weight:400;line-height:36px;position:absolute;bottom:0;left:0;overflow:hidden}.el-upload-cover+.el-upload__inner{opacity:0;z-index:1;position:relative}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);z-index:2000;overflow-wrap:break-word;word-break:normal;visibility:visible;min-width:10px;padding:5px 11px;font-size:12px;line-height:20px;position:absolute}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color);background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-popper-bg-color-dark);right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light);background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-popper-bg-color-light);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{z-index:-1;width:10px;height:10px;position:absolute}.el-popper__arrow:before{z-index:-1;content:" ";background:var(--el-text-color-primary);box-sizing:border-box;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-top-color:#0000!important;border-left-color:#0000!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-right-color:#0000!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-left-color:#0000!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-top-color:#0000!important;border-right-color:#0000!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{font-weight:var(--el-statistic-title-font-weight);font-size:var(--el-statistic-title-font-size);color:var(--el-statistic-title-color);margin-bottom:4px;line-height:20px}.el-statistic__content{font-weight:var(--el-statistic-content-font-weight);font-size:var(--el-statistic-content-font-size);color:var(--el-statistic-content-color)}.el-statistic__value{display:inline-block}.el-statistic__prefix{margin-right:4px;display:inline-block}.el-statistic__suffix{margin-left:4px;display:inline-block}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);width:var(--el-tour-width);padding:var(--el-tour-padding-primary);background:var(--el-tour-bg-color);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;overflow-wrap:break-word;outline:none}.el-tour__arrow{background:var(--el-tour-bg-color);pointer-events:none;box-sizing:border-box;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.el-tour__content[data-side^=top] .el-tour__arrow{border-top-color:#0000;border-left-color:#0000}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:#0000;border-right-color:#0000}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:#0000;border-left-color:#0000}.el-tour__content[data-side^=right] .el-tour__arrow{border-top-color:#0000;border-right-color:#0000}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{cursor:pointer;width:40px;height:40px;font-size:var(--el-message-close-size,16px);background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size,16px))}.el-tour__title{line-height:var(--el-tour-font-line-height);font-size:var(--el-tour-title-font-size);color:var(--el-tour-title-text-color);font-weight:var(--el-tour-title-font-weight)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{padding-top:var(--el-tour-padding-primary);box-sizing:border-box;justify-content:space-between;display:flex}.el-tour__content .el-tour-indicators{flex:1;display:inline-block}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{color:var(--el-color-primary);border-color:var(--el-color-primary);background:#fff}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);background:var(--el-segmented-bg-color);min-height:32px;padding:var(--el-segmented-padding);border-radius:var(--el-border-radius-base);color:var(--el-segmented-color);box-sizing:border-box;align-items:stretch;font-size:14px;display:inline-flex}.el-segmented__group{align-items:stretch;width:100%;display:flex;position:relative}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);pointer-events:none;width:10px;height:100%;transition:all .3s;position:absolute;top:0;left:0}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{content:"";border-radius:inherit;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;top:0;bottom:0;left:0;right:0}.el-segmented__item{cursor:pointer;border-radius:calc(var(--el-border-radius-base) - 2px);flex:1;align-items:center;padding:0 11px;display:flex}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{color:var(--el-segmented-item-hover-color);background:var(--el-segmented-item-hover-bg-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{cursor:not-allowed;color:var(--el-segmented-item-disabled-color)}.el-segmented__item-input{opacity:0;pointer-events:none;width:0;height:0;margin:0;position:absolute}.el-segmented__item-label{text-align:center;text-overflow:ellipsis;white-space:nowrap;z-index:1;flex:1;line-height:normal;transition:color .3s;overflow:hidden}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);min-height:40px;font-size:16px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);min-height:24px;font-size:14px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(calc(var(--el-border-radius-base) - 1px) - 2px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(calc(var(--el-border-radius-base) - 1px) - 2px);padding:0 7px}.el-mention{width:100%;position:relative}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{font-size:var(--el-mention-font-size);white-space:nowrap;text-overflow:ellipsis;color:var(--el-mention-option-color);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);box-sizing:border-box;min-width:var(--el-mention-option-min-width);cursor:pointer;padding:0 20px;position:relative;overflow:hidden}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{color:var(--el-mention-option-disabled-color);cursor:not-allowed;background-color:unset}.el-mention-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-mention-dropdown__loading{text-align:center;color:var(--el-mention-option-loading-color);min-width:var(--el-mention-option-min-width);margin:0;padding:10px 0;font-size:12px}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{padding:var(--el-mention-padding);box-sizing:border-box;margin:0;list-style:none}.el-mention-dropdown__header{padding:var(--el-mention-header-padding);border-bottom:var(--el-mention-border)}.el-mention-dropdown__footer{padding:var(--el-mention-footer-padding);border-top:var(--el-mention-border)}.el-splitter{width:100%;height:100%;margin:0;padding:0;display:flex;position:relative}.el-splitter__mask{z-index:999;position:absolute;top:0;bottom:0;left:0;right:0}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{-webkit-user-select:none;user-select:none;flex:none;position:relative}.el-splitter-bar__dragger{z-index:1;background:0 0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:before,.el-splitter-bar__dragger:after{content:"";background-color:var(--el-border-color-light);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:before,.el-splitter-bar__dragger-horizontal:after{width:2px;height:100%}.el-splitter-bar__dragger-vertical:before,.el-splitter-bar__dragger-vertical:after{width:100%;height:2px}.el-splitter-bar__dragger-active:before,.el-splitter-bar__dragger-active:after{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{background:var(--el-border-color-light);cursor:pointer;opacity:0;z-index:9;border-radius:2px;justify-content:center;align-items:center;display:flex;position:absolute}.el-splitter-bar__collapse-icon:hover{opacity:1;background-color:var(--el-color-primary-light-5)}.el-splitter-bar__horizontal-collapse-icon-start{width:16px;height:24px;top:50%;left:-12px;transform:translate(-50%,-50%)}.el-splitter-bar__horizontal-collapse-icon-end{width:16px;height:24px;top:50%;left:12px;transform:translate(-50%,-50%)}.el-splitter-bar__vertical-collapse-icon-start{width:24px;height:16px;top:-12px;right:50%;transform:translate(50%,-50%)}.el-splitter-bar__vertical-collapse-icon-end{width:24px;height:16px;top:12px;right:50%;transform:translate(50%,-50%)}.el-splitter-panel{scrollbar-width:thin;box-sizing:border-box;flex-grow:0;overflow:auto}.config-panel[data-v-2bb70fc2]{margin-bottom:24px}.panel-title[data-v-2bb70fc2]{font-weight:600;font-size:16px;color:#303133;margin:0 0 20px}.config-form[data-v-2bb70fc2]{width:100%}.form-item[data-v-2bb70fc2]{margin-bottom:20px}.form-item label[data-v-2bb70fc2]{font-size:14px;font-weight:500;color:#303133;margin-bottom:8px}.divider[data-v-2bb70fc2]{height:1px;background-color:#e4e7ed;margin:24px 0}.section-title[data-v-2bb70fc2]{font-weight:500;margin:0 0 16px;color:#303133;font-size:14px}.form-item-description[data-v-2bb70fc2]{font-size:12px;color:#909399;margin-top:8px;line-height:1.4}.llm-grid[data-v-2bb70fc2]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.number-input[data-v-2bb70fc2]{width:100%}.config-actions[data-v-2bb70fc2]{display:flex;justify-content:flex-end;gap:8px;padding-top:8px;border-top:1px solid #E4E7ED}.slider[data-v-2bb70fc2] .el-slider__runway{background-color:#e4e7ed}.slider[data-v-2bb70fc2] .el-slider__bar{background-color:#1677ff}.slider[data-v-2bb70fc2] .el-slider__button{border-color:#1677ff}.select[data-v-2bb70fc2] .el-select__input{color:#303133}.select[data-v-2bb70fc2] .el-select__wrapper{border:1px solid #E4E7ED;border-radius:4px;box-shadow:none}.select[data-v-2bb70fc2] .el-select__wrapper.is-focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff33}.input[data-v-2bb70fc2] .el-input__wrapper{border:1px solid #E4E7ED;border-radius:4px;box-shadow:none}.input[data-v-2bb70fc2] .el-input__wrapper.is-focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff33}.checkbox[data-v-2bb70fc2] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#1677ff;border-color:#1677ff}.checkbox[data-v-2bb70fc2] .el-checkbox__label{color:#303133}.markdown-renderer[data-v-56acf912]{width:100%;height:100%;display:flex;flex-direction:column;background-color:#fff;border-radius:4px;box-shadow:none;overflow:hidden;min-height:0}.content-toolbar[data-v-56acf912]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.content-toolbar-title[data-v-56acf912]{font-size:14px;font-weight:600;color:#343a40;white-space:nowrap}.content-toolbar-meta[data-v-56acf912]{font-size:12px;color:#86909c;white-space:nowrap}.render-actions[data-v-56acf912]{padding:0 0 12px;background-color:#fff}.render-actions-left[data-v-56acf912]{display:flex;align-items:center;gap:12px;min-height:32px;flex:1;min-width:0}.render-actions-right[data-v-56acf912]{display:flex;align-items:center;gap:8px;flex-shrink:0}.action-button[data-v-56acf912]{border-radius:6px;transition:all .3s ease;height:32px;padding:0 12px}.action-button.primary[data-v-56acf912]{background-color:#165dff;border-color:#165dff;color:#fff}.action-button.primary[data-v-56acf912]:hover{background-color:#0e42d2;border-color:#0e42d2;transform:translateY(-1px);box-shadow:0 2px 8px #165dff4d}.render-shell[data-v-56acf912]{min-height:100%;display:flex;flex-direction:column;gap:16px}.render-content[data-v-56acf912]{flex:1;min-height:0;overflow-y:auto;padding:0}.render-header[data-v-56acf912]{padding:14px 16px;border-radius:10px;background:linear-gradient(135deg,#f7faff,#eef4ff);border:1px solid #d7e4ff}.render-title[data-v-56acf912]{font-size:16px;font-weight:600;color:#1f2937}.render-desc[data-v-56acf912]{margin-top:4px;font-size:13px;line-height:1.6;color:#5b6472}.markdown-content[data-v-56acf912]{padding:20px;background:#fff;border-radius:4px;min-height:400px}.rendered-html[data-v-56acf912]{border:1px solid #e9ecef}.pdf-stage[data-v-56acf912]{padding:20px;border:1px solid #E9ECEF;border-radius:4px;background:#f8f9fa}.pdf-preview-pages[data-v-56acf912]{display:flex;flex-direction:column;gap:20px}.pdf-page[data-v-56acf912]{width:min(100%,840px);min-height:1160px;margin:0 auto;background:#fff;border:1px solid #d9dee8;box-shadow:0 18px 45px #0f172a1f;padding:28px 36px 36px}.pdf-content[data-v-56acf912]{padding:0;min-height:auto}.pdf-measure[data-v-56acf912]{position:absolute;left:-99999px;top:0;width:768px;visibility:hidden;pointer-events:none;z-index:-1}.richtext-stage[data-v-56acf912]{padding:12px;border:1px solid #E9ECEF;border-radius:4px;background:#f8f9fa}.richtext-document[data-v-56acf912]{min-height:100%;background:#fff;border:1px solid #dde3ea;border-radius:4px;overflow:hidden;box-shadow:none}.richtext-content[data-v-56acf912]{padding:32px 40px 48px}.markdown-content[data-v-56acf912] h1{font-size:2em;margin:.67em 0;font-weight:700}.markdown-content[data-v-56acf912] h2{font-size:1.5em;margin:.83em 0;font-weight:700}.markdown-content[data-v-56acf912] h3{font-size:1.17em;margin:1em 0;font-weight:700}.markdown-content[data-v-56acf912] p{margin:1em 0;line-height:1.75}.markdown-content[data-v-56acf912] code{background-color:#f5f7fa;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.markdown-content[data-v-56acf912] pre{background-color:#f5f7fa;padding:16px;border-radius:8px;overflow-x:auto}.markdown-content[data-v-56acf912] pre code{background:none;padding:0}.markdown-content[data-v-56acf912] blockquote{margin:1em 0;padding:0 1em;border-left:4px solid #dcdfe6;color:#606266}.markdown-content[data-v-56acf912] ul,.markdown-content[data-v-56acf912] ol{margin:1em 0;padding-left:2em}.markdown-content[data-v-56acf912] li{margin:.5em 0}.markdown-content[data-v-56acf912] table{border-collapse:collapse;width:100%;margin:1em 0}.markdown-content[data-v-56acf912] th,.markdown-content[data-v-56acf912] td{border:1px solid #dcdfe6;padding:8px 12px;text-align:left}.markdown-content[data-v-56acf912] th{background-color:#f5f7fa;font-weight:700}.markdown-content[data-v-56acf912] img{max-width:100%;height:auto}.empty-state[data-v-56acf912]{display:flex;align-items:center;justify-content:center;height:100%;min-height:400px}.math-inline[data-v-56acf912]{font-family:"Cambria Math","STIX Two Math",serif;font-size:1.1em}@media (max-width: 768px){.render-actions[data-v-56acf912]{flex-direction:column;align-items:stretch}.render-actions-left[data-v-56acf912]{flex:1;min-width:0;flex-wrap:wrap}.render-actions-right[data-v-56acf912]{justify-content:flex-end}.pdf-page[data-v-56acf912]{padding:24px 20px 32px;min-height:auto}.richtext-content[data-v-56acf912]{padding:24px 18px 32px}.action-button[data-v-56acf912]{flex-shrink:0}}.mindmap-container[data-v-1445e942]{width:100%;height:100%;display:flex;flex-direction:column;background-color:transparent;border-radius:0;box-shadow:none;overflow:hidden;min-height:0}.content-toolbar[data-v-1445e942]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.mindmap-actions[data-v-1445e942]{padding:0 0 12px}.mindmap-actions-left[data-v-1445e942],.mindmap-actions-right[data-v-1445e942]{display:flex;align-items:center;gap:10px;min-width:0}.mindmap-actions-left[data-v-1445e942]{flex:1}.mindmap-actions-right[data-v-1445e942]{flex-shrink:0}.content-toolbar-title[data-v-1445e942]{font-size:14px;font-weight:600;color:#343a40;white-space:nowrap}.content-toolbar-meta[data-v-1445e942]{font-size:12px;color:#86909c;white-space:nowrap}.action-button[data-v-1445e942]{border-radius:6px;transition:all .3s ease;height:32px;padding:0 12px}.action-button.primary[data-v-1445e942]{background-color:#165dff;border-color:#165dff;color:#fff}.action-button.primary[data-v-1445e942]:hover{background-color:#0e42d2;border-color:#0e42d2;transform:translateY(-1px);box-shadow:0 2px 8px #165dff4d}.action-button.secondary[data-v-1445e942]{background-color:#fff;border-color:#c9cdd4;color:#4e5969}.action-button.secondary[data-v-1445e942]:hover{border-color:#165dff;color:#165dff;transform:translateY(-1px)}.mindmap-content[data-v-1445e942]{flex:1;overflow:hidden;position:relative;background-color:#f9fafc;cursor:grab;min-height:0;border:1px solid #E9ECEF;border-radius:4px}.mindmap-content[data-v-1445e942]:active{cursor:grabbing}.empty-state[data-v-1445e942]{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.mindmap-loading[data-v-1445e942]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#4e5969;background:#f9fafcd1;z-index:2}.loading-icon[data-v-1445e942]{color:#165dff;animation:spin-1445e942 1s linear infinite}@keyframes spin-1445e942{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-icon[data-v-1445e942]{font-size:48px;color:#c9cdd4}.empty-text[data-v-1445e942]{font-size:16px;font-weight:500;color:#4e5969;margin:0}.empty-subtext[data-v-1445e942]{font-size:14px;color:#86909c;margin:0}.markmap-svg[data-v-1445e942]{width:100%;height:100%;transition:transform .2s ease}.markmap-svg[data-v-1445e942] text[data-editable-node=true]{cursor:text}@media (max-width: 768px){.mindmap-actions[data-v-1445e942]{flex-direction:column;align-items:stretch}.mindmap-actions-left[data-v-1445e942],.mindmap-actions-right[data-v-1445e942]{justify-content:space-between}.content-toolbar-meta[data-v-1445e942]{font-size:11px}.action-button[data-v-1445e942]{padding:0 8px;font-size:12px}.mindmap-actions[data-v-1445e942]{gap:4px}}.document-processor[data-v-d49206c7]{height:100%;min-height:100vh;display:flex;flex-direction:column;background-color:#f8f9fa;margin:0;padding:0;box-sizing:border-box}.top-header[data-v-d49206c7]{padding:16px 24px;display:flex;justify-content:space-between;align-items:center;background-color:transparent;border-bottom:none}.ellipsis[data-v-d49206c7]{font-size:18px;font-weight:500;color:#343a40;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.settings-button[data-v-d49206c7]{color:#6c757d;font-size:14px;padding:4px 12px}.settings-button[data-v-d49206c7]:hover{color:#165dff}.main-content[data-v-d49206c7]{flex:1;padding:0 24px;overflow:hidden;min-height:0;display:flex;flex-direction:column}.upload-section[data-v-d49206c7]{margin-bottom:16px;flex-shrink:0}.drag-upload-area[data-v-d49206c7]{border:2px dashed #CED4DA;border-radius:8px;padding:8px 16px;text-align:center;cursor:pointer;transition:all .3s ease;background-color:#fff;margin-bottom:0;overflow:hidden;height:52px;min-height:52px;display:flex;align-items:center;box-sizing:border-box}.drag-upload-area.collapsed[data-v-d49206c7]{padding:8px 16px;min-height:52px}.drag-upload-area[data-v-d49206c7]:hover,.drag-upload-area.drag-over[data-v-d49206c7]{border-color:#165dff;background-color:#f8f9ff}.upload-content[data-v-d49206c7]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;width:100%}.upload-icon[data-v-d49206c7]{font-size:24px;color:#165dff}.upload-copy[data-v-d49206c7]{min-width:0;text-align:left}.upload-text[data-v-d49206c7]{font-size:14px;font-weight:500;color:#343a40}.upload-hint[data-v-d49206c7]{font-size:12px;color:#6c757d;line-height:1.4}.uploaded-files[data-v-d49206c7]{width:100%;height:100%;text-align:left}.file-item[data-v-d49206c7]{display:flex;align-items:center;gap:8px;padding:0;background-color:#f8f9fa;border-radius:6px;margin-bottom:0;transition:all .3s ease;width:100%;height:100%;box-sizing:border-box;font-size:13px}.file-item[data-v-d49206c7]:hover{background-color:#e9ecef}.file-icon[data-v-d49206c7]{font-size:18px;color:#165dff}.file-name[data-v-d49206c7]{flex:1;min-width:0;font-size:13px;color:#343a40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.remove-button[data-v-d49206c7]{flex-shrink:0;color:#6c757d;padding:4px}.remove-button[data-v-d49206c7]:hover{color:#dc3545}.settings-panel[data-v-d49206c7]{position:fixed;top:0;right:0;width:320px;height:100vh;background-color:#fff;border-left:1px solid #E9ECEF;box-shadow:-4px 0 12px #0000001a;padding:24px;z-index:1000;transform:translate(100%);opacity:0;transition:transform .3s ease,opacity .4s ease;overflow-y:auto}.settings-panel.showing[data-v-d49206c7]{transform:translate(0);opacity:1}.settings-panel.hiding[data-v-d49206c7]{transform:translate(100%);opacity:0}.settings-header[data-v-d49206c7]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #E9ECEF}.close-button[data-v-d49206c7]{color:#6c757d;padding:4px;font-size:16px}.close-button[data-v-d49206c7]:hover{color:#343a40}.settings-title[data-v-d49206c7]{font-size:16px;font-weight:500;color:#343a40;margin:0}.result-section[data-v-d49206c7]{background-color:#fff;border:1px solid #E9ECEF;border-radius:8px;overflow:hidden;flex:1;display:flex;flex-direction:column;min-height:0}.result-tabs[data-v-d49206c7]{border-bottom:1px solid #E9ECEF}.result-tabs[data-v-d49206c7] .el-tabs__header{margin:0}.result-tabs[data-v-d49206c7] .el-tabs__nav{padding-left:16px}.result-tabs[data-v-d49206c7] .el-tabs__item{height:40px;line-height:40px;padding:0 16px;margin-right:0;color:#6c757d;font-size:14px;font-weight:400;transition:all .3s ease}.result-tabs[data-v-d49206c7] .el-tabs__item:hover{color:#165dff}.result-tabs[data-v-d49206c7] .el-tabs__item.is-active{color:#165dff;font-weight:500}.result-tabs[data-v-d49206c7] .el-tabs__active-bar{background-color:#165dff;height:2px}.source-tab-label[data-v-d49206c7]{display:inline-flex;align-items:center;gap:4px}.source-tab-arrow[data-v-d49206c7]{font-size:12px}.result-content[data-v-d49206c7]{flex:1;min-height:0;padding:16px;display:flex;flex-direction:column}.loading-container[data-v-d49206c7]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:400px;gap:16px}.progress-wrapper[data-v-d49206c7]{width:100%;max-width:500px;display:flex;flex-direction:column;gap:12px}.progress-info[data-v-d49206c7]{display:flex;justify-content:space-between;align-items:center}.progress-stage[data-v-d49206c7]{font-size:14px;color:#495057;font-weight:500}.progress-percent[data-v-d49206c7]{font-size:14px;color:#165dff;font-weight:600;min-width:40px;text-align:right}.progress-bar[data-v-d49206c7]{width:100%}.empty-state[data-v-d49206c7]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:400px;gap:16px}.empty-text[data-v-d49206c7]{font-size:14px;color:#6c757d;margin:0}@keyframes spin-d49206c7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-icon[data-v-d49206c7]{width:120px;height:120px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='20' y='30' width='80' height='60' rx='4' fill='%23F8F9FA' stroke='%23E9ECEF' stroke-width='2'/%3E%3Crect x='40' y='15' width='40' height='20' rx='2' fill='%23F8F9FA' stroke='%23E9ECEF' stroke-width='2'/%3E%3Crect x='30' y='40' width='60' height='10' rx='2' fill='%23E9ECEF'/%3E%3Crect x='30' y='55' width='50' height='8' rx='2' fill='%23E9ECEF'/%3E%3Crect x='30' y='70' width='40' height='8' rx='2' fill='%23E9ECEF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}.result-tab-content[data-v-d49206c7]{flex:1;min-height:0;display:flex;flex-direction:column}.result-fade-in[data-v-d49206c7]{animation:fadeInScale-d49206c7 .5s ease-out forwards}@keyframes fadeInScale-d49206c7{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.markdown-content[data-v-d49206c7],.mindmap-content[data-v-d49206c7]{flex:1;min-height:0}.markdown-box[data-v-d49206c7],.mindmap-box[data-v-d49206c7]{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background-color:transparent}.source-content[data-v-d49206c7]{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.source-toolbar[data-v-d49206c7]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.content-toolbar-info[data-v-d49206c7],.content-toolbar-actions[data-v-d49206c7]{display:flex;align-items:center;gap:10px;min-width:0}.content-toolbar-info[data-v-d49206c7]{flex:1}.source-mode-toolbar[data-v-d49206c7]{align-items:center}.smart-organize-status[data-v-d49206c7]{font-size:12px;color:#86909c;white-space:nowrap}.content-toolbar-actions[data-v-d49206c7]{flex-shrink:0}.content-toolbar-title[data-v-d49206c7]{font-size:14px;font-weight:600;color:#343a40;white-space:nowrap}.content-toolbar-meta[data-v-d49206c7]{font-size:12px;color:#86909c;white-space:nowrap}.replacement-config-button[data-v-d49206c7]{border-radius:6px}.template-error-inline[data-v-d49206c7]{color:#cf1322;font-size:13px;line-height:1.5}.source-panel[data-v-d49206c7]{flex:1;min-height:0}.source-textarea[data-v-d49206c7]{height:100%;min-height:0}.source-textarea[data-v-d49206c7] .el-textarea__wrapper{border:1px solid #E9ECEF;border-radius:4px;box-shadow:none;height:100%;min-height:0}.source-textarea[data-v-d49206c7] .el-textarea__inner{height:100%;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:14px;line-height:1.5;color:#495057;padding:16px}.replacement-dialog-body[data-v-d49206c7]{display:flex;flex-direction:column;gap:12px;max-height:70vh;overflow-y:auto;padding-right:4px}.replacement-dialog-tip[data-v-d49206c7]{padding:10px 12px;border-radius:8px;background:#f8faff;border:1px solid #DCE7FF;color:#4e5969;font-size:13px;line-height:1.6}.replacement-rule-list[data-v-d49206c7]{display:flex;flex-direction:column;gap:12px}.replacement-rule-row[data-v-d49206c7]{display:grid;grid-template-columns:120px 1fr 1fr 72px;gap:12px;align-items:center}.replacement-rule-head[data-v-d49206c7]{display:flex;align-items:center;min-height:32px}.replacement-rule-index[data-v-d49206c7]{font-size:13px;color:#4e5969}.replacement-delete-button[data-v-d49206c7]{border:1px solid #D0D5DD;border-radius:6px;padding:0 12px;height:32px}.replacement-rule-input[data-v-d49206c7]{width:100%}.add-rule-button[data-v-d49206c7]{align-self:flex-start}.replacement-dialog-footer[data-v-d49206c7]{display:flex;justify-content:flex-end;gap:8px}@media (max-width: 768px){.main-content[data-v-d49206c7]{padding:0 16px}.result-content[data-v-d49206c7]{padding:16px}.top-header[data-v-d49206c7]{padding:12px 16px}.drag-upload-area[data-v-d49206c7]{padding:8px 12px}.upload-icon[data-v-d49206c7]{font-size:22px}.upload-text[data-v-d49206c7]{font-size:14px}.upload-hint[data-v-d49206c7]{font-size:12px}.result-tabs[data-v-d49206c7] .el-tabs__nav{padding-left:16px}.result-tabs[data-v-d49206c7] .el-tabs__item{padding:0 16px;font-size:12px}.source-toolbar[data-v-d49206c7]{flex-direction:column;align-items:stretch}.content-toolbar-info[data-v-d49206c7]{flex-wrap:wrap}.content-toolbar-actions[data-v-d49206c7]{justify-content:flex-end}.replacement-dialog-body[data-v-d49206c7]{max-height:none;padding-right:0}.replacement-rule-row[data-v-d49206c7]{grid-template-columns:1fr;gap:10px}.replacement-rule-head[data-v-d49206c7]{justify-content:space-between}.replacement-delete-button[data-v-d49206c7]{width:100%}.replacement-dialog-footer[data-v-d49206c7]{flex-direction:column;align-items:stretch}.replacement-dialog-footer[data-v-d49206c7] .el-button{margin-left:0!important}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;color:#4e5969;background-color:#f2f3f5}#app{height:100%}.container{width:100%;height:100%;box-sizing:border-box;padding:0;margin:0} diff --git a/mineru/cli/static/web/assets/index-D7YNJWSR.js b/mineru/cli/static/web/assets/index-D7YNJWSR.js new file mode 100644 index 0000000..d875c35 --- /dev/null +++ b/mineru/cli/static/web/assets/index-D7YNJWSR.js @@ -0,0 +1,467 @@ +import{e as Tg,w as $n,i as Eg,r as $e,s as Yd,c as _t,d as $r,h as Jd,F as tr,g as _i,a as Ag,o as No,b as fc,f as Ng,j as ce,T as Cg,k as Qd,l as ct,m as Qe,n as Te,t as Et,p as Se,q as je,u as Os,v as Es,x as Rr,y as pt,E as cn,z as mt,A as Zd,B as ro,C as w0,D as v0,G as Mg,H as Ua,I as e1,J as Ig,K as Ha,L as Va,M as Og,N as Lg,O as Rg,P as Dg,Q as Pg,R as $g,S as Fg}from"./vendor-DDOvA1Mb.js";import{M as xi}from"./markdown-_Dy2zPzC.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/*! + * shared v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Bg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const so=typeof window<"u",Fr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),zg=(e,t,n)=>qg({l:e,k:t,s:n}),qg=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ct=e=>typeof e=="number"&&isFinite(e),Ug=e=>n1(e)==="[object Date]",Pr=e=>n1(e)==="[object RegExp]",Co=e=>qe(e)&&Object.keys(e).length===0,Qt=Object.assign,Hg=Object.create,ht=(e=null)=>Hg(e);let Df;const gr=()=>Df||(Df=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ht());function Pf(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function $f(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Vg(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,i)=>`${s}="${$f(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,i)=>`${s}='${$f(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const jg=Object.prototype.hasOwnProperty;function Vn(e,t){return jg.call(e,t)}const xt=Array.isArray,gt=e=>typeof e=="function",Ee=e=>typeof e=="string",Ge=e=>typeof e=="boolean",et=e=>e!==null&&typeof e=="object",Wg=e=>et(e)&>(e.then)&>(e.catch),t1=Object.prototype.toString,n1=e=>t1.call(e),qe=e=>{if(!et(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Gg=e=>e==null?"":xt(e)||qe(e)&&e.toString===t1?JSON.stringify(e,null,2):String(e);function Kg(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Mo(e){let t=e;return()=>++t}const Ta=e=>!et(e)||xt(e);function ja(e,t){if(Ta(e)||Ta(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(et(r[i])&&!et(s[i])&&(s[i]=Array.isArray(r[i])?[]:ht()),Ta(s[i])||Ta(r[i])?s[i]=r[i]:n.push({src:r[i],des:s[i]}))})}}/*! + * message-compiler v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Xg(e,t,n){return{line:e,column:t,offset:n}}function io(e,t,n){return{start:e,end:t}}const Yg=/\{([0-9a-zA-Z]+)\}/g;function r1(e,...t){return t.length===1&&Jg(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Yg,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const s1=Object.assign,Ff=e=>typeof e=="string",Jg=e=>e!==null&&typeof e=="object";function i1(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const hc={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Qg={[hc.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Zg(e,t,...n){const r=r1(Qg[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const De={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},e2={[De.EXPECTED_TOKEN]:"Expected token: '{0}'",[De.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[De.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[De.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[De.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[De.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[De.EMPTY_PLACEHOLDER]:"Empty placeholder",[De.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[De.INVALID_LINKED_FORMAT]:"Invalid linked format",[De.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[De.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[De.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[De.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[De.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[De.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function js(e,t,n={}){const{domain:r,messages:s,args:i}=n,o=r1((s||e2)[e]||"",...i||[]),u=new SyntaxError(String(o));return u.code=e,t&&(u.location=t),u.domain=r,u}function t2(e){throw e}const hr=" ",n2="\r",ln=` +`,r2="\u2028",s2="\u2029";function i2(e){const t=e;let n=0,r=1,s=1,i=0;const o=W=>t[W]===n2&&t[W+1]===ln,u=W=>t[W]===ln,f=W=>t[W]===s2,d=W=>t[W]===r2,m=W=>o(W)||u(W)||f(W)||d(W),w=()=>n,v=()=>r,x=()=>s,S=()=>i,T=W=>o(W)||f(W)||d(W)?ln:t[W],N=()=>T(n),L=()=>T(n+i);function U(){return i=0,m(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function M(){return o(n+i)&&i++,i++,t[n+i]}function $(){n=0,r=1,s=1,i=0}function P(W=0){i=W}function B(){const W=n+i;for(;W!==n;)U();i=0}return{index:w,line:v,column:x,peekOffset:S,charAt:T,currentChar:N,currentPeek:L,next:U,peek:M,reset:$,resetPeek:P,skipToPeek:B}}const Ar=void 0,a2=".",Bf="'",o2="tokenizer";function l2(e,t={}){const n=t.location!==!1,r=i2(e),s=()=>r.index(),i=()=>Xg(r.line(),r.column(),r.index()),o=i(),u=s(),f={currentType:14,offset:u,startLoc:o,endLoc:o,lastType:14,lastOffset:u,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>f,{onError:m}=t;function w(C,q,se,...Ce){const ut=d();if(q.column+=se,q.offset+=se,m){const Re=n?io(ut.startLoc,q):null,te=js(C,Re,{domain:o2,args:Ce});m(te)}}function v(C,q,se){C.endLoc=i(),C.currentType=q;const Ce={type:q};return n&&(Ce.loc=io(C.startLoc,C.endLoc)),se!=null&&(Ce.value=se),Ce}const x=C=>v(C,14);function S(C,q){return C.currentChar()===q?(C.next(),q):(w(De.EXPECTED_TOKEN,i(),0,q),"")}function T(C){let q="";for(;C.currentPeek()===hr||C.currentPeek()===ln;)q+=C.currentPeek(),C.peek();return q}function N(C){const q=T(C);return C.skipToPeek(),q}function L(C){if(C===Ar)return!1;const q=C.charCodeAt(0);return q>=97&&q<=122||q>=65&&q<=90||q===95}function U(C){if(C===Ar)return!1;const q=C.charCodeAt(0);return q>=48&&q<=57}function M(C,q){const{currentType:se}=q;if(se!==2)return!1;T(C);const Ce=L(C.currentPeek());return C.resetPeek(),Ce}function $(C,q){const{currentType:se}=q;if(se!==2)return!1;T(C);const Ce=C.currentPeek()==="-"?C.peek():C.currentPeek(),ut=U(Ce);return C.resetPeek(),ut}function P(C,q){const{currentType:se}=q;if(se!==2)return!1;T(C);const Ce=C.currentPeek()===Bf;return C.resetPeek(),Ce}function B(C,q){const{currentType:se}=q;if(se!==8)return!1;T(C);const Ce=C.currentPeek()===".";return C.resetPeek(),Ce}function W(C,q){const{currentType:se}=q;if(se!==9)return!1;T(C);const Ce=L(C.currentPeek());return C.resetPeek(),Ce}function K(C,q){const{currentType:se}=q;if(!(se===8||se===12))return!1;T(C);const Ce=C.currentPeek()===":";return C.resetPeek(),Ce}function Q(C,q){const{currentType:se}=q;if(se!==10)return!1;const Ce=()=>{const Re=C.currentPeek();return Re==="{"?L(C.peek()):Re==="@"||Re==="%"||Re==="|"||Re===":"||Re==="."||Re===hr||!Re?!1:Re===ln?(C.peek(),Ce()):ne(C,!1)},ut=Ce();return C.resetPeek(),ut}function pe(C){T(C);const q=C.currentPeek()==="|";return C.resetPeek(),q}function oe(C){const q=T(C),se=C.currentPeek()==="%"&&C.peek()==="{";return C.resetPeek(),{isModulo:se,hasSpace:q.length>0}}function ne(C,q=!0){const se=(ut=!1,Re="",te=!1)=>{const le=C.currentPeek();return le==="{"?Re==="%"?!1:ut:le==="@"||!le?Re==="%"?!0:ut:le==="%"?(C.peek(),se(ut,"%",!0)):le==="|"?Re==="%"||te?!0:!(Re===hr||Re===ln):le===hr?(C.peek(),se(!0,hr,te)):le===ln?(C.peek(),se(!0,ln,te)):!0},Ce=se();return q&&C.resetPeek(),Ce}function ee(C,q){const se=C.currentChar();return se===Ar?Ar:q(se)?(C.next(),se):null}function j(C){const q=C.charCodeAt(0);return q>=97&&q<=122||q>=65&&q<=90||q>=48&&q<=57||q===95||q===36}function he(C){return ee(C,j)}function X(C){const q=C.charCodeAt(0);return q>=97&&q<=122||q>=65&&q<=90||q>=48&&q<=57||q===95||q===36||q===45}function V(C){return ee(C,X)}function F(C){const q=C.charCodeAt(0);return q>=48&&q<=57}function ue(C){return ee(C,F)}function fe(C){const q=C.charCodeAt(0);return q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102}function ye(C){return ee(C,fe)}function z(C){let q="",se="";for(;q=ue(C);)se+=q;return se}function re(C){N(C);const q=C.currentChar();return q!=="%"&&w(De.EXPECTED_TOKEN,i(),0,q),C.next(),"%"}function xe(C){let q="";for(;;){const se=C.currentChar();if(se==="{"||se==="}"||se==="@"||se==="|"||!se)break;if(se==="%")if(ne(C))q+=se,C.next();else break;else if(se===hr||se===ln)if(ne(C))q+=se,C.next();else{if(pe(C))break;q+=se,C.next()}else q+=se,C.next()}return q}function Me(C){N(C);let q="",se="";for(;q=V(C);)se+=q;return C.currentChar()===Ar&&w(De.UNTERMINATED_CLOSING_BRACE,i(),0),se}function Ke(C){N(C);let q="";return C.currentChar()==="-"?(C.next(),q+=`-${z(C)}`):q+=z(C),C.currentChar()===Ar&&w(De.UNTERMINATED_CLOSING_BRACE,i(),0),q}function Ze(C){return C!==Bf&&C!==ln}function Xe(C){N(C),S(C,"'");let q="",se="";for(;q=ee(C,Ze);)q==="\\"?se+=Rt(C):se+=q;const Ce=C.currentChar();return Ce===ln||Ce===Ar?(w(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ce===ln&&(C.next(),S(C,"'")),se):(S(C,"'"),se)}function Rt(C){const q=C.currentChar();switch(q){case"\\":case"'":return C.next(),`\\${q}`;case"u":return nn(C,q,4);case"U":return nn(C,q,6);default:return w(De.UNKNOWN_ESCAPE_SEQUENCE,i(),0,q),""}}function nn(C,q,se){S(C,q);let Ce="";for(let ut=0;ut{const Ce=C.currentChar();return Ce==="{"||Ce==="%"||Ce==="@"||Ce==="|"||Ce==="("||Ce===")"||!Ce||Ce===hr?se:(se+=Ce,C.next(),q(se))};return q("")}function He(C){N(C);const q=S(C,"|");return N(C),q}function wn(C,q){let se=null;switch(C.currentChar()){case"{":return q.braceNest>=1&&w(De.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),C.next(),se=v(q,2,"{"),N(C),q.braceNest++,se;case"}":return q.braceNest>0&&q.currentType===2&&w(De.EMPTY_PLACEHOLDER,i(),0),C.next(),se=v(q,3,"}"),q.braceNest--,q.braceNest>0&&N(C),q.inLinked&&q.braceNest===0&&(q.inLinked=!1),se;case"@":return q.braceNest>0&&w(De.UNTERMINATED_CLOSING_BRACE,i(),0),se=rn(C,q)||x(q),q.braceNest=0,se;default:{let ut=!0,Re=!0,te=!0;if(pe(C))return q.braceNest>0&&w(De.UNTERMINATED_CLOSING_BRACE,i(),0),se=v(q,1,He(C)),q.braceNest=0,q.inLinked=!1,se;if(q.braceNest>0&&(q.currentType===5||q.currentType===6||q.currentType===7))return w(De.UNTERMINATED_CLOSING_BRACE,i(),0),q.braceNest=0,En(C,q);if(ut=M(C,q))return se=v(q,5,Me(C)),N(C),se;if(Re=$(C,q))return se=v(q,6,Ke(C)),N(C),se;if(te=P(C,q))return se=v(q,7,Xe(C)),N(C),se;if(!ut&&!Re&&!te)return se=v(q,13,hn(C)),w(De.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,se.value),N(C),se;break}}return se}function rn(C,q){const{currentType:se}=q;let Ce=null;const ut=C.currentChar();switch((se===8||se===9||se===12||se===10)&&(ut===ln||ut===hr)&&w(De.INVALID_LINKED_FORMAT,i(),0),ut){case"@":return C.next(),Ce=v(q,8,"@"),q.inLinked=!0,Ce;case".":return N(C),C.next(),v(q,9,".");case":":return N(C),C.next(),v(q,10,":");default:return pe(C)?(Ce=v(q,1,He(C)),q.braceNest=0,q.inLinked=!1,Ce):B(C,q)||K(C,q)?(N(C),rn(C,q)):W(C,q)?(N(C),v(q,12,Xn(C))):Q(C,q)?(N(C),ut==="{"?wn(C,q)||Ce:v(q,11,we(C))):(se===8&&w(De.INVALID_LINKED_FORMAT,i(),0),q.braceNest=0,q.inLinked=!1,En(C,q))}}function En(C,q){let se={type:14};if(q.braceNest>0)return wn(C,q)||x(q);if(q.inLinked)return rn(C,q)||x(q);switch(C.currentChar()){case"{":return wn(C,q)||x(q);case"}":return w(De.UNBALANCED_CLOSING_BRACE,i(),0),C.next(),v(q,3,"}");case"@":return rn(C,q)||x(q);default:{if(pe(C))return se=v(q,1,He(C)),q.braceNest=0,q.inLinked=!1,se;const{isModulo:ut,hasSpace:Re}=oe(C);if(ut)return Re?v(q,0,xe(C)):v(q,4,re(C));if(ne(C))return v(q,0,xe(C));break}}return se}function lt(){const{currentType:C,offset:q,startLoc:se,endLoc:Ce}=f;return f.lastType=C,f.lastOffset=q,f.lastStartLoc=se,f.lastEndLoc=Ce,f.offset=s(),f.startLoc=i(),r.currentChar()===Ar?v(f,14):En(r,f)}return{nextToken:lt,currentOffset:s,currentPosition:i,context:d}}const c2="parser",u2=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function f2(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function h2(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(M,$,P,B,...W){const K=M.currentPosition();if(K.offset+=B,K.column+=B,n){const Q=t?io(P,K):null,pe=js($,Q,{domain:c2,args:W});n(pe)}}function i(M,$,P,B,...W){const K=M.currentPosition();if(K.offset+=B,K.column+=B,r){const Q=t?io(P,K):null;r(Zg($,Q,W))}}function o(M,$,P){const B={type:M};return t&&(B.start=$,B.end=$,B.loc={start:P,end:P}),B}function u(M,$,P,B){t&&(M.end=$,M.loc&&(M.loc.end=P))}function f(M,$){const P=M.context(),B=o(3,P.offset,P.startLoc);return B.value=$,u(B,M.currentOffset(),M.currentPosition()),B}function d(M,$){const P=M.context(),{lastOffset:B,lastStartLoc:W}=P,K=o(5,B,W);return K.index=parseInt($,10),M.nextToken(),u(K,M.currentOffset(),M.currentPosition()),K}function m(M,$,P){const B=M.context(),{lastOffset:W,lastStartLoc:K}=B,Q=o(4,W,K);return Q.key=$,P===!0&&(Q.modulo=!0),M.nextToken(),u(Q,M.currentOffset(),M.currentPosition()),Q}function w(M,$){const P=M.context(),{lastOffset:B,lastStartLoc:W}=P,K=o(9,B,W);return K.value=$.replace(u2,f2),M.nextToken(),u(K,M.currentOffset(),M.currentPosition()),K}function v(M){const $=M.nextToken(),P=M.context(),{lastOffset:B,lastStartLoc:W}=P,K=o(8,B,W);return $.type!==12?(s(M,De.UNEXPECTED_EMPTY_LINKED_MODIFIER,P.lastStartLoc,0),K.value="",u(K,B,W),{nextConsumeToken:$,node:K}):($.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,qn($)),K.value=$.value||"",u(K,M.currentOffset(),M.currentPosition()),{node:K})}function x(M,$){const P=M.context(),B=o(7,P.offset,P.startLoc);return B.value=$,u(B,M.currentOffset(),M.currentPosition()),B}function S(M){const $=M.context(),P=o(6,$.offset,$.startLoc);let B=M.nextToken();if(B.type===9){const W=v(M);P.modifier=W.node,B=W.nextConsumeToken||M.nextToken()}switch(B.type!==10&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(B)),B=M.nextToken(),B.type===2&&(B=M.nextToken()),B.type){case 11:B.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(B)),P.key=x(M,B.value||"");break;case 5:B.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(B)),P.key=m(M,B.value||"");break;case 6:B.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(B)),P.key=d(M,B.value||"");break;case 7:B.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(B)),P.key=w(M,B.value||"");break;default:{s(M,De.UNEXPECTED_EMPTY_LINKED_KEY,$.lastStartLoc,0);const W=M.context(),K=o(7,W.offset,W.startLoc);return K.value="",u(K,W.offset,W.startLoc),P.key=K,u(P,W.offset,W.startLoc),{nextConsumeToken:B,node:P}}}return u(P,M.currentOffset(),M.currentPosition()),{node:P}}function T(M){const $=M.context(),P=$.currentType===1?M.currentOffset():$.offset,B=$.currentType===1?$.endLoc:$.startLoc,W=o(2,P,B);W.items=[];let K=null,Q=null;do{const ne=K||M.nextToken();switch(K=null,ne.type){case 0:ne.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(ne)),W.items.push(f(M,ne.value||""));break;case 6:ne.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(ne)),W.items.push(d(M,ne.value||""));break;case 4:Q=!0;break;case 5:ne.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(ne)),W.items.push(m(M,ne.value||"",!!Q)),Q&&(i(M,hc.USE_MODULO_SYNTAX,$.lastStartLoc,0,qn(ne)),Q=null);break;case 7:ne.value==null&&s(M,De.UNEXPECTED_LEXICAL_ANALYSIS,$.lastStartLoc,0,qn(ne)),W.items.push(w(M,ne.value||""));break;case 8:{const ee=S(M);W.items.push(ee.node),K=ee.nextConsumeToken||null;break}}}while($.currentType!==14&&$.currentType!==1);const pe=$.currentType===1?$.lastOffset:M.currentOffset(),oe=$.currentType===1?$.lastEndLoc:M.currentPosition();return u(W,pe,oe),W}function N(M,$,P,B){const W=M.context();let K=B.items.length===0;const Q=o(1,$,P);Q.cases=[],Q.cases.push(B);do{const pe=T(M);K||(K=pe.items.length===0),Q.cases.push(pe)}while(W.currentType!==14);return K&&s(M,De.MUST_HAVE_MESSAGES_IN_PLURAL,P,0),u(Q,M.currentOffset(),M.currentPosition()),Q}function L(M){const $=M.context(),{offset:P,startLoc:B}=$,W=T(M);return $.currentType===14?W:N(M,P,B,W)}function U(M){const $=l2(M,s1({},e)),P=$.context(),B=o(0,P.offset,P.startLoc);return t&&B.loc&&(B.loc.source=M),B.body=L($),e.onCacheKey&&(B.cacheKey=e.onCacheKey(M)),P.currentType!==14&&s($,De.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,M[P.offset]||""),u(B,$.currentOffset(),$.currentPosition()),B}return{parse:U}}function qn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function d2(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function zf(e,t){for(let n=0;nqf(n)),e}function qf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;no;function f(T,N){o.code+=T}function d(T,N=!0){const L=N?r:"";f(s?L+" ".repeat(T):L)}function m(T=!0){const N=++o.indentLevel;T&&d(N)}function w(T=!0){const N=--o.indentLevel;T&&d(N)}function v(){d(o.indentLevel)}return{context:u,push:f,indent:m,deindent:w,newline:v,helper:T=>`_${T}`,needIndent:()=>o.needIndent}}function w2(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$s(e,t.key),t.modifier?(e.push(", "),$s(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function v2(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let i=0;i{const n=Ff(t.mode)?t.mode:"normal",r=Ff(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],u=b2(e,{filename:r,breakLineCode:s,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),o.length>0&&(u.push(`const { ${i1(o.map(m=>`${m}: _${m}`),", ")} } = ctx`),u.newline()),u.push("return "),$s(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:f,map:d}=u.context();return{ast:e,code:f,map:d?d.toJSON():void 0}};function S2(e,t={}){const n=s1({},t),r=!!n.jit,s=!!n.minify,i=n.optimize==null?!0:n.optimize,u=h2(n).parse(e);return r?(i&&p2(u),s&&Ss(u),{ast:u,code:""}):(m2(u,n),k2(u,n))}/*! + * core-base v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function T2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(gr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(gr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function rr(e){return et(e)&&mc(e)===0&&(Vn(e,"b")||Vn(e,"body"))}const a1=["b","body"];function E2(e){return Br(e,a1)}const o1=["c","cases"];function A2(e){return Br(e,o1,[])}const l1=["s","static"];function N2(e){return Br(e,l1)}const c1=["i","items"];function C2(e){return Br(e,c1,[])}const u1=["t","type"];function mc(e){return Br(e,u1)}const f1=["v","value"];function Ea(e,t){const n=Br(e,f1);if(n!=null)return n;throw ki(t)}const h1=["m","modifier"];function M2(e){return Br(e,h1)}const d1=["k","key"];function I2(e){const t=Br(e,d1);if(t)return t;throw ki(6)}function Br(e,t,n){for(let r=0;r{o===void 0?o=u:o+=u},v[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},v[2]=()=>{v[0](),s++},v[3]=()=>{if(s>0)s--,r=4,v[0]();else{if(s=0,o===void 0||(o=P2(o),o===!1))return!1;v[1]()}};function x(){const S=e[n+1];if(r===5&&S==="'"||r===6&&S==='"')return n++,u="\\"+S,v[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&x())){if(f=D2(i),w=zr[r],d=w[f]||w.l||8,d===8||(r=d[0],d[1]!==void 0&&(m=v[d[1]],m&&(u=i,m()===!1))))return;if(r===7)return t}}const Uf=new Map;function F2(e,t){return et(e)?e[t]:null}function B2(e,t){if(!et(e))return null;let n=Uf.get(t);if(n||(n=$2(t),n&&Uf.set(t,n)),!n)return null;const r=n.length;let s=e,i=0;for(;ie,q2=e=>"",U2="text",H2=e=>e.length===0?"":Kg(e),V2=Gg;function Hf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function j2(e){const t=Ct(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ct(e.named.count)||Ct(e.named.n))?Ct(e.named.count)?e.named.count:Ct(e.named.n)?e.named.n:t:t}function W2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function G2(e={}){const t=e.locale,n=j2(e),r=et(e.pluralRules)&&Ee(t)&>(e.pluralRules[t])?e.pluralRules[t]:Hf,s=et(e.pluralRules)&&Ee(t)&>(e.pluralRules[t])?Hf:void 0,i=L=>L[r(n,L.length,s)],o=e.list||[],u=L=>o[L],f=e.named||ht();Ct(e.pluralIndex)&&W2(n,f);const d=L=>f[L];function m(L){const U=gt(e.messages)?e.messages(L):et(e.messages)?e.messages[L]:!1;return U||(e.parent?e.parent.message(L):q2)}const w=L=>e.modifiers?e.modifiers[L]:z2,v=qe(e.processor)&>(e.processor.normalize)?e.processor.normalize:H2,x=qe(e.processor)&>(e.processor.interpolate)?e.processor.interpolate:V2,S=qe(e.processor)&&Ee(e.processor.type)?e.processor.type:U2,N={list:u,named:d,plural:i,linked:(L,...U)=>{const[M,$]=U;let P="text",B="";U.length===1?et(M)?(B=M.modifier||B,P=M.type||P):Ee(M)&&(B=M||B):U.length===2&&(Ee(M)&&(B=M||B),Ee($)&&(P=$||P));const W=m(L)(N),K=P==="vnode"&&xt(W)&&B?W[0]:W;return B?w(B)(K,P):K},message:m,type:S,interpolate:x,normalize:v,values:Qt(ht(),o,f)};return N}let Si=null;function K2(e){Si=e}function X2(e,t,n){Si&&Si.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Y2=J2("function:translate");function J2(e){return t=>Si&&Si.emit(e,t)}const Q2=hc.__EXTEND_POINT__,jr=Mo(Q2),Z2={FALLBACK_TO_TRANSLATE:jr(),CANNOT_FORMAT_NUMBER:jr(),FALLBACK_TO_NUMBER_FORMAT:jr(),CANNOT_FORMAT_DATE:jr(),FALLBACK_TO_DATE_FORMAT:jr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:jr(),__EXTEND_POINT__:jr()},p1=De.__EXTEND_POINT__,Wr=Mo(p1),jn={INVALID_ARGUMENT:p1,INVALID_DATE_ARGUMENT:Wr(),INVALID_ISO_DATE_ARGUMENT:Wr(),NOT_SUPPORT_NON_STRING_MESSAGE:Wr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Wr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Wr(),NOT_SUPPORT_LOCALE_TYPE:Wr(),__EXTEND_POINT__:Wr()};function nr(e){return js(e,null,void 0)}function pc(e,t){return t.locale!=null?Vf(t.locale):Vf(e.locale)}let Hl;function Vf(e){if(Ee(e))return e;if(gt(e)){if(e.resolvedOnce&&Hl!=null)return Hl;if(e.constructor.name==="Function"){const t=e();if(Wg(t))throw nr(jn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hl=t}else throw nr(jn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw nr(jn.NOT_SUPPORT_LOCALE_TYPE)}function e5(e,t,n){return[...new Set([n,...xt(t)?t:et(t)?Object.keys(t):Ee(t)?[t]:[n]])]}function g1(e,t,n){const r=Ee(n)?n:Fs,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;xt(o);)o=jf(i,o,t);const u=xt(t)||!qe(t)?t:t.default?t.default:null;o=Ee(u)?[u]:u,xt(o)&&jf(i,o,!1),s.__localeChainCache.set(r,i)}return i}function jf(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function s5(){return{upper:(e,t)=>t==="text"&&Ee(e)?e.toUpperCase():t==="vnode"&&et(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ee(e)?e.toLowerCase():t==="vnode"&&et(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ee(e)?Gf(e):t==="vnode"&&et(e)&&"__v_isVNode"in e?Gf(e.children):e}}let y1;function Kf(e){y1=e}let b1;function i5(e){b1=e}let w1;function a5(e){w1=e}let v1=null;const o5=e=>{v1=e},l5=()=>v1;let _1=null;const Xf=e=>{_1=e},c5=()=>_1;let Yf=0;function u5(e={}){const t=gt(e.onWarn)?e.onWarn:Bg,n=Ee(e.version)?e.version:r5,r=Ee(e.locale)||gt(e.locale)?e.locale:Fs,s=gt(r)?Fs:r,i=xt(e.fallbackLocale)||qe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=qe(e.messages)?e.messages:Vl(s),u=qe(e.datetimeFormats)?e.datetimeFormats:Vl(s),f=qe(e.numberFormats)?e.numberFormats:Vl(s),d=Qt(ht(),e.modifiers,s5()),m=e.pluralRules||ht(),w=gt(e.missing)?e.missing:null,v=Ge(e.missingWarn)||Pr(e.missingWarn)?e.missingWarn:!0,x=Ge(e.fallbackWarn)||Pr(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,T=!!e.unresolving,N=gt(e.postTranslation)?e.postTranslation:null,L=qe(e.processor)?e.processor:null,U=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0,M=!!e.escapeParameter,$=gt(e.messageCompiler)?e.messageCompiler:y1,P=gt(e.messageResolver)?e.messageResolver:b1||F2,B=gt(e.localeFallbacker)?e.localeFallbacker:w1||e5,W=et(e.fallbackContext)?e.fallbackContext:void 0,K=e,Q=et(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,pe=et(K.__numberFormatters)?K.__numberFormatters:new Map,oe=et(K.__meta)?K.__meta:{};Yf++;const ne={version:n,cid:Yf,locale:r,fallbackLocale:i,messages:o,modifiers:d,pluralRules:m,missing:w,missingWarn:v,fallbackWarn:x,fallbackFormat:S,unresolving:T,postTranslation:N,processor:L,warnHtmlMessage:U,escapeParameter:M,messageCompiler:$,messageResolver:P,localeFallbacker:B,fallbackContext:W,onWarn:t,__meta:oe};return ne.datetimeFormats=u,ne.numberFormats=f,ne.__datetimeFormatters=Q,ne.__numberFormatters=pe,__INTLIFY_PROD_DEVTOOLS__&&X2(ne,n,oe),ne}const Vl=e=>({[e]:ht()});function gc(e,t,n,r,s){const{missing:i,onWarn:o}=e;if(i!==null){const u=i(e,n,t,s);return Ee(u)?u:t}else return t}function si(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function f5(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function h5(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;rd5(n,e)}function d5(e,t){const n=E2(t);if(n==null)throw ki(0);if(mc(n)===1){const i=A2(n);return e.plural(i.reduce((o,u)=>[...o,Jf(e,u)],[]))}else return Jf(e,n)}function Jf(e,t){const n=N2(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=C2(t).reduce((s,i)=>[...s,_0(e,i)],[]);return e.normalize(r)}}function _0(e,t){const n=mc(t);switch(n){case 3:return Ea(t,n);case 9:return Ea(t,n);case 4:{const r=t;if(Vn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Vn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ki(n)}case 5:{const r=t;if(Vn(r,"i")&&Ct(r.i))return e.interpolate(e.list(r.i));if(Vn(r,"index")&&Ct(r.index))return e.interpolate(e.list(r.index));throw ki(n)}case 6:{const r=t,s=M2(r),i=I2(r);return e.linked(_0(e,i),s?_0(e,s):void 0,e.type)}case 7:return Ea(t,n);case 8:return Ea(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const x1=e=>e;let As=ht();function k1(e,t={}){let n=!1;const r=t.onError||t2;return t.onError=s=>{n=!0,r(s)},{...S2(e,t),detectError:n}}const m5=(e,t)=>{if(!Ee(e))throw nr(jn.NOT_SUPPORT_NON_STRING_MESSAGE);{Ge(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||x1)(e),s=As[r];if(s)return s;const{code:i,detectError:o}=k1(e,t),u=new Function(`return ${i}`)();return o?u:As[r]=u}};function p5(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ee(e)){Ge(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||x1)(e),s=As[r];if(s)return s;const{ast:i,detectError:o}=k1(e,{...t,location:!1,jit:!0}),u=jl(i);return o?u:As[r]=u}else{const n=e.cacheKey;if(n){const r=As[n];return r||(As[n]=jl(e))}else return jl(e)}}const Qf=()=>"",Dn=e=>gt(e);function Zf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:u}=e,[f,d]=x0(...t),m=Ge(d.missingWarn)?d.missingWarn:e.missingWarn,w=Ge(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,v=Ge(d.escapeParameter)?d.escapeParameter:e.escapeParameter,x=!!d.resolvedMessage,S=Ee(d.default)||Ge(d.default)?Ge(d.default)?i?f:()=>f:d.default:n?i?f:()=>f:"",T=n||S!=="",N=pc(e,d);v&&g5(d);let[L,U,M]=x?[f,N,u[N]||ht()]:S1(e,f,N,o,w,m),$=L,P=f;if(!x&&!(Ee($)||rr($)||Dn($))&&T&&($=S,P=$),!x&&(!(Ee($)||rr($)||Dn($))||!Ee(U)))return s?Io:f;let B=!1;const W=()=>{B=!0},K=Dn($)?$:T1(e,f,U,$,P,W);if(B)return $;const Q=w5(e,U,M,d),pe=G2(Q),oe=y5(e,K,pe);let ne=r?r(oe,f):oe;if(v&&Ee(ne)&&(ne=Vg(ne)),__INTLIFY_PROD_DEVTOOLS__){const ee={timestamp:Date.now(),key:Ee(f)?f:Dn($)?$.key:"",locale:U||(Dn($)?$.locale:""),format:Ee($)?$:Dn($)?$.source:"",message:ne};ee.meta=Qt({},e.__meta,l5()||{}),Y2(ee)}return ne}function g5(e){xt(e.list)?e.list=e.list.map(t=>Ee(t)?Pf(t):t):et(e.named)&&Object.keys(e.named).forEach(t=>{Ee(e.named[t])&&(e.named[t]=Pf(e.named[t]))})}function S1(e,t,n,r,s,i){const{messages:o,onWarn:u,messageResolver:f,localeFallbacker:d}=e,m=d(e,r,n);let w=ht(),v,x=null;const S="translate";for(let T=0;Tr;return d.locale=n,d.key=t,d}const f=o(r,b5(e,n,s,r,u,i));return f.locale=n,f.key=t,f.source=r,f}function y5(e,t,n){return t(n)}function x0(...e){const[t,n,r]=e,s=ht();if(!Ee(t)&&!Ct(t)&&!Dn(t)&&!rr(t))throw nr(jn.INVALID_ARGUMENT);const i=Ct(t)?String(t):(Dn(t),t);return Ct(n)?s.plural=n:Ee(n)?s.default=n:qe(n)&&!Co(n)?s.named=n:xt(n)&&(s.list=n),Ct(r)?s.plural=r:Ee(r)?s.default=r:qe(r)&&Qt(s,r),[i,s]}function b5(e,t,n,r,s,i){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw i&&i(o),o},onCacheKey:o=>zg(t,n,o)}}function w5(e,t,n,r){const{modifiers:s,pluralRules:i,messageResolver:o,fallbackLocale:u,fallbackWarn:f,missingWarn:d,fallbackContext:m}=e,v={locale:t,modifiers:s,pluralRules:i,messages:x=>{let S=o(n,x);if(S==null&&m){const[,,T]=S1(m,x,t,u,f,d);S=o(T,x)}if(Ee(S)||rr(S)){let T=!1;const L=T1(e,x,t,S,x,()=>{T=!0});return T?Qf:L}else return Dn(S)?S:Qf}};return e.processor&&(v.processor=e.processor),r.list&&(v.list=r.list),r.named&&(v.named=r.named),Ct(r.plural)&&(v.pluralIndex=r.plural),v}function eh(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:u}=e,[f,d,m,w]=k0(...t),v=Ge(m.missingWarn)?m.missingWarn:e.missingWarn;Ge(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const x=!!m.part,S=pc(e,m),T=o(e,s,S);if(!Ee(f)||f==="")return new Intl.DateTimeFormat(S,w).format(d);let N={},L,U=null;const M="datetime format";for(let B=0;B{E1.includes(f)?o[f]=n[f]:i[f]=n[f]}),Ee(r)?i.locale=r:qe(r)&&(o=r),qe(s)&&(o=s),[i.key||"",u,i,o]}function th(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function nh(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:u}=e,[f,d,m,w]=S0(...t),v=Ge(m.missingWarn)?m.missingWarn:e.missingWarn;Ge(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const x=!!m.part,S=pc(e,m),T=o(e,s,S);if(!Ee(f)||f==="")return new Intl.NumberFormat(S,w).format(d);let N={},L,U=null;const M="number format";for(let B=0;B{A1.includes(f)?o[f]=n[f]:i[f]=n[f]}),Ee(r)?i.locale=r:qe(r)&&(o=r),qe(s)&&(o=s),[i.key||"",u,i,o]}function rh(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}T2();/*! + * vue-i18n v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const v5="9.14.5";function _5(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(gr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(gr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(gr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(gr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gr().__INTLIFY_PROD_DEVTOOLS__=!1)}const x5=Z2.__EXTEND_POINT__,dr=Mo(x5);dr(),dr(),dr(),dr(),dr(),dr(),dr(),dr(),dr();const N1=jn.__EXTEND_POINT__,mn=Mo(N1),Vt={UNEXPECTED_RETURN_TYPE:N1,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function Gt(e,...t){return js(e,null,void 0)}const T0=Fr("__translateVNode"),E0=Fr("__datetimeParts"),A0=Fr("__numberParts"),C1=Fr("__setPluralRules"),M1=Fr("__injectWithOption"),N0=Fr("__dispose");function Ti(e){if(!et(e)||rr(e))return e;for(const t in e)if(Vn(e,t))if(!t.includes("."))et(e[t])&&Ti(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o{if("locale"in u&&"resource"in u){const{locale:f,resource:d}=u;f?(o[f]=o[f]||ht(),ja(d,o[f])):ja(d,o)}else Ee(u)&&ja(JSON.parse(u),o)}),s==null&&i)for(const u in o)Vn(o,u)&&Ti(o[u]);return o}function I1(e){return e.type}function O1(e,t,n){let r=et(t.messages)?t.messages:ht();"__i18nGlobal"in n&&(r=Oo(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(et(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(et(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function sh(e){return ce(Cg,null,e,0)}const ih="__INTLIFY_META__",ah=()=>[],k5=()=>!1;let oh=0;function lh(e){return(t,n,r,s)=>e(n,r,_i()||void 0,s)}const S5=()=>{const e=_i();let t=null;return e&&(t=I1(e)[ih])?{[ih]:t}:null};function yc(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,i=e.flatJson,o=so?$e:Yd,u=!!e.translateExistCompatible;let f=Ge(e.inheritLocale)?e.inheritLocale:!0;const d=o(n&&f?n.locale.value:Ee(e.locale)?e.locale:Fs),m=o(n&&f?n.fallbackLocale.value:Ee(e.fallbackLocale)||xt(e.fallbackLocale)||qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),w=o(Oo(d.value,e)),v=o(qe(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),x=o(qe(e.numberFormats)?e.numberFormats:{[d.value]:{}});let S=n?n.missingWarn:Ge(e.missingWarn)||Pr(e.missingWarn)?e.missingWarn:!0,T=n?n.fallbackWarn:Ge(e.fallbackWarn)||Pr(e.fallbackWarn)?e.fallbackWarn:!0,N=n?n.fallbackRoot:Ge(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,U=gt(e.missing)?e.missing:null,M=gt(e.missing)?lh(e.missing):null,$=gt(e.postTranslation)?e.postTranslation:null,P=n?n.warnHtmlMessage:Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0,B=!!e.escapeParameter;const W=n?n.modifiers:qe(e.modifiers)?e.modifiers:{};let K=e.pluralRules||n&&n.pluralRules,Q;Q=(()=>{s&&Xf(null);const te={version:v5,locale:d.value,fallbackLocale:m.value,messages:w.value,modifiers:W,pluralRules:K,missing:M===null?void 0:M,missingWarn:S,fallbackWarn:T,fallbackFormat:L,unresolving:!0,postTranslation:$===null?void 0:$,warnHtmlMessage:P,escapeParameter:B,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};te.datetimeFormats=v.value,te.numberFormats=x.value,te.__datetimeFormatters=qe(Q)?Q.__datetimeFormatters:void 0,te.__numberFormatters=qe(Q)?Q.__numberFormatters:void 0;const le=u5(te);return s&&Xf(le),le})(),si(Q,d.value,m.value);function oe(){return[d.value,m.value,w.value,v.value,x.value]}const ne=_t({get:()=>d.value,set:te=>{d.value=te,Q.locale=d.value}}),ee=_t({get:()=>m.value,set:te=>{m.value=te,Q.fallbackLocale=m.value,si(Q,d.value,te)}}),j=_t(()=>w.value),he=_t(()=>v.value),X=_t(()=>x.value);function V(){return gt($)?$:null}function F(te){$=te,Q.postTranslation=te}function ue(){return U}function fe(te){te!==null&&(M=lh(te)),U=te,Q.missing=M}const ye=(te,le,tt,bt,kt,Zt)=>{oe();let Xt;try{__INTLIFY_PROD_DEVTOOLS__,s||(Q.fallbackContext=n?c5():void 0),Xt=te(Q)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(Q.fallbackContext=void 0)}if(tt!=="translate exists"&&Ct(Xt)&&Xt===Io||tt==="translate exists"&&!Xt){const[Ur,Ji]=le();return n&&N?bt(n):kt(Ur)}else{if(Zt(Xt))return Xt;throw Gt(Vt.UNEXPECTED_RETURN_TYPE)}};function z(...te){return ye(le=>Reflect.apply(Zf,null,[le,...te]),()=>x0(...te),"translate",le=>Reflect.apply(le.t,le,[...te]),le=>le,le=>Ee(le))}function re(...te){const[le,tt,bt]=te;if(bt&&!et(bt))throw Gt(Vt.INVALID_ARGUMENT);return z(le,tt,Qt({resolvedMessage:!0},bt||{}))}function xe(...te){return ye(le=>Reflect.apply(eh,null,[le,...te]),()=>k0(...te),"datetime format",le=>Reflect.apply(le.d,le,[...te]),()=>Wf,le=>Ee(le))}function Me(...te){return ye(le=>Reflect.apply(nh,null,[le,...te]),()=>S0(...te),"number format",le=>Reflect.apply(le.n,le,[...te]),()=>Wf,le=>Ee(le))}function Ke(te){return te.map(le=>Ee(le)||Ct(le)||Ge(le)?sh(String(le)):le)}const Xe={normalize:Ke,interpolate:te=>te,type:"vnode"};function Rt(...te){return ye(le=>{let tt;const bt=le;try{bt.processor=Xe,tt=Reflect.apply(Zf,null,[bt,...te])}finally{bt.processor=null}return tt},()=>x0(...te),"translate",le=>le[T0](...te),le=>[sh(le)],le=>xt(le))}function nn(...te){return ye(le=>Reflect.apply(nh,null,[le,...te]),()=>S0(...te),"number format",le=>le[A0](...te),ah,le=>Ee(le)||xt(le))}function Tn(...te){return ye(le=>Reflect.apply(eh,null,[le,...te]),()=>k0(...te),"datetime format",le=>le[E0](...te),ah,le=>Ee(le)||xt(le))}function hn(te){K=te,Q.pluralRules=K}function Xn(te,le){return ye(()=>{if(!te)return!1;const tt=Ee(le)?le:d.value,bt=wn(tt),kt=Q.messageResolver(bt,te);return u?kt!=null:rr(kt)||Dn(kt)||Ee(kt)},()=>[te],"translate exists",tt=>Reflect.apply(tt.te,tt,[te,le]),k5,tt=>Ge(tt))}function we(te){let le=null;const tt=g1(Q,m.value,d.value);for(let bt=0;bt{f&&(d.value=te,Q.locale=te,si(Q,d.value,m.value))}),$n(n.fallbackLocale,te=>{f&&(m.value=te,Q.fallbackLocale=te,si(Q,d.value,m.value))}));const Re={id:oh,locale:ne,fallbackLocale:ee,get inheritLocale(){return f},set inheritLocale(te){f=te,te&&n&&(d.value=n.locale.value,m.value=n.fallbackLocale.value,si(Q,d.value,m.value))},get availableLocales(){return Object.keys(w.value).sort()},messages:j,get modifiers(){return W},get pluralRules(){return K||{}},get isGlobal(){return s},get missingWarn(){return S},set missingWarn(te){S=te,Q.missingWarn=S},get fallbackWarn(){return T},set fallbackWarn(te){T=te,Q.fallbackWarn=T},get fallbackRoot(){return N},set fallbackRoot(te){N=te},get fallbackFormat(){return L},set fallbackFormat(te){L=te,Q.fallbackFormat=L},get warnHtmlMessage(){return P},set warnHtmlMessage(te){P=te,Q.warnHtmlMessage=te},get escapeParameter(){return B},set escapeParameter(te){B=te,Q.escapeParameter=te},t:z,getLocaleMessage:wn,setLocaleMessage:rn,mergeLocaleMessage:En,getPostTranslationHandler:V,setPostTranslationHandler:F,getMissingHandler:ue,setMissingHandler:fe,[C1]:hn};return Re.datetimeFormats=he,Re.numberFormats=X,Re.rt=re,Re.te=Xn,Re.tm=He,Re.d=xe,Re.n=Me,Re.getDateTimeFormat=lt,Re.setDateTimeFormat=C,Re.mergeDateTimeFormat=q,Re.getNumberFormat=se,Re.setNumberFormat=Ce,Re.mergeNumberFormat=ut,Re[M1]=r,Re[T0]=Rt,Re[E0]=Tn,Re[A0]=nn,Re}function T5(e){const t=Ee(e.locale)?e.locale:Fs,n=Ee(e.fallbackLocale)||xt(e.fallbackLocale)||qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=gt(e.missing)?e.missing:void 0,s=Ge(e.silentTranslationWarn)||Pr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Ge(e.silentFallbackWarn)||Pr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Ge(e.fallbackRoot)?e.fallbackRoot:!0,u=!!e.formatFallbackMessages,f=qe(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,m=gt(e.postTranslation)?e.postTranslation:void 0,w=Ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,v=!!e.escapeParameterHtml,x=Ge(e.sync)?e.sync:!0;let S=e.messages;if(qe(e.sharedMessages)){const B=e.sharedMessages;S=Object.keys(B).reduce((K,Q)=>{const pe=K[Q]||(K[Q]={});return Qt(pe,B[Q]),K},S||{})}const{__i18n:T,__root:N,__injectWithOption:L}=e,U=e.datetimeFormats,M=e.numberFormats,$=e.flatJson,P=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:S,flatJson:$,datetimeFormats:U,numberFormats:M,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:u,modifiers:f,pluralRules:d,postTranslation:m,warnHtmlMessage:w,escapeParameter:v,messageResolver:e.messageResolver,inheritLocale:x,translateExistCompatible:P,__i18n:T,__root:N,__injectWithOption:L}}function C0(e={},t){{const n=yc(T5(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ge(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ge(i)?!i:i},get silentFallbackWarn(){return Ge(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ge(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[o,u,f]=i,d={};let m=null,w=null;if(!Ee(o))throw Gt(Vt.INVALID_ARGUMENT);const v=o;return Ee(u)?d.locale=u:xt(u)?m=u:qe(u)&&(w=u),xt(f)?m=f:qe(f)&&(w=f),Reflect.apply(n.t,n,[v,m||w||{},d])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[o,u,f]=i,d={plural:1};let m=null,w=null;if(!Ee(o))throw Gt(Vt.INVALID_ARGUMENT);const v=o;return Ee(u)?d.locale=u:Ct(u)?d.plural=u:xt(u)?m=u:qe(u)&&(w=u),Ee(f)?d.locale=f:xt(f)?m=f:qe(f)&&(w=f),Reflect.apply(n.t,n,[v,m||w||{},d])},te(i,o){return n.te(i,o)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,o){n.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){n.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,o){n.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){n.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,o){n.setNumberFormat(i,o)},mergeNumberFormat(i,o){n.mergeNumberFormat(i,o)},getChoiceIndex(i,o){return-1}};return s.__extender=r,s}}const bc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E5({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===tr?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ht())}function L1(e){return tr}const A5=$r({name:"i18n-t",props:Qt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ct(e)||!isNaN(e)}},bc),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||wc({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(w=>w!=="_"),o=ht();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Ee(e.plural)?+e.plural:e.plural);const u=E5(t,i),f=s[T0](e.keypath,u,o),d=Qt(ht(),r),m=Ee(e.tag)||et(e.tag)?e.tag:L1();return Jd(m,d,f)}}}),ch=A5;function N5(e){return xt(e)&&!Ee(e[0])}function R1(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let u=ht();e.locale&&(o.locale=e.locale),Ee(e.format)?o.key=e.format:et(e.format)&&(Ee(e.format.key)&&(o.key=e.format.key),u=Object.keys(e.format).reduce((v,x)=>n.includes(x)?Qt(ht(),v,{[x]:e.format[x]}):v,ht()));const f=r(e.value,o,u);let d=[o.key];xt(f)?d=f.map((v,x)=>{const S=s[v.type],T=S?S({[v.type]:v.value,index:x,parts:f}):[v.value];return N5(T)&&(T[0].key=`${v.type}-${x}`),T}):Ee(f)&&(d=[f]);const m=Qt(ht(),i),w=Ee(e.tag)||et(e.tag)?e.tag:L1();return Jd(w,m,d)}}const C5=$r({name:"i18n-n",props:Qt({value:{type:Number,required:!0},format:{type:[String,Object]}},bc),setup(e,t){const n=e.i18n||wc({useScope:e.scope,__useComponent:!0});return R1(e,t,A1,(...r)=>n[A0](...r))}}),uh=C5,M5=$r({name:"i18n-d",props:Qt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bc),setup(e,t){const n=e.i18n||wc({useScope:e.scope,__useComponent:!0});return R1(e,t,E1,(...r)=>n[E0](...r))}}),fh=M5;function I5(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function O5(e){const t=o=>{const{instance:u,modifiers:f,value:d}=o;if(!u||!u.$)throw Gt(Vt.UNEXPECTED_ERROR);const m=I5(e,u.$),w=hh(d);return[Reflect.apply(m.t,m,[...dh(w)]),m]};return{created:(o,u)=>{const[f,d]=t(u);so&&e.global===d&&(o.__i18nWatcher=$n(d.locale,()=>{u.instance&&u.instance.$forceUpdate()})),o.__composer=d,o.textContent=f},unmounted:o=>{so&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:u})=>{if(o.__composer){const f=o.__composer,d=hh(u);o.textContent=Reflect.apply(f.t,f,[...dh(d)])}},getSSRProps:o=>{const[u]=t(o);return{textContent:u}}}}function hh(e){if(Ee(e))return{path:e};if(qe(e)){if(!("path"in e))throw Gt(Vt.REQUIRED_VALUE,"path");return e}else throw Gt(Vt.INVALID_VALUE)}function dh(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},u=r||{};return Ee(n)&&(o.locale=n),Ct(s)&&(o.plural=s),Ct(i)&&(o.plural=i),[t,u,o]}function L5(e,t,...n){const r=qe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Ge(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":ch.name,"I18nT"].forEach(o=>e.component(o,ch)),[uh.name,"I18nN"].forEach(o=>e.component(o,uh)),[fh.name,"I18nD"].forEach(o=>e.component(o,fh))),e.directive("t",O5(t))}function R5(e,t,n){return{beforeCreate(){const r=_i();if(!r)throw Gt(Vt.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=mh(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=C0(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=mh(e,s);else{this.$i18n=C0({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&O1(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=_i();if(!r)throw Gt(Vt.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function mh(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[C1](t.pluralizationRules||e.pluralizationRules);const n=Oo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const D5=Fr("global-vue-i18n");function P5(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ge(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Ge(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,u]=$5(e,n),f=Fr("");function d(v){return i.get(v)||null}function m(v,x){i.set(v,x)}function w(v){i.delete(v)}{const v={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(x,...S){if(x.__VUE_I18N_SYMBOL__=f,x.provide(x.__VUE_I18N_SYMBOL__,v),qe(S[0])){const L=S[0];v.__composerExtend=L.__composerExtend,v.__vueI18nExtend=L.__vueI18nExtend}let T=null;!n&&r&&(T=W5(x,v.global)),__VUE_I18N_FULL_INSTALL__&&L5(x,v,...S),__VUE_I18N_LEGACY_API__&&n&&x.mixin(R5(u,u.__composer,v));const N=x.unmount;x.unmount=()=>{T&&T(),v.dispose(),N()}},get global(){return u},dispose(){o.stop()},__instances:i,__getInstance:d,__setInstance:m,__deleteInstance:w};return v}}function wc(e={}){const t=_i();if(t==null)throw Gt(Vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gt(Vt.NOT_INSTALLED);const n=F5(t),r=z5(n),s=I1(t),i=B5(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Gt(Vt.NOT_AVAILABLE_IN_LEGACY_MODE);return V5(t,i,r,e)}if(i==="global")return O1(r,e,s),r;if(i==="parent"){let f=q5(n,t,e.__useComponent);return f==null&&(f=r),f}const o=n;let u=o.__getInstance(t);if(u==null){const f=Qt({},e);"__i18n"in s&&(f.__i18n=s.__i18n),r&&(f.__root=r),u=yc(f),o.__composerExtend&&(u[N0]=o.__composerExtend(u)),H5(o,t,u),o.__setInstance(t,u)}return u}function $5(e,t,n){const r=Tg();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>C0(e)):r.run(()=>yc(e));if(s==null)throw Gt(Vt.UNEXPECTED_ERROR);return[r,s]}}function F5(e){{const t=Ag(e.isCE?D5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gt(e.isCE?Vt.NOT_INSTALLED_WITH_PROVIDE:Vt.UNEXPECTED_ERROR);return t}}function B5(e,t){return Co(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function z5(e){return e.mode==="composition"?e.global:e.global.__composer}function q5(e,t,n=!1){let r=null;const s=t.root;let i=U5(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const u=o.__getInstance(i);u!=null&&(r=u.__composer,n&&r&&!r[M1]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function U5(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function H5(e,t,n){No(()=>{},t),fc(()=>{const r=n;e.__deleteInstance(t);const s=r[N0];s&&(s(),delete r[N0])},t)}function V5(e,t,n,r={}){const s=t==="local",i=Yd(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Gt(Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ge(r.inheritLocale)?r.inheritLocale:!Ee(r.locale),u=$e(!s||o?n.locale.value:Ee(r.locale)?r.locale:Fs),f=$e(!s||o?n.fallbackLocale.value:Ee(r.fallbackLocale)||xt(r.fallbackLocale)||qe(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:u.value),d=$e(Oo(u.value,r)),m=$e(qe(r.datetimeFormats)?r.datetimeFormats:{[u.value]:{}}),w=$e(qe(r.numberFormats)?r.numberFormats:{[u.value]:{}}),v=s?n.missingWarn:Ge(r.missingWarn)||Pr(r.missingWarn)?r.missingWarn:!0,x=s?n.fallbackWarn:Ge(r.fallbackWarn)||Pr(r.fallbackWarn)?r.fallbackWarn:!0,S=s?n.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,T=!!r.fallbackFormat,N=gt(r.missing)?r.missing:null,L=gt(r.postTranslation)?r.postTranslation:null,U=s?n.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,M=!!r.escapeParameter,$=s?n.modifiers:qe(r.modifiers)?r.modifiers:{},P=r.pluralRules||s&&n.pluralRules;function B(){return[u.value,f.value,d.value,m.value,w.value]}const W=_t({get:()=>i.value?i.value.locale.value:u.value,set:we=>{i.value&&(i.value.locale.value=we),u.value=we}}),K=_t({get:()=>i.value?i.value.fallbackLocale.value:f.value,set:we=>{i.value&&(i.value.fallbackLocale.value=we),f.value=we}}),Q=_t(()=>i.value?i.value.messages.value:d.value),pe=_t(()=>m.value),oe=_t(()=>w.value);function ne(){return i.value?i.value.getPostTranslationHandler():L}function ee(we){i.value&&i.value.setPostTranslationHandler(we)}function j(){return i.value?i.value.getMissingHandler():N}function he(we){i.value&&i.value.setMissingHandler(we)}function X(we){return B(),we()}function V(...we){return i.value?X(()=>Reflect.apply(i.value.t,null,[...we])):X(()=>"")}function F(...we){return i.value?Reflect.apply(i.value.rt,null,[...we]):""}function ue(...we){return i.value?X(()=>Reflect.apply(i.value.d,null,[...we])):X(()=>"")}function fe(...we){return i.value?X(()=>Reflect.apply(i.value.n,null,[...we])):X(()=>"")}function ye(we){return i.value?i.value.tm(we):{}}function z(we,He){return i.value?i.value.te(we,He):!1}function re(we){return i.value?i.value.getLocaleMessage(we):{}}function xe(we,He){i.value&&(i.value.setLocaleMessage(we,He),d.value[we]=He)}function Me(we,He){i.value&&i.value.mergeLocaleMessage(we,He)}function Ke(we){return i.value?i.value.getDateTimeFormat(we):{}}function Ze(we,He){i.value&&(i.value.setDateTimeFormat(we,He),m.value[we]=He)}function Xe(we,He){i.value&&i.value.mergeDateTimeFormat(we,He)}function Rt(we){return i.value?i.value.getNumberFormat(we):{}}function nn(we,He){i.value&&(i.value.setNumberFormat(we,He),w.value[we]=He)}function Tn(we,He){i.value&&i.value.mergeNumberFormat(we,He)}const hn={get id(){return i.value?i.value.id:-1},locale:W,fallbackLocale:K,messages:Q,datetimeFormats:pe,numberFormats:oe,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(we){i.value&&(i.value.inheritLocale=we)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(d.value)},get modifiers(){return i.value?i.value.modifiers:$},get pluralRules(){return i.value?i.value.pluralRules:P},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:v},set missingWarn(we){i.value&&(i.value.missingWarn=we)},get fallbackWarn(){return i.value?i.value.fallbackWarn:x},set fallbackWarn(we){i.value&&(i.value.missingWarn=we)},get fallbackRoot(){return i.value?i.value.fallbackRoot:S},set fallbackRoot(we){i.value&&(i.value.fallbackRoot=we)},get fallbackFormat(){return i.value?i.value.fallbackFormat:T},set fallbackFormat(we){i.value&&(i.value.fallbackFormat=we)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:U},set warnHtmlMessage(we){i.value&&(i.value.warnHtmlMessage=we)},get escapeParameter(){return i.value?i.value.escapeParameter:M},set escapeParameter(we){i.value&&(i.value.escapeParameter=we)},t:V,getPostTranslationHandler:ne,setPostTranslationHandler:ee,getMissingHandler:j,setMissingHandler:he,rt:F,d:ue,n:fe,tm:ye,te:z,getLocaleMessage:re,setLocaleMessage:xe,mergeLocaleMessage:Me,getDateTimeFormat:Ke,setDateTimeFormat:Ze,mergeDateTimeFormat:Xe,getNumberFormat:Rt,setNumberFormat:nn,mergeNumberFormat:Tn};function Xn(we){we.locale.value=u.value,we.fallbackLocale.value=f.value,Object.keys(d.value).forEach(He=>{we.mergeLocaleMessage(He,d.value[He])}),Object.keys(m.value).forEach(He=>{we.mergeDateTimeFormat(He,m.value[He])}),Object.keys(w.value).forEach(He=>{we.mergeNumberFormat(He,w.value[He])}),we.escapeParameter=M,we.fallbackFormat=T,we.fallbackRoot=S,we.fallbackWarn=x,we.missingWarn=v,we.warnHtmlMessage=U}return Ng(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Gt(Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const we=i.value=e.proxy.$i18n.__composer;t==="global"?(u.value=we.locale.value,f.value=we.fallbackLocale.value,d.value=we.messages.value,m.value=we.datetimeFormats.value,w.value=we.numberFormats.value):s&&Xn(we)}),hn}const j5=["locale","fallbackLocale","availableLocales"],ph=["t","rt","d","n","tm","te"];function W5(e,t){const n=Object.create(null);return j5.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Gt(Vt.UNEXPECTED_ERROR);const o=Eg(i.value)?{get(){return i.value.value},set(u){i.value.value=u}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,ph.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Gt(Vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,ph.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}_5();__INTLIFY_JIT_COMPILATION__?Kf(p5):Kf(m5);i5(B2);a5(g1);if(__INTLIFY_PROD_DEVTOOLS__){const e=gr();e.__INTLIFY__=!0,K2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function D1(e,t){return function(){return e.apply(t,arguments)}}const{toString:G5}=Object.prototype,{getPrototypeOf:vc}=Object,{iterator:Lo,toStringTag:P1}=Symbol,Ro=(e=>t=>{const n=G5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Wn=e=>(e=e.toLowerCase(),t=>Ro(t)===e),Do=e=>t=>typeof t===e,{isArray:Ws}=Array,Bs=Do("undefined");function $i(e){return e!==null&&!Bs(e)&&e.constructor!==null&&!Bs(e.constructor)&&yn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $1=Wn("ArrayBuffer");function K5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$1(e.buffer),t}const X5=Do("string"),yn=Do("function"),F1=Do("number"),Fi=e=>e!==null&&typeof e=="object",Y5=e=>e===!0||e===!1,Wa=e=>{if(Ro(e)!=="object")return!1;const t=vc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(P1 in e)&&!(Lo in e)},J5=e=>{if(!Fi(e)||$i(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Q5=Wn("Date"),Z5=Wn("File"),e3=e=>!!(e&&typeof e.uri<"u"),t3=e=>e&&typeof e.getParts<"u",n3=Wn("Blob"),r3=Wn("FileList"),s3=e=>Fi(e)&&yn(e.pipe);function i3(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const gh=i3(),yh=typeof gh.FormData<"u"?gh.FormData:void 0,a3=e=>{let t;return e&&(yh&&e instanceof yh||yn(e.append)&&((t=Ro(e))==="formdata"||t==="object"&&yn(e.toString)&&e.toString()==="[object FormData]"))},o3=Wn("URLSearchParams"),[l3,c3,u3,f3]=["ReadableStream","Request","Response","Headers"].map(Wn),h3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Ws(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,z1=e=>!Bs(e)&&e!==Zr;function M0(){const{caseless:e,skipUndefined:t}=z1(this)&&this||{},n={},r=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const o=e&&B1(n,i)||i;Wa(n[o])&&Wa(s)?n[o]=M0(n[o],s):Wa(s)?n[o]=M0({},s):Ws(s)?n[o]=s.slice():(!t||!Bs(s))&&(n[o]=s)};for(let s=0,i=arguments.length;s(Bi(t,(s,i)=>{n&&yn(s)?Object.defineProperty(e,i,{value:D1(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),m3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),p3=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},g3=(e,t,n,r)=>{let s,i,o;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&vc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},y3=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},b3=e=>{if(!e)return null;if(Ws(e))return e;let t=e.length;if(!F1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},w3=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&vc(Uint8Array)),v3=(e,t)=>{const r=(e&&e[Lo]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},_3=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},x3=Wn("HTMLFormElement"),k3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),bh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),S3=Wn("RegExp"),q1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Bi(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},T3=e=>{q1(e,(t,n)=>{if(yn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(yn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},E3=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Ws(e)?r(e):r(String(e).split(t)),n},A3=()=>{},N3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function C3(e){return!!(e&&yn(e.append)&&e[P1]==="FormData"&&e[Lo])}const M3=e=>{const t=new Array(10),n=(r,s)=>{if(Fi(r)){if(t.indexOf(r)>=0)return;if($i(r))return r;if(!("toJSON"in r)){t[s]=r;const i=Ws(r)?[]:{};return Bi(r,(o,u)=>{const f=n(o,s+1);!Bs(f)&&(i[u]=f)}),t[s]=void 0,i}}return r};return n(e,0)},I3=Wn("AsyncFunction"),O3=e=>e&&(Fi(e)||yn(e))&&yn(e.then)&&yn(e.catch),U1=((e,t)=>e?setImmediate:t?((n,r)=>(Zr.addEventListener("message",({source:s,data:i})=>{s===Zr&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Zr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",yn(Zr.postMessage)),L3=typeof queueMicrotask<"u"?queueMicrotask.bind(Zr):typeof process<"u"&&process.nextTick||U1,R3=e=>e!=null&&yn(e[Lo]),Z={isArray:Ws,isArrayBuffer:$1,isBuffer:$i,isFormData:a3,isArrayBufferView:K5,isString:X5,isNumber:F1,isBoolean:Y5,isObject:Fi,isPlainObject:Wa,isEmptyObject:J5,isReadableStream:l3,isRequest:c3,isResponse:u3,isHeaders:f3,isUndefined:Bs,isDate:Q5,isFile:Z5,isReactNativeBlob:e3,isReactNative:t3,isBlob:n3,isRegExp:S3,isFunction:yn,isStream:s3,isURLSearchParams:o3,isTypedArray:w3,isFileList:r3,forEach:Bi,merge:M0,extend:d3,trim:h3,stripBOM:m3,inherits:p3,toFlatObject:g3,kindOf:Ro,kindOfTest:Wn,endsWith:y3,toArray:b3,forEachEntry:v3,matchAll:_3,isHTMLForm:x3,hasOwnProperty:bh,hasOwnProp:bh,reduceDescriptors:q1,freezeMethods:T3,toObjectSet:E3,toCamelCase:k3,noop:A3,toFiniteNumber:N3,findKey:B1,global:Zr,isContextDefined:z1,isSpecCompliantForm:C3,toJSONObject:M3,isAsyncFn:I3,isThenable:O3,setImmediate:U1,asap:L3,isIterable:R3};let Fe=class H1 extends Error{static from(t,n,r,s,i,o){const u=new H1(t.message,n||t.code,r,s,i);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),o&&Object.assign(u,o),u}constructor(t,n,r,s,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}};Fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Fe.ERR_BAD_OPTION="ERR_BAD_OPTION";Fe.ECONNABORTED="ECONNABORTED";Fe.ETIMEDOUT="ETIMEDOUT";Fe.ERR_NETWORK="ERR_NETWORK";Fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Fe.ERR_DEPRECATED="ERR_DEPRECATED";Fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Fe.ERR_CANCELED="ERR_CANCELED";Fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Fe.ERR_INVALID_URL="ERR_INVALID_URL";const D3=null;function I0(e){return Z.isPlainObject(e)||Z.isArray(e)}function V1(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function Wl(e,t,n){return e?e.concat(t).map(function(s,i){return s=V1(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function P3(e){return Z.isArray(e)&&!e.some(I0)}const $3=Z.toFlatObject(Z,{},null,function(t){return/^is[A-Z]/.test(t)});function Po(e,t,n){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,N){return!Z.isUndefined(N[T])});const r=n.metaTokens,s=n.visitor||m,i=n.dots,o=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(s))throw new TypeError("visitor must be a function");function d(S){if(S===null)return"";if(Z.isDate(S))return S.toISOString();if(Z.isBoolean(S))return S.toString();if(!f&&Z.isBlob(S))throw new Fe("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(S)||Z.isTypedArray(S)?f&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function m(S,T,N){let L=S;if(Z.isReactNative(t)&&Z.isReactNativeBlob(S))return t.append(Wl(N,T,i),d(S)),!1;if(S&&!N&&typeof S=="object"){if(Z.endsWith(T,"{}"))T=r?T:T.slice(0,-2),S=JSON.stringify(S);else if(Z.isArray(S)&&P3(S)||(Z.isFileList(S)||Z.endsWith(T,"[]"))&&(L=Z.toArray(S)))return T=V1(T),L.forEach(function(M,$){!(Z.isUndefined(M)||M===null)&&t.append(o===!0?Wl([T],$,i):o===null?T:T+"[]",d(M))}),!1}return I0(S)?!0:(t.append(Wl(N,T,i),d(S)),!1)}const w=[],v=Object.assign($3,{defaultVisitor:m,convertValue:d,isVisitable:I0});function x(S,T){if(!Z.isUndefined(S)){if(w.indexOf(S)!==-1)throw Error("Circular reference detected in "+T.join("."));w.push(S),Z.forEach(S,function(L,U){(!(Z.isUndefined(L)||L===null)&&s.call(t,L,Z.isString(U)?U.trim():U,T,v))===!0&&x(L,T?T.concat(U):[U])}),w.pop()}}if(!Z.isObject(e))throw new TypeError("data must be an object");return x(e),t}function wh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function _c(e,t){this._pairs=[],e&&Po(e,this,t)}const j1=_c.prototype;j1.append=function(t,n){this._pairs.push([t,n])};j1.toString=function(t){const n=t?function(r){return t.call(this,r,wh)}:wh;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function F3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function W1(e,t,n){if(!t)return e;const r=n&&n.encode||F3,s=Z.isFunction(n)?{serialize:n}:n,i=s&&s.serialize;let o;if(i?o=i(t,s):o=Z.isURLSearchParams(t)?t.toString():new _c(t,s).toString(r),o){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class vh{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const xc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},B3=typeof URLSearchParams<"u"?URLSearchParams:_c,z3=typeof FormData<"u"?FormData:null,q3=typeof Blob<"u"?Blob:null,U3={isBrowser:!0,classes:{URLSearchParams:B3,FormData:z3,Blob:q3},protocols:["http","https","file","blob","url","data"]},kc=typeof window<"u"&&typeof document<"u",O0=typeof navigator=="object"&&navigator||void 0,H3=kc&&(!O0||["ReactNative","NativeScript","NS"].indexOf(O0.product)<0),V3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",j3=kc&&window.location.href||"http://localhost",W3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kc,hasStandardBrowserEnv:H3,hasStandardBrowserWebWorkerEnv:V3,navigator:O0,origin:j3},Symbol.toStringTag,{value:"Module"})),tn={...W3,...U3};function G3(e,t){return Po(e,new tn.classes.URLSearchParams,{visitor:function(n,r,s,i){return tn.isNode&&Z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function K3(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function X3(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&Z.isArray(s)?s.length:o,f?(Z.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!u):((!s[o]||!Z.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&Z.isArray(s[o])&&(s[o]=X3(s[o])),!u)}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const n={};return Z.forEachEntry(e,(r,s)=>{t(K3(r),s,n,0)}),n}return null}function Y3(e,t,n){if(Z.isString(e))try{return(t||JSON.parse)(e),Z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const zi={transitional:xc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=Z.isObject(t);if(i&&Z.isHTMLForm(t)&&(t=new FormData(t)),Z.isFormData(t))return s?JSON.stringify(G1(t)):t;if(Z.isArrayBuffer(t)||Z.isBuffer(t)||Z.isStream(t)||Z.isFile(t)||Z.isBlob(t)||Z.isReadableStream(t))return t;if(Z.isArrayBufferView(t))return t.buffer;if(Z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return G3(t,this.formSerializer).toString();if((u=Z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Po(u?{"files[]":t}:t,f&&new f,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Y3(t)):t}],transformResponse:[function(t){const n=this.transitional||zi.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(Z.isResponse(t)||Z.isReadableStream(t))return t;if(t&&Z.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(u){if(o)throw u.name==="SyntaxError"?Fe.from(u,Fe.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tn.classes.FormData,Blob:tn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{zi.headers[e]={}});const J3=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Q3=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&J3[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},_h=Symbol("internals");function ii(e){return e&&String(e).trim().toLowerCase()}function Ga(e){return e===!1||e==null?e:Z.isArray(e)?e.map(Ga):String(e)}function Z3(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const e6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gl(e,t,n,r,s){if(Z.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!Z.isString(t)){if(Z.isString(r))return t.indexOf(r)!==-1;if(Z.isRegExp(r))return r.test(t)}}function t6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function n6(e,t){const n=Z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}let bn=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(u,f,d){const m=ii(f);if(!m)throw new Error("header name must be a non-empty string");const w=Z.findKey(s,m);(!w||s[w]===void 0||d===!0||d===void 0&&s[w]!==!1)&&(s[w||f]=Ga(u))}const o=(u,f)=>Z.forEach(u,(d,m)=>i(d,m,f));if(Z.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(Z.isString(t)&&(t=t.trim())&&!e6(t))o(Q3(t),n);else if(Z.isObject(t)&&Z.isIterable(t)){let u={},f,d;for(const m of t){if(!Z.isArray(m))throw TypeError("Object iterator must return a key-value pair");u[d=m[0]]=(f=u[d])?Z.isArray(f)?[...f,m[1]]:[f,m[1]]:m[1]}o(u,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=ii(t),t){const r=Z.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Z3(s);if(Z.isFunction(n))return n.call(this,s,r);if(Z.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ii(t),t){const r=Z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Gl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=ii(o),o){const u=Z.findKey(r,o);u&&(!n||Gl(r,r[u],u,n))&&(delete r[u],s=!0)}}return Z.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Gl(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return Z.forEach(this,(s,i)=>{const o=Z.findKey(r,i);if(o){n[o]=Ga(s),delete n[i];return}const u=t?t6(i):String(i).trim();u!==i&&delete n[i],n[u]=Ga(s),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Z.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&Z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[_h]=this[_h]={accessors:{}}).accessors,s=this.prototype;function i(o){const u=ii(o);r[u]||(n6(s,o),r[u]=!0)}return Z.isArray(t)?t.forEach(i):i(t),this}};bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.reduceDescriptors(bn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Z.freezeMethods(bn);function Kl(e,t){const n=this||zi,r=t||n,s=bn.from(r.headers);let i=r.data;return Z.forEach(e,function(u){i=u.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function K1(e){return!!(e&&e.__CANCEL__)}let qi=class extends Fe{constructor(t,n,r){super(t??"canceled",Fe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function X1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function r6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function s6(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),m=r[i];o||(o=d),n[s]=f,r[s]=d;let w=i,v=0;for(;w!==s;)v+=n[w++],w=w%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),d-o{n=m,s=null,i&&(clearTimeout(i),i=null),e(...d)};return[(...d)=>{const m=Date.now(),w=m-n;w>=r?o(d,m):(s=d,i||(i=setTimeout(()=>{i=null,o(s)},r-w)))},()=>s&&o(s)]}const ao=(e,t,n=3)=>{let r=0;const s=s6(50,250);return i6(i=>{const o=i.loaded,u=i.lengthComputable?i.total:void 0,f=o-r,d=s(f),m=o<=u;r=o;const w={loaded:o,total:u,progress:u?o/u:void 0,bytes:f,rate:d||void 0,estimated:d&&u&&m?(u-o)/d:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(w)},n)},xh=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kh=e=>(...t)=>Z.asap(()=>e(...t)),a6=tn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,tn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(tn.origin),tn.navigator&&/(msie|trident)/i.test(tn.navigator.userAgent)):()=>!0,o6=tn.hasStandardBrowserEnv?{write(e,t,n,r,s,i,o){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];Z.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),Z.isString(r)&&u.push(`path=${r}`),Z.isString(s)&&u.push(`domain=${s}`),i===!0&&u.push("secure"),Z.isString(o)&&u.push(`SameSite=${o}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function l6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function c6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Y1(e,t,n){let r=!l6(t);return e&&(r||n==!1)?c6(e,t):t}const Sh=e=>e instanceof bn?{...e}:e;function is(e,t){t=t||{};const n={};function r(d,m,w,v){return Z.isPlainObject(d)&&Z.isPlainObject(m)?Z.merge.call({caseless:v},d,m):Z.isPlainObject(m)?Z.merge({},m):Z.isArray(m)?m.slice():m}function s(d,m,w,v){if(Z.isUndefined(m)){if(!Z.isUndefined(d))return r(void 0,d,w,v)}else return r(d,m,w,v)}function i(d,m){if(!Z.isUndefined(m))return r(void 0,m)}function o(d,m){if(Z.isUndefined(m)){if(!Z.isUndefined(d))return r(void 0,d)}else return r(void 0,m)}function u(d,m,w){if(w in t)return r(d,m);if(w in e)return r(void 0,d)}const f={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(d,m,w)=>s(Sh(d),Sh(m),w,!0)};return Z.forEach(Object.keys({...e,...t}),function(m){if(m==="__proto__"||m==="constructor"||m==="prototype")return;const w=Z.hasOwnProp(f,m)?f[m]:s,v=w(e[m],t[m],m);Z.isUndefined(v)&&w!==u||(n[m]=v)}),n}const J1=e=>{const t=is({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:u}=t;if(t.headers=o=bn.from(o),t.url=W1(Y1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Z.isFormData(n)){if(tn.hasStandardBrowserEnv||tn.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(Z.isFunction(n.getHeaders)){const f=n.getHeaders(),d=["content-type","content-length"];Object.entries(f).forEach(([m,w])=>{d.includes(m.toLowerCase())&&o.set(m,w)})}}if(tn.hasStandardBrowserEnv&&(r&&Z.isFunction(r)&&(r=r(t)),r||r!==!1&&a6(t.url))){const f=s&&i&&o6.read(i);f&&o.set(s,f)}return t},u6=typeof XMLHttpRequest<"u",f6=u6&&function(e){return new Promise(function(n,r){const s=J1(e);let i=s.data;const o=bn.from(s.headers).normalize();let{responseType:u,onUploadProgress:f,onDownloadProgress:d}=s,m,w,v,x,S;function T(){x&&x(),S&&S(),s.cancelToken&&s.cancelToken.unsubscribe(m),s.signal&&s.signal.removeEventListener("abort",m)}let N=new XMLHttpRequest;N.open(s.method.toUpperCase(),s.url,!0),N.timeout=s.timeout;function L(){if(!N)return;const M=bn.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),P={data:!u||u==="text"||u==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:M,config:e,request:N};X1(function(W){n(W),T()},function(W){r(W),T()},P),N=null}"onloadend"in N?N.onloadend=L:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(L)},N.onabort=function(){N&&(r(new Fe("Request aborted",Fe.ECONNABORTED,e,N)),N=null)},N.onerror=function($){const P=$&&$.message?$.message:"Network Error",B=new Fe(P,Fe.ERR_NETWORK,e,N);B.event=$||null,r(B),N=null},N.ontimeout=function(){let $=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const P=s.transitional||xc;s.timeoutErrorMessage&&($=s.timeoutErrorMessage),r(new Fe($,P.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,e,N)),N=null},i===void 0&&o.setContentType(null),"setRequestHeader"in N&&Z.forEach(o.toJSON(),function($,P){N.setRequestHeader(P,$)}),Z.isUndefined(s.withCredentials)||(N.withCredentials=!!s.withCredentials),u&&u!=="json"&&(N.responseType=s.responseType),d&&([v,S]=ao(d,!0),N.addEventListener("progress",v)),f&&N.upload&&([w,x]=ao(f),N.upload.addEventListener("progress",w),N.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(m=M=>{N&&(r(!M||M.type?new qi(null,e,N):M),N.abort(),N=null)},s.cancelToken&&s.cancelToken.subscribe(m),s.signal&&(s.signal.aborted?m():s.signal.addEventListener("abort",m)));const U=r6(s.url);if(U&&tn.protocols.indexOf(U)===-1){r(new Fe("Unsupported protocol "+U+":",Fe.ERR_BAD_REQUEST,e));return}N.send(i||null)})},h6=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const i=function(d){if(!s){s=!0,u();const m=d instanceof Error?d:this.reason;r.abort(m instanceof Fe?m:new qi(m instanceof Error?m.message:m))}};let o=t&&setTimeout(()=>{o=null,i(new Fe(`timeout of ${t}ms exceeded`,Fe.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>d.addEventListener("abort",i));const{signal:f}=r;return f.unsubscribe=()=>Z.asap(u),f}},d6=function*(e,t){let n=e.byteLength;if(n{const s=m6(e,t);let i=0,o,u=f=>{o||(o=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:d,value:m}=await s.next();if(d){u(),f.close();return}let w=m.byteLength;if(n){let v=i+=w;n(v)}f.enqueue(new Uint8Array(m))}catch(d){throw u(d),d}},cancel(f){return u(f),s.return()}},{highWaterMark:2})},Eh=64*1024,{isFunction:Aa}=Z,g6=(({Request:e,Response:t})=>({Request:e,Response:t}))(Z.global),{ReadableStream:Ah,TextEncoder:Nh}=Z.global,Ch=(e,...t)=>{try{return!!e(...t)}catch{return!1}},y6=e=>{e=Z.merge.call({skipUndefined:!0},g6,e);const{fetch:t,Request:n,Response:r}=e,s=t?Aa(t):typeof fetch=="function",i=Aa(n),o=Aa(r);if(!s)return!1;const u=s&&Aa(Ah),f=s&&(typeof Nh=="function"?(S=>T=>S.encode(T))(new Nh):async S=>new Uint8Array(await new n(S).arrayBuffer())),d=i&&u&&Ch(()=>{let S=!1;const T=new n(tn.origin,{body:new Ah,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!T}),m=o&&u&&Ch(()=>Z.isReadableStream(new r("").body)),w={stream:m&&(S=>S.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!w[S]&&(w[S]=(T,N)=>{let L=T&&T[S];if(L)return L.call(T);throw new Fe(`Response type '${S}' is not supported`,Fe.ERR_NOT_SUPPORT,N)})});const v=async S=>{if(S==null)return 0;if(Z.isBlob(S))return S.size;if(Z.isSpecCompliantForm(S))return(await new n(tn.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(S)||Z.isArrayBuffer(S))return S.byteLength;if(Z.isURLSearchParams(S)&&(S=S+""),Z.isString(S))return(await f(S)).byteLength},x=async(S,T)=>{const N=Z.toFiniteNumber(S.getContentLength());return N??v(T)};return async S=>{let{url:T,method:N,data:L,signal:U,cancelToken:M,timeout:$,onDownloadProgress:P,onUploadProgress:B,responseType:W,headers:K,withCredentials:Q="same-origin",fetchOptions:pe}=J1(S),oe=t||fetch;W=W?(W+"").toLowerCase():"text";let ne=h6([U,M&&M.toAbortSignal()],$),ee=null;const j=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let he;try{if(B&&d&&N!=="get"&&N!=="head"&&(he=await x(K,L))!==0){let ye=new n(T,{method:"POST",body:L,duplex:"half"}),z;if(Z.isFormData(L)&&(z=ye.headers.get("content-type"))&&K.setContentType(z),ye.body){const[re,xe]=xh(he,ao(kh(B)));L=Th(ye.body,Eh,re,xe)}}Z.isString(Q)||(Q=Q?"include":"omit");const X=i&&"credentials"in n.prototype,V={...pe,signal:ne,method:N.toUpperCase(),headers:K.normalize().toJSON(),body:L,duplex:"half",credentials:X?Q:void 0};ee=i&&new n(T,V);let F=await(i?oe(ee,pe):oe(T,V));const ue=m&&(W==="stream"||W==="response");if(m&&(P||ue&&j)){const ye={};["status","statusText","headers"].forEach(Me=>{ye[Me]=F[Me]});const z=Z.toFiniteNumber(F.headers.get("content-length")),[re,xe]=P&&xh(z,ao(kh(P),!0))||[];F=new r(Th(F.body,Eh,re,()=>{xe&&xe(),j&&j()}),ye)}W=W||"text";let fe=await w[Z.findKey(w,W)||"text"](F,S);return!ue&&j&&j(),await new Promise((ye,z)=>{X1(ye,z,{data:fe,headers:bn.from(F.headers),status:F.status,statusText:F.statusText,config:S,request:ee})})}catch(X){throw j&&j(),X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)?Object.assign(new Fe("Network Error",Fe.ERR_NETWORK,S,ee,X&&X.response),{cause:X.cause||X}):Fe.from(X,X&&X.code,S,ee,X&&X.response)}}},b6=new Map,Q1=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:s}=t,i=[r,s,n];let o=i.length,u=o,f,d,m=b6;for(;u--;)f=i[u],d=m.get(f),d===void 0&&m.set(f,d=u?new Map:y6(t)),m=d;return d};Q1();const Sc={http:D3,xhr:f6,fetch:{get:Q1}};Z.forEach(Sc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Mh=e=>`- ${e}`,w6=e=>Z.isFunction(e)||e===null||e===!1;function v6(e,t){e=Z.isArray(e)?e:[e];const{length:n}=e;let r,s;const i={};for(let o=0;o`adapter ${f} `+(d===!1?"is not supported by the environment":"is not available in the build"));let u=n?o.length>1?`since : +`+o.map(Mh).join(` +`):" "+Mh(o[0]):"as no adapter specified";throw new Fe("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return s}const Z1={getAdapter:v6,adapters:Sc};function Xl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qi(null,e)}function Ih(e){return Xl(e),e.headers=bn.from(e.headers),e.data=Kl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Z1.getAdapter(e.adapter||zi.adapter,e)(e).then(function(r){return Xl(e),r.data=Kl.call(e,e.transformResponse,r),r.headers=bn.from(r.headers),r},function(r){return K1(r)||(Xl(e),r&&r.response&&(r.response.data=Kl.call(e,e.transformResponse,r.response),r.response.headers=bn.from(r.response.headers))),Promise.reject(r)})}const em="1.13.6",$o={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Oh={};$o.transitional=function(t,n,r){function s(i,o){return"[Axios v"+em+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,u)=>{if(t===!1)throw new Fe(s(o," has been removed"+(n?" in "+n:"")),Fe.ERR_DEPRECATED);return n&&!Oh[o]&&(Oh[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,u):!0}};$o.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function _6(e,t,n){if(typeof e!="object")throw new Fe("options must be an object",Fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const u=e[i],f=u===void 0||o(u,i,e);if(f!==!0)throw new Fe("option "+i+" must be "+f,Fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fe("Unknown option "+i,Fe.ERR_BAD_OPTION)}}const Ka={assertOptions:_6,validators:$o},Ln=Ka.validators;let rs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new vh,response:new vh}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=is(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Ka.assertOptions(r,{silentJSONParsing:Ln.transitional(Ln.boolean),forcedJSONParsing:Ln.transitional(Ln.boolean),clarifyTimeoutError:Ln.transitional(Ln.boolean),legacyInterceptorReqResOrdering:Ln.transitional(Ln.boolean)},!1),s!=null&&(Z.isFunction(s)?n.paramsSerializer={serialize:s}:Ka.assertOptions(s,{encode:Ln.function,serialize:Ln.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ka.assertOptions(n,{baseUrl:Ln.spelling("baseURL"),withXsrfToken:Ln.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&Z.merge(i.common,i[n.method]);i&&Z.forEach(["delete","get","head","post","put","patch","common"],S=>{delete i[S]}),n.headers=bn.concat(o,i);const u=[];let f=!0;this.interceptors.request.forEach(function(T){if(typeof T.runWhen=="function"&&T.runWhen(n)===!1)return;f=f&&T.synchronous;const N=n.transitional||xc;N&&N.legacyInterceptorReqResOrdering?u.unshift(T.fulfilled,T.rejected):u.push(T.fulfilled,T.rejected)});const d=[];this.interceptors.response.forEach(function(T){d.push(T.fulfilled,T.rejected)});let m,w=0,v;if(!f){const S=[Ih.bind(this),void 0];for(S.unshift(...u),S.push(...d),v=S.length,m=Promise.resolve(n);w{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(u=>{r.subscribe(u),i=u}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,u){r.reason||(r.reason=new qi(i,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new tm(function(s){t=s}),cancel:t}}};function k6(e){return function(n){return e.apply(null,n)}}function S6(e){return Z.isObject(e)&&e.isAxiosError===!0}const L0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(L0).forEach(([e,t])=>{L0[t]=e});function nm(e){const t=new rs(e),n=D1(rs.prototype.request,t);return Z.extend(n,rs.prototype,t,{allOwnKeys:!0}),Z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return nm(is(e,s))},n}const Ot=nm(zi);Ot.Axios=rs;Ot.CanceledError=qi;Ot.CancelToken=x6;Ot.isCancel=K1;Ot.VERSION=em;Ot.toFormData=Po;Ot.AxiosError=Fe;Ot.Cancel=Ot.CanceledError;Ot.all=function(t){return Promise.all(t)};Ot.spread=k6;Ot.isAxiosError=S6;Ot.mergeConfig=is;Ot.AxiosHeaders=bn;Ot.formToJSON=e=>G1(Z.isHTMLForm(e)?new FormData(e):e);Ot.getAdapter=Z1.getAdapter;Ot.HttpStatusCode=L0;Ot.default=Ot;const{Axios:CE,AxiosError:ME,CanceledError:IE,isCancel:OE,CancelToken:LE,VERSION:RE,all:DE,Cancel:PE,isAxiosError:$E,spread:FE,toFormData:BE,AxiosHeaders:zE,HttpStatusCode:qE,formToJSON:UE,getAdapter:HE,mergeConfig:VE}=Ot,T6=()=>{const e=window.location.pathname;return`${e==="/mindmap"||e.startsWith("/mindmap/")?"/mindmap":""}/api`},Jr=Ot.create({baseURL:T6(),timeout:3e5,headers:{"Content-Type":"application/json"}});Jr.interceptors.request.use(e=>e,e=>Promise.reject(e));Jr.interceptors.response.use(e=>e.data,e=>{var t,n;if(e.response){const r=((t=e.response.data)==null?void 0:t.error)||((n=e.response.data)==null?void 0:n.detail);if(r)return e.message=r,Promise.reject(e);switch(e.response.status){case 400:e.message="??????";break;case 401:e.message="?????????";break;case 403:e.message="????";break;case 404:e.message="???????";break;case 500:e.message="???????";break;case 502:e.message="????";break;case 503:e.message="?????";break;case 504:e.message="????";break;default:e.message=`????${e.response.status}`}}else e.message="??????";return Promise.reject(e)});const yi={parseDocument(e,t){const n=new FormData;return e.files.forEach(r=>{n.append("files",r)}),n.append("output_dir",e.output_dir),n.append("lang_list",e.lang_list),n.append("backend",e.backend),n.append("parse_method",e.parse_method),n.append("formula_enable",e.formula_enable.toString()),n.append("table_enable",e.table_enable.toString()),n.append("start_page_id",e.start_page_id.toString()),n.append("end_page_id",e.end_page_id.toString()),n.append("return_md",e.return_md.toString()),n.append("return_middle_json",e.return_middle_json.toString()),n.append("response_format_zip",e.response_format_zip.toString()),e.server_url&&n.append("server_url",e.server_url),t&&n.append("task_id",t),Jr.post("/file_parse",n,{headers:{"Content-Type":"multipart/form-data",...t?{"X-Task-ID":t}:{}}}).then(r=>(console.log("解析成功:",r),r)).catch(r=>{throw console.error("解析失败:",r),r})},createParseTask(e){return Jr.post(`/parse_tasks/${encodeURIComponent(e)}`).then(t=>t)},getParseProgress(e){return Jr.get(`/parse_progress/${e}`).then(t=>t)},createMindmapTask(e,t,n="smart",r){return Jr.post(`/mindmap_tasks/${encodeURIComponent(e)}`,{markdown:t,mode:n,prompt:r}).then(s=>s)},getMindmapProgress(e){return Jr.get(`/mindmap_progress/${encodeURIComponent(e)}`).then(t=>t)}};async function E6(){if(typeof window.mammoth>"u")return new Promise((e,t)=>{const n=document.createElement("script");n.src="https://cdn.jsdelivr.net/npm/mammoth@1.6.0/mammoth.browser.min.js",n.onload=()=>e(),n.onerror=()=>t(new Error("Failed to load mammoth library")),document.head.appendChild(n)})}async function rm(){if(typeof window.html2pdf>"u")return new Promise((e,t)=>{const n=document.createElement("script");n.src="https://cdn.jsdelivr.net/npm/html2pdf.js@0.10.1/dist/html2pdf.bundle.min.js",n.onload=()=>e(),n.onerror=()=>t(new Error("Failed to load html2pdf library")),document.head.appendChild(n)})}async function A6(e,t){console.log("convertWordToPdf called with file:",e.name,e.size),console.log("Loading mammoth library..."),await E6(),console.log("Mammoth library loaded"),console.log("Loading html2pdf library..."),await rm(),console.log("html2pdf library loaded"),console.log("Reading Word file...");const n=await e.arrayBuffer();console.log("Word file read successfully"),console.log("Converting Word to HTML...");const r=await window.mammoth.convertToHtml({arrayBuffer:n});console.log("Word to HTML conversion successful, HTML length:",r.value.length);const s=r.value;console.log("Creating temporary container...");const i=document.createElement("div");i.innerHTML=` +
+ ${s} +
+ `,i.style.width="595px",document.body.appendChild(i),console.log("Temporary container created"),console.log("Generating PDF...");const o={margin:10,filename:e.name.replace(/\.(docx?|doc)$/i,".pdf"),image:{type:"jpeg",quality:.98},html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait"}},u=await window.html2pdf().set(o).from(i).outputPdf("blob");console.log("PDF generated successfully, blob size:",u.size),document.body.removeChild(i),console.log("Temporary container removed");const f=new File([u],o.filename,{type:"application/pdf"});return console.log("PDF file created:",f.name,f.size),f}const N6="文档思维导图",C6=6,M6=new xi({html:!0,linkify:!0,typographer:!0,breaks:!0});function Fo(e){return e.replace(/\r?\n/g," ").replace(/\s+/g," ").trim()}function R0(e){return Math.min(Math.max(e,1),C6)}function Nr(e,t,n){const r=Fo(n);r&&e.push(`${"#".repeat(R0(t))} ${r}`)}function I6(e){const t=Number(e.tag.replace(/^h/i,""));return Number.isFinite(t)&&t>0?t:1}function D0(e,t){const n=e[t+1];return(n==null?void 0:n.type)==="inline"?n.content:""}function O6(e){const t=Fo(e.info||""),n=e.content.trim();return n?t?`代码块 ${t}: ${n}`:`代码块: ${n}`:t?`代码块 ${t}`:"代码块"}function L6(e,t){const n=[];let r=null,s=t;for(let i=t+1;iu.trim())&&n.push(r),r=null;continue}(o.type==="th_open"||o.type==="td_open")&&r&&r.push(D0(e,i))}return{rows:n,endIndex:s}}function P0(e){if(!e.trim())return"";const t=M6.parse(e,{}),n=[`# ${N6}`];let r=1,s=0;for(let i=0;i{Nr(n,u+1,m.map(Fo).join(" | "))}),i=d}}return n.join(` +`)}function R6(e,t,n){const r=t.replace(/^(引用|表格|代码块)(\s|:|:)?/,"").trim();if(!r||!n.trim())return e;const s=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),i=new RegExp(s);if(i.test(e))return e.replace(i,n.trim());const o=e.split(/\r?\n/),u=o.findIndex(f=>Fo(f).includes(r));return u>=0?(o[u]=o[u].replace(r,n.trim()),o.join(` +`)):e}const Tc="mineru.documentProcessor.config.v4",D6=`你是文档结构整理助手。请基于用户提供的 Markdown 生成适合思维导图展示的 Markdown。 + +要求: +1. 保留原文标题结构,不要重写或打乱主要标题层级。 +2. 将标题下的段落内容总结为要点,合并相近段落,避免逐段照抄。 +3. 保留原文语言:英文内容输出英文,中文内容输出中文,多语言内容按原文语言分别保留。 +4. 不要编造原文没有的信息。 +5. 保留关键数字、公式、专有名词、步骤和结论。 +6. 最大层级不超过 4 层。 +7. 每个父节点下最多 8 个子节点。 +8. 节点标题尽量简短,正文说明使用短句列表。 +9. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。`,sm={maxPages:1e3,backend:"hybrid-auto-engine",serverUrl:"http://localhost:30000",exportResolution:7680,mindmapPrompt:D6,mindmapLlmBaseUrl:"",mindmapLlmApiKey:"",mindmapLlmModel:"gemma-4-26B",mindmapLlmTimeout:180,mindmapLlmTemperature:.2,mindmapLlmMaxContextTokens:32768,mindmapLlmMaxOutputTokens:4096,mindmapLlmSafetyTokens:1024,tableEnable:!0,formulaEnable:!0,language:"ch",forceOcr:!1};function P6(){try{const e=window.localStorage.getItem(Tc);return e?JSON.parse(e):{}}catch{return{}}}function $6(){const e=$e([]),t=$e([]),n=$e(!1),r=Qd({...sm,...P6()});$n(r,P=>{try{window.localStorage.setItem(Tc,JSON.stringify(P))}catch{}},{deep:!0});const s=$e(null),i=$e(!1),o=$e(""),u=$e(null),f=[{value:"pipeline",label:"传统管道解析"},{value:"vlm-auto-engine",label:"VLM本地引擎"},{value:"hybrid-auto-engine",label:"混合本地引擎"},{value:"vlm-http-client",label:"VLM远程客户端"},{value:"hybrid-http-client",label:"混合远程客户端"}],d=[{value:"ch",label:"中文(简体)"},{value:"en",label:"英语"},{value:"korean",label:"韩语"},{value:"japan",label:"日语"},{value:"chinese_cht",label:"中文(繁体)"},{value:"ta",label:"泰米尔语"},{value:"te",label:"泰卢固语"},{value:"ka",label:"卡纳达语"},{value:"th",label:"泰语"},{value:"el",label:"希腊语"},{value:"latin",label:"拉丁语系"},{value:"arabic",label:"阿拉伯语系"},{value:"east_slavic",label:"东斯拉夫语系"},{value:"cyrillic",label:"西里尔语系"},{value:"devanagari",label:"梵文字母语系"}],m=async P=>{if(console.log("handleFileUpload called with files:",P),!P||P.length===0)return;const B=[],W=[],K=P[0];e.value=[],t.value=[],s.value=null,u.value=null,P.length>1&&(u.value="一次只能选择一个文件,已使用第一个文件");const Q=K.type,pe=K.name.toLowerCase();console.log("Processing file:",pe,"type:",Q);const oe=[".png",".jpg",".jpeg",".webp",".bmp",".tiff",".gif",".jp2"],ne=Q.startsWith("image/")&&oe.some(X=>pe.endsWith(X)),ee=Q==="application/pdf",j=pe.endsWith(".docx")||pe.endsWith(".doc")||Q==="application/vnd.openxmlformats-officedocument.wordprocessingml.document",he=pe.endsWith(".md")||Q==="text/markdown";if(console.log("File type checks - isImage:",ne,"isPdf:",ee,"isWord:",j,"isMarkdown:",he),!ne&&!ee&&!j&&!he){u.value="不支持的文件类型,请选择 MD、PDF、Word、JPG、PNG、WEBP、BMP、TIFF、GIF 或 JP2 文件",console.log("Unsupported file type:",pe,Q);return}if(K.size>100*1024*1024){u.value="文件大小超出限制",console.log("File too large:",pe,K.size);return}if(he)try{n.value=!0;const X=await K.text();B.push(K),W.push(K),s.value={markdown:X,source:X,mindmap:P0(X)},u.value=null,console.log("Markdown file loaded directly:",pe,X.length)}catch(X){u.value="Markdown 文件读取失败: "+X.message,console.error("Markdown read failed:",X.message);return}finally{n.value=!1}else if(j)try{n.value=!0,u.value="正在将 Word 文档转换为 PDF...",console.log("Converting Word to PDF:",pe);const X=await A6(K);console.log("Conversion successful, PDF file:",X.name,X.size),B.push(X),W.push(K),u.value=null}catch(X){u.value="Word 转换为 PDF 失败: "+X.message,console.error("Conversion failed:",X.message);return}finally{n.value=!1}else B.push(K),W.push(K),console.log("Adding file directly:",pe);e.value=B,t.value=W,console.log("Final uploaded files:",B.map(X=>X.name))},w=()=>{e.value=[],t.value=[],s.value=null,u.value=null,o.value=""},v=()=>{s.value={markdown:"",source:"",mindmap:""},u.value=null},x=$e(0),S=$e("");let T=null;const N=P=>{L(),x.value=0,S.value="准备中",T=setInterval(async()=>{try{const B=await yi.getParseProgress(P);x.value=B.progress,S.value=B.stage,(B.status==="completed"||B.status==="failed")&&L()}catch{}},1e3)},L=()=>{T&&(clearInterval(T),T=null)};return{uploadedFiles:e,uploadedDisplayFiles:t,config:r,results:s,isUploading:n,isProcessing:i,processingStage:o,progressPercent:x,progressStage:S,error:u,backendOptions:f,languageOptions:d,handleFileUpload:m,initializeManualResult:v,clearAll:w,processDocument:async()=>{var W;if(e.value.length===0){u.value="请先上传文件";return}if((((W=e.value[0])==null?void 0:W.name.toLowerCase())||"").endsWith(".md")){s.value||(u.value="Markdown 文件内容为空,请重新上传");return}i.value=!0,u.value=null,o.value="准备提交解析任务";const B=`task-${Date.now()}-${Math.random().toString(36).slice(2,8)}`;try{await yi.createParseTask(B),N(B),o.value="提交文档到解析服务";const K={files:e.value,output_dir:"./output",lang_list:r.language,backend:r.backend,parse_method:r.forceOcr?"ocr":"auto",formula_enable:r.formulaEnable,table_enable:r.tableEnable,start_page_id:0,end_page_id:r.maxPages-1,return_md:!0,return_middle_json:!1,response_format_zip:!1};r.backend.includes("http-client")&&r.serverUrl&&(K.server_url=r.serverUrl),o.value="服务端正在解析文档";const Q=await yi.parseDocument(K,B);if(Q.results){o.value="生成 Markdown 和思维导图";const oe=Object.values(Q.results)[0].md_content||"",ne=P0(oe);s.value={markdown:oe,source:oe,mindmap:ne}}}catch(K){u.value=K.message||"转换失败"}finally{L(),o.value="",i.value=!1}},getFormulaLabel:P=>P.startsWith("vlm")?"启用行间公式识别":P==="pipeline"?"启用公式识别":P.startsWith("hybrid")?"启用行内公式识别":"启用公式识别",getFormulaInfo:P=>P.startsWith("vlm")?"禁用后,行间公式将显示为图片。":P==="pipeline"?"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。":P.startsWith("hybrid")?"禁用后,行内公式将不会被检测或解析。":""}}const F6={class:"config-panel"},B6={class:"panel-title"},z6={class:"form-item-description"},q6={class:"form-item-description"},U6={class:"section-title"},H6={class:"form-item-description"},V6={class:"form-item-description"},j6={class:"form-item-description"},W6={class:"form-item-description"},G6={class:"llm-grid"},K6={class:"config-actions"},X6=$r({__name:"ConfigPanel",props:{modelValue:{},backendOptions:{},languageOptions:{}},emits:["update:modelValue","backendChange","close"],setup(e,{emit:t}){const n=e,r=t,s=[{label:"1080P",value:1080},{label:"2K",value:2560},{label:"4K",value:3840},{label:"8K",value:7680},{label:"自定义",value:"custom"}],i=U=>({...U}),o=Qd(i(n.modelValue)),u=U=>s.some($=>typeof $.value=="number"&&$.value===U)?U:"custom",f=$e(u(n.modelValue.exportResolution));$n(f,U=>{if(U==="custom"){u(o.exportResolution)!=="custom"&&(o.exportResolution=3840);return}o.exportResolution=U});const d=U=>{Object.assign(o,i(U)),f.value=u(U.exportResolution)};$n(()=>n.modelValue,U=>d(U),{deep:!0});const m=_t(()=>o.backend.includes("http-client")),w=_t(()=>o.backend.startsWith("vlm")),v=U=>{U.includes("http-client")||(o.serverUrl=n.modelValue.serverUrl)},x=()=>{const U=i(sm);d(U),r("update:modelValue",U),r("backendChange",U.backend),cn.success("已恢复默认设置"),r("close")},S=()=>{const U=i(o);r("update:modelValue",U),r("backendChange",U.backend),cn.success("设置已确认"),r("close")},T=U=>U.startsWith("vlm")?"启用行间公式识别":U==="pipeline"?"启用公式识别":U.startsWith("hybrid")?"启用行内公式识别":"启用公式识别",N=U=>U.startsWith("vlm")?"禁用后,行间公式将显示为图片。":U==="pipeline"?"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。":U.startsWith("hybrid")?"禁用后,行内公式将不会被检测或解析。":"",L=U=>({pipeline:"传统多模型管道解析,支持多语言,无幻觉。","vlm-auto-engine":"多模态大模型高精度解析,仅支持中英文文档。","hybrid-auto-engine":"高精度混合解析,支持多语言。","vlm-http-client":"多模态大模型高精度解析,通过远程服务器处理。","hybrid-http-client":"高精度混合解析,通过远程服务器处理。"})[U]||"选择文档解析的后端引擎。";return(U,M)=>{const $=ct("el-slider"),P=ct("el-form-item"),B=ct("el-option"),W=ct("el-select"),K=ct("el-input"),Q=ct("el-checkbox"),pe=ct("el-input-number"),oe=ct("el-button"),ne=ct("el-form");return je(),Qe("div",F6,[Te("h3",B6,Et(U.$t("config.title")),1),ce(ne,{model:U.config,"label-position":"top","label-width":"120px",class:"config-form"},{default:Se(()=>[ce(P,{label:U.$t("config.maxPages"),class:"form-item"},{default:Se(()=>[ce($,{modelValue:o.maxPages,"onUpdate:modelValue":M[0]||(M[0]=ee=>o.maxPages=ee),min:1,max:1e3,"show-input":"",class:"slider"},null,8,["modelValue"])]),_:1},8,["label"]),ce(P,{label:U.$t("config.backend"),class:"form-item"},{default:Se(()=>[ce(W,{modelValue:o.backend,"onUpdate:modelValue":M[1]||(M[1]=ee=>o.backend=ee),style:{width:"100%"},onChange:v,class:"select"},{default:Se(()=>[(je(!0),Qe(tr,null,Os(e.backendOptions,ee=>(je(),Es(B,{key:ee.value,label:ee.label,value:ee.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),Te("div",z6,Et(L(o.backend)),1)]),_:1},8,["label"]),m.value?(je(),Es(P,{key:0,label:U.$t("config.serverUrl"),class:"form-item"},{default:Se(()=>[ce(K,{modelValue:o.serverUrl,"onUpdate:modelValue":M[2]||(M[2]=ee=>o.serverUrl=ee),placeholder:"http://localhost:30000",class:"input"},null,8,["modelValue"]),Te("div",q6,Et(U.$t("config.serverUrlInfo")),1)]),_:1},8,["label"])):Rr("",!0),Te("div",U6,Et(U.$t("config.recognitionOptions")),1),ce(P,{class:"form-item"},{default:Se(()=>[ce(Q,{modelValue:o.tableEnable,"onUpdate:modelValue":M[3]||(M[3]=ee=>o.tableEnable=ee),class:"checkbox"},{default:Se(()=>[pt(Et(U.$t("config.tableEnable")),1)]),_:1},8,["modelValue"]),Te("div",H6,Et(U.$t("config.tableInfo")),1)]),_:1}),ce(P,{class:"form-item"},{default:Se(()=>[ce(Q,{modelValue:o.formulaEnable,"onUpdate:modelValue":M[4]||(M[4]=ee=>o.formulaEnable=ee),class:"checkbox"},{default:Se(()=>[pt(Et(T(o.backend)),1)]),_:1},8,["modelValue"]),Te("div",V6,Et(N(o.backend)),1)]),_:1}),w.value?Rr("",!0):(je(),Qe(tr,{key:1},[M[18]||(M[18]=Te("div",{class:"divider"},null,-1)),ce(P,{label:U.$t("config.ocrLanguage"),class:"form-item"},{default:Se(()=>[ce(W,{modelValue:o.language,"onUpdate:modelValue":M[5]||(M[5]=ee=>o.language=ee),style:{width:"100%"},class:"select"},{default:Se(()=>[(je(!0),Qe(tr,null,Os(e.languageOptions,ee=>(je(),Es(B,{key:ee.value,label:ee.label,value:ee.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),Te("div",j6,Et(U.$t("config.ocrLanguageInfo")),1)]),_:1},8,["label"]),ce(P,{class:"form-item"},{default:Se(()=>[ce(Q,{modelValue:o.forceOcr,"onUpdate:modelValue":M[6]||(M[6]=ee=>o.forceOcr=ee),class:"checkbox"},{default:Se(()=>[pt(Et(U.$t("config.forceOcr")),1)]),_:1},8,["modelValue"]),Te("div",W6,Et(U.$t("config.forceOcrInfo")),1)]),_:1})],64)),M[25]||(M[25]=Te("div",{class:"divider"},null,-1)),M[26]||(M[26]=Te("div",{class:"section-title"},"导出与智能整理",-1)),ce(P,{label:"导出分辨率",class:"form-item"},{default:Se(()=>[ce(W,{modelValue:f.value,"onUpdate:modelValue":M[7]||(M[7]=ee=>f.value=ee),style:{width:"100%"},class:"select"},{default:Se(()=>[(je(),Qe(tr,null,Os(s,ee=>ce(B,{key:ee.value,label:ee.label,value:ee.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),f.value==="custom"?(je(),Es(pe,{key:0,modelValue:o.exportResolution,"onUpdate:modelValue":M[8]||(M[8]=ee=>o.exportResolution=ee),min:720,max:16384,step:100,"controls-position":"right",class:"export-resolution-input"},null,8,["modelValue"])):Rr("",!0),M[19]||(M[19]=Te("div",{class:"form-item-description"}," PNG/JPEG 导出长边上限;默认 8K,导出文件会按该最大长边生效。 ",-1))]),_:1}),ce(P,{label:"大模型服务地址",class:"form-item"},{default:Se(()=>[ce(K,{modelValue:o.mindmapLlmBaseUrl,"onUpdate:modelValue":M[9]||(M[9]=ee=>o.mindmapLlmBaseUrl=ee),placeholder:"例如:http://10.100.53.199:9527/v1",class:"input",clearable:""},null,8,["modelValue"]),M[20]||(M[20]=Te("div",{class:"form-item-description"}," OpenAI 兼容接口地址,后端会请求该地址下的 /chat/completions;留空时使用服务端 MINDMAP_LLM_BASE_URL。 ",-1))]),_:1}),ce(P,{label:"大模型 API Key",class:"form-item"},{default:Se(()=>[ce(K,{modelValue:o.mindmapLlmApiKey,"onUpdate:modelValue":M[10]||(M[10]=ee=>o.mindmapLlmApiKey=ee),type:"password",placeholder:"留空则使用服务端 MINDMAP_LLM_API_KEY",class:"input","show-password":"",clearable:""},null,8,["modelValue"]),M[21]||(M[21]=Te("div",{class:"form-item-description"}," 仅随智能整理请求发送给后端,后端日志不会输出明文 Key。 ",-1))]),_:1}),ce(P,{label:"大模型名称",class:"form-item"},{default:Se(()=>[ce(K,{modelValue:o.mindmapLlmModel,"onUpdate:modelValue":M[11]||(M[11]=ee=>o.mindmapLlmModel=ee),placeholder:"gemma-4-26B",class:"input",clearable:""},null,8,["modelValue"])]),_:1}),Te("div",G6,[ce(P,{label:"请求超时(秒)",class:"form-item"},{default:Se(()=>[ce(pe,{modelValue:o.mindmapLlmTimeout,"onUpdate:modelValue":M[12]||(M[12]=ee=>o.mindmapLlmTimeout=ee),min:30,max:3600,step:30,"controls-position":"right",class:"number-input"},null,8,["modelValue"])]),_:1}),ce(P,{label:"温度",class:"form-item"},{default:Se(()=>[ce(pe,{modelValue:o.mindmapLlmTemperature,"onUpdate:modelValue":M[13]||(M[13]=ee=>o.mindmapLlmTemperature=ee),min:0,max:2,step:.1,precision:1,"controls-position":"right",class:"number-input"},null,8,["modelValue"])]),_:1}),ce(P,{label:"最大上下文 Token",class:"form-item"},{default:Se(()=>[ce(pe,{modelValue:o.mindmapLlmMaxContextTokens,"onUpdate:modelValue":M[14]||(M[14]=ee=>o.mindmapLlmMaxContextTokens=ee),min:4096,max:262144,step:1024,"controls-position":"right",class:"number-input"},null,8,["modelValue"])]),_:1}),ce(P,{label:"最大输出 Token",class:"form-item"},{default:Se(()=>[ce(pe,{modelValue:o.mindmapLlmMaxOutputTokens,"onUpdate:modelValue":M[15]||(M[15]=ee=>o.mindmapLlmMaxOutputTokens=ee),min:512,max:32768,step:512,"controls-position":"right",class:"number-input"},null,8,["modelValue"])]),_:1}),ce(P,{label:"安全预留 Token",class:"form-item"},{default:Se(()=>[ce(pe,{modelValue:o.mindmapLlmSafetyTokens,"onUpdate:modelValue":M[16]||(M[16]=ee=>o.mindmapLlmSafetyTokens=ee),min:0,max:8192,step:256,"controls-position":"right",class:"number-input"},null,8,["modelValue"])]),_:1})]),ce(P,{label:"智能整理提示词",class:"form-item"},{default:Se(()=>[ce(K,{modelValue:o.mindmapPrompt,"onUpdate:modelValue":M[17]||(M[17]=ee=>o.mindmapPrompt=ee),type:"textarea",rows:10,resize:"vertical",class:"input"},null,8,["modelValue"]),M[22]||(M[22]=Te("div",{class:"form-item-description"}," 切换到“智能整理”时发送给后端大模型;默认保留标题结构、总结段落要点,并保持原文语言。 ",-1))]),_:1}),Te("div",K6,[ce(oe,{onClick:x},{default:Se(()=>[...M[23]||(M[23]=[pt("重置",-1)])]),_:1}),ce(oe,{type:"primary",onClick:S},{default:Se(()=>[...M[24]||(M[24]=[pt("确认",-1)])]),_:1})])]),_:1},8,["model"])])}}}),Bo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Y6=Bo(X6,[["__scopeId","data-v-2bb70fc2"]]),J6={class:"markdown-renderer"},Q6={class:"content-toolbar render-actions"},Z6={class:"render-actions-left"},e7={class:"render-actions-right"},t7={class:"render-content"},n7={key:0,class:"render-shell"},r7=["innerHTML"],s7={key:1,class:"render-shell"},i7=["innerHTML"],a7={key:2,class:"render-shell"},o7={class:"pdf-stage"},l7=["innerHTML"],c7=["innerHTML"],u7={key:3,class:"render-shell"},f7=["innerHTML"],h7={key:1,class:"empty-state"},d7=$r({__name:"MarkdownRenderer",props:{content:{type:String,default:""},mode:{type:String,default:"markdown"},flavor:{type:String,default:"gfm"}},setup(e){const t=e,n=$e(t.flavor),r=$e("word"),s=$e(null),i=$e(null),o=$e(null),u=$e(null),f=$e(null),d=$e([]);$n(()=>t.flavor,oe=>{n.value=oe});const m=[{label:"CommonMark",value:"commonmark"},{label:"GFM",value:"gfm"}],w=[{label:"Word",value:"word"},{label:"RTF",value:"rtf"}];function v(oe){oe.use(function(ne){ne.inline.ruler.after("escape","math_inline",function(ee,j){const he=ee.pos;if(ee.src.charCodeAt(he)!==36||ee.src.charCodeAt(he+1)!==36)return!1;let X=he+2,V=!1;for(;X$$${ne[ee].content}$$`},oe.renderer.rules.math_inline_single=function(ne,ee){return`$${ne[ee].content}$`}}function x(oe){const ne=oe==="commonmark"?new xi("commonmark",{html:!0,linkify:!0,typographer:!0,breaks:!1}):new xi({html:!0,linkify:!0,typographer:!0,breaks:!0});return v(ne),ne}const S=_t(()=>{if(!t.content)return"";const oe=t.mode==="markdown"?n.value:"gfm";return x(oe).render(t.content)});async function T(){if(t.mode!=="pdf"){d.value=[];return}await ro();const oe=u.value;if(!oe){d.value=S.value?[S.value]:[];return}const ne=Array.from(oe.children);if(ne.length===0){d.value=S.value?[S.value]:[];return}const ee=980,j=[];let he="",X=0;ne.forEach(V=>{const F=V.offsetHeight||V.scrollHeight||0,ue=V.outerHTML;if(he&&X+F>ee){j.push(he),he=ue,X=F;return}he+=ue,X+=F}),he&&j.push(he),d.value=j.length>0?j:[S.value]}$n(()=>[t.mode,S.value],()=>{T()},{immediate:!0}),No(()=>{T()});const N=_t(()=>`markdown_render_${new Date().getTime()}`);function L(oe,ne){const ee=URL.createObjectURL(oe),j=document.createElement("a");j.href=ee,j.download=ne,document.body.appendChild(j),j.click(),document.body.removeChild(j),URL.revokeObjectURL(ee)}function U(oe,ne){return` + + + + + ${ne} + + +${oe} +`}function M(oe){const ne=document.createElement("div");return ne.innerHTML=oe,ne.innerText||ne.textContent||""}function $(oe){return oe.replace(/\\/g,"\\\\").replace(/\{/g,"\\{").replace(/\}/g,"\\}").replace(/\n/g,`\\par +`)}async function P(oe,ne){const ee=U(oe,ne);L(new Blob([ee],{type:"text/html;charset=utf-8"}),ne)}async function B(oe,ne){L(new Blob([oe],{type:"text/markdown;charset=utf-8"}),ne)}async function W(oe,ne){if(!oe){cn.error("当前没有可导出的 PDF 内容");return}await ro(),await rm();const ee=await window.html2pdf().set({margin:10,filename:ne,image:{type:"jpeg",quality:.98},html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait"}}).from(oe).outputPdf("blob");L(ee,ne)}async function K(oe,ne){const ee=U(oe,ne);L(new Blob(["\uFEFF",ee],{type:"application/msword"}),ne)}async function Q(oe,ne){const ee=M(oe),j=`{\\rtf1\\ansi\\deff0 {\\fonttbl{\\f0 Calibri;}} +\\fs24 ${$(ee)}}`;L(new Blob([j],{type:"application/rtf"}),ne)}async function pe(){if(t.mode==="markdown"){const oe=n.value==="commonmark"?"_commonmark":"_gfm";await B(t.content,`${N.value}${oe}.md`);return}if(t.mode==="html"){await P(S.value,`${N.value}.html`);return}if(t.mode==="pdf"){await W(o.value,`${N.value}.pdf`);return}if(r.value==="word"){await K(S.value,`${N.value}.doc`);return}await Q(S.value,`${N.value}.rtf`)}return(oe,ne)=>{const ee=ct("el-segmented"),j=ct("el-icon"),he=ct("el-button"),X=ct("el-empty");return je(),Qe("div",J6,[e.content?(je(),Qe(tr,{key:0},[Te("div",Q6,[Te("div",Z6,[e.mode==="markdown"?(je(),Es(ee,{key:0,modelValue:n.value,"onUpdate:modelValue":ne[0]||(ne[0]=V=>n.value=V),options:m,size:"small"},null,8,["modelValue"])):e.mode==="richtext"?(je(),Es(ee,{key:1,modelValue:r.value,"onUpdate:modelValue":ne[1]||(ne[1]=V=>r.value=V),options:w,size:"small"},null,8,["modelValue"])):Rr("",!0)]),Te("div",e7,[ce(he,{type:"primary",size:"small",class:"action-button primary",onClick:ne[2]||(ne[2]=V=>pe())},{icon:Se(()=>[ce(j,null,{default:Se(()=>[ce(mt(Zd))]),_:1})]),default:Se(()=>[ne[3]||(ne[3]=pt(" 下载 ",-1))]),_:1})])]),Te("div",t7,[e.mode==="markdown"?(je(),Qe("div",n7,[Te("div",{ref_key:"markdownRef",ref:s,class:"markdown-content rendered-html",innerHTML:S.value},null,8,r7)])):e.mode==="html"?(je(),Qe("div",s7,[Te("div",{ref_key:"htmlRef",ref:i,class:"markdown-content rendered-html",innerHTML:S.value},null,8,i7)])):e.mode==="pdf"?(je(),Qe("div",a7,[Te("div",o7,[Te("div",{ref_key:"pdfRef",ref:o,class:"pdf-preview-pages"},[(je(!0),Qe(tr,null,Os(d.value,(V,F)=>(je(),Qe("div",{key:`pdf-page-${F}`,class:"pdf-page"},[Te("div",{class:"markdown-content pdf-content",innerHTML:V},null,8,l7)]))),128))],512)]),Te("div",{ref_key:"pdfMeasureRef",ref:u,class:"pdf-measure markdown-content pdf-content",innerHTML:S.value},null,8,c7)])):(je(),Qe("div",u7,[Te("div",{ref_key:"richtextRef",ref:f,class:"markdown-content rendered-html richtext-content",innerHTML:S.value},null,8,f7)]))])],64)):(je(),Qe("div",h7,[ce(X,{description:oe.$t("results.noResults")},null,8,["description"])]))])}}}),m7=Bo(d7,[["__scopeId","data-v-56acf912"]]),p7="npm2url/dist/index.cjs",g7={jsdelivr:e=>`https://cdn.jsdelivr.net/npm/${e}`,unpkg:e=>`https://unpkg.com/${e}`};async function y7(e,t){const n=await fetch(e,{signal:t});if(!n.ok)throw n;await n.text()}class b7{constructor(){this.providers={...g7},this.provider="jsdelivr"}async getFastestProvider(t=5e3,n=p7){const r=new AbortController;let s=0;try{return await new Promise((i,o)=>{Promise.all(Object.entries(this.providers).map(async([u,f])=>{try{await y7(f(n),r.signal),i(u)}catch{}})).then(()=>o(new Error("All providers failed"))),s=setTimeout(o,t,new Error("Timed out"))})}finally{r.abort(),clearTimeout(s)}}async findFastestProvider(t,n){return this.provider=await this.getFastestProvider(t,n),this.provider}setProvider(t,n){n?this.providers[t]=n:delete this.providers[t]}getFullUrl(t,n=this.provider){if(t.includes("://"))return t;const r=this.providers[n];if(!r)throw new Error(`Provider ${n} not found`);return r(t)}}class ui{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const n=this.listeners.indexOf(t);n>=0&&this.listeners.splice(n,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const n of this.listeners)n(...t)}}const w7=Math.random().toString(36).slice(2,8);let Lh=0;function v7(){return Lh+=1,`mm-${w7}-${Lh}`}function Ns(){}function fi(e,t){const n=(r,s)=>t(r,()=>{var i;return(i=r.children)==null?void 0:i.map(o=>n(o,r))},s);return n(e)}function _7(e,...t){const n=(e||"").split(" ").filter(Boolean);return t.forEach(r=>{r&&n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function Rh(e,t){return(...n)=>t(e,...n)}function im(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function x7(e){const t={};return function(...r){const s=`${r[0]}`;let i=t[s];return i||(i={value:e(...r)},t[s]=i),i.value}}function k7(e,t){const n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function s(){r(),n.args&&(n.result=e(...n.args))}return function(...o){return r(),n.args=o,n.timer=window.setTimeout(s,t),n.result}}/*! @gera2ld/jsx-dom v2.2.2 | ISC License */const am=1,om=2,S7="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1999/xlink",T7={show:Yl,actuate:Yl,href:Yl},E7=e=>typeof e=="string"||typeof e=="number",A7=e=>(e==null?void 0:e.vtype)===am,N7=e=>(e==null?void 0:e.vtype)===om;function C7(e,t,...n){return t=Object.assign({},t,{children:n.length===1?n[0]:n}),M7(e,t)}function M7(e,t){let n;if(typeof e=="string")n=am;else if(typeof e=="function")n=om;else throw new Error("Invalid VNode type");return{vtype:n,type:e,props:t}}function I7(e){return e.children}const O7={isSvg:!1};function Dh(e,t){Array.isArray(t)||(t=[t]),t=t.filter(Boolean),t.length&&e.append(...t)}function L7(e,t,n){for(const r in t)if(!(r==="key"||r==="children"||r==="ref"))if(r==="dangerouslySetInnerHTML")e.innerHTML=t[r].__html;else if(r==="innerHTML"||r==="textContent"||r==="innerText"||r==="value"&&["textarea","select"].includes(e.tagName)){const s=t[r];s!=null&&(e[r]=s)}else r.startsWith("on")?e[r.toLowerCase()]=t[r]:D7(e,r,t[r],n.isSvg)}const R7={className:"class",labelFor:"for"};function D7(e,t,n,r){if(t=R7[t]||t,n===!0)e.setAttribute(t,"");else if(n===!1)e.removeAttribute(t);else{const s=r?T7[t]:void 0;s!==void 0?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}}function P7(e){return e.reduce((t,n)=>t.concat(n),[])}function $0(e,t){return Array.isArray(e)?P7(e.map(n=>$0(n,t))):Ec(e,t)}function Ec(e,t=O7){if(e==null||typeof e=="boolean")return null;if(e instanceof Node)return e;if(N7(e)){const{type:n,props:r}=e;if(n===I7){const i=document.createDocumentFragment();if(r.children){const o=$0(r.children,t);Dh(i,o)}return i}const s=n(r);return Ec(s,t)}if(E7(e))return document.createTextNode(`${e}`);if(A7(e)){let n;const{type:r,props:s}=e;if(!t.isSvg&&r==="svg"&&(t=Object.assign({},t,{isSvg:!0})),t.isSvg?n=document.createElementNS(S7,r):n=document.createElement(r),L7(n,s,t),s.children){let o=t;t.isSvg&&r==="foreignObject"&&(o=Object.assign({},o,{isSvg:!1}));const u=$0(s.children,o);u!=null&&Dh(n,u)}const{ref:i}=s;return typeof i=="function"&&i(n),n}throw new Error("mount: Invalid Vnode!")}function $7(e){return Ec(e)}function oo(...e){return $7(C7(...e))}const F7=x7(e=>{document.head.append(oo("link",{rel:"preload",as:"script",href:e}))}),Ph={},$h={};async function B7(e,t){var n;const r=e.type==="script"&&((n=e.data)==null?void 0:n.src)||"";if(e.loaded||(e.loaded=Ph[r]),!e.loaded){const s=im();if(e.loaded=s.promise,e.type==="script"&&(document.head.append(oo("script",{...e.data,onLoad:()=>s.resolve(),onError:s.reject})),r?Ph[r]=e.loaded:s.resolve()),e.type==="iife"){const{fn:i,getParams:o}=e.data;i(...(o==null?void 0:o(t))||[]),s.resolve()}}await e.loaded}async function z7(e){const t=e.type==="stylesheet"&&e.data.href||"";if(e.loaded||(e.loaded=$h[t]),!e.loaded){const n=im();e.loaded=n.promise,t&&($h[t]=e.loaded),e.type==="style"?(document.head.append(oo("style",{textContent:e.data})),n.resolve()):t&&(document.head.append(oo("link",{rel:"stylesheet",...e.data})),fetch(t).then(r=>{if(r.ok)return r.text();throw r}).then(()=>n.resolve(),n.reject))}await e.loaded}async function Ac(e,t){e.forEach(n=>{var r;n.type==="script"&&((r=n.data)!=null&&r.src)&&F7(n.data.src)}),t={getMarkmap:()=>window.markmap,...t};for(const n of e)await B7(n,t)}async function q7(e){await Promise.all(e.map(t=>z7(t)))}function Nc(e){return{type:"script",data:{src:e}}}function lm(e){return{type:"stylesheet",data:{href:e}}}const U7={_useHtmlParser2:!1};function F0(e,t){if(!e)return t??U7;const n={_useHtmlParser2:!!e.xmlMode,...t,...e};return e.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,e.xml!==!0&&Object.assign(n,e.xml)):e.xmlMode&&(n._useHtmlParser2=!0),n}var it;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(it||(it={}));function H7(e){return e.type===it.Tag||e.type===it.Script||e.type===it.Style}const V7=it.Root,j7=it.Text,W7=it.Directive,G7=it.Comment,K7=it.Script,X7=it.Style,Y7=it.Tag,J7=it.CDATA,Q7=it.Doctype;let cm=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Ai(this,t)}};class Cc extends cm{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class lo extends Cc{constructor(){super(...arguments),this.type=it.Text}get nodeType(){return 3}}class um extends Cc{constructor(){super(...arguments),this.type=it.Comment}get nodeType(){return 8}}class fm extends Cc{constructor(t,n){super(n),this.name=t,this.type=it.Directive}get nodeType(){return 1}}class Mc extends cm{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class hm extends Mc{constructor(){super(...arguments),this.type=it.CDATA}get nodeType(){return 4}}let Ei=class extends Mc{constructor(){super(...arguments),this.type=it.Root}get nodeType(){return 9}};class dm extends Mc{constructor(t,n,r=[],s=t==="script"?it.Script:t==="style"?it.Style:it.Tag){super(r),this.name=t,this.attribs=n,this.type=s}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var n,r;return{name:t,value:this.attribs[t],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[t],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[t]}})}}function ze(e){return H7(e)}function zo(e){return e.type===it.CDATA}function as(e){return e.type===it.Text}function Ic(e){return e.type===it.Comment}function Z7(e){return e.type===it.Directive}function us(e){return e.type===it.Root}function Kt(e){return Object.prototype.hasOwnProperty.call(e,"children")}function Ai(e,t=!1){let n;if(as(e))n=new lo(e.data);else if(Ic(e))n=new um(e.data);else if(ze(e)){const r=t?Jl(e.children):[],s=new dm(e.name,{...e.attribs},r);r.forEach(i=>i.parent=s),e.namespace!=null&&(s.namespace=e.namespace),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=s}else if(zo(e)){const r=t?Jl(e.children):[],s=new hm(r);r.forEach(i=>i.parent=s),n=s}else if(us(e)){const r=t?Jl(e.children):[],s=new Ei(r);r.forEach(i=>i.parent=s),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(Z7(e)){const r=new fm(e.name,e.data);e["x-name"]!=null&&(r["x-name"]=e["x-name"],r["x-publicId"]=e["x-publicId"],r["x-systemId"]=e["x-systemId"]),n=r}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Jl(e){const t=e.map(n=>Ai(n,!0));for(let n=1;n䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),pm=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ql;const t8=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),B0=(Ql=String.fromCodePoint)!==null&&Ql!==void 0?Ql:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function n8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=t8.get(e))!==null&&t!==void 0?t:e}var Wt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Wt||(Wt={}));const r8=32;var Or;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Or||(Or={}));function z0(e){return e>=Wt.ZERO&&e<=Wt.NINE}function s8(e){return e>=Wt.UPPER_A&&e<=Wt.UPPER_F||e>=Wt.LOWER_A&&e<=Wt.LOWER_F}function i8(e){return e>=Wt.UPPER_A&&e<=Wt.UPPER_Z||e>=Wt.LOWER_A&&e<=Wt.LOWER_Z||z0(e)}function a8(e){return e===Wt.EQUALS||i8(e)}var jt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(jt||(jt={}));var Zn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Zn||(Zn={}));class gm{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=jt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zn.Strict}startEntity(t){this.decodeMode=t,this.state=jt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case jt.EntityStart:return t.charCodeAt(n)===Wt.NUM?(this.state=jt.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=jt.NamedEntity,this.stateNamedEntity(t,n));case jt.NumericStart:return this.stateNumericStart(t,n);case jt.NumericDecimal:return this.stateNumericDecimal(t,n);case jt.NumericHex:return this.stateNumericHex(t,n);case jt.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|r8)===Wt.LOWER_X?(this.state=jt.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=jt.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,s){if(n!==r){const i=r-n;this.result=this.result*Math.pow(s,i)+parseInt(t.substr(n,i),s),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,i!==0){if(o===Wt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Zn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,s=(r[n]&Or.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,s,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:s}=this;return this.emitCodePoint(n===1?s[t]&~Or.VALUE_LENGTH:s[t+1],r),n===3&&this.emitCodePoint(s[t+2],r),r}end(){var t;switch(this.state){case jt.NamedEntity:return this.result!==0&&(this.decodeMode!==Zn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case jt.NumericDecimal:return this.emitNumericEntity(0,2);case jt.NumericHex:return this.emitNumericEntity(0,3);case jt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case jt.EntityStart:return 0}}}function ym(e){let t="";const n=new gm(e,r=>t+=B0(r));return function(s,i){let o=0,u=0;for(;(u=s.indexOf("&",u))>=0;){t+=s.slice(o,u),n.startEntity(i);const d=n.write(s,u+1);if(d<0){o=u+n.end();break}o=u+d,u=d===0?o+1:o}const f=t+s.slice(o);return t="",f}}function o8(e,t,n,r){const s=(t&Or.BRANCH_LENGTH)>>7,i=t&Or.JUMP_TABLE;if(s===0)return i!==0&&r===i?n:-1;if(i){const f=r-i;return f<0||f>=s?-1:e[n+f]-1}let o=n,u=o+s-1;for(;o<=u;){const f=o+u>>>1,d=e[f];if(dr)u=f-1;else return e[f+s]}return-1}ym(mm);ym(pm);const Bh=/["&'<>$\x80-\uFFFF]/g,l8=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),c8=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function bm(e){let t="",n=0,r;for(;(r=Bh.exec(e))!==null;){const s=r.index,i=e.charCodeAt(s),o=l8.get(i);o!==void 0?(t+=e.substring(n,s)+o,n=s+1):(t+=`${e.substring(n,s)}&#x${c8(e,s).toString(16)};`,n=Bh.lastIndex+=+((i&64512)===55296))}return t+e.substr(n)}function wm(e,t){return function(r){let s,i=0,o="";for(;s=e.exec(r);)i!==s.index&&(o+=r.substring(i,s.index)),o+=t.get(s[0].charCodeAt(0)),i=s.index+1;return o+r.substring(i)}}const u8=wm(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),f8=wm(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),h8=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),d8=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),m8=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function p8(e){return e.replace(/"/g,""")}function g8(e,t){var n;if(!e)return;const r=((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)===!1?p8:t.xmlMode||t.encodeEntities!=="utf8"?bm:u8;return Object.keys(e).map(s=>{var i,o;const u=(i=e[s])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(s=(o=d8.get(s))!==null&&o!==void 0?o:s),!t.emptyAttrs&&!t.xmlMode&&u===""?s:`${s}="${r(u)}"`}).join(" ")}const zh=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function qo(e,t={}){const n="length"in e?e:[e];let r="";for(let s=0;s0&&(r+=qo(e.children,t)),(t.xmlMode||!zh.has(e.name))&&(r+=``)),r}function _8(e){return`<${e.data}>`}function x8(e,t){var n;let r=e.data||"";return((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&m8.has(e.parent.name))&&(r=t.xmlMode||t.encodeEntities!=="utf8"?bm(r):f8(r)),r}function k8(e){return``}function S8(e){return``}function vm(e,t){return qo(e,t)}function T8(e,t){return Kt(e)?e.children.map(n=>vm(n,t)).join(""):""}function Xa(e){return Array.isArray(e)?e.map(Xa).join(""):ze(e)?e.name==="br"?` +`:Xa(e.children):zo(e)?Xa(e.children):as(e)?e.data:""}function zs(e){return Array.isArray(e)?e.map(zs).join(""):Kt(e)&&!Ic(e)?zs(e.children):as(e)?e.data:""}function co(e){return Array.isArray(e)?e.map(co).join(""):Kt(e)&&(e.type===it.Tag||zo(e))?co(e.children):as(e)?e.data:""}function Uo(e){return Kt(e)?e.children:[]}function _m(e){return e.parent||null}function xm(e){const t=_m(e);if(t!=null)return Uo(t);const n=[e];let{prev:r,next:s}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;s!=null;)n.push(s),{next:s}=s;return n}function E8(e,t){var n;return(n=e.attribs)===null||n===void 0?void 0:n[t]}function A8(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function N8(e){return e.name}function Oc(e){let{next:t}=e;for(;t!==null&&!ze(t);)({next:t}=t);return t}function Lc(e){let{prev:t}=e;for(;t!==null&&!ze(t);)({prev:t}=t);return t}function fs(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function C8(e,t){const n=t.prev=e.prev;n&&(n.next=t);const r=t.next=e.next;r&&(r.prev=t);const s=t.parent=e.parent;if(s){const i=s.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function M8(e,t){if(fs(t),t.next=null,t.parent=e,e.children.push(t)>1){const n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function I8(e,t){fs(t);const{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){const s=n.children;s.splice(s.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function O8(e,t){if(fs(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const n=e.children[1];n.prev=t,t.next=n}else t.next=null}function L8(e,t){fs(t);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function Ho(e,t,n=!0,r=1/0){return Rc(e,Array.isArray(t)?t:[t],n,r)}function Rc(e,t,n,r){const s=[],i=[t],o=[0];for(;;){if(o[0]>=i[0].length){if(o.length===1)return s;i.shift(),o.shift();continue}const u=i[0][o[0]++];if(e(u)&&(s.push(u),--r<=0))return s;n&&Kt(u)&&u.children.length>0&&(o.unshift(0),i.unshift(u.children))}}function R8(e,t){return t.find(e)}function Dc(e,t,n=!0){let r=null;for(let s=0;s0&&(r=Dc(e,i.children,!0));else continue}return r}function km(e,t){return t.some(n=>ze(n)&&(e(n)||km(e,n.children)))}function D8(e,t){const n=[],r=[t],s=[0];for(;;){if(s[0]>=r[0].length){if(r.length===1)return n;r.shift(),s.shift();continue}const i=r[0][s[0]++];ze(i)&&(e(i)&&n.push(i),i.children.length>0&&(s.unshift(0),r.unshift(i.children)))}}const uo={tag_name(e){return typeof e=="function"?t=>ze(t)&&e(t.name):e==="*"?ze:t=>ze(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>as(t)&&e(t.data):t=>as(t)&&t.data===e}};function Sm(e,t){return typeof t=="function"?n=>ze(n)&&t(n.attribs[e]):n=>ze(n)&&n.attribs[e]===t}function P8(e,t){return n=>e(n)||t(n)}function Tm(e){const t=Object.keys(e).map(n=>{const r=e[n];return Object.prototype.hasOwnProperty.call(uo,n)?uo[n](r):Sm(n,r)});return t.length===0?null:t.reduce(P8)}function $8(e,t){const n=Tm(e);return n?n(t):!0}function F8(e,t,n,r=1/0){const s=Tm(e);return s?Ho(s,t,n,r):[]}function B8(e,t,n=!0){return Array.isArray(t)||(t=[t]),Dc(Sm("id",e),t,n)}function Gs(e,t,n=!0,r=1/0){return Ho(uo.tag_name(e),t,n,r)}function z8(e,t,n=!0,r=1/0){return Ho(uo.tag_type(e),t,n,r)}function q8(e){let t=e.length;for(;--t>=0;){const n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var Rn;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(Rn||(Rn={}));function Em(e,t){const n=[],r=[];if(e===t)return 0;let s=Kt(e)?e:e.parent;for(;s;)n.unshift(s),s=s.parent;for(s=Kt(t)?t:t.parent;s;)r.unshift(s),s=s.parent;const i=Math.min(n.length,r.length);let o=0;for(;of.indexOf(m)?u===t?Rn.FOLLOWING|Rn.CONTAINED_BY:Rn.FOLLOWING:u===e?Rn.PRECEDING|Rn.CONTAINS:Rn.PRECEDING}function Ks(e){return e=e.filter((t,n,r)=>!r.includes(t,n+1)),e.sort((t,n)=>{const r=Em(t,n);return r&Rn.PRECEDING?-1:r&Rn.FOLLOWING?1:0}),e}function U8(e){const t=fo(G8,e);return t?t.name==="feed"?H8(t):V8(t):null}function H8(e){var t;const n=e.children,r={type:"atom",items:Gs("entry",n).map(o=>{var u;const{children:f}=o,d={media:Am(f)};pn(d,"id","id",f),pn(d,"title","title",f);const m=(u=fo("link",f))===null||u===void 0?void 0:u.attribs.href;m&&(d.link=m);const w=Lr("summary",f)||Lr("content",f);w&&(d.description=w);const v=Lr("updated",f);return v&&(d.pubDate=new Date(v)),d})};pn(r,"id","id",n),pn(r,"title","title",n);const s=(t=fo("link",n))===null||t===void 0?void 0:t.attribs.href;s&&(r.link=s),pn(r,"description","subtitle",n);const i=Lr("updated",n);return i&&(r.updated=new Date(i)),pn(r,"author","email",n,!0),r}function V8(e){var t,n;const r=(n=(t=fo("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&n!==void 0?n:[],s={type:e.name.substr(0,3),id:"",items:Gs("item",e.children).map(o=>{const{children:u}=o,f={media:Am(u)};pn(f,"id","guid",u),pn(f,"title","title",u),pn(f,"link","link",u),pn(f,"description","description",u);const d=Lr("pubDate",u)||Lr("dc:date",u);return d&&(f.pubDate=new Date(d)),f})};pn(s,"title","title",r),pn(s,"link","link",r),pn(s,"description","description",r);const i=Lr("lastBuildDate",r);return i&&(s.updated=new Date(i)),pn(s,"author","managingEditor",r,!0),s}const j8=["url","type","lang"],W8=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Am(e){return Gs("media:content",e).map(t=>{const{attribs:n}=t,r={medium:n.medium,isDefault:!!n.isDefault};for(const s of j8)n[s]&&(r[s]=n[s]);for(const s of W8)n[s]&&(r[s]=parseInt(n[s],10));return n.expression&&(r.expression=n.expression),r})}function fo(e,t){return Gs(e,t,!0,1)[0]}function Lr(e,t,n=!1){return zs(Gs(e,t,n,1)).trim()}function pn(e,t,n,r,s=!1){const i=Lr(n,r,s);i&&(e[t]=i)}function G8(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const Vo=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Rn},append:I8,appendChild:M8,compareDocumentPosition:Em,existsOne:km,filter:Ho,find:Rc,findAll:D8,findOne:Dc,findOneChild:R8,getAttributeValue:E8,getChildren:Uo,getElementById:B8,getElements:F8,getElementsByTagName:Gs,getElementsByTagType:z8,getFeed:U8,getInnerHTML:T8,getName:N8,getOuterHTML:vm,getParent:_m,getSiblings:xm,getText:Xa,hasAttrib:A8,hasChildren:Kt,innerText:co,isCDATA:zo,isComment:Ic,isDocument:us,isTag:ze,isText:as,nextElementSibling:Oc,prepend:L8,prependChild:O8,prevElementSibling:Lc,removeElement:fs,removeSubsets:q8,replaceElement:C8,testElement:$8,textContent:zs,uniqueSort:Ks},Symbol.toStringTag,{value:"Module"}));function Nm(e,t,n){return e?e(t??e._root.children,null,void 0,n).toString():""}function K8(e,t){return typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function X8(e,t){const n=K8(e)?(t=e,void 0):e,r={...this===null||this===void 0?void 0:this._options,...F0(t)};return Nm(this,n,r)}function Y8(e){const t={...this._options,xmlMode:!0};return Nm(this,e,t)}function Ni(e){const t=e??(this?this.root():[]);let n="";for(let r=0;rn.toUpperCase())}function ry(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function At(e,t){const n=e.length;for(let r=0;re.length-3)return!1;const n=e.charCodeAt(t+1);return(n>=Qr.LowerA&&n<=Qr.LowerZ||n>=Qr.UpperA&&n<=Qr.UpperZ||n===Qr.Exclamation)&&e.includes(">",t+2)}const Ci=Object.prototype.hasOwnProperty,Mi=/\s+/,U0="data-",Pc=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,sy=/^{[^]*}$|^\[[^]*]$/;function ho(e,t,n){var r;if(!(!e||!ze(e))){if((r=e.attribs)!==null&&r!==void 0||(e.attribs={}),!t)return e.attribs;if(Ci.call(e.attribs,t))return!n&&Pc.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return Ni(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function Ls(e,t,n){n===null?Im(e,t):e.attribs[t]=`${n}`}function iy(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return At(this,(n,r)=>{ze(n)&&Ls(n,e,t.call(n,r,n.attribs[e]))})}return At(this,n=>{if(ze(n))if(typeof e=="object")for(const r of Object.keys(e)){const s=e[r];Ls(n,r,s)}else Ls(n,e,t)})}return arguments.length>1?this:ho(this[0],e,this.options.xmlMode)}function Uh(e,t,n){return t in e?e[t]:!n&&Pc.test(t)?ho(e,t,!1)!==void 0:ho(e,t,n)}function Zl(e,t,n,r){t in e?e[t]=n:Ls(e,t,!r&&Pc.test(t)?n?"":null:`${n}`)}function ay(e,t){var n;if(typeof e=="string"&&t===void 0){const r=this[0];if(!r||!ze(r))return;switch(e){case"style":{const s=this.css(),i=Object.keys(s);for(let o=0;o").parent().html();case"innerHTML":return this.html();default:return Uh(r,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new TypeError("Bad combination of arguments.");return At(this,(r,s)=>{ze(r)&&Zl(r,e,t.call(r,s,Uh(r,e,this.options.xmlMode)),this.options.xmlMode)})}return At(this,r=>{if(ze(r))if(typeof e=="object")for(const s of Object.keys(e)){const i=e[s];Zl(r,s,i,this.options.xmlMode)}else Zl(r,e,t,this.options.xmlMode)})}}function Hh(e,t,n){var r;(r=e.data)!==null&&r!==void 0||(e.data={}),typeof t=="object"?Object.assign(e.data,t):typeof t=="string"&&n!==void 0&&(e.data[t]=n)}function oy(e){for(const t of Object.keys(e.attribs)){if(!t.startsWith(U0))continue;const n=ny(t.slice(U0.length));Ci.call(e.data,n)||(e.data[n]=Mm(e.attribs[t]))}return e.data}function ly(e,t){const n=U0+ry(t),r=e.data;if(Ci.call(r,t))return r[t];if(Ci.call(e.attribs,n))return r[t]=Mm(e.attribs[n])}function Mm(e){if(e==="null")return null;if(e==="true")return!0;if(e==="false")return!1;const t=Number(e);if(e===String(t))return t;if(sy.test(e))try{return JSON.parse(e)}catch{}return e}function cy(e,t){var n;const r=this[0];if(!r||!ze(r))return;const s=r;return(n=s.data)!==null&&n!==void 0||(s.data={}),e==null?oy(s):typeof e=="object"||t!==void 0?(At(this,i=>{ze(i)&&(typeof e=="object"?Hh(i,e):Hh(i,e,t))}),this):ly(s,e)}function uy(e){const t=arguments.length===0,n=this[0];if(!n||!ze(n))return t?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{const r=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const s=typeof e=="object"?e:[e];for(const i of s)this.find(`option[value="${i}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(s=>Ni(s.children)):r.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function Im(e,t){!e.attribs||!Ci.call(e.attribs,t)||delete e.attribs[t]}function mo(e){return e?e.trim().split(Mi):[]}function fy(e){const t=mo(e);for(const n of t)At(this,r=>{ze(r)&&Im(r,n)});return this}function hy(e){return this.toArray().some(t=>{const n=ze(t)&&t.attribs.class;let r=-1;if(n&&e.length>0)for(;(r=n.indexOf(e,r+1))>-1;){const s=r+e.length;if((r===0||Mi.test(n[r-1]))&&(s===n.length||Mi.test(n[s])))return!0}return!1})}function Om(e){if(typeof e=="function")return At(this,(r,s)=>{if(ze(r)){const i=r.attribs.class||"";Om.call([r],e.call(r,s,i))}});if(!e||typeof e!="string")return this;const t=e.split(Mi),n=this.length;for(let r=0;r{ze(s)&&Lm.call([s],e.call(s,i,s.attribs.class||""))});const t=mo(e),n=t.length,r=arguments.length===0;return At(this,s=>{if(ze(s))if(r)s.attribs.class="";else{const i=mo(s.attribs.class);let o=!1;for(let u=0;u=0&&(i.splice(f,1),o=!0,u--)}o&&(s.attribs.class=i.join(" "))}})}function Rm(e,t){if(typeof e=="function")return At(this,(o,u)=>{ze(o)&&Rm.call([o],e.call(o,u,o.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const n=e.split(Mi),r=n.length,s=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let o=0;o=0&&m<0?f.push(n[d]):s<=0&&m>=0&&f.splice(m,1)}u.attribs.class=f.join(" ")}return this}const dy=Object.freeze(Object.defineProperty({__proto__:null,addClass:Om,attr:iy,data:cy,hasClass:hy,prop:ay,removeAttr:fy,removeClass:Lm,toggleClass:Rm,val:uy},Symbol.toStringTag,{value:"Module"}));var Oe;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(Oe||(Oe={}));var Ht;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(Ht||(Ht={}));const Vh=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,my=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,py=new Map([[126,Ht.Element],[94,Ht.Start],[36,Ht.End],[42,Ht.Any],[33,Ht.Not],[124,Ht.Hyphen]]),gy=new Set(["has","not","matches","is","where","host","host-context"]);function bi(e){switch(e.type){case Oe.Adjacent:case Oe.Child:case Oe.Descendant:case Oe.Parent:case Oe.Sibling:case Oe.ColumnCombinator:return!0;default:return!1}}const yy=new Set(["contains","icontains"]);function by(e,t,n){const r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function ai(e){return e.replace(my,by)}function e0(e){return e===39||e===34}function jh(e){return e===32||e===9||e===10||e===12||e===13}function jo(e){const t=[],n=Dm(t,`${e}`,0);if(n0&&n0&&bi(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function d(v){if(r.length>0&&r[r.length-1].type===Oe.Descendant){r[r.length-1].type=v;return}f(),r.push({type:v})}function m(v,x){r.push({type:Oe.Attribute,name:v,action:x,value:s(1),namespace:null,ignoreCase:"quirks"})}function w(){if(r.length&&r[r.length-1].type===Oe.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");e.push(r)}if(i(0),t.length===n)return n;e:for(;n=0&&r>=1)):e.type===Oe.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?r=0:Array.isArray(e.data)?(r=Math.min(...e.data.map(s=>Math.min(...s.map($m)))),r<0&&(r=0)):r=2:r=3),r}const ky=/[-[\]{}()*+?.,\\^$|#\s]/g;function Gh(e){return e.replace(ky,"\\$&")}const Sy=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Gr(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&Sy.has(e.name)}const Ty={equals(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;return Gr(t,n)?(i=i.toLowerCase(),o=>{const u=r.getAttributeValue(o,s);return u!=null&&u.length===i.length&&u.toLowerCase()===i&&e(o)}):o=>r.getAttributeValue(o,s)===i&&e(o)},hyphen(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=i.length;return Gr(t,n)?(i=i.toLowerCase(),function(f){const d=r.getAttributeValue(f,s);return d!=null&&(d.length===o||d.charAt(o)==="-")&&d.substr(0,o).toLowerCase()===i&&e(f)}):function(f){const d=r.getAttributeValue(f,s);return d!=null&&(d.length===o||d.charAt(o)==="-")&&d.substr(0,o)===i&&e(f)}},element(e,t,n){const{adapter:r}=n,{name:s,value:i}=t;if(/\s/.test(i))return We.falseFunc;const o=new RegExp(`(?:^|\\s)${Gh(i)}(?:$|\\s)`,Gr(t,n)?"i":"");return function(f){const d=r.getAttributeValue(f,s);return d!=null&&d.length>=i.length&&o.test(d)&&e(f)}},exists(e,{name:t},{adapter:n}){return r=>n.hasAttrib(r,t)&&e(r)},start(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=i.length;return o===0?We.falseFunc:Gr(t,n)?(i=i.toLowerCase(),u=>{const f=r.getAttributeValue(u,s);return f!=null&&f.length>=o&&f.substr(0,o).toLowerCase()===i&&e(u)}):u=>{var f;return!!(!((f=r.getAttributeValue(u,s))===null||f===void 0)&&f.startsWith(i))&&e(u)}},end(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=-i.length;return o===0?We.falseFunc:Gr(t,n)?(i=i.toLowerCase(),u=>{var f;return((f=r.getAttributeValue(u,s))===null||f===void 0?void 0:f.substr(o).toLowerCase())===i&&e(u)}):u=>{var f;return!!(!((f=r.getAttributeValue(u,s))===null||f===void 0)&&f.endsWith(i))&&e(u)}},any(e,t,n){const{adapter:r}=n,{name:s,value:i}=t;if(i==="")return We.falseFunc;if(Gr(t,n)){const o=new RegExp(Gh(i),"i");return function(f){const d=r.getAttributeValue(f,s);return d!=null&&d.length>=i.length&&o.test(d)&&e(f)}}return o=>{var u;return!!(!((u=r.getAttributeValue(o,s))===null||u===void 0)&&u.includes(i))&&e(o)}},not(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;return i===""?o=>!!r.getAttributeValue(o,s)&&e(o):Gr(t,n)?(i=i.toLowerCase(),o=>{const u=r.getAttributeValue(o,s);return(u==null||u.length!==i.length||u.toLowerCase()!==i)&&e(o)}):o=>r.getAttributeValue(o,s)!==i&&e(o)}},Ey=new Set([9,10,12,13,32]),Kh=48,Ay=57;function Ny(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,n=0,r=i(),s=o();if(t=Kh&&e.charCodeAt(t)<=Ay;)d=d*10+(e.charCodeAt(t)-Kh),t++;return t===f?null:d}function u(){for(;ti<=n;if(t===0)return i=>i===n;if(t===1)return n<0?We.trueFunc:i=>i>=n;const r=Math.abs(t),s=(n%r+r)%r;return t>1?i=>i>=n&&i%r===s:i=>i<=n&&i%r===s}function Na(e){return Cy(Ny(e))}function Ca(e,t){return n=>{const r=t.getParent(n);return r!=null&&t.isTag(r)&&e(n)}}const H0={contains(e,t,{adapter:n}){return function(s){return e(s)&&n.getText(s).includes(t)}},icontains(e,t,{adapter:n}){const r=t.toLowerCase();return function(i){return e(i)&&n.getText(i).toLowerCase().includes(r)}},"nth-child"(e,t,{adapter:n,equals:r}){const s=Na(t);return s===We.falseFunc?We.falseFunc:s===We.trueFunc?Ca(e,n):function(o){const u=n.getSiblings(o);let f=0;for(let d=0;d=0&&!r(o,u[d]);d--)n.isTag(u[d])&&f++;return s(f)&&e(o)}},"nth-of-type"(e,t,{adapter:n,equals:r}){const s=Na(t);return s===We.falseFunc?We.falseFunc:s===We.trueFunc?Ca(e,n):function(o){const u=n.getSiblings(o);let f=0;for(let d=0;d=0;d--){const m=u[d];if(r(o,m))break;n.isTag(m)&&n.getName(m)===n.getName(o)&&f++}return s(f)&&e(o)}},root(e,t,{adapter:n}){return r=>{const s=n.getParent(r);return(s==null||!n.isTag(s))&&e(r)}},scope(e,t,n,r){const{equals:s}=n;return!r||r.length===0?H0.root(e,t,n):r.length===1?i=>s(r[0],i)&&e(i):i=>r.includes(i)&&e(i)},hover:n0("isHovered"),visited:n0("isVisited"),active:n0("isActive")};function n0(e){return function(n,r,{adapter:s}){const i=s[e];return typeof i!="function"?We.falseFunc:function(u){return i(u)&&n(u)}}}const Xh={empty(e,{adapter:t}){return!t.getChildren(e).some(n=>t.isTag(n)||t.getText(n)!=="")},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const r=t.getSiblings(e).find(s=>t.isTag(s));return r!=null&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){const r=t.getSiblings(e);for(let s=r.length-1;s>=0;s--){if(n(e,r[s]))return!0;if(t.isTag(r[s]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),s=t.getName(e);for(let i=0;i=0;i--){const o=r[i];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===s)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){const r=t.getName(e);return t.getSiblings(e).every(s=>n(e,s)||!t.isTag(s)||t.getName(s)!==r)},"only-child"(e,{adapter:t,equals:n}){return t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))}};function Yh(e,t,n,r){if(n===null){if(e.length>r)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const My={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( + :is(button, input, select, textarea, optgroup, option)[disabled], + optgroup[disabled] > option, + fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) + )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},Fm={};function Iy(e,t){return e===We.falseFunc?We.falseFunc:n=>t.isTag(n)&&e(n)}function Bm(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function V0(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const r0=(e,t,n,r,s)=>{const i=s(t,V0(n),r);return i===We.trueFunc?e:i===We.falseFunc?We.falseFunc:o=>i(o)&&e(o)},s0={is:r0,matches:r0,where:r0,not(e,t,n,r,s){const i=s(t,V0(n),r);return i===We.falseFunc?e:i===We.trueFunc?We.falseFunc:o=>!i(o)&&e(o)},has(e,t,n,r,s){const{adapter:i}=n,o=V0(n);o.relativeSelector=!0;const u=t.some(m=>m.some($c))?[Fm]:void 0,f=s(t,o,u);if(f===We.falseFunc)return We.falseFunc;const d=Iy(f,i);if(u&&f!==We.trueFunc){const{shouldTestNextSiblings:m=!1}=f;return w=>{if(!e(w))return!1;u[0]=w;const v=i.getChildren(w),x=m?[...v,...Bm(w,i)]:v;return i.existsOne(d,x)}}return m=>e(m)&&i.existsOne(d,i.getChildren(m))}};function Oy(e,t,n,r,s){var i;const{name:o,data:u}=t;if(Array.isArray(u)){if(!(o in s0))throw new Error(`Unknown pseudo-class :${o}(${u})`);return s0[o](e,u,n,r,s)}const f=(i=n.pseudos)===null||i===void 0?void 0:i[o],d=typeof f=="string"?f:My[o];if(typeof d=="string"){if(u!=null)throw new Error(`Pseudo ${o} doesn't have any arguments`);const m=jo(d);return s0.is(e,m,n,r,s)}if(typeof f=="function")return Yh(f,o,u,1),m=>f(m,u)&&e(m);if(o in H0)return H0[o](e,u,n,r);if(o in Xh){const m=Xh[o];return Yh(m,o,u,2),w=>m(w,n,u)&&e(w)}throw new Error(`Unknown pseudo-class :${o}`)}function i0(e,t){const n=t.getParent(e);return n&&t.isTag(n)?n:null}function Ly(e,t,n,r,s){const{adapter:i,equals:o}=n;switch(t.type){case Oe.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Oe.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Oe.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),Ty[t.action](e,t,n)}case Oe.Pseudo:return Oy(e,t,n,r,s);case Oe.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:u}=t;return(!n.xmlMode||n.lowerCaseTags)&&(u=u.toLowerCase()),function(d){return i.getName(d)===u&&e(d)}}case Oe.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(d){let m=d;for(;m=i0(m,i);)if(e(m))return!0;return!1};const u=new WeakSet;return function(d){let m=d;for(;m=i0(m,i);)if(!u.has(m)){if(i.isTag(m)&&e(m))return!0;u.add(m)}return!1}}case"_flexibleDescendant":return function(f){let d=f;do if(e(d))return!0;while(d=i0(d,i));return!1};case Oe.Parent:return function(f){return i.getChildren(f).some(d=>i.isTag(d)&&e(d))};case Oe.Child:return function(f){const d=i.getParent(f);return d!=null&&i.isTag(d)&&e(d)};case Oe.Sibling:return function(f){const d=i.getSiblings(f);for(let m=0;mt.some(zm)))}const Ry={type:Oe.Descendant},Dy={type:"_flexibleDescendant"},Py={type:Oe.Pseudo,name:"scope",data:null};function $y(e,{adapter:t},n){const r=!!(n!=null&&n.every(s=>{const i=t.isTag(s)&&t.getParent(s);return s===Fm||i&&t.isTag(i)}));for(const s of e){if(!(s.length>0&&$c(s[0])&&s[0].type!==Oe.Descendant))if(r&&!s.some(zm))s.unshift(Ry);else continue;s.unshift(Py)}}function qm(e,t,n){var r;e.forEach(xy),n=(r=t.context)!==null&&r!==void 0?r:n;const s=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)$y(e,t,i);else if(e.some(f=>f.length>0&&$c(f[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let o=!1;const u=e.map(f=>{if(f.length>=2){const[d,m]=f;d.type!==Oe.Pseudo||d.name!=="scope"||(s&&m.type===Oe.Descendant?f[1]=Dy:(m.type===Oe.Adjacent||m.type===Oe.Sibling)&&(o=!0))}return Fy(f,t,i)}).reduce(By,We.falseFunc);return u.shouldTestNextSiblings=o,u}function Fy(e,t,n){var r;return e.reduce((s,i)=>s===We.falseFunc?We.falseFunc:Ly(s,i,t,n,qm),(r=t.rootFunc)!==null&&r!==void 0?r:We.trueFunc)}function By(e,t){return t===We.falseFunc||e===We.trueFunc?e:e===We.falseFunc||t===We.trueFunc?t:function(r){return e(r)||t(r)}}const Um=(e,t)=>e===t,zy={adapter:Vo,equals:Um};function qy(e){var t,n,r,s;const i=e??zy;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=Vo),(n=i.equals)!==null&&n!==void 0||(i.equals=(s=(r=i.adapter)===null||r===void 0?void 0:r.equals)!==null&&s!==void 0?s:Um),i}function Uy(e){return function(n,r,s){const i=qy(r);return e(n,i,s)}}const Fc=Uy(qm);function Hm(e,t,n=!1){return n&&(e=Hy(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function Hy(e,t){const n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let s=0;st.some(go)):!1}function jy(e,t,n){const r=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}function Wy(e){for(;e.parent;)e=e.parent;return e}function Bc(e){const t=[],n=[];for(const r of e)r.some(go)?t.push(r):n.push(r);return[n,t]}const Gy={type:Oe.Universal,namespace:null},Ky={type:Oe.Pseudo,name:"scope",data:null};function Vm(e,t,n={}){return jm([e],t,n)}function jm(e,t,n={}){if(typeof t=="function")return e.some(t);const[r,s]=Bc(jo(t));return r.length>0&&e.some(Fc(r,n))||s.some(i=>Km(i,e,n).length>0)}function Xy(e,t,n,r){const s=typeof n=="string"?parseInt(n,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(s)&&Math.abs(s)o%2===0);case"odd":return t.filter((i,o)=>o%2===1);case"not":{const i=new Set(Gm(n,t,r));return t.filter(o=>!i.has(o))}}}function Wm(e,t,n={}){return Gm(jo(e),t,n)}function Gm(e,t,n){if(t.length===0)return[];const[r,s]=Bc(e);let i;if(r.length){const o=W0(t,r,n);if(s.length===0)return o;o.length&&(i=new Set(o))}for(let o=0;oze(m)&&!i.has(m)):t).length===0)break;const d=Km(u,t,n);if(d.length)if(i)d.forEach(m=>i.add(m));else{if(o===s.length-1)return d;i=new Set(d)}}return typeof i<"u"?i.size===t.length?t:t.filter(o=>i.has(o)):[]}function Km(e,t,n){var r;if(e.some(bi)){const s=(r=n.root)!==null&&r!==void 0?r:Wy(t[0]),i={...n,context:t,relativeSelector:!1};return e.push(Ky),yo(s,e,i,!0,t.length)}return yo(t,e,n,!1,t.length)}function Yy(e,t,n={},r=1/0){if(typeof e=="function")return Xm(t,e);const[s,i]=Bc(jo(e)),o=i.map(u=>yo(t,u,n,!0,r));return s.length&&o.push(j0(t,s,n,r)),o.length===0?[]:o.length===1?o[0]:Ks(o.reduce((u,f)=>[...u,...f]))}function yo(e,t,n,r,s){const i=t.findIndex(go),o=t.slice(0,i),u=t[i],f=t.length-1===i?s:1/0,d=jy(u.name,u.data,f);if(d===0)return[];const w=(o.length===0&&!Array.isArray(e)?Uo(e).filter(ze):o.length===0?(Array.isArray(e)?e:[e]).filter(ze):r||o.some(bi)?j0(e,[o],n,d):W0(e,[o],n)).slice(0,d);let v=Xy(u.name,w,u.data,n);if(v.length===0||t.length===i+1)return v;const x=t.slice(i+1),S=x.some(bi);if(S){if(bi(x[0])){const{type:T}=x[0];(T===Oe.Sibling||T===Oe.Adjacent)&&(v=Hm(v,Vo,!0)),x.unshift(Gy)}n={...n,relativeSelector:!1,rootFunc:T=>v.includes(T)}}else n.rootFunc&&n.rootFunc!==po.trueFunc&&(n={...n,rootFunc:po.trueFunc});return x.some(go)?yo(v,x,n,!1,s):S?j0(v,[x],n,s):W0(v,[x],n)}function j0(e,t,n,r){const s=Fc(t,n,e);return Xm(e,s,r)}function Xm(e,t,n=1/0){const r=Hm(e,Vo,t.shouldTestNextSiblings);return Rc(s=>ze(s)&&t(s),r,!0,n)}function W0(e,t,n){const r=(Array.isArray(e)?e:[e]).filter(ze);if(r.length===0)return r;const s=Fc(t,n);return s===po.trueFunc?r:r.filter(s)}const Jy=/^\s*[+~]/;function Qy(e){if(!e)return this._make([]);if(typeof e!="string"){const t=wr(e)?e.toArray():[e],n=this.toArray();return this._make(t.filter(r=>n.some(s=>Cm(s,r))))}return this._findBySelector(e,Number.POSITIVE_INFINITY)}function Zy(e,t){var n;const r=this.toArray(),s=Jy.test(e)?r:this.children().toArray(),i={context:r,root:(n=this._root)===null||n===void 0?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(Yy(e,s,i,t))}function zc(e){return function(t,...n){return function(r){var s;let i=e(t,this);return r&&(i=Hc(i,r,this.options.xmlMode,(s=this._root)===null||s===void 0?void 0:s[0])),this._make(this.length>1&&i.length>1?n.reduce((o,u)=>u(o),i):i)}}}const Ui=zc((e,t)=>{let n=[];for(let r=0;r0&&(n=n.concat(s))}return n}),qc=zc((e,t)=>{const n=[];for(let r=0;r{const o=[];return At(i,u=>{for(let f;(f=s(u))&&!(n!=null&&n(f,o.length));u=f)o.push(f)}),o})(e,...t);return function(s,i){n=typeof s=="string"?u=>Vm(u,s,this.options):s?Hi(s):null;const o=r.call(this,i);return n=null,o}}function Xs(e){return e.length>1?Array.from(new Set(e)):e}const eb=qc(({parent:e})=>e&&!us(e)?e:null,Xs),tb=Ui(e=>{const t=[];for(;e.parent&&!us(e.parent);)t.push(e.parent),e=e.parent;return t},Ks,e=>e.reverse()),nb=Uc(({parent:e})=>e&&!us(e)?e:null,Ks,e=>e.reverse());function rb(e){var t;const n=[];if(!e)return this._make(n);const r={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},s=typeof e=="string"?i=>Vm(i,e,r):Hi(e);return At(this,i=>{for(i&&!us(i)&&!ze(i)&&(i=i.parent);i&&ze(i);){if(s(i,0)){n.includes(i)||n.push(i);break}i=i.parent}}),this._make(n)}const sb=qc(e=>Oc(e)),ib=Ui(e=>{const t=[];for(;e.next;)e=e.next,ze(e)&&t.push(e);return t},Xs),ab=Uc(e=>Oc(e),Xs),ob=qc(e=>Lc(e)),lb=Ui(e=>{const t=[];for(;e.prev;)e=e.prev,ze(e)&&t.push(e);return t},Xs),cb=Uc(e=>Lc(e),Xs),ub=Ui(e=>xm(e).filter(t=>ze(t)&&t!==e),Ks),fb=Ui(e=>Uo(e).filter(ze),Xs);function hb(){const e=this.toArray().reduce((t,n)=>Kt(n)?t.concat(n.children):t,[]);return this._make(e)}function db(e){let t=0;const n=this.length;for(;te.call(t,n,t):wr(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function pb(e){var t;return this._make(Hc(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function Hc(e,t,n,r){return typeof t=="string"?Wm(t,e,{xmlMode:n,root:r}):e.filter(Hi(t))}function gb(e){const t=this.toArray();return typeof e=="string"?jm(t.filter(ze),e,this.options):e?t.some(Hi(e)):!1}function yb(e){let t=this.toArray();if(typeof e=="string"){const n=new Set(Wm(e,t,this.options));t=t.filter(r=>!n.has(r))}else{const n=Hi(e);t=t.filter((r,s)=>!n(r,s))}return this._make(t)}function bb(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,n)=>this._make(n).find(e).length>0)}function wb(){return this.length>1?this._make(this[0]):this}function vb(){return this.length>0?this._make(this[this.length-1]):this}function _b(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function xb(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function kb(){return Array.prototype.slice.call(this)}function Sb(e){let t,n;return e==null?(t=this.parent().children(),n=this[0]):typeof e=="string"?(t=this._make(e),n=this[0]):(t=this,n=wr(e)?e[0]:e),Array.prototype.indexOf.call(t,n)}function Tb(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function Eb(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function Ab(e,t){const n=this._make(e,t),r=Ks([...this.get(),...n.get()]);return this._make(r)}function Nb(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const Cb=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:Zy,add:Ab,addBack:Nb,children:fb,closest:rb,contents:hb,each:db,end:Eb,eq:_b,filter:pb,filterArray:Hc,find:Qy,first:wb,get:xb,has:bb,index:Sb,is:gb,last:vb,map:mb,next:sb,nextAll:ib,nextUntil:ab,not:yb,parent:eb,parents:tb,parentsUntil:nb,prev:ob,prevAll:lb,prevUntil:cb,siblings:ub,slice:Tb,toArray:kb},Symbol.toStringTag,{value:"Module"}));function Mb(e){return function(n,r,s,i){if(typeof Buffer<"u"&&Buffer.isBuffer(n)&&(n=n.toString()),typeof n=="string")return e(n,r,s,i);const o=n;if(!Array.isArray(o)&&us(o))return o;const u=new Ei([]);return os(o,u),u}}function os(e,t){const n=Array.isArray(e)?e:[e];t?t.children=n:t=null;for(let r=0;r{if(!Kt(r))return;const i=typeof t[0]=="function"?t[0].call(r,s,this._render(r.children)):t,o=this._makeDomArray(i,s=e.length?null:e[t+n];for(let m=0;m-1&&(v.children.splice(S,1),s===v&&t>S&&u[0]--)}w.parent=s,w.prev&&(w.prev.next=(i=w.next)!==null&&i!==void 0?i:null),w.next&&(w.next.prev=(o=w.prev)!==null&&o!==void 0?o:null),w.prev=m===0?f:r[m-1],w.next=m===r.length-1?d:r[m+1]}return f&&(f.next=r[0]),d&&(d.prev=r[r.length-1]),e.splice(...u)}function Ob(e){return(wr(e)?e:this._make(e)).append(this),this}function Lb(e){return(wr(e)?e:this._make(e)).prepend(this),this}const Rb=Ym((e,t,n)=>{qr(t,t.length,0,e,n)}),Db=Ym((e,t,n)=>{qr(t,0,0,e,n)});function Jm(e){return function(t){const n=this.length-1,r=this.parents().last();for(let s=0;s{const{parent:r}=e;if(!r)return;const s=r.children,i=s.indexOf(e);os([e],t),qr(s,i,0,n,r)}),$b=Jm((e,t,n)=>{Kt(e)&&(os(e.children,t),os(n,e))});function Fb(e){return this.parent(e).not("body").each((t,n)=>{this._make(n).replaceWith(n.children)}),this}function Bb(e){const t=this[0];if(t){const n=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let r;for(let i=0;i{if(!Kt(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,u=this._makeDomArray(o,r{if(!Kt(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,u=this._makeDomArray(o,r{const s=this.clone().toArray(),{parent:i}=r;if(!i)return;const o=i.children,u=o.indexOf(r);u<0||(qr(o,u,0,s,i),n.push(...s))}),this._make(n)}function Vb(e){const t=e?this.filter(e):this;return At(t,n=>{fs(n),n.prev=n.next=n.parent=null}),this}function jb(e){return At(this,(t,n)=>{const{parent:r}=t;if(!r)return;const s=r.children,i=typeof e=="function"?e.call(t,n,t):e,o=this._makeDomArray(i);os(o,null);const u=s.indexOf(t);qr(s,u,1,o,r),o.includes(t)||(t.parent=t.prev=t.next=null)})}function Wb(){return At(this,e=>{if(Kt(e)){for(const t of e.children)t.next=t.prev=t.parent=null;e.children.length=0}})}function Gb(e){if(e===void 0){const t=this[0];return!t||!Kt(t)?null:this._render(t.children)}return At(this,t=>{if(!Kt(t))return;for(const r of t.children)r.next=r.prev=r.parent=null;const n=wr(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;os(n,t)})}function Kb(){return this._render(this)}function Xb(e){return e===void 0?Ni(this):typeof e=="function"?At(this,(t,n)=>this._make(t).text(e.call(t,n,Ni([t])))):At(this,t=>{if(!Kt(t))return;for(const r of t.children)r.next=r.prev=r.parent=null;const n=new lo(`${e}`);os(n,t)})}function Yb(){const e=Array.prototype.map.call(this.get(),n=>Ai(n,!0)),t=new Ei(e);for(const n of e)n.parent=t;return this._make(e)}const Jb=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Ib,after:zb,append:Rb,appendTo:Ob,before:Ub,clone:Yb,empty:Wb,html:Gb,insertAfter:qb,insertBefore:Hb,prepend:Db,prependTo:Lb,remove:Vb,replaceWith:jb,text:Xb,toString:Kb,unwrap:Fb,wrap:Pb,wrapAll:Bb,wrapInner:$b},Symbol.toStringTag,{value:"Module"}));function Qb(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return At(this,(n,r)=>{ze(n)&&Qm(n,e,t,r)});if(this.length!==0)return Zm(this[0],e)}function Qm(e,t,n,r){if(typeof t=="string"){const s=Zm(e),i=typeof n=="function"?n.call(e,r,s[t]):n;i===""?delete s[t]:i!=null&&(s[t]=i),e.attribs.style=Zb(s)}else if(typeof t=="object"){const s=Object.keys(t);for(let i=0;i`${t}${t?" ":""}${n}: ${e[n]};`,"")}function e9(e){if(e=(e||"").trim(),!e)return{};const t={};let n;for(const r of e.split(";")){const s=r.indexOf(":");if(s<1||s===r.length-1){const i=r.trimEnd();i.length>0&&n!==void 0&&(t[n]+=`;${i}`)}else n=r.slice(0,s).trim(),t[n]=r.slice(s+1).trim()}return t}const t9=Object.freeze(Object.defineProperty({__proto__:null,css:Qb},Symbol.toStringTag,{value:"Module"})),Jh="input,select,textarea,keygen",n9=/%20/g,Qh=/\r?\n/g;function r9(){return this.serializeArray().map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("&").replace(n9,"+")}function s9(){return this.map((e,t)=>{const n=this._make(t);return ze(t)&&t.name==="form"?n.find(Jh).toArray():n.filter(Jh).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var n;const r=this._make(t),s=r.attr("name"),i=(n=r.val())!==null&&n!==void 0?n:"";return Array.isArray(i)?i.map(o=>({name:s,value:o.replace(Qh,`\r +`)})):{name:s,value:i.replace(Qh,`\r +`)}}).toArray()}const i9=Object.freeze(Object.defineProperty({__proto__:null,serialize:r9,serializeArray:s9},Symbol.toStringTag,{value:"Module"}));function a9(e){var t;return typeof e=="string"?{selector:e,value:"textContent"}:{selector:e.selector,value:(t=e.value)!==null&&t!==void 0?t:"textContent"}}function o9(e){const t={};for(const n in e){const r=e[n],s=Array.isArray(r),{selector:i,value:o}=a9(s?r[0]:r),u=typeof o=="function"?o:typeof o=="string"?f=>this._make(f).prop(o):f=>this._make(f).extract(o);if(s)t[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map((f,d)=>u(d,n,t)).get();else{const f=this._findBySelector(i,1);t[n]=f.length>0?u(f[0],n,t):void 0}}return t}const l9=Object.freeze(Object.defineProperty({__proto__:null,extract:o9},Symbol.toStringTag,{value:"Module"}));class Vi{constructor(t,n,r){if(this.length=0,this.options=r,this._root=n,t){for(let s=0;s=Le.LowerA&&e<=Le.LowerZ||e>=Le.UpperA&&e<=Le.UpperZ}var er;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(er||(er={}));const Jt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class h9{constructor({xmlMode:t=!1,decodeEntities:n=!0},r){this.cbs=r,this.state=me.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=me.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=n,this.entityDecoder=new gm(t?pm:mm,(s,i)=>this.emitCodePoint(s,i))}reset(){this.state=me.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=me.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=me.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Le.Amp&&this.startEntity()}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ma(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=me.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Le.Gt||pr(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===me.Text||this.state===me.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===me.InAttributeValueDq||this.state===me.InAttributeValueSq||this.state===me.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=t||(this.state===me.InCommentLike?this.currentSequence===Jt.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===me.InTagName||this.state===me.BeforeAttributeName||this.state===me.BeforeAttributeValue||this.state===me.AfterAttributeName||this.state===me.InAttributeName||this.state===me.InAttributeValueSq||this.state===me.InAttributeValueDq||this.state===me.InAttributeValueNq||this.state===me.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){this.baseState!==me.Text&&this.baseState!==me.InSpecialTag?(this.sectionStart0&&o.has(this.stack[0]);){const u=this.stack.shift();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,u,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(nd.has(t)?this.foreignContext.unshift(!0):rd.has(t)&&this.foreignContext.unshift(!1))),(i=(s=this.cbs).onopentagname)===null||i===void 0||i.call(s,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,n){var r,s,i,o,u,f,d,m;this.endIndex=n;let w=this.getSlice(t,n);if(this.lowerCaseTagNames&&(w=w.toLowerCase()),this.htmlMode&&(nd.has(w)||rd.has(w))&&this.foreignContext.shift(),this.isVoidElement(w))this.htmlMode&&w==="br"&&((o=(i=this.cbs).onopentagname)===null||o===void 0||o.call(i,"br"),(f=(u=this.cbs).onopentag)===null||f===void 0||f.call(u,"br",{},!0),(m=(d=this.cbs).onclosetag)===null||m===void 0||m.call(d,"br",!1));else{const v=this.stack.indexOf(w);if(v!==-1)for(let x=0;x<=v;x++){const S=this.stack.shift();(s=(r=this.cbs).onclosetag)===null||s===void 0||s.call(r,S,x!==v)}else this.htmlMode&&w==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var n,r;const s=this.tagname;this.endOpenTag(t),this.stack[0]===s&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,s,!t),this.stack.shift())}onattribname(t,n){this.startIndex=t;const r=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(t,n){this.attribvalue+=this.getSlice(t,n)}onattribentity(t){this.attribvalue+=B0(t)}onattribend(t,n){var r,s;this.endIndex=n,(s=(r=this.cbs).onattribute)===null||s===void 0||s.call(r,this.attribname,this.attribvalue,t===er.Double?'"':t===er.Single?"'":t===er.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const n=t.search(p9);let r=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(t,n){this.endIndex=n;const r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${s}`,`!${r}`)}this.startIndex=n+1}onprocessinginstruction(t,n){this.endIndex=n;const r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${s}`,`?${r}`)}this.startIndex=n+1}oncomment(t,n,r){var s,i,o,u;this.endIndex=n,(i=(s=this.cbs).oncomment)===null||i===void 0||i.call(s,this.getSlice(t,n-r)),(u=(o=this.cbs).oncommentend)===null||u===void 0||u.call(o),this.startIndex=n+1}oncdata(t,n,r){var s,i,o,u,f,d,m,w,v,x;this.endIndex=n;const S=this.getSlice(t,n-r);!this.htmlMode||this.options.recognizeCDATA?((i=(s=this.cbs).oncdatastart)===null||i===void 0||i.call(s),(u=(o=this.cbs).ontext)===null||u===void 0||u.call(o,S),(d=(f=this.cbs).oncdataend)===null||d===void 0||d.call(f)):((w=(m=this.cbs).oncomment)===null||w===void 0||w.call(m,`[CDATA[${S}]]`),(x=(v=this.cbs).oncommentend)===null||x===void 0||x.call(v)),this.startIndex=n+1}onend(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex({queue:e.children()}),"h1,h2,h3,h4,h5,h6":({$node:e,getContent:t})=>({...t(e.contents())}),"ul,ol":({$node:e})=>({queue:e.children(),nesting:!0}),li:({$node:e,getContent:t})=>{const n=e.children().filter("ul,ol");let r;if(e.contents().first().is("div,p"))r=t(e.children().first());else{let s=e.contents();const i=s.index(n);i>=0&&(s=s.slice(0,i)),r=t(s)}return{queue:n,nesting:!0,...r}},"table,pre,p>img:only-child":({$node:e,getContent:t})=>({...t(e)})},v9={selector:"h1,h2,h3,h4,h5,h6,ul,ol,li,table,pre,p>img:only-child",selectorRules:w9},sd="markmap: ",_9=/^h[1-6]$/,x9=/^[uo]l$/,k9=/^li$/;function S9(e){return _9.test(e)?+e[1]:x9.test(e)?8:k9.test(e)?9:7}function T9(e,t){const n={...v9,...t},r=b9(e);let s=r("body");s.length||(s=r.root());let i=0;const o={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},u=[];let f=0;return x(s.children()),o;function d(S){var T;const{parent:N}=S,L={id:++i,tag:S.tagName,level:S.level,html:S.html,childrenLevel:0,children:S.nesting?[]:void 0,parent:N.id};return(T=S.comments)!=null&&T.length&&(L.comments=S.comments),Object.keys(S.data||{}).length&&(L.data=S.data),N.children&&((N.childrenLevel===0||N.childrenLevel>L.level)&&(N.children=[],N.childrenLevel=L.level),N.childrenLevel===L.level&&N.children.push(L)),L}function m(S){let T;for(;(T=u[u.length-1])&&T.level>=S;)u.pop();return T||o}function w(S){var T;const N=v(S),L=(T=r.html(N.$node))==null?void 0:T.trimEnd();return{comments:N.comments,html:L}}function v(S){const T=[];return S=S.filter((N,L)=>{if(L.type==="comment"){const U=L.data.trim();if(U.startsWith(sd))return T.push(U.slice(sd.length).trim()),!1}return!0}),{$node:S,comments:T}}function x(S,T){S.each((N,L)=>{var U;const M=r(L),$=(U=Object.entries(n.selectorRules).find(([oe])=>M.is(oe)))==null?void 0:U[1],P=$==null?void 0:$({$node:M,$:r,getContent:w});if(P!=null&&P.queue&&!P.nesting){x(P.queue,T);return}const B=S9(L.tagName);if(!P){B<=6&&(f=B);return}if(f>0&&B>f||!M.is(n.selector))return;f=0;const W=B<=6;let K={...M.closest("p").data(),...M.data()},Q=P.html||"";if(M.is("ol>li")&&(T!=null&&T.children)){const ne=+(M.parent().attr("start")||1)+T.children.length;Q=`${ne}. ${Q}`,K={...K,listIndex:ne}}const pe=d({parent:T||m(B),nesting:!!P.queue||W,tagName:L.tagName,level:B,html:Q,comments:P.comments,data:K});W&&u.push(pe),P.queue&&x(P.queue,pe)})}}function E9(e){return fi(e,(t,n)=>{const r={content:t.html,children:n()||[]};return t.data&&(r.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?r.payload={...r.payload,fold:2}:t.comments.includes("fold")&&(r.payload={...r.payload,fold:1})),r})}function A9(e,t){const n=T9(e,t);return E9(n)}function N9(e){function t(r,s){const i=r.pos,o=r.src.charCodeAt(i);if(s||o!==43)return!1;const u=r.scanDelims(r.pos,!0);let f=u.length;const d=String.fromCharCode(o);if(f<2)return!1;if(f%2){const m=r.push("text","",0);m.content=d,f--}for(let m=0;m?@[\]^_`{|}~-])/g;function I9(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==126||t||r+2>=n)return!1;e.pos=r+1;let s=!1;for(;e.pos?@[\]^_`{|}~-])/g;function R9(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==94||t||r+2>=n)return!1;e.pos=r+1;let s=!1;for(;e.pos!!e&&typeof e=="object"&&e[Bn]===Vc,Wo=e=>!!e&&typeof e=="object"&&e[Bn]===G0,ji=e=>!!e&&typeof e=="object"&&e[Bn]===Dr,Lt=e=>!!e&&typeof e=="object"&&e[Bn]===ep,yt=e=>!!e&&typeof e=="object"&&e[Bn]===ir,Wi=e=>!!e&&typeof e=="object"&&e[Bn]===Ys;function Mt(e){if(e&&typeof e=="object")switch(e[Bn]){case Dr:case Ys:return!0}return!1}function It(e){if(e&&typeof e=="object")switch(e[Bn]){case Vc:case Dr:case ir:case Ys:return!0}return!1}const tp=e=>(yt(e)||Mt(e))&&!!e.anchor,Xr=Symbol("break visit"),P9=Symbol("skip children"),wi=Symbol("remove node");function Js(e,t){const n=$9(t);Wo(e)?Cs(null,e.contents,n,Object.freeze([e]))===wi&&(e.contents=null):Cs(null,e,n,Object.freeze([]))}Js.BREAK=Xr;Js.SKIP=P9;Js.REMOVE=wi;function Cs(e,t,n,r){const s=F9(e,t,n,r);if(It(s)||Lt(s))return B9(e,r,s),Cs(e,s,n,r);if(typeof s!="symbol"){if(Mt(t)){r=Object.freeze(r.concat(t));for(let i=0;ie.replace(/[!,[\]{}]/g,t=>z9[t]);class un{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},un.defaultYaml,t),this.tags=Object.assign({},un.defaultTags,n)}clone(){const t=new un(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new un(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:un.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},un.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:un.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},un.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),s=r.shift();switch(s){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[i,o]=r;return this.tags[i]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[i]=r;if(i==="1.1"||i==="1.2")return this.yaml.version=i,!0;{const o=/^\d+\.\d+$/.test(i);return n(6,`Unsupported YAML version ${i}`,o),!1}}default:return n(0,`Unknown directive ${s}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,s]=t.match(/^(.*!)([^!]*)$/s);s||n(`The ${t} tag has no suffix`);const i=this.tags[r];if(i)try{return i+decodeURIComponent(s)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+q9(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let s;if(t&&r.length>0&&It(t.contents)){const i={};Js(t.contents,(o,u)=>{It(u)&&u.tag&&(i[u.tag]=!0)}),s=Object.keys(i)}else s=[];for(const[i,o]of r)i==="!!"&&o==="tag:yaml.org,2002:"||(!t||s.some(u=>u.startsWith(o)))&&n.push(`%TAG ${i} ${o}`);return n.join(` +`)}}un.defaultYaml={explicit:!1,version:"1.2"};un.defaultTags={"!!":"tag:yaml.org,2002:"};function np(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function rp(e){const t=new Set;return Js(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function sp(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function U9(e,t){const n=[],r=new Map;let s=null;return{onAnchor:i=>{n.push(i),s??(s=rp(e));const o=sp(t,s);return s.add(o),o},setAnchors:()=>{for(const i of n){const o=r.get(i);if(typeof o=="object"&&o.anchor&&(yt(o.node)||Mt(o.node)))o.node.anchor=o.anchor;else{const u=new Error("Failed to resolve repeated object (this should not happen)");throw u.source=i,u}}},sourceObjects:r}}function Ms(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let s=0,i=r.length;sFn(r,String(s),n));if(e&&typeof e.toJSON=="function"){if(!n||!tp(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=i=>{r.res=i,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class jc{constructor(t){Object.defineProperty(this,Bn,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){if(!Wo(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},u=Fn(this,"",o);if(typeof s=="function")for(const{count:f,res:d}of o.anchors.values())s(d,f);return typeof i=="function"?Ms(i,{"":u},"",u):u}}class Wc extends jc{constructor(t){super(Vc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n!=null&&n.aliasResolveCache?r=n.aliasResolveCache:(r=[],Js(t,{Node:(i,o)=>{(hs(o)||tp(o))&&r.push(o)}}),n&&(n.aliasResolveCache=r));let s;for(const i of r){if(i===this)break;i.anchor===this.source&&(s=i)}return s}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:s,maxAliasCount:i}=n,o=this.resolve(s,n);if(!o){const f=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(f)}let u=r.get(o);if(u||(Fn(o,null,n),u=r.get(o)),(u==null?void 0:u.res)===void 0){const f="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(f)}if(i>=0&&(u.count+=1,u.aliasCount===0&&(u.aliasCount=Ya(s,o,r)),u.count*u.aliasCount>i)){const f="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(f)}return u.res}toString(t,n,r){const s=`*${this.source}`;if(t){if(np(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(t.implicitKey)return`${s} `}return s}}function Ya(e,t,n){if(hs(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}else if(Mt(t)){let r=0;for(const s of t.items){const i=Ya(e,s,n);i>r&&(r=i)}return r}else if(Lt(t)){const r=Ya(e,t.key,n),s=Ya(e,t.value,n);return Math.max(r,s)}return 1}const ip=e=>!e||typeof e!="function"&&typeof e!="object";class Ue extends jc{constructor(t){super(ir),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:Fn(this.value,t,n)}toString(){return String(this.value)}}Ue.BLOCK_FOLDED="BLOCK_FOLDED";Ue.BLOCK_LITERAL="BLOCK_LITERAL";Ue.PLAIN="PLAIN";Ue.QUOTE_DOUBLE="QUOTE_DOUBLE";Ue.QUOTE_SINGLE="QUOTE_SINGLE";const H9="tag:yaml.org,2002:";function V9(e,t,n){if(t){const r=n.filter(i=>i.tag===t),s=r.find(i=>!i.format)??r[0];if(!s)throw new Error(`Tag ${t} not found`);return s}return n.find(r=>{var s;return((s=r.identify)==null?void 0:s.call(r,e))&&!r.format})}function Ii(e,t,n){var w,v,x;if(Wo(e)&&(e=e.contents),It(e))return e;if(Lt(e)){const S=(v=(w=n.schema[Dr]).createNode)==null?void 0:v.call(w,n.schema,null,n);return S.items.push(e),S}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:u}=n;let f;if(r&&e&&typeof e=="object"){if(f=u.get(e),f)return f.anchor??(f.anchor=s(e)),new Wc(f.anchor);f={anchor:null,node:null},u.set(e,f)}t!=null&&t.startsWith("!!")&&(t=H9+t.slice(2));let d=V9(e,t,o.tags);if(!d){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const S=new Ue(e);return f&&(f.node=S),S}d=e instanceof Map?o[Dr]:Symbol.iterator in Object(e)?o[Ys]:o[Dr]}i&&(i(d),delete n.onTagObj);const m=d!=null&&d.createNode?d.createNode(n.schema,e,n):typeof((x=d==null?void 0:d.nodeClass)==null?void 0:x.from)=="function"?d.nodeClass.from(n.schema,e,n):new Ue(e);return t?m.tag=t:d.default||(m.tag=d.tag),f&&(f.node=m),m}function bo(e,t,n){let r=n;for(let s=t.length-1;s>=0;--s){const i=t[s];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const o=[];o[i]=r,r=o}else r=new Map([[i,r]])}return Ii(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const hi=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class ap extends jc{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>It(r)||Lt(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(hi(t))this.add(n);else{const[r,...s]=t,i=this.get(r,!0);if(Mt(i))i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,bo(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const s=this.get(n,!0);if(Mt(s))return s.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...s]=t,i=this.get(r,!0);return s.length===0?!n&&yt(i)?i.value:i:Mt(i)?i.getIn(s,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!Lt(n))return!1;const r=n.value;return r==null||t&&yt(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const s=this.get(n,!0);return Mt(s)?s.hasIn(r):!1}setIn(t,n){const[r,...s]=t;if(s.length===0)this.set(r,n);else{const i=this.get(r,!0);if(Mt(i))i.setIn(s,n);else if(i===void 0&&this.schema)this.set(r,bo(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}}const j9=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function yr(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const es=(e,t,n)=>e.endsWith(` +`)?yr(n,t):n.includes(` +`)?` +`+yr(n,t):(e.endsWith(" ")?"":" ")+n,op="flow",K0="block",Ja="quoted";function Go(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:u}={}){if(!s||s<0)return e;ss-Math.max(2,i)?d.push(0):w=s-r);let v,x,S=!1,T=-1,N=-1,L=-1;n===K0&&(T=id(e,T,t.length),T!==-1&&(w=T+f));for(let M;M=e[T+=1];){if(n===Ja&&M==="\\"){switch(N=T,e[T+1]){case"x":T+=3;break;case"u":T+=5;break;case"U":T+=9;break;default:T+=1}L=T}if(M===` +`)n===K0&&(T=id(e,T,t.length)),w=T+t.length+f,v=void 0;else{if(M===" "&&x&&x!==" "&&x!==` +`&&x!==" "){const $=e[T+1];$&&$!==" "&&$!==` +`&&$!==" "&&(v=T)}if(T>=w)if(v)d.push(v),w=v+f,v=void 0;else if(n===Ja){for(;x===" "||x===" ";)x=M,M=e[T+=1],S=!0;const $=T>L+1?T-2:N-1;if(m[$])return e;d.push($),m[$]=!0,w=$+f,v=void 0}else S=!0}x=M}if(S&&u&&u(),d.length===0)return e;o&&o();let U=e.slice(0,d[0]);for(let M=0;M({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Xo=e=>/^(%|---|\.\.\.)/m.test(e);function W9(e,t,n){if(!t||t<0)return!1;const r=t-n,s=e.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function vi(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Xo(e)?" ":"");let o="",u=0;for(let f=0,d=n[f];d;d=n[++f])if(d===" "&&n[f+1]==="\\"&&n[f+2]==="n"&&(o+=n.slice(u,f)+"\\ ",f+=1,u=f,d="\\"),d==="\\")switch(n[f+1]){case"u":{o+=n.slice(u,f);const m=n.substr(f+2,4);switch(m){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:m.substr(0,2)==="00"?o+="\\x"+m.substr(2):o+=n.substr(f,6)}f+=5,u=f+1}break;case"n":if(r||n[f+2]==='"'||n.length +`;let w,v;for(v=n.length;v>0;--v){const P=n[v-1];if(P!==` +`&&P!==" "&&P!==" ")break}let x=n.substring(v);const S=x.indexOf(` +`);S===-1?w="-":n===x||S!==x.length-1?(w="+",i&&i()):w="",x&&(n=n.slice(0,-x.length),x[x.length-1]===` +`&&(x=x.slice(0,-1)),x=x.replace(Y0,`$&${d}`));let T=!1,N,L=-1;for(N=0;N{B=!0});const K=Go(`${U}${P}${x}`,d,K0,W);if(!B)return`>${$} +${d}${K}`}return n=n.replace(/\n+/g,`$&${d}`),`|${$} +${d}${U}${n}${x}`}function G9(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:u,indent:f,indentStep:d,inFlow:m}=t;if(u&&i.includes(` +`)||m&&/[[\]{},]/.test(i))return Is(i,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return u||m||!i.includes(` +`)?Is(i,t):Qa(e,t,n,r);if(!u&&!m&&s!==Ue.PLAIN&&i.includes(` +`))return Qa(e,t,n,r);if(Xo(i)){if(f==="")return t.forceBlockIndent=!0,Qa(e,t,n,r);if(u&&f===d)return Is(i,t)}const w=i.replace(/\n+/g,`$& +${f}`);if(o){const v=T=>{var N;return T.default&&T.tag!=="tag:yaml.org,2002:str"&&((N=T.test)==null?void 0:N.test(w))},{compat:x,tags:S}=t.doc.schema;if(S.some(v)||x!=null&&x.some(v))return Is(i,t)}return u?w:Go(w,f,op,Ko(t,!1))}function Gc(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:u}=e;u!==Ue.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(u=Ue.QUOTE_DOUBLE);const f=m=>{switch(m){case Ue.BLOCK_FOLDED:case Ue.BLOCK_LITERAL:return s||i?Is(o.value,t):Qa(o,t,n,r);case Ue.QUOTE_DOUBLE:return vi(o.value,t);case Ue.QUOTE_SINGLE:return X0(o.value,t);case Ue.PLAIN:return G9(o,t,n,r);default:return null}};let d=f(u);if(d===null){const{defaultKeyType:m,defaultStringType:w}=t.options,v=s&&m||w;if(d=f(v),d===null)throw new Error(`Unsupported default string type ${v}`)}return d}function lp(e,t){const n=Object.assign({blockQuote:!0,commentString:j9,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function K9(e,t){var s;if(t.tag){const i=e.filter(o=>o.tag===t.tag);if(i.length>0)return i.find(o=>o.format===t.format)??i[0]}let n,r;if(yt(t)){r=t.value;let i=e.filter(o=>{var u;return(u=o.identify)==null?void 0:u.call(o,r)});if(i.length>1){const o=i.filter(u=>u.test);o.length>0&&(i=o)}n=i.find(o=>o.format===t.format)??i.find(o=>!o.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=((s=r==null?void 0:r.constructor)==null?void 0:s.name)??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function X9(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(yt(e)||Mt(e))&&e.anchor;i&&np(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag??(t.default?null:t.tag);return o&&s.push(r.directives.tagString(o)),s.join(" ")}function qs(e,t,n,r){var f;if(Lt(e))return e.toString(t,n,r);if(hs(e)){if(t.doc.directives)return e.toString(t);if((f=t.resolvedAliases)!=null&&f.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=It(e)?e:t.doc.createNode(e,{onTagObj:d=>s=d});s??(s=K9(t.doc.schema.tags,i));const o=X9(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const u=typeof s.stringify=="function"?s.stringify(i,t,n,r):yt(i)?Gc(i,t,n,r):i.toString(t,n,r);return o?yt(i)||u[0]==="{"||u[0]==="["?`${o} ${u}`:`${o} +${t.indent}${u}`:u}function Y9({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:u,indentStep:f,options:{commentString:d,indentSeq:m,simpleKeys:w}}=n;let v=It(e)&&e.comment||null;if(w){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(Mt(e)||!It(e)&&typeof e=="object"){const W="With simple keys, collection cannot be used as a key value";throw new Error(W)}}let x=!w&&(!e||v&&t==null&&!n.inFlow||Mt(e)||(yt(e)?e.type===Ue.BLOCK_FOLDED||e.type===Ue.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!x&&(w||!i),indent:u+f});let S=!1,T=!1,N=qs(e,n,()=>S=!0,()=>T=!0);if(!x&&!n.inFlow&&N.length>1024){if(w)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");x=!0}if(n.inFlow){if(i||t==null)return S&&r&&r(),N===""?"?":x?`? ${N}`:N}else if(i&&!w||t==null&&x)return N=`? ${N}`,v&&!S?N+=es(N,n.indent,d(v)):T&&s&&s(),N;S&&(v=null),x?(v&&(N+=es(N,n.indent,d(v))),N=`? ${N} +${u}:`):(N=`${N}:`,v&&(N+=es(N,n.indent,d(v))));let L,U,M;It(t)?(L=!!t.spaceBefore,U=t.commentBefore,M=t.comment):(L=!1,U=null,M=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!x&&!v&&yt(t)&&(n.indentAtStart=N.length+1),T=!1,!m&&f.length>=2&&!n.inFlow&&!x&&Wi(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let $=!1;const P=qs(t,n,()=>$=!0,()=>T=!0);let B=" ";if(v||L||U){if(B=L?` +`:"",U){const W=d(U);B+=` +${yr(W,n.indent)}`}P===""&&!n.inFlow?B===` +`&&M&&(B=` + +`):B+=` +${n.indent}`}else if(!x&&Mt(t)){const W=P[0],K=P.indexOf(` +`),Q=K!==-1,pe=n.inFlow??t.flow??t.items.length===0;if(Q||!pe){let oe=!1;if(Q&&(W==="&"||W==="!")){let ne=P.indexOf(" ");W==="&"&&ne!==-1&&nee===Ia||typeof e=="symbol"&&e.description===Ia,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Ue(Symbol(Ia)),{addToJSMap:up}),stringify:()=>Ia},J9=(e,t)=>(vr.identify(t)||yt(t)&&(!t.type||t.type===Ue.PLAIN)&&vr.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===vr.tag&&n.default));function up(e,t,n){if(n=e&&hs(n)?n.resolve(e.doc):n,Wi(n))for(const r of n.items)a0(e,t,r);else if(Array.isArray(n))for(const r of n)a0(e,t,r);else a0(e,t,n)}function a0(e,t,n){const r=e&&hs(n)?n.resolve(e.doc):n;if(!ji(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[i,o]of s)t instanceof Map?t.has(i)||t.set(i,o):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}function fp(e,t,{key:n,value:r}){if(It(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(J9(e,n))up(e,t,r);else{const s=Fn(n,"",e);if(t instanceof Map)t.set(s,Fn(r,s,e));else if(t instanceof Set)t.add(s);else{const i=Q9(n,s,e),o=Fn(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}function Q9(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(It(e)&&(n!=null&&n.doc)){const r=lp(n.doc,{});r.anchors=new Set;for(const i of n.anchors.keys())r.anchors.add(i.anchor);r.inFlow=!0,r.inStringifyKey=!0;const s=e.toString(r);if(!n.mapKeyWarned){let i=JSON.stringify(s);i.length>40&&(i=i.substring(0,36)+'..."'),cp(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return s}return JSON.stringify(t)}function Kc(e,t,n){const r=Ii(e,void 0,n),s=Ii(t,void 0,n);return new fn(r,s)}class fn{constructor(t,n=null){Object.defineProperty(this,Bn,{value:ep}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return It(n)&&(n=n.clone(t)),It(r)&&(r=r.clone(t)),new fn(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return fp(n,r,this)}toString(t,n,r){return t!=null&&t.doc?Y9(this,t,n,r):JSON.stringify(this)}}function hp(e,t,n){return(t.inFlow??e.flow?ew:Z9)(e,t,n)}function Z9({comment:e,items:t},n,{blockItemPrefix:r,flowChars:s,itemIndent:i,onChompKeep:o,onComment:u}){const{indent:f,options:{commentString:d}}=n,m=Object.assign({},n,{indent:i,type:null});let w=!1;const v=[];for(let S=0;SN=null,()=>w=!0);N&&(L+=es(L,i,d(N))),w&&N&&(w=!1),v.push(r+L)}let x;if(v.length===0)x=s.start+s.end;else{x=v[0];for(let S=1;SN=null);Sm||L.includes(` +`))&&(d=!0),w.push(L),m=w.length}const{start:v,end:x}=n;if(w.length===0)return v+x;if(!d){const S=w.reduce((T,N)=>T+N.length+2,2);d=t.options.lineWidth>0&&S>t.options.lineWidth}if(d){let S=v;for(const T of w)S+=T?` +${i}${s}${T}`:` +`;return`${S} +${s}${x}`}else return`${v}${o}${w.join(" ")}${o}${x}`}function wo({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const i=yr(t(r),e);n.push(i.trimStart())}}function ts(e,t){const n=yt(t)?t.value:t;for(const r of e)if(Lt(r)&&(r.key===t||r.key===n||yt(r.key)&&r.key.value===n))return r}class Pn extends ap{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Dr,t),this.items=[]}static from(t,n,r){const{keepUndefined:s,replacer:i}=r,o=new this(t),u=(f,d)=>{if(typeof i=="function")d=i.call(n,f,d);else if(Array.isArray(i)&&!i.includes(f))return;(d!==void 0||s)&&o.items.push(Kc(f,d,r))};if(n instanceof Map)for(const[f,d]of n)u(f,d);else if(n&&typeof n=="object")for(const f of Object.keys(n))u(f,n[f]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){var o;let r;Lt(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new fn(t,t==null?void 0:t.value):r=new fn(t.key,t.value);const s=ts(this.items,r.key),i=(o=this.schema)==null?void 0:o.sortMapEntries;if(s){if(!n)throw new Error(`Key ${r.key} already set`);yt(s.value)&&ip(r.value)?s.value.value=r.value:s.value=r.value}else if(i){const u=this.items.findIndex(f=>i(r,f)<0);u===-1?this.items.push(r):this.items.splice(u,0,r)}else this.items.push(r)}delete(t){const n=ts(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=ts(this.items,t),s=r==null?void 0:r.value;return(!n&&yt(s)?s.value:s)??void 0}has(t){return!!ts(this.items,t)}set(t,n){this.add(new fn(t,n),!0)}toJSON(t,n,r){const s=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(s);for(const i of this.items)fp(n,s,i);return s}toString(t,n,r){if(!t)return JSON.stringify(this);for(const s of this.items)if(!Lt(s))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),hp(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Qs={collection:"map",default:!0,nodeClass:Pn,tag:"tag:yaml.org,2002:map",resolve(e,t){return ji(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Pn.from(e,t,n)};class ls extends ap{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Ys,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Oa(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=Oa(t);if(typeof r!="number")return;const s=this.items[r];return!n&&yt(s)?s.value:s}has(t){const n=Oa(t);return typeof n=="number"&&n=0?t:null}const Zs={collection:"seq",default:!0,nodeClass:ls,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Wi(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>ls.from(e,t,n)},Yo={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Gc(e,t,n,r)}},Jo={identify:e=>e==null,createNode:()=>new Ue(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ue(null),stringify:({source:e},t)=>typeof e=="string"&&Jo.test.test(e)?e:t.options.nullStr},Xc={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Ue(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Xc.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Gn({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const s=typeof r=="number"?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let o=i.indexOf(".");o<0&&(o=i.length,i+=".");let u=t-(i.length-o-1);for(;u-- >0;)i+="0"}return i}const dp={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Gn},mp={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Gn(e)}},pp={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Ue(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Gn},Qo=e=>typeof e=="bigint"||Number.isInteger(e),Yc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function gp(e,t,n){const{value:r}=e;return Qo(r)&&r>=0?n+r.toString(t):Gn(e)}const yp={identify:e=>Qo(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Yc(e,2,8,n),stringify:e=>gp(e,8,"0o")},bp={identify:Qo,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Yc(e,0,10,n),stringify:Gn},wp={identify:e=>Qo(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Yc(e,2,16,n),stringify:e=>gp(e,16,"0x")},tw=[Qs,Zs,Yo,Jo,Xc,yp,bp,wp,dp,mp,pp];function ad(e){return typeof e=="bigint"||Number.isInteger(e)}const La=({value:e})=>JSON.stringify(e),nw=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:La},{identify:e=>e==null,createNode:()=>new Ue(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:La},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:La},{identify:ad,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>ad(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:La}],rw={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},sw=[Qs,Zs].concat(nw,rw),Jc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let s=0;s1&&t("Each pair must have its own sequence indicator");const s=r.items[0]||new fn(new Ue(null));if(r.commentBefore&&(s.key.commentBefore=s.key.commentBefore?`${r.commentBefore} +${s.key.commentBefore}`:r.commentBefore),r.comment){const i=s.value??s.key;i.comment=i.comment?`${r.comment} +${i.comment}`:r.comment}r=s}e.items[n]=Lt(r)?r:new fn(r)}}else t("Expected a sequence for this tag");return e}function _p(e,t,n){const{replacer:r}=n,s=new ls(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(i++),o));let u,f;if(Array.isArray(o))if(o.length===2)u=o[0],f=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const d=Object.keys(o);if(d.length===1)u=d[0],f=o[u];else throw new TypeError(`Expected tuple with one key, not ${d.length} keys`)}else u=o;s.items.push(Kc(u,f,n))}return s}const Qc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:vp,createNode:_p};class Rs extends ls{constructor(){super(),this.add=Pn.prototype.add.bind(this),this.delete=Pn.prototype.delete.bind(this),this.get=Pn.prototype.get.bind(this),this.has=Pn.prototype.has.bind(this),this.set=Pn.prototype.set.bind(this),this.tag=Rs.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const s of this.items){let i,o;if(Lt(s)?(i=Fn(s.key,"",n),o=Fn(s.value,i,n)):i=Fn(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}static from(t,n,r){const s=_p(t,n,r),i=new this;return i.items=s.items,i}}Rs.tag="tag:yaml.org,2002:omap";const Zc={collection:"seq",identify:e=>e instanceof Map,nodeClass:Rs,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=vp(e,t),r=[];for(const{key:s}of n.items)yt(s)&&(r.includes(s.value)?t(`Ordered maps must not include duplicate keys: ${s.value}`):r.push(s.value));return Object.assign(new Rs,n)},createNode:(e,t,n)=>Rs.from(e,t,n)};function xp({value:e,source:t},n){return t&&(e?kp:Sp).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const kp={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ue(!0),stringify:xp},Sp={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ue(!1),stringify:xp},iw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Gn},aw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Gn(e)}},ow={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Ue(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Gn},Gi=e=>typeof e=="bigint"||Number.isInteger(e);function Zo(e,t,n,{intAsBigInt:r}){const s=e[0];if((s==="-"||s==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const o=BigInt(e);return s==="-"?BigInt(-1)*o:o}const i=parseInt(e,n);return s==="-"?-1*i:i}function eu(e,t,n){const{value:r}=e;if(Gi(r)){const s=r.toString(t);return r<0?"-"+n+s.substr(1):n+s}return Gn(e)}const lw={identify:Gi,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Zo(e,2,2,n),stringify:e=>eu(e,2,"0b")},cw={identify:Gi,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Zo(e,1,8,n),stringify:e=>eu(e,8,"0")},uw={identify:Gi,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Zo(e,0,10,n),stringify:Gn},fw={identify:Gi,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Zo(e,2,16,n),stringify:e=>eu(e,16,"0x")};class Ds extends Pn{constructor(t){super(t),this.tag=Ds.tag}add(t){let n;Lt(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new fn(t.key,null):n=new fn(t,null),ts(this.items,n.key)||this.items.push(n)}get(t,n){const r=ts(this.items,t);return!n&&Lt(r)?yt(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=ts(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new fn(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:s}=r,i=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof s=="function"&&(o=s.call(n,o,o)),i.items.push(Kc(o,null,r));return i}}Ds.tag="tag:yaml.org,2002:set";const tu={collection:"map",identify:e=>e instanceof Set,nodeClass:Ds,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ds.from(e,t,n),resolve(e,t){if(ji(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ds,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function nu(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,s=o=>t?BigInt(o):Number(o),i=r.replace(/_/g,"").split(":").reduce((o,u)=>o*s(60)+s(u),s(0));return n==="-"?s(-1)*i:i}function Tp(e){let{value:t}=e,n=o=>o;if(typeof t=="bigint")n=o=>BigInt(o);else if(isNaN(t)||!isFinite(t))return Gn(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Ep={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>nu(e,n),stringify:Tp},Ap={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>nu(e,!1),stringify:Tp},el={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(el.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,u]=t.map(Number),f=t[7]?Number((t[7]+"00").substr(1,3)):0;let d=Date.UTC(n,r-1,s,i||0,o||0,u||0,f);const m=t[8];if(m&&m!=="Z"){let w=nu(m,!1);Math.abs(w)<30&&(w*=60),d-=6e4*w}return new Date(d)},stringify:({value:e})=>(e==null?void 0:e.toISOString().replace(/(T00:00:00)?\.000Z$/,""))??""},od=[Qs,Zs,Yo,Jo,kp,Sp,lw,cw,uw,fw,iw,aw,ow,Jc,vr,Zc,Qc,tu,Ep,Ap,el],ld=new Map([["core",tw],["failsafe",[Qs,Zs,Yo]],["json",sw],["yaml11",od],["yaml-1.1",od]]),cd={binary:Jc,bool:Xc,float:pp,floatExp:mp,floatNaN:dp,floatTime:Ap,int:bp,intHex:wp,intOct:yp,intTime:Ep,map:Qs,merge:vr,null:Jo,omap:Zc,pairs:Qc,seq:Zs,set:tu,timestamp:el},hw={"tag:yaml.org,2002:binary":Jc,"tag:yaml.org,2002:merge":vr,"tag:yaml.org,2002:omap":Zc,"tag:yaml.org,2002:pairs":Qc,"tag:yaml.org,2002:set":tu,"tag:yaml.org,2002:timestamp":el};function o0(e,t,n){const r=ld.get(t);if(r&&!e)return n&&!r.includes(vr)?r.concat(vr):r.slice();let s=r;if(!s)if(Array.isArray(e))s=[];else{const i=Array.from(ld.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)s=s.concat(i);else typeof e=="function"&&(s=e(s.slice()));return n&&(s=s.concat(vr)),s.reduce((i,o)=>{const u=typeof o=="string"?cd[o]:o;if(!u){const f=JSON.stringify(o),d=Object.keys(cd).map(m=>JSON.stringify(m)).join(", ");throw new Error(`Unknown custom tag ${f}; use one of ${d}`)}return i.includes(u)||i.push(u),i},[])}const dw=(e,t)=>e.keyt.key?1:0;class ru{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:s,schema:i,sortMapEntries:o,toStringDefaults:u}){this.compat=Array.isArray(t)?o0(t,"compat"):t?o0(null,t):null,this.name=typeof i=="string"&&i||"core",this.knownTags=s?hw:{},this.tags=o0(n,this.name,r),this.toStringOptions=u??null,Object.defineProperty(this,Dr,{value:Qs}),Object.defineProperty(this,ir,{value:Yo}),Object.defineProperty(this,Ys,{value:Zs}),this.sortMapEntries=typeof o=="function"?o:o===!0?dw:null}clone(){const t=Object.create(ru.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function mw(e,t){var f;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const d=e.directives.toString(e);d?(n.push(d),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=lp(e,t),{commentString:i}=s.options;if(e.commentBefore){n.length!==1&&n.unshift("");const d=i(e.commentBefore);n.unshift(yr(d,""))}let o=!1,u=null;if(e.contents){if(It(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const w=i(e.contents.commentBefore);n.push(yr(w,""))}s.forceBlockIndent=!!e.comment,u=e.contents.comment}const d=u?void 0:()=>o=!0;let m=qs(e.contents,s,()=>u=null,d);u&&(m+=es(m,"",i(u))),(m[0]==="|"||m[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${m}`:n.push(m)}else n.push(qs(e.contents,s));if((f=e.directives)!=null&&f.docEnd)if(e.comment){const d=i(e.comment);d.includes(` +`)?(n.push("..."),n.push(yr(d,""))):n.push(`... ${d}`)}else n.push("...");else{let d=e.comment;d&&o&&(d=d.replace(/^\n+/,"")),d&&((!o||u)&&n[n.length-1]!==""&&n.push(""),n.push(yr(i(d),"")))}return n.join(` +`)+` +`}class tl{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Bn,{value:G0});let s=null;typeof n=="function"||Array.isArray(n)?s=n:r===void 0&&n&&(r=n,n=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=i;let{version:o}=i;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new un({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,s,r)}clone(){const t=Object.create(tl.prototype,{[Bn]:{value:G0}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=It(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){xs(this.contents)&&this.contents.add(t)}addIn(t,n){xs(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=rp(this);t.anchor=!n||r.has(n)?sp(n||"a",r):n}return new Wc(t.anchor)}createNode(t,n,r){let s;if(typeof n=="function")t=n.call({"":t},"",t),s=n;else if(Array.isArray(n)){const N=U=>typeof U=="number"||U instanceof String||U instanceof Number,L=n.filter(N).map(String);L.length>0&&(n=n.concat(L)),s=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:i,anchorPrefix:o,flow:u,keepUndefined:f,onTagObj:d,tag:m}=r??{},{onAnchor:w,setAnchors:v,sourceObjects:x}=U9(this,o||"a"),S={aliasDuplicateObjects:i??!0,keepUndefined:f??!1,onAnchor:w,onTagObj:d,replacer:s,schema:this.schema,sourceObjects:x},T=Ii(t,m,S);return u&&Mt(T)&&(T.flow=!0),v(),T}createPair(t,n,r={}){const s=this.createNode(t,null,r),i=this.createNode(n,null,r);return new fn(s,i)}delete(t){return xs(this.contents)?this.contents.delete(t):!1}deleteIn(t){return hi(t)?this.contents==null?!1:(this.contents=null,!0):xs(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Mt(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return hi(t)?!n&&yt(this.contents)?this.contents.value:this.contents:Mt(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Mt(this.contents)?this.contents.has(t):!1}hasIn(t){return hi(t)?this.contents!==void 0:Mt(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=bo(this.schema,[t],n):xs(this.contents)&&this.contents.set(t,n)}setIn(t,n){hi(t)?this.contents=n:this.contents==null?this.contents=bo(this.schema,Array.from(t),n):xs(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new un({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new un({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const s=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${s}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new ru(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:s,onAnchor:i,reviver:o}={}){const u={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},f=Fn(this.contents,n??"",u);if(typeof i=="function")for(const{count:d,res:m}of u.anchors.values())i(m,d);return typeof o=="function"?Ms(o,{"":f},"",f):f}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return mw(this,t)}}function xs(e){if(Mt(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Np extends Error{constructor(t,n,r,s){super(),this.name=t,this.code=r,this.message=s,this.pos=n}}class di extends Np{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class pw extends Np{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const ud=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(u=>t.linePos(u));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const u=Math.min(i-39,o.length-79);o="…"+o.substring(u),i-=u-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let u=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);u.length>80&&(u=u.substring(0,79)+`… +`),o=u+o}if(/[^ ]/.test(o)){let u=1;const f=n.linePos[1];(f==null?void 0:f.line)===r&&f.col>s&&(u=Math.max(1,Math.min(f.col-s,80-i)));const d=" ".repeat(i)+"^".repeat(u);n.message+=`: + +${o} +${d} +`}};function Us(e,{flow:t,indicator:n,next:r,offset:s,onError:i,parentIndent:o,startOnNewline:u}){let f=!1,d=u,m=u,w="",v="",x=!1,S=!1,T=null,N=null,L=null,U=null,M=null,$=null,P=null;for(const K of e)switch(S&&(K.type!=="space"&&K.type!=="newline"&&K.type!=="comma"&&i(K.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),S=!1),T&&(d&&K.type!=="comment"&&K.type!=="newline"&&i(T,"TAB_AS_INDENT","Tabs are not allowed as indentation"),T=null),K.type){case"space":!t&&(n!=="doc-start"||(r==null?void 0:r.type)!=="flow-collection")&&K.source.includes(" ")&&(T=K),m=!0;break;case"comment":{m||i(K,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Q=K.source.substring(1)||" ";w?w+=v+Q:w=Q,v="",d=!1;break}case"newline":d?w?w+=K.source:(!$||n!=="seq-item-ind")&&(f=!0):v+=K.source,d=!0,x=!0,(N||L)&&(U=K),m=!0;break;case"anchor":N&&i(K,"MULTIPLE_ANCHORS","A node can have at most one anchor"),K.source.endsWith(":")&&i(K.offset+K.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),N=K,P??(P=K.offset),d=!1,m=!1,S=!0;break;case"tag":{L&&i(K,"MULTIPLE_TAGS","A node can have at most one tag"),L=K,P??(P=K.offset),d=!1,m=!1,S=!0;break}case n:(N||L)&&i(K,"BAD_PROP_ORDER",`Anchors and tags must be after the ${K.source} indicator`),$&&i(K,"UNEXPECTED_TOKEN",`Unexpected ${K.source} in ${t??"collection"}`),$=K,d=n==="seq-item-ind"||n==="explicit-key-ind",m=!1;break;case"comma":if(t){M&&i(K,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),M=K,d=!1,m=!1;break}default:i(K,"UNEXPECTED_TOKEN",`Unexpected ${K.type} token`),d=!1,m=!1}const B=e[e.length-1],W=B?B.offset+B.source.length:s;return S&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),T&&(d&&T.indent<=o||(r==null?void 0:r.type)==="block-map"||(r==null?void 0:r.type)==="block-seq")&&i(T,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:M,found:$,spaceBefore:f,comment:w,hasNewline:x,anchor:N,tag:L,newlineAfterProp:U,end:W,start:P??W}}function Oi(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(` +`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Oi(t.key)||Oi(t.value))return!0}return!1;default:return!0}}function J0(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&Oi(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Cp(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const s=typeof r=="function"?r:(i,o)=>i===o||yt(i)&&yt(o)&&i.value===o.value;return t.some(i=>s(i.key,n))}const fd="All mapping items must start at the same column";function gw({composeNode:e,composeEmptyNode:t},n,r,s,i){var m;const o=(i==null?void 0:i.nodeClass)??Pn,u=new o(n.schema);n.atRoot&&(n.atRoot=!1);let f=r.offset,d=null;for(const w of r.items){const{start:v,key:x,sep:S,value:T}=w,N=Us(v,{indicator:"explicit-key-ind",next:x??(S==null?void 0:S[0]),offset:f,onError:s,parentIndent:r.indent,startOnNewline:!0}),L=!N.found;if(L){if(x&&(x.type==="block-seq"?s(f,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in x&&x.indent!==r.indent&&s(f,"BAD_INDENT",fd)),!N.anchor&&!N.tag&&!S){d=N.end,N.comment&&(u.comment?u.comment+=` +`+N.comment:u.comment=N.comment);continue}(N.newlineAfterProp||Oi(x))&&s(x??v[v.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((m=N.found)==null?void 0:m.indent)!==r.indent&&s(f,"BAD_INDENT",fd);n.atKey=!0;const U=N.end,M=x?e(n,x,N,s):t(n,U,v,null,N,s);n.schema.compat&&J0(r.indent,x,s),n.atKey=!1,Cp(n,u.items,M)&&s(U,"DUPLICATE_KEY","Map keys must be unique");const $=Us(S??[],{indicator:"map-value-ind",next:T,offset:M.range[2],onError:s,parentIndent:r.indent,startOnNewline:!x||x.type==="block-scalar"});if(f=$.end,$.found){L&&((T==null?void 0:T.type)==="block-map"&&!$.hasNewline&&s(f,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&N.start<$.found.offset-1024&&s(M.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const P=T?e(n,T,$,s):t(n,f,S,null,$,s);n.schema.compat&&J0(r.indent,T,s),f=P.range[2];const B=new fn(M,P);n.options.keepSourceTokens&&(B.srcToken=w),u.items.push(B)}else{L&&s(M.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),$.comment&&(M.comment?M.comment+=` +`+$.comment:M.comment=$.comment);const P=new fn(M);n.options.keepSourceTokens&&(P.srcToken=w),u.items.push(P)}}return d&&de&&(e.type==="block-map"||e.type==="block-seq");function bw({composeNode:e,composeEmptyNode:t},n,r,s,i){var N;const o=r.start.source==="{",u=o?"flow map":"flow sequence",f=(i==null?void 0:i.nodeClass)??(o?Pn:ls),d=new f(n.schema);d.flow=!0;const m=n.atRoot;m&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let w=r.offset+r.start.source.length;for(let L=0;L0){const L=Ki(S,T,n.options.strict,s);L.comment&&(d.comment?d.comment+=` +`+L.comment:d.comment=L.comment),d.range=[r.offset,T,L.offset]}else d.range=[r.offset,T,T];return d}function u0(e,t,n,r,s,i){const o=n.type==="block-map"?gw(e,t,n,r,i):n.type==="block-seq"?yw(e,t,n,r,i):bw(e,t,n,r,i),u=o.constructor;return s==="!"||s===u.tagName?(o.tag=u.tagName,o):(s&&(o.tag=s),o)}function ww(e,t,n,r,s){var v;const i=r.tag,o=i?t.directives.tagName(i.source,x=>s(i,"TAG_RESOLVE_FAILED",x)):null;if(n.type==="block-seq"){const{anchor:x,newlineAfterProp:S}=r,T=x&&i?x.offset>i.offset?x:i:x??i;T&&(!S||S.offsetx.tag===o&&x.collection===u);if(!f){const x=t.schema.knownTags[o];if((x==null?void 0:x.collection)===u)t.schema.tags.push(Object.assign({},x,{default:!1})),f=x;else return x?s(i,"BAD_COLLECTION_TYPE",`${x.tag} used for ${u} collection, but expects ${x.collection??"scalar"}`,!0):s(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),u0(e,t,n,s,o)}const d=u0(e,t,n,s,o,f),m=((v=f.resolve)==null?void 0:v.call(f,d,x=>s(i,"TAG_RESOLVE_FAILED",x),t.options))??d,w=It(m)?m:new Ue(m);return w.range=d.range,w.tag=o,f!=null&&f.format&&(w.format=f.format),w}function vw(e,t,n){const r=t.offset,s=_w(t,e.options.strict,n);if(!s)return{value:"",type:null,comment:"",range:[r,r,r]};const i=s.mode===">"?Ue.BLOCK_FOLDED:Ue.BLOCK_LITERAL,o=t.source?xw(t.source):[];let u=o.length;for(let T=o.length-1;T>=0;--T){const N=o[T][1];if(N===""||N==="\r")u=T;else break}if(u===0){const T=s.chomp==="+"&&o.length>0?` +`.repeat(Math.max(1,o.length-1)):"";let N=r+s.length;return t.source&&(N+=t.source.length),{value:T,type:i,comment:s.comment,range:[r,N,N]}}let f=t.indent+s.indent,d=t.offset+s.length,m=0;for(let T=0;Tf&&(f=N.length);else{N.length=u;--T)o[T][0].length>f&&(u=T+1);let w="",v="",x=!1;for(let T=0;Tf||L[0]===" "?(v===" "?v=` +`:!x&&v===` +`&&(v=` + +`),w+=v+N.slice(f)+L,v=` +`,x=!0):L===""?v===` +`?w+=` +`:v=` +`:(w+=v+L,v=" ",x=!1)}switch(s.chomp){case"-":break;case"+":for(let T=u;Tn(r+v,x,S);switch(s){case"scalar":u=Ue.PLAIN,f=Sw(i,d);break;case"single-quoted-scalar":u=Ue.QUOTE_SINGLE,f=Tw(i,d);break;case"double-quoted-scalar":u=Ue.QUOTE_DOUBLE,f=Ew(i,d);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const m=r+i.length,w=Ki(o,m,t,n);return{value:f,type:u,comment:w.comment,range:[r,m,w.offset]}}function Sw(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Mp(e)}function Tw(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Mp(e.slice(1,-1)).replace(/''/g,"'")}function Mp(e){let t,n;try{t=new RegExp(`(.*?)(?i?e.slice(i,r+1):s)}else n+=s}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function Aw(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===` +`||r==="\r")&&!(r==="\r"&&e[t+2]!==` +`);)r===` +`&&(n+=` +`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const Nw={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:` +`,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Cw(e,t,n,r){const s=e.substr(t,n),o=s.length===n&&/^[0-9a-fA-F]+$/.test(s)?parseInt(s,16):NaN;if(isNaN(o)){const u=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${u}`),u}return String.fromCodePoint(o)}function Ip(e,t,n,r){const{value:s,type:i,comment:o,range:u}=t.type==="block-scalar"?vw(e,t,r):kw(t,e.options.strict,r),f=n?e.directives.tagName(n.source,w=>r(n,"TAG_RESOLVE_FAILED",w)):null;let d;e.options.stringKeys&&e.atKey?d=e.schema[ir]:f?d=Mw(e.schema,s,f,n,r):t.type==="scalar"?d=Iw(e,s,t,r):d=e.schema[ir];let m;try{const w=d.resolve(s,v=>r(n??t,"TAG_RESOLVE_FAILED",v),e.options);m=yt(w)?w:new Ue(w)}catch(w){const v=w instanceof Error?w.message:String(w);r(n??t,"TAG_RESOLVE_FAILED",v),m=new Ue(s)}return m.range=u,m.source=s,i&&(m.type=i),f&&(m.tag=f),d.format&&(m.format=d.format),o&&(m.comment=o),m}function Mw(e,t,n,r,s){var u;if(n==="!")return e[ir];const i=[];for(const f of e.tags)if(!f.collection&&f.tag===n)if(f.default&&f.test)i.push(f);else return f;for(const f of i)if((u=f.test)!=null&&u.test(t))return f;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[ir])}function Iw({atKey:e,directives:t,schema:n},r,s,i){const o=n.tags.find(u=>{var f;return(u.default===!0||e&&u.default==="key")&&((f=u.test)==null?void 0:f.test(r))})||n[ir];if(n.compat){const u=n.compat.find(f=>{var d;return f.default&&((d=f.test)==null?void 0:d.test(r))})??n[ir];if(o.tag!==u.tag){const f=t.tagString(o.tag),d=t.tagString(u.tag),m=`Value may be parsed as either ${f} or ${d}`;i(s,"TAG_RESOLVE_FAILED",m,!0)}}return o}function Ow(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let s=t[r];switch(s.type){case"space":case"comment":case"newline":e-=s.source.length;continue}for(s=t[++r];(s==null?void 0:s.type)==="space";)e+=s.source.length,s=t[++r];break}}return e}const Lw={composeNode:Op,composeEmptyNode:su};function Op(e,t,n,r){const s=e.atKey,{spaceBefore:i,comment:o,anchor:u,tag:f}=n;let d,m=!0;switch(t.type){case"alias":d=Rw(e,t,r),(u||f)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":d=Ip(e,t,f,r),u&&(d.anchor=u.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":d=ww(Lw,e,t,n,r),u&&(d.anchor=u.source.substring(1));break;default:{const w=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",w),d=su(e,t.offset,void 0,null,n,r),m=!1}}return u&&d.anchor===""&&r(u,"BAD_ALIAS","Anchor cannot be an empty string"),s&&e.options.stringKeys&&(!yt(d)||typeof d.value!="string"||d.tag&&d.tag!=="tag:yaml.org,2002:str")&&r(f??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(d.spaceBefore=!0),o&&(t.type==="scalar"&&t.source===""?d.comment=o:d.commentBefore=o),e.options.keepSourceTokens&&m&&(d.srcToken=t),d}function su(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:u,end:f},d){const m={type:"scalar",offset:Ow(t,n,r),indent:-1,source:""},w=Ip(e,m,u,d);return o&&(w.anchor=o.source.substring(1),w.anchor===""&&d(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(w.spaceBefore=!0),i&&(w.comment=i,w.range[2]=f),w}function Rw({options:e},{offset:t,source:n,end:r},s){const i=new Wc(n.substring(1));i.source===""&&s(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,u=Ki(r,o,e.strict,s);return i.range=[t,o,u.offset],u.comment&&(i.comment=u.comment),i}function Dw(e,t,{offset:n,start:r,value:s,end:i},o){const u=Object.assign({_directives:t},e),f=new tl(void 0,u),d={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},m=Us(r,{indicator:"doc-start",next:s??(i==null?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});m.found&&(f.directives.docStart=!0,s&&(s.type==="block-map"||s.type==="block-seq")&&!m.hasNewline&&o(m.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=s?Op(d,s,m,o):su(d,m.end,r,null,m,o);const w=f.contents.range[2],v=Ki(i,w,!1,o);return v.comment&&(f.comment=v.comment),f.range=[n,w,v.offset],f}function oi(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function hd(e){var s;let t="",n=!1,r=!1;for(let i=0;i{const o=oi(n);i?this.warnings.push(new pw(o,r,s)):this.errors.push(new di(o,r,s))},this.directives=new un({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:s}=hd(this.prelude);if(r){const i=t.contents;if(n)t.comment=t.comment?`${t.comment} +${r}`:r;else if(s||t.directives.docStart||!i)t.commentBefore=r;else if(Mt(i)&&!i.flow&&i.items.length>0){let o=i.items[0];Lt(o)&&(o=o.key);const u=o.commentBefore;o.commentBefore=u?`${r} +${u}`:r}else{const o=i.commentBefore;i.commentBefore=o?`${r} +${o}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:hd(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const s of t)yield*this.next(s);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,s)=>{const i=oi(t);i[0]+=n,this.onError(i,"BAD_DIRECTIVE",r,s)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=Dw(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new di(oi(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new di(oi(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Ki(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r} +${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new di(oi(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),s=new tl(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),s.range=[0,n,n],this.decorate(s,!1),yield s}}}const Lp="\uFEFF",Rp="",Dp="",Q0="";function $w(e){switch(e){case Lp:return"byte-order-mark";case Rp:return"doc-mode";case Dp:return"flow-error-end";case Q0:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case` +`:case`\r +`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Un(e){switch(e){case void 0:case" ":case` +`:case"\r":case" ":return!0;default:return!1}}const dd=new Set("0123456789ABCDEFabcdef"),Fw=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Ra=new Set(",[]{}"),Bw=new Set(` ,[]{} +\r `),f0=e=>!e||Bw.has(e);class zw{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===` +`?!0:n==="\r"?this.buffer[t+1]===` +`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const s=this.buffer[r+t+1];if(s===` +`||!s&&!this.atEnd)return t+r+1}return n===` +`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Un(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&tthis.indentValue&&!Un(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Un(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(f0),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const s=this.getLine();if(s===null)return this.setNext("flow");if((r!==-1&&r"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Un(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case` +`:t=i,n=0;break;case"\r":{const o=this.buffer[i+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===` +`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(` +`,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let s=t+1;for(r=this.buffer[s];r===" ";)r=this.buffer[++s];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===` +`;)r=this.buffer[++s];t=s-1}else if(!this.blockScalarKeep)do{let i=t-1,o=this.buffer[i];o==="\r"&&(o=this.buffer[--i]);const u=i;for(;o===" ";)o=this.buffer[--i];if(o===` +`&&i>=this.pos&&i+1+n>u)t=i;else break}while(!0);return yield Q0,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,s;for(;s=this.buffer[++r];)if(s===":"){const i=this.buffer[r+1];if(Un(i)||t&&Ra.has(i))break;n=r}else if(Un(s)){let i=this.buffer[r+1];if(s==="\r"&&(i===` +`?(r+=1,s=` +`,i=this.buffer[r+1]):n=r),i==="#"||t&&Ra.has(i))break;if(s===` +`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&Ra.has(s))break;n=r}return!s&&!this.atEnd?this.setNext("plain-scalar"):(yield Q0,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(f0))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Un(n)||t&&Ra.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Un(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(Fw.has(n))n=this.buffer[++t];else if(n==="%"&&dd.has(this.buffer[t+1])&&dd.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===` +`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===` +`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const s=n-this.pos;return s>0&&(yield this.buffer.substr(this.pos,s),this.pos=n),s}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class qw{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n>1;this.lineStarts[i]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function pd(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Cr(t.start,"explicit-key-ind")&&!Cr(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Pp(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Uw{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new zw,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=$w(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(t==null?void 0:t.type)!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&pd(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const s=r.items[r.items.length-1];if(s.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(s.sep)s.value=n;else{Object.assign(s,{key:n,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{const s=r.items[r.items.length-1];s.value?r.items.push({start:[],value:n}):s.value=n;break}case"flow-collection":{const s=r.items[r.items.length-1];!s||s.value?r.items.push({start:[],key:n,sep:[]}):s.sep?s.value=n:Object.assign(s,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const s=n.items[n.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&md(s.start)===-1&&(n.indent===0||s.start.every(i=>i.type!=="comment"||i.indent=t.indent){const s=!this.onKeyLine&&this.indent===t.indent,i=s&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let o=[];if(i&&n.sep&&!n.value){const u=[];for(let f=0;ft.indent&&(u.length=0);break;default:u.length=0}}u.length>=2&&(o=n.sep.splice(u[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(o.push(this.sourceToken),t.items.push({start:o}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(o.push(this.sourceToken),t.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Cr(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(Pp(n.key)&&!Cr(n.sep,"newline")){const u=ks(n.start),f=n.key,d=n.sep;d.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:f,sep:d}]})}else o.length>0?n.sep=n.sep.concat(o,this.sourceToken):n.sep.push(this.sourceToken);else if(Cr(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const u=ks(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:o,key:null,sep:[this.sourceToken]}):Cr(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const u=this.flowScalar(this.type);i||n.value?(t.items.push({start:o,key:u,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(u):(Object.assign(n,{key:u,sep:[]}),this.onKeyLine=!0);return}default:{const u=this.startBlockValue(t);if(u){if(u.type==="block-seq"){if(!n.explicitKey&&n.sep&&!Cr(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else s&&t.items.push({start:o});this.stack.push(u);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const s="end"in n.value?n.value.end:void 0,i=Array.isArray(s)?s[s.length-1]:void 0;(i==null?void 0:i.type)==="comment"?s==null||s.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const s=t.items[t.items.length-2],i=(r=s==null?void 0:s.value)==null?void 0:r.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Cr(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const s=this.startBlockValue(t);if(s){this.stack.push(s);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while((r==null?void 0:r.type)==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:s,sep:[]}):n.sep?this.stack.push(s):Object.assign(n,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const s=Da(r),i=ks(s);pd(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const u={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=u}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(` +`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` +`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Da(t),r=ks(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Da(t),r=ks(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Hw(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new qw||null,prettyErrors:t}}function Vw(e,t={}){const{lineCounter:n,prettyErrors:r}=Hw(t),s=new Uw(n==null?void 0:n.addNewLine),i=new Pw(t);let o=null;for(const u of i.compose(s.parse(e),!0,e.length))if(!o)o=u;else if(o.options.logLevel!=="silent"){o.errors.push(new di(u.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(ud(e,n)),o.warnings.forEach(ud(e,n))),o}function jw(e,t,n){let r;const s=Vw(e,n);if(!s)return null;if(s.warnings.forEach(i=>cp(s.options.logLevel,i)),s.errors.length>0){if(s.options.logLevel!=="silent")throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}var $p={},Fp={exports:{}};(function(e,t){(function(r,s){e.exports=s()})(typeof self<"u"?self:w0,function(){return function(){var n={};(function(){n.d=function(l,a){for(var c in a)n.o(a,c)&&!n.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:a[c]})}})(),function(){n.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)}}();var r={};n.d(r,{default:function(){return Sg}});class s extends Error{constructor(a,c){let h="KaTeX parse error: "+a,p,b;const _=c&&c.loc;if(_&&_.start<=_.end){const E=_.lexer.input;p=_.start,b=_.end,p===E.length?h+=" at end of input: ":h+=" at position "+(p+1)+": ";const I=E.slice(p,b).replace(/[^]/g,"$&̲");let D;p>15?D="…"+E.slice(p-15,p):D=E.slice(0,p);let G;b+15l.replace(o,"-$1").toLowerCase(),f={"&":"&",">":">","<":"<",'"':""","'":"'"},d=/[&><"']/g,m=l=>String(l).replace(d,a=>f[a]),w=l=>l.type==="ordgroup"||l.type==="color"?l.body.length===1?w(l.body[0]):l:l.type==="font"?w(l.body):l,v=new Set(["mathord","textord","atom"]),x=l=>v.has(w(l).type),S=l=>{const a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(l);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"},T={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:l=>"#"+l},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(l,a)=>(a.push(l),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:l=>Math.max(0,l),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:l=>Math.max(0,l),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:l=>Math.max(0,l),cli:"-e, --max-expand ",cliProcessor:l=>l==="Infinity"?1/0:parseInt(l)},globalGroup:{type:"boolean",cli:!1}};function N(l){if("default"in l)return l.default;const a=l.type,c=Array.isArray(a)?a[0]:a;if(typeof c!="string")return c.enum[0];switch(c){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class L{constructor(a){a===void 0&&(a={}),a=a||{};for(const c of Object.keys(T)){const h=T[c],p=a[c];this[c]=p!==void 0?h.processor?h.processor(p):p:N(h)}}reportNonstrict(a,c,h){let p=this.strict;if(typeof p=="function"&&(p=p(a,c,h)),!(!p||p==="ignore")){if(p===!0||p==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(c+" ["+a+"]"),h);p==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+p+"': "+c+" ["+a+"]"))}}useStrictBehavior(a,c,h){let p=this.strict;if(typeof p=="function")try{p=p(a,c,h)}catch{p="error"}return!p||p==="ignore"?!1:p===!0||p==="error"?!0:p==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+p+"': "+c+" ["+a+"]")),!1)}isTrusted(a){if("url"in a&&a.url&&!a.protocol){const h=S(a.url);if(h==null)return!1;a.protocol=h}return!!(typeof this.trust=="function"?this.trust(a):this.trust)}}class U{constructor(a,c,h){this.id=a,this.size=c,this.cramped=h}sup(){return oe[ne[this.id]]}sub(){return oe[ee[this.id]]}fracNum(){return oe[j[this.id]]}fracDen(){return oe[he[this.id]]}cramp(){return oe[X[this.id]]}text(){return oe[V[this.id]]}isTight(){return this.size>=2}}const M=0,$=1,P=2,B=3,W=4,K=5,Q=6,pe=7,oe=[new U(M,0,!1),new U($,0,!0),new U(P,1,!1),new U(B,1,!0),new U(W,2,!1),new U(K,2,!0),new U(Q,3,!1),new U(pe,3,!0)],ne=[W,K,W,K,Q,pe,Q,pe],ee=[K,K,K,K,pe,pe,pe,pe],j=[P,B,W,K,Q,pe,Q,pe],he=[B,B,K,K,pe,pe,pe,pe],X=[$,$,B,B,K,K,pe,pe],V=[M,$,P,B,P,B,P,B];var F={DISPLAY:oe[M],TEXT:oe[P],SCRIPT:oe[W],SCRIPTSCRIPT:oe[Q]};const ue=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function fe(l){for(let a=0;a=p[0]&&l<=p[1])return c.name}}return null}const ye=[];ue.forEach(l=>l.blocks.forEach(a=>ye.push(...a)));function z(l){for(let a=0;a=ye[a]&&l<=ye[a+1])return!0;return!1}const re=80,xe=function(l,a){return"M95,"+(622+l+a)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+l/2.075+" -"+l+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+l)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Me=function(l,a){return"M263,"+(601+l+a)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+l/2.084+" -"+l+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+l)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Ke=function(l,a){return"M983 "+(10+l+a)+` +l`+l/3.13+" -"+l+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+l)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Ze=function(l,a){return"M424,"+(2398+l+a)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+l/4.223+" -"+l+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+l)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+l)+" "+a+` +h400000v`+(40+l)+"h-400000z"},Xe=function(l,a){return"M473,"+(2713+l+a)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+l)+" "+a+"h400000v"+(40+l)+"H1017.7z"},Rt=function(l){const a=l/2;return"M400000 "+l+" H0 L"+a+" 0 l65 45 L145 "+(l-80)+" H400000z"},nn=function(l,a,c){const h=c-54-a-l;return"M702 "+(l+a)+"H400000"+(40+l)+` +H742v`+h+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+a+"H400000v"+(40+l)+"H742z"},Tn=function(l,a,c){a=1e3*a;let h="";switch(l){case"sqrtMain":h=xe(a,re);break;case"sqrtSize1":h=Me(a,re);break;case"sqrtSize2":h=Ke(a,re);break;case"sqrtSize3":h=Ze(a,re);break;case"sqrtSize4":h=Xe(a,re);break;case"sqrtTall":h=nn(a,re,c)}return h},hn=function(l,a){switch(l){case"⎜":return"M291 0 H417 V"+a+" H291z M291 0 H417 V"+a+" H291z";case"∣":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z";case"∥":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z"+("M367 0 H410 V"+a+" H367z M367 0 H410 V"+a+" H367z");case"⎟":return"M457 0 H583 V"+a+" H457z M457 0 H583 V"+a+" H457z";case"⎢":return"M319 0 H403 V"+a+" H319z M319 0 H403 V"+a+" H319z";case"⎥":return"M263 0 H347 V"+a+" H263z M263 0 H347 V"+a+" H263z";case"⎪":return"M384 0 H504 V"+a+" H384z M384 0 H504 V"+a+" H384z";case"⏐":return"M312 0 H355 V"+a+" H312z M312 0 H355 V"+a+" H312z";case"‖":return"M257 0 H300 V"+a+" H257z M257 0 H300 V"+a+" H257z"+("M478 0 H521 V"+a+" H478z M478 0 H521 V"+a+" H478z");default:return""}},Xn={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z +M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z +M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z +M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z +M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},we=function(l,a){switch(l){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v1759 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+a+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+a+" v1759 h84z";case"vert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+" v585 h43z";case"doublevert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+` v585 h43z +M367 15 v585 v`+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+a+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+a+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+a+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v602 h84z +M403 1759 V0 H319 V1759 v`+a+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v602 h84z +M347 1759 V0 h-84 V1759 v`+a+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(a+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(a+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(a+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class He{constructor(a){this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return this.classes.includes(a)}toNode(){const a=document.createDocumentFragment();for(let c=0;cc.toText();return this.children.map(a).join("")}}const wn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},rn={ex:!0,em:!0,mu:!0},En=function(l){return typeof l!="string"&&(l=l.unit),l in wn||l in rn||l==="ex"},lt=function(l,a){let c;if(l.unit in wn)c=wn[l.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(l.unit==="mu")c=a.fontMetrics().cssEmPerMu;else{let h;if(a.style.isTight()?h=a.havingStyle(a.style.text()):h=a,l.unit==="ex")c=h.fontMetrics().xHeight;else if(l.unit==="em")c=h.fontMetrics().quad;else throw new i("Invalid unit: '"+l.unit+"'");h!==a&&(c*=h.sizeMultiplier/a.sizeMultiplier)}return Math.min(l.number*c,a.maxSize)},C=function(l){return+l.toFixed(4)+"em"},q=function(l){return l.filter(a=>a).join(" ")},se=function(l,a,c){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=c||{},a){a.style.isTight()&&this.classes.push("mtight");const h=a.getColor();h&&(this.style.color=h)}},Ce=function(l){const a=document.createElement(l);a.className=q(this.classes);for(const c of Object.keys(this.style))a.style[c]=this.style[c];for(const c of Object.keys(this.attributes))a.setAttribute(c,this.attributes[c]);for(let c=0;c/=\x00-\x1f]/,Re=function(l){let a="<"+l;this.classes.length&&(a+=' class="'+m(q(this.classes))+'"');let c="";for(const h of Object.keys(this.style))c+=u(h)+":"+this.style[h]+";";c&&(a+=' style="'+m(c)+'"');for(const h of Object.keys(this.attributes)){if(ut.test(h))throw new i("Invalid attribute name '"+h+"'");a+=" "+h+'="'+m(this.attributes[h])+'"'}a+=">";for(let h=0;h",a};class te{constructor(a,c,h,p){se.call(this,a,h,p),this.children=c||[]}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return this.classes.includes(a)}toNode(){return Ce.call(this,"span")}toMarkup(){return Re.call(this,"span")}}class le{constructor(a,c,h,p){se.call(this,c,p),this.children=h||[],this.setAttribute("href",a)}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return this.classes.includes(a)}toNode(){return Ce.call(this,"a")}toMarkup(){return Re.call(this,"a")}}class tt{constructor(a,c,h){this.alt=c,this.src=a,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=h}hasClass(a){return this.classes.includes(a)}toNode(){const a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(const c of Object.keys(this.style))a.style[c]=this.style[c];return a}toMarkup(){let a=''+m(this.alt)+'0&&(c=document.createElement("span"),c.style.marginRight=C(this.italic)),this.classes.length>0&&(c=c||document.createElement("span"),c.className=q(this.classes));for(const h of Object.keys(this.style))c=c||document.createElement("span"),c.style[h]=this.style[h];return c?(c.appendChild(a),c):a}toMarkup(){let a=!1,c="0&&(h+="margin-right:"+this.italic+"em;");for(const b of Object.keys(this.style))h+=u(b)+":"+this.style[b]+";";h&&(a=!0,c+=' style="'+m(h)+'"');const p=m(this.text);return a?(c+=">",c+=p,c+="",c):p}}class Zt{constructor(a,c){this.children=a||[],this.attributes=c||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const h of Object.keys(this.attributes))c.setAttribute(h,this.attributes[h]);for(let h=0;h':''}}class Ur{constructor(a){this.attributes=a||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","line");for(const h of Object.keys(this.attributes))c.setAttribute(h,this.attributes[h]);return c}toMarkup(){let a=" but got "+String(l)+".")}const ol=l=>l instanceof te||l instanceof le||l instanceof He;var An={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const ds={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},_e={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function be(l,a){An[l]=a}function wt(l,a,c){if(!An[a])throw new Error("Font metrics not found for font: "+a+".");let h=l.charCodeAt(0),p=An[a][h];if(!p&&l[0]in _e&&(h=_e[l[0]].charCodeAt(0),p=An[a][h]),!p&&c==="text"&&z(h)&&(p=An[a][77]),p)return{depth:p[0],height:p[1],italic:p[2],skew:p[3],width:p[4]}}const Yt={};function Nn(l){let a;if(l>=5?a=0:l>=3?a=1:a=2,!Yt[a]){const c=Yt[a]={cssEmPerMu:ds.quad[a]/18};for(const h in ds)ds.hasOwnProperty(h)&&(c[h]=ds[h][a])}return Yt[a]}const Qi={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Zi={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xr={math:{},text:{}};var St=xr;function g(l,a,c,h,p,b){xr[l][p]={font:a,group:c,replace:h},b&&h&&(xr[l][h]=xr[l][p])}const y="math",ie="text",k="main",O="ams",at="accent-token",ke="bin",sn="close",ms="inner",Ie="mathord",Dt="op-token",vn="open",ea="punct",R="rel",or="spacing",H="textord";g(y,k,R,"≡","\\equiv",!0),g(y,k,R,"≺","\\prec",!0),g(y,k,R,"≻","\\succ",!0),g(y,k,R,"∼","\\sim",!0),g(y,k,R,"⊥","\\perp"),g(y,k,R,"⪯","\\preceq",!0),g(y,k,R,"⪰","\\succeq",!0),g(y,k,R,"≃","\\simeq",!0),g(y,k,R,"∣","\\mid",!0),g(y,k,R,"≪","\\ll",!0),g(y,k,R,"≫","\\gg",!0),g(y,k,R,"≍","\\asymp",!0),g(y,k,R,"∥","\\parallel"),g(y,k,R,"⋈","\\bowtie",!0),g(y,k,R,"⌣","\\smile",!0),g(y,k,R,"⊑","\\sqsubseteq",!0),g(y,k,R,"⊒","\\sqsupseteq",!0),g(y,k,R,"≐","\\doteq",!0),g(y,k,R,"⌢","\\frown",!0),g(y,k,R,"∋","\\ni",!0),g(y,k,R,"∝","\\propto",!0),g(y,k,R,"⊢","\\vdash",!0),g(y,k,R,"⊣","\\dashv",!0),g(y,k,R,"∋","\\owns"),g(y,k,ea,".","\\ldotp"),g(y,k,ea,"⋅","\\cdotp"),g(y,k,H,"#","\\#"),g(ie,k,H,"#","\\#"),g(y,k,H,"&","\\&"),g(ie,k,H,"&","\\&"),g(y,k,H,"ℵ","\\aleph",!0),g(y,k,H,"∀","\\forall",!0),g(y,k,H,"ℏ","\\hbar",!0),g(y,k,H,"∃","\\exists",!0),g(y,k,H,"∇","\\nabla",!0),g(y,k,H,"♭","\\flat",!0),g(y,k,H,"ℓ","\\ell",!0),g(y,k,H,"♮","\\natural",!0),g(y,k,H,"♣","\\clubsuit",!0),g(y,k,H,"℘","\\wp",!0),g(y,k,H,"♯","\\sharp",!0),g(y,k,H,"♢","\\diamondsuit",!0),g(y,k,H,"ℜ","\\Re",!0),g(y,k,H,"♡","\\heartsuit",!0),g(y,k,H,"ℑ","\\Im",!0),g(y,k,H,"♠","\\spadesuit",!0),g(y,k,H,"§","\\S",!0),g(ie,k,H,"§","\\S"),g(y,k,H,"¶","\\P",!0),g(ie,k,H,"¶","\\P"),g(y,k,H,"†","\\dag"),g(ie,k,H,"†","\\dag"),g(ie,k,H,"†","\\textdagger"),g(y,k,H,"‡","\\ddag"),g(ie,k,H,"‡","\\ddag"),g(ie,k,H,"‡","\\textdaggerdbl"),g(y,k,sn,"⎱","\\rmoustache",!0),g(y,k,vn,"⎰","\\lmoustache",!0),g(y,k,sn,"⟯","\\rgroup",!0),g(y,k,vn,"⟮","\\lgroup",!0),g(y,k,ke,"∓","\\mp",!0),g(y,k,ke,"⊖","\\ominus",!0),g(y,k,ke,"⊎","\\uplus",!0),g(y,k,ke,"⊓","\\sqcap",!0),g(y,k,ke,"∗","\\ast"),g(y,k,ke,"⊔","\\sqcup",!0),g(y,k,ke,"◯","\\bigcirc",!0),g(y,k,ke,"∙","\\bullet",!0),g(y,k,ke,"‡","\\ddagger"),g(y,k,ke,"≀","\\wr",!0),g(y,k,ke,"⨿","\\amalg"),g(y,k,ke,"&","\\And"),g(y,k,R,"⟵","\\longleftarrow",!0),g(y,k,R,"⇐","\\Leftarrow",!0),g(y,k,R,"⟸","\\Longleftarrow",!0),g(y,k,R,"⟶","\\longrightarrow",!0),g(y,k,R,"⇒","\\Rightarrow",!0),g(y,k,R,"⟹","\\Longrightarrow",!0),g(y,k,R,"↔","\\leftrightarrow",!0),g(y,k,R,"⟷","\\longleftrightarrow",!0),g(y,k,R,"⇔","\\Leftrightarrow",!0),g(y,k,R,"⟺","\\Longleftrightarrow",!0),g(y,k,R,"↦","\\mapsto",!0),g(y,k,R,"⟼","\\longmapsto",!0),g(y,k,R,"↗","\\nearrow",!0),g(y,k,R,"↩","\\hookleftarrow",!0),g(y,k,R,"↪","\\hookrightarrow",!0),g(y,k,R,"↘","\\searrow",!0),g(y,k,R,"↼","\\leftharpoonup",!0),g(y,k,R,"⇀","\\rightharpoonup",!0),g(y,k,R,"↙","\\swarrow",!0),g(y,k,R,"↽","\\leftharpoondown",!0),g(y,k,R,"⇁","\\rightharpoondown",!0),g(y,k,R,"↖","\\nwarrow",!0),g(y,k,R,"⇌","\\rightleftharpoons",!0),g(y,O,R,"≮","\\nless",!0),g(y,O,R,"","\\@nleqslant"),g(y,O,R,"","\\@nleqq"),g(y,O,R,"⪇","\\lneq",!0),g(y,O,R,"≨","\\lneqq",!0),g(y,O,R,"","\\@lvertneqq"),g(y,O,R,"⋦","\\lnsim",!0),g(y,O,R,"⪉","\\lnapprox",!0),g(y,O,R,"⊀","\\nprec",!0),g(y,O,R,"⋠","\\npreceq",!0),g(y,O,R,"⋨","\\precnsim",!0),g(y,O,R,"⪹","\\precnapprox",!0),g(y,O,R,"≁","\\nsim",!0),g(y,O,R,"","\\@nshortmid"),g(y,O,R,"∤","\\nmid",!0),g(y,O,R,"⊬","\\nvdash",!0),g(y,O,R,"⊭","\\nvDash",!0),g(y,O,R,"⋪","\\ntriangleleft"),g(y,O,R,"⋬","\\ntrianglelefteq",!0),g(y,O,R,"⊊","\\subsetneq",!0),g(y,O,R,"","\\@varsubsetneq"),g(y,O,R,"⫋","\\subsetneqq",!0),g(y,O,R,"","\\@varsubsetneqq"),g(y,O,R,"≯","\\ngtr",!0),g(y,O,R,"","\\@ngeqslant"),g(y,O,R,"","\\@ngeqq"),g(y,O,R,"⪈","\\gneq",!0),g(y,O,R,"≩","\\gneqq",!0),g(y,O,R,"","\\@gvertneqq"),g(y,O,R,"⋧","\\gnsim",!0),g(y,O,R,"⪊","\\gnapprox",!0),g(y,O,R,"⊁","\\nsucc",!0),g(y,O,R,"⋡","\\nsucceq",!0),g(y,O,R,"⋩","\\succnsim",!0),g(y,O,R,"⪺","\\succnapprox",!0),g(y,O,R,"≆","\\ncong",!0),g(y,O,R,"","\\@nshortparallel"),g(y,O,R,"∦","\\nparallel",!0),g(y,O,R,"⊯","\\nVDash",!0),g(y,O,R,"⋫","\\ntriangleright"),g(y,O,R,"⋭","\\ntrianglerighteq",!0),g(y,O,R,"","\\@nsupseteqq"),g(y,O,R,"⊋","\\supsetneq",!0),g(y,O,R,"","\\@varsupsetneq"),g(y,O,R,"⫌","\\supsetneqq",!0),g(y,O,R,"","\\@varsupsetneqq"),g(y,O,R,"⊮","\\nVdash",!0),g(y,O,R,"⪵","\\precneqq",!0),g(y,O,R,"⪶","\\succneqq",!0),g(y,O,R,"","\\@nsubseteqq"),g(y,O,ke,"⊴","\\unlhd"),g(y,O,ke,"⊵","\\unrhd"),g(y,O,R,"↚","\\nleftarrow",!0),g(y,O,R,"↛","\\nrightarrow",!0),g(y,O,R,"⇍","\\nLeftarrow",!0),g(y,O,R,"⇏","\\nRightarrow",!0),g(y,O,R,"↮","\\nleftrightarrow",!0),g(y,O,R,"⇎","\\nLeftrightarrow",!0),g(y,O,R,"△","\\vartriangle"),g(y,O,H,"ℏ","\\hslash"),g(y,O,H,"▽","\\triangledown"),g(y,O,H,"◊","\\lozenge"),g(y,O,H,"Ⓢ","\\circledS"),g(y,O,H,"®","\\circledR"),g(ie,O,H,"®","\\circledR"),g(y,O,H,"∡","\\measuredangle",!0),g(y,O,H,"∄","\\nexists"),g(y,O,H,"℧","\\mho"),g(y,O,H,"Ⅎ","\\Finv",!0),g(y,O,H,"⅁","\\Game",!0),g(y,O,H,"‵","\\backprime"),g(y,O,H,"▲","\\blacktriangle"),g(y,O,H,"▼","\\blacktriangledown"),g(y,O,H,"■","\\blacksquare"),g(y,O,H,"⧫","\\blacklozenge"),g(y,O,H,"★","\\bigstar"),g(y,O,H,"∢","\\sphericalangle",!0),g(y,O,H,"∁","\\complement",!0),g(y,O,H,"ð","\\eth",!0),g(ie,k,H,"ð","ð"),g(y,O,H,"╱","\\diagup"),g(y,O,H,"╲","\\diagdown"),g(y,O,H,"□","\\square"),g(y,O,H,"□","\\Box"),g(y,O,H,"◊","\\Diamond"),g(y,O,H,"¥","\\yen",!0),g(ie,O,H,"¥","\\yen",!0),g(y,O,H,"✓","\\checkmark",!0),g(ie,O,H,"✓","\\checkmark"),g(y,O,H,"ℶ","\\beth",!0),g(y,O,H,"ℸ","\\daleth",!0),g(y,O,H,"ℷ","\\gimel",!0),g(y,O,H,"ϝ","\\digamma",!0),g(y,O,H,"ϰ","\\varkappa"),g(y,O,vn,"┌","\\@ulcorner",!0),g(y,O,sn,"┐","\\@urcorner",!0),g(y,O,vn,"└","\\@llcorner",!0),g(y,O,sn,"┘","\\@lrcorner",!0),g(y,O,R,"≦","\\leqq",!0),g(y,O,R,"⩽","\\leqslant",!0),g(y,O,R,"⪕","\\eqslantless",!0),g(y,O,R,"≲","\\lesssim",!0),g(y,O,R,"⪅","\\lessapprox",!0),g(y,O,R,"≊","\\approxeq",!0),g(y,O,ke,"⋖","\\lessdot"),g(y,O,R,"⋘","\\lll",!0),g(y,O,R,"≶","\\lessgtr",!0),g(y,O,R,"⋚","\\lesseqgtr",!0),g(y,O,R,"⪋","\\lesseqqgtr",!0),g(y,O,R,"≑","\\doteqdot"),g(y,O,R,"≓","\\risingdotseq",!0),g(y,O,R,"≒","\\fallingdotseq",!0),g(y,O,R,"∽","\\backsim",!0),g(y,O,R,"⋍","\\backsimeq",!0),g(y,O,R,"⫅","\\subseteqq",!0),g(y,O,R,"⋐","\\Subset",!0),g(y,O,R,"⊏","\\sqsubset",!0),g(y,O,R,"≼","\\preccurlyeq",!0),g(y,O,R,"⋞","\\curlyeqprec",!0),g(y,O,R,"≾","\\precsim",!0),g(y,O,R,"⪷","\\precapprox",!0),g(y,O,R,"⊲","\\vartriangleleft"),g(y,O,R,"⊴","\\trianglelefteq"),g(y,O,R,"⊨","\\vDash",!0),g(y,O,R,"⊪","\\Vvdash",!0),g(y,O,R,"⌣","\\smallsmile"),g(y,O,R,"⌢","\\smallfrown"),g(y,O,R,"≏","\\bumpeq",!0),g(y,O,R,"≎","\\Bumpeq",!0),g(y,O,R,"≧","\\geqq",!0),g(y,O,R,"⩾","\\geqslant",!0),g(y,O,R,"⪖","\\eqslantgtr",!0),g(y,O,R,"≳","\\gtrsim",!0),g(y,O,R,"⪆","\\gtrapprox",!0),g(y,O,ke,"⋗","\\gtrdot"),g(y,O,R,"⋙","\\ggg",!0),g(y,O,R,"≷","\\gtrless",!0),g(y,O,R,"⋛","\\gtreqless",!0),g(y,O,R,"⪌","\\gtreqqless",!0),g(y,O,R,"≖","\\eqcirc",!0),g(y,O,R,"≗","\\circeq",!0),g(y,O,R,"≜","\\triangleq",!0),g(y,O,R,"∼","\\thicksim"),g(y,O,R,"≈","\\thickapprox"),g(y,O,R,"⫆","\\supseteqq",!0),g(y,O,R,"⋑","\\Supset",!0),g(y,O,R,"⊐","\\sqsupset",!0),g(y,O,R,"≽","\\succcurlyeq",!0),g(y,O,R,"⋟","\\curlyeqsucc",!0),g(y,O,R,"≿","\\succsim",!0),g(y,O,R,"⪸","\\succapprox",!0),g(y,O,R,"⊳","\\vartriangleright"),g(y,O,R,"⊵","\\trianglerighteq"),g(y,O,R,"⊩","\\Vdash",!0),g(y,O,R,"∣","\\shortmid"),g(y,O,R,"∥","\\shortparallel"),g(y,O,R,"≬","\\between",!0),g(y,O,R,"⋔","\\pitchfork",!0),g(y,O,R,"∝","\\varpropto"),g(y,O,R,"◀","\\blacktriangleleft"),g(y,O,R,"∴","\\therefore",!0),g(y,O,R,"∍","\\backepsilon"),g(y,O,R,"▶","\\blacktriangleright"),g(y,O,R,"∵","\\because",!0),g(y,O,R,"⋘","\\llless"),g(y,O,R,"⋙","\\gggtr"),g(y,O,ke,"⊲","\\lhd"),g(y,O,ke,"⊳","\\rhd"),g(y,O,R,"≂","\\eqsim",!0),g(y,k,R,"⋈","\\Join"),g(y,O,R,"≑","\\Doteq",!0),g(y,O,ke,"∔","\\dotplus",!0),g(y,O,ke,"∖","\\smallsetminus"),g(y,O,ke,"⋒","\\Cap",!0),g(y,O,ke,"⋓","\\Cup",!0),g(y,O,ke,"⩞","\\doublebarwedge",!0),g(y,O,ke,"⊟","\\boxminus",!0),g(y,O,ke,"⊞","\\boxplus",!0),g(y,O,ke,"⋇","\\divideontimes",!0),g(y,O,ke,"⋉","\\ltimes",!0),g(y,O,ke,"⋊","\\rtimes",!0),g(y,O,ke,"⋋","\\leftthreetimes",!0),g(y,O,ke,"⋌","\\rightthreetimes",!0),g(y,O,ke,"⋏","\\curlywedge",!0),g(y,O,ke,"⋎","\\curlyvee",!0),g(y,O,ke,"⊝","\\circleddash",!0),g(y,O,ke,"⊛","\\circledast",!0),g(y,O,ke,"⋅","\\centerdot"),g(y,O,ke,"⊺","\\intercal",!0),g(y,O,ke,"⋒","\\doublecap"),g(y,O,ke,"⋓","\\doublecup"),g(y,O,ke,"⊠","\\boxtimes",!0),g(y,O,R,"⇢","\\dashrightarrow",!0),g(y,O,R,"⇠","\\dashleftarrow",!0),g(y,O,R,"⇇","\\leftleftarrows",!0),g(y,O,R,"⇆","\\leftrightarrows",!0),g(y,O,R,"⇚","\\Lleftarrow",!0),g(y,O,R,"↞","\\twoheadleftarrow",!0),g(y,O,R,"↢","\\leftarrowtail",!0),g(y,O,R,"↫","\\looparrowleft",!0),g(y,O,R,"⇋","\\leftrightharpoons",!0),g(y,O,R,"↶","\\curvearrowleft",!0),g(y,O,R,"↺","\\circlearrowleft",!0),g(y,O,R,"↰","\\Lsh",!0),g(y,O,R,"⇈","\\upuparrows",!0),g(y,O,R,"↿","\\upharpoonleft",!0),g(y,O,R,"⇃","\\downharpoonleft",!0),g(y,k,R,"⊶","\\origof",!0),g(y,k,R,"⊷","\\imageof",!0),g(y,O,R,"⊸","\\multimap",!0),g(y,O,R,"↭","\\leftrightsquigarrow",!0),g(y,O,R,"⇉","\\rightrightarrows",!0),g(y,O,R,"⇄","\\rightleftarrows",!0),g(y,O,R,"↠","\\twoheadrightarrow",!0),g(y,O,R,"↣","\\rightarrowtail",!0),g(y,O,R,"↬","\\looparrowright",!0),g(y,O,R,"↷","\\curvearrowright",!0),g(y,O,R,"↻","\\circlearrowright",!0),g(y,O,R,"↱","\\Rsh",!0),g(y,O,R,"⇊","\\downdownarrows",!0),g(y,O,R,"↾","\\upharpoonright",!0),g(y,O,R,"⇂","\\downharpoonright",!0),g(y,O,R,"⇝","\\rightsquigarrow",!0),g(y,O,R,"⇝","\\leadsto"),g(y,O,R,"⇛","\\Rrightarrow",!0),g(y,O,R,"↾","\\restriction"),g(y,k,H,"‘","`"),g(y,k,H,"$","\\$"),g(ie,k,H,"$","\\$"),g(ie,k,H,"$","\\textdollar"),g(y,k,H,"%","\\%"),g(ie,k,H,"%","\\%"),g(y,k,H,"_","\\_"),g(ie,k,H,"_","\\_"),g(ie,k,H,"_","\\textunderscore"),g(y,k,H,"∠","\\angle",!0),g(y,k,H,"∞","\\infty",!0),g(y,k,H,"′","\\prime"),g(y,k,H,"△","\\triangle"),g(y,k,H,"Γ","\\Gamma",!0),g(y,k,H,"Δ","\\Delta",!0),g(y,k,H,"Θ","\\Theta",!0),g(y,k,H,"Λ","\\Lambda",!0),g(y,k,H,"Ξ","\\Xi",!0),g(y,k,H,"Π","\\Pi",!0),g(y,k,H,"Σ","\\Sigma",!0),g(y,k,H,"Υ","\\Upsilon",!0),g(y,k,H,"Φ","\\Phi",!0),g(y,k,H,"Ψ","\\Psi",!0),g(y,k,H,"Ω","\\Omega",!0),g(y,k,H,"A","Α"),g(y,k,H,"B","Β"),g(y,k,H,"E","Ε"),g(y,k,H,"Z","Ζ"),g(y,k,H,"H","Η"),g(y,k,H,"I","Ι"),g(y,k,H,"K","Κ"),g(y,k,H,"M","Μ"),g(y,k,H,"N","Ν"),g(y,k,H,"O","Ο"),g(y,k,H,"P","Ρ"),g(y,k,H,"T","Τ"),g(y,k,H,"X","Χ"),g(y,k,H,"¬","\\neg",!0),g(y,k,H,"¬","\\lnot"),g(y,k,H,"⊤","\\top"),g(y,k,H,"⊥","\\bot"),g(y,k,H,"∅","\\emptyset"),g(y,O,H,"∅","\\varnothing"),g(y,k,Ie,"α","\\alpha",!0),g(y,k,Ie,"β","\\beta",!0),g(y,k,Ie,"γ","\\gamma",!0),g(y,k,Ie,"δ","\\delta",!0),g(y,k,Ie,"ϵ","\\epsilon",!0),g(y,k,Ie,"ζ","\\zeta",!0),g(y,k,Ie,"η","\\eta",!0),g(y,k,Ie,"θ","\\theta",!0),g(y,k,Ie,"ι","\\iota",!0),g(y,k,Ie,"κ","\\kappa",!0),g(y,k,Ie,"λ","\\lambda",!0),g(y,k,Ie,"μ","\\mu",!0),g(y,k,Ie,"ν","\\nu",!0),g(y,k,Ie,"ξ","\\xi",!0),g(y,k,Ie,"ο","\\omicron",!0),g(y,k,Ie,"π","\\pi",!0),g(y,k,Ie,"ρ","\\rho",!0),g(y,k,Ie,"σ","\\sigma",!0),g(y,k,Ie,"τ","\\tau",!0),g(y,k,Ie,"υ","\\upsilon",!0),g(y,k,Ie,"ϕ","\\phi",!0),g(y,k,Ie,"χ","\\chi",!0),g(y,k,Ie,"ψ","\\psi",!0),g(y,k,Ie,"ω","\\omega",!0),g(y,k,Ie,"ε","\\varepsilon",!0),g(y,k,Ie,"ϑ","\\vartheta",!0),g(y,k,Ie,"ϖ","\\varpi",!0),g(y,k,Ie,"ϱ","\\varrho",!0),g(y,k,Ie,"ς","\\varsigma",!0),g(y,k,Ie,"φ","\\varphi",!0),g(y,k,ke,"∗","*",!0),g(y,k,ke,"+","+"),g(y,k,ke,"−","-",!0),g(y,k,ke,"⋅","\\cdot",!0),g(y,k,ke,"∘","\\circ",!0),g(y,k,ke,"÷","\\div",!0),g(y,k,ke,"±","\\pm",!0),g(y,k,ke,"×","\\times",!0),g(y,k,ke,"∩","\\cap",!0),g(y,k,ke,"∪","\\cup",!0),g(y,k,ke,"∖","\\setminus",!0),g(y,k,ke,"∧","\\land"),g(y,k,ke,"∨","\\lor"),g(y,k,ke,"∧","\\wedge",!0),g(y,k,ke,"∨","\\vee",!0),g(y,k,H,"√","\\surd"),g(y,k,vn,"⟨","\\langle",!0),g(y,k,vn,"∣","\\lvert"),g(y,k,vn,"∥","\\lVert"),g(y,k,sn,"?","?"),g(y,k,sn,"!","!"),g(y,k,sn,"⟩","\\rangle",!0),g(y,k,sn,"∣","\\rvert"),g(y,k,sn,"∥","\\rVert"),g(y,k,R,"=","="),g(y,k,R,":",":"),g(y,k,R,"≈","\\approx",!0),g(y,k,R,"≅","\\cong",!0),g(y,k,R,"≥","\\ge"),g(y,k,R,"≥","\\geq",!0),g(y,k,R,"←","\\gets"),g(y,k,R,">","\\gt",!0),g(y,k,R,"∈","\\in",!0),g(y,k,R,"","\\@not"),g(y,k,R,"⊂","\\subset",!0),g(y,k,R,"⊃","\\supset",!0),g(y,k,R,"⊆","\\subseteq",!0),g(y,k,R,"⊇","\\supseteq",!0),g(y,O,R,"⊈","\\nsubseteq",!0),g(y,O,R,"⊉","\\nsupseteq",!0),g(y,k,R,"⊨","\\models"),g(y,k,R,"←","\\leftarrow",!0),g(y,k,R,"≤","\\le"),g(y,k,R,"≤","\\leq",!0),g(y,k,R,"<","\\lt",!0),g(y,k,R,"→","\\rightarrow",!0),g(y,k,R,"→","\\to"),g(y,O,R,"≱","\\ngeq",!0),g(y,O,R,"≰","\\nleq",!0),g(y,k,or," ","\\ "),g(y,k,or," ","\\space"),g(y,k,or," ","\\nobreakspace"),g(ie,k,or," ","\\ "),g(ie,k,or," "," "),g(ie,k,or," ","\\space"),g(ie,k,or," ","\\nobreakspace"),g(y,k,or,null,"\\nobreak"),g(y,k,or,null,"\\allowbreak"),g(y,k,ea,",",","),g(y,k,ea,";",";"),g(y,O,ke,"⊼","\\barwedge",!0),g(y,O,ke,"⊻","\\veebar",!0),g(y,k,ke,"⊙","\\odot",!0),g(y,k,ke,"⊕","\\oplus",!0),g(y,k,ke,"⊗","\\otimes",!0),g(y,k,H,"∂","\\partial",!0),g(y,k,ke,"⊘","\\oslash",!0),g(y,O,ke,"⊚","\\circledcirc",!0),g(y,O,ke,"⊡","\\boxdot",!0),g(y,k,ke,"△","\\bigtriangleup"),g(y,k,ke,"▽","\\bigtriangledown"),g(y,k,ke,"†","\\dagger"),g(y,k,ke,"⋄","\\diamond"),g(y,k,ke,"⋆","\\star"),g(y,k,ke,"◃","\\triangleleft"),g(y,k,ke,"▹","\\triangleright"),g(y,k,vn,"{","\\{"),g(ie,k,H,"{","\\{"),g(ie,k,H,"{","\\textbraceleft"),g(y,k,sn,"}","\\}"),g(ie,k,H,"}","\\}"),g(ie,k,H,"}","\\textbraceright"),g(y,k,vn,"{","\\lbrace"),g(y,k,sn,"}","\\rbrace"),g(y,k,vn,"[","\\lbrack",!0),g(ie,k,H,"[","\\lbrack",!0),g(y,k,sn,"]","\\rbrack",!0),g(ie,k,H,"]","\\rbrack",!0),g(y,k,vn,"(","\\lparen",!0),g(y,k,sn,")","\\rparen",!0),g(ie,k,H,"<","\\textless",!0),g(ie,k,H,">","\\textgreater",!0),g(y,k,vn,"⌊","\\lfloor",!0),g(y,k,sn,"⌋","\\rfloor",!0),g(y,k,vn,"⌈","\\lceil",!0),g(y,k,sn,"⌉","\\rceil",!0),g(y,k,H,"\\","\\backslash"),g(y,k,H,"∣","|"),g(y,k,H,"∣","\\vert"),g(ie,k,H,"|","\\textbar",!0),g(y,k,H,"∥","\\|"),g(y,k,H,"∥","\\Vert"),g(ie,k,H,"∥","\\textbardbl"),g(ie,k,H,"~","\\textasciitilde"),g(ie,k,H,"\\","\\textbackslash"),g(ie,k,H,"^","\\textasciicircum"),g(y,k,R,"↑","\\uparrow",!0),g(y,k,R,"⇑","\\Uparrow",!0),g(y,k,R,"↓","\\downarrow",!0),g(y,k,R,"⇓","\\Downarrow",!0),g(y,k,R,"↕","\\updownarrow",!0),g(y,k,R,"⇕","\\Updownarrow",!0),g(y,k,Dt,"∐","\\coprod"),g(y,k,Dt,"⋁","\\bigvee"),g(y,k,Dt,"⋀","\\bigwedge"),g(y,k,Dt,"⨄","\\biguplus"),g(y,k,Dt,"⋂","\\bigcap"),g(y,k,Dt,"⋃","\\bigcup"),g(y,k,Dt,"∫","\\int"),g(y,k,Dt,"∫","\\intop"),g(y,k,Dt,"∬","\\iint"),g(y,k,Dt,"∭","\\iiint"),g(y,k,Dt,"∏","\\prod"),g(y,k,Dt,"∑","\\sum"),g(y,k,Dt,"⨂","\\bigotimes"),g(y,k,Dt,"⨁","\\bigoplus"),g(y,k,Dt,"⨀","\\bigodot"),g(y,k,Dt,"∮","\\oint"),g(y,k,Dt,"∯","\\oiint"),g(y,k,Dt,"∰","\\oiiint"),g(y,k,Dt,"⨆","\\bigsqcup"),g(y,k,Dt,"∫","\\smallint"),g(ie,k,ms,"…","\\textellipsis"),g(y,k,ms,"…","\\mathellipsis"),g(ie,k,ms,"…","\\ldots",!0),g(y,k,ms,"…","\\ldots",!0),g(y,k,ms,"⋯","\\@cdots",!0),g(y,k,ms,"⋱","\\ddots",!0),g(y,k,H,"⋮","\\varvdots"),g(ie,k,H,"⋮","\\varvdots"),g(y,k,at,"ˊ","\\acute"),g(y,k,at,"ˋ","\\grave"),g(y,k,at,"¨","\\ddot"),g(y,k,at,"~","\\tilde"),g(y,k,at,"ˉ","\\bar"),g(y,k,at,"˘","\\breve"),g(y,k,at,"ˇ","\\check"),g(y,k,at,"^","\\hat"),g(y,k,at,"⃗","\\vec"),g(y,k,at,"˙","\\dot"),g(y,k,at,"˚","\\mathring"),g(y,k,Ie,"","\\@imath"),g(y,k,Ie,"","\\@jmath"),g(y,k,H,"ı","ı"),g(y,k,H,"ȷ","ȷ"),g(ie,k,H,"ı","\\i",!0),g(ie,k,H,"ȷ","\\j",!0),g(ie,k,H,"ß","\\ss",!0),g(ie,k,H,"æ","\\ae",!0),g(ie,k,H,"œ","\\oe",!0),g(ie,k,H,"ø","\\o",!0),g(ie,k,H,"Æ","\\AE",!0),g(ie,k,H,"Œ","\\OE",!0),g(ie,k,H,"Ø","\\O",!0),g(ie,k,at,"ˊ","\\'"),g(ie,k,at,"ˋ","\\`"),g(ie,k,at,"ˆ","\\^"),g(ie,k,at,"˜","\\~"),g(ie,k,at,"ˉ","\\="),g(ie,k,at,"˘","\\u"),g(ie,k,at,"˙","\\."),g(ie,k,at,"¸","\\c"),g(ie,k,at,"˚","\\r"),g(ie,k,at,"ˇ","\\v"),g(ie,k,at,"¨",'\\"'),g(ie,k,at,"˝","\\H"),g(ie,k,at,"◯","\\textcircled");const pu={"--":!0,"---":!0,"``":!0,"''":!0};g(ie,k,H,"–","--",!0),g(ie,k,H,"–","\\textendash"),g(ie,k,H,"—","---",!0),g(ie,k,H,"—","\\textemdash"),g(ie,k,H,"‘","`",!0),g(ie,k,H,"‘","\\textquoteleft"),g(ie,k,H,"’","'",!0),g(ie,k,H,"’","\\textquoteright"),g(ie,k,H,"“","``",!0),g(ie,k,H,"“","\\textquotedblleft"),g(ie,k,H,"”","''",!0),g(ie,k,H,"”","\\textquotedblright"),g(y,k,H,"°","\\degree",!0),g(ie,k,H,"°","\\degree"),g(ie,k,H,"°","\\textdegree",!0),g(y,k,H,"£","\\pounds"),g(y,k,H,"£","\\mathsterling",!0),g(ie,k,H,"£","\\pounds"),g(ie,k,H,"£","\\textsterling",!0),g(y,O,H,"✠","\\maltese"),g(ie,O,H,"✠","\\maltese");const gu='0123456789/@."';for(let l=0;l{const c=l.charCodeAt(0),h=l.charCodeAt(1),p=(c-55296)*1024+(h-56320)+65536,b=a==="math"?0:1;if(119808<=p&&p<120484){const _=Math.floor((p-119808)/26);return[na[_][2],na[_][b]]}else if(120782<=p&&p<=120831){const _=Math.floor((p-120782)/10);return[bu[_][2],bu[_][b]]}else{if(p===120485||p===120486)return[na[0][2],na[0][b]];if(1204860)return an(p,I,h,a,b.concat(D));if(E){let G,Y;if(E==="boldsymbol"){const J=_4(p,h,a,b,c);G=J.fontName,Y=[J.fontClass]}else _?(G=fl[E].fontName,Y=[E]):(G=ia(E,a.fontWeight,a.fontShape),Y=[E,a.fontWeight,a.fontShape]);if(ra(p,G,h).metrics)return an(p,G,h,a,b.concat(Y));if(pu.hasOwnProperty(p)&&G.slice(0,10)==="Typewriter"){const J=[];for(let ae=0;ae{if(q(l.classes)!==q(a.classes)||l.skew!==a.skew||l.maxFontSize!==a.maxFontSize||l.italic!==0&&l.hasClass("mathnormal"))return!1;if(l.classes.length===1){const c=l.classes[0];if(c==="mbin"||c==="mord")return!1}for(const c of Object.keys(l.style))if(l.style[c]!==a.style[c])return!1;for(const c of Object.keys(a.style))if(l.style[c]!==a.style[c])return!1;return!0},wu=l=>{for(let a=0;aa&&(a=b.height),b.depth>c&&(c=b.depth),b.maxFontSize>h&&(h=b.maxFontSize)}l.height=a,l.depth=c,l.maxFontSize=h},de=function(l,a,c,h){const p=new te(l,a,c,h);return ul(p),p},kr=(l,a,c,h)=>new te(l,a,c,h),ps=function(l,a,c){const h=de([l],[],a);return h.height=Math.max(c||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),h.style.borderBottomWidth=C(h.height),h.maxFontSize=1,h},k4=function(l,a,c,h){const p=new le(l,a,c,h);return ul(p),p},lr=function(l){const a=new He(l);return ul(a),a},gs=function(l,a){return l instanceof He?de([],[l],a):l},S4=function(l){if(l.positionType==="individualShift"){const c=l.children,h=[c[0]],p=-c[0].shift-c[0].elem.depth;let b=p;for(let _=1;_{const c=de(["mspace"],[],a),h=lt(l,a);return c.style.marginRight=C(h),c},ia=function(l,a,c){let h="";switch(l){case"amsrm":h="AMS";break;case"textrm":h="Main";break;case"textsf":h="SansSerif";break;case"texttt":h="Typewriter";break;default:h=l}let p;return a==="textbf"&&c==="textit"?p="BoldItalic":a==="textbf"?p="Bold":a==="textit"?p="Italic":p="Regular",h+"-"+p},fl={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},_u={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xu=function(l,a){const[c,h,p]=_u[l],b=new Xt(c),_=new Zt([b],{width:C(h),height:C(p),style:"width:"+C(h),viewBox:"0 0 "+1e3*h+" "+1e3*p,preserveAspectRatio:"xMinYMin"}),E=kr(["overlay"],[_],a);return E.height=p,E.style.height=C(p),E.style.width=C(h),E},Tt={number:3,unit:"mu"},Hr={number:4,unit:"mu"},cr={number:5,unit:"mu"},T4={mord:{mop:Tt,mbin:Hr,mrel:cr,minner:Tt},mop:{mord:Tt,mop:Tt,mrel:cr,minner:Tt},mbin:{mord:Hr,mop:Hr,mopen:Hr,minner:Hr},mrel:{mord:cr,mop:cr,mopen:cr,minner:cr},mopen:{},mclose:{mop:Tt,mbin:Hr,mrel:cr,minner:Tt},mpunct:{mord:Tt,mop:Tt,mrel:cr,mopen:Tt,mclose:Tt,mpunct:Tt,minner:Tt},minner:{mord:Tt,mop:Tt,mbin:Hr,mrel:cr,mopen:Tt,mpunct:Tt,minner:Tt}},E4={mord:{mop:Tt},mop:{mord:Tt,mop:Tt},mbin:{},mrel:{},mopen:{},mclose:{mop:Tt},mpunct:{},minner:{mop:Tt}},ku={},aa={},oa={};function Ae(l){let{type:a,names:c,props:h,handler:p,htmlBuilder:b,mathmlBuilder:_}=l;const E={type:a,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:p};for(let I=0;I{const Y=G.classes[0],J=D.classes[0];Y==="mbin"&&N4.has(J)?G.classes[0]="mord":J==="mbin"&&A4.has(Y)&&(D.classes[0]="mord")},{node:_},E,I),hl(p,(D,G)=>{var Y,J;const ae=ml(G),ve=ml(D),Ne=ae&&ve?D.hasClass("mtight")?(Y=E4[ae])==null?void 0:Y[ve]:(J=T4[ae])==null?void 0:J[ve]:null;if(Ne)return vu(Ne,b)},{node:_},E,I),p},hl=function(l,a,c,h,p){h&&l.push(h);let b=0;for(;bG=>{l.splice(D+1,0,G),b++})(b)}h&&l.pop()},Su=function(l){return l instanceof He||l instanceof le||l instanceof te&&l.hasClass("enclosing")?l:null},dl=function(l,a){const c=Su(l);if(c){const h=c.children;if(h.length){if(a==="right")return dl(h[h.length-1],"right");if(a==="left")return dl(h[0],"left")}}return l},ml=function(l,a){if(!l)return null;a&&(l=dl(l,a));const c=l.classes[0];return M4[c]||null},ei=function(l,a){const c=["nulldelimiter"].concat(l.baseSizingClasses());return de(a.concat(c))},rt=function(l,a,c){if(!l)return de();if(aa[l.type]){let h=aa[l.type](l,a);if(c&&a.size!==c.size){h=de(a.sizingClasses(c),[h],a);const p=a.sizeMultiplier/c.sizeMultiplier;h.height*=p,h.depth*=p}return h}else throw new i("Got group of unknown type: '"+l.type+"'")};function ca(l,a){const c=de(["base"],l,a),h=de(["strut"]);return h.style.height=C(c.height+c.depth),c.depth&&(h.style.verticalAlign=C(-c.depth)),c.children.unshift(h),c}function pl(l,a){let c=null;l.length===1&&l[0].type==="tag"&&(c=l[0].tag,l=l[0].body);const h=zt(l,a,"root");let p;h.length===2&&h[1].hasClass("tag")&&(p=h.pop());const b=[];let _=[];for(let D=0;D0&&(b.push(ca(_,a)),_=[]),b.push(h[D]));_.length>0&&b.push(ca(_,a));let E;c?(E=ca(zt(c,a,!0),a),E.classes=["tag"],b.push(E)):p&&b.push(p);const I=de(["katex-html"],b);if(I.setAttribute("aria-hidden","true"),E){const D=E.children[0];D.style.height=C(I.height+I.depth),I.depth&&(D.style.verticalAlign=C(-I.depth))}return I}function Tu(l){return new He(l)}class ge{constructor(a,c,h){this.type=a,this.attributes={},this.children=c||[],this.classes=h||[]}setAttribute(a,c){this.attributes[a]=c}getAttribute(a){return this.attributes[a]}toNode(){const a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&a.setAttribute(c,this.attributes[c]);this.classes.length>0&&(a.className=q(this.classes));for(let c=0;c0&&(a+=' class ="'+m(q(this.classes))+'"'),a+=">";for(let c=0;c",a}toText(){return this.children.map(a=>a.toText()).join("")}}class $t{constructor(a){this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return m(this.toText())}toText(){return this.text}}class Eu{constructor(a){this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character="  ":a>=-.05556&&a<=-.05555?this.character=" ⁣":a>=-.1667&&a<=-.1666?this.character=" ⁣":a>=-.2223&&a<=-.2222?this.character=" ⁣":a>=-.2778&&a<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",C(this.width)),a}}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}const I4=new Set(["\\imath","\\jmath"]),O4=new Set(["mrow","mtable"]),Cn=function(l,a,c){return St[a][l]&&St[a][l].replace&&l.charCodeAt(0)!==55349&&!(pu.hasOwnProperty(l)&&c&&(c.fontFamily&&c.fontFamily.slice(4,6)==="tt"||c.font&&c.font.slice(4,6)==="tt"))&&(l=St[a][l].replace),new $t(l)},gl=function(l){return l.length===1?l[0]:new ge("mrow",l)},yl=function(l,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";const c=a.font;if(!c||c==="mathnormal")return null;const h=l.mode;if(c==="mathit")return"italic";if(c==="boldsymbol")return l.type==="textord"?"bold":"bold-italic";if(c==="mathbf")return"bold";if(c==="mathbb")return"double-struck";if(c==="mathsfit")return"sans-serif-italic";if(c==="mathfrak")return"fraktur";if(c==="mathscr"||c==="mathcal")return"script";if(c==="mathsf")return"sans-serif";if(c==="mathtt")return"monospace";let p=l.text;if(I4.has(p))return null;if(St[h][p]){const _=St[h][p].replace;_&&(p=_)}const b=fl[c].fontName;return wt(p,b,h)?fl[c].variant:null};function bl(l){if(!l)return!1;if(l.type==="mi"&&l.children.length===1){const a=l.children[0];return a instanceof $t&&a.text==="."}else if(l.type==="mo"&&l.children.length===1&&l.getAttribute("separator")==="true"&&l.getAttribute("lspace")==="0em"&&l.getAttribute("rspace")==="0em"){const a=l.children[0];return a instanceof $t&&a.text===","}else return!1}const _n=function(l,a,c){if(l.length===1){const b=dt(l[0],a);return c&&b instanceof ge&&b.type==="mo"&&(b.setAttribute("lspace","0em"),b.setAttribute("rspace","0em")),[b]}const h=[];let p;for(let b=0;b=1&&(p.type==="mn"||bl(p))){const E=_.children[0];E instanceof ge&&E.type==="mn"&&(E.children=[...p.children,...E.children],h.pop())}else if(p.type==="mi"&&p.children.length===1){const E=p.children[0];if(E instanceof $t&&E.text==="̸"&&(_.type==="mo"||_.type==="mi"||_.type==="mn")){const I=_.children[0];I instanceof $t&&I.text.length>0&&(I.text=I.text.slice(0,1)+"̸"+I.text.slice(1),h.pop())}}}h.push(_),p=_}return h},Sr=function(l,a,c){return gl(_n(l,a,c))},dt=function(l,a){if(!l)return new ge("mrow");if(oa[l.type])return oa[l.type](l,a);throw new i("Got group of unknown type: '"+l.type+"'")};function Au(l,a,c,h,p){const b=_n(l,c);let _;b.length===1&&b[0]instanceof ge&&O4.has(b[0].type)?_=b[0]:_=new ge("mrow",b);const E=new ge("annotation",[new $t(a)]);E.setAttribute("encoding","application/x-tex");const I=new ge("semantics",[_,E]),D=new ge("math",[I]);return D.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&D.setAttribute("display","block"),de([p?"katex":"katex-mathml"],[D])}const L4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Nu=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Cu=function(l,a){return a.size<2?l:L4[l-1][a.size-1]};class ur{constructor(a){this.style=a.style,this.color=a.color,this.size=a.size||ur.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=Nu[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){const c={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(c,a),new ur(c)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:Cu(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:Nu[a-1]})}havingBaseStyle(a){a=a||this.style.text();const c=Cu(ur.BASESIZE,a);return this.size===c&&this.textSize===ur.BASESIZE&&this.style===a?this:this.extend({style:a,size:c})}havingBaseSizing(){let a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ur.BASESIZE?["sizing","reset-size"+this.size,"size"+ur.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Nn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ur.BASESIZE=6;var R4=ur;const Mu=function(l){return new R4({style:l.displayMode?F.DISPLAY:F.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},Iu=function(l,a){if(a.displayMode){const c=["katex-display"];a.leqno&&c.push("leqno"),a.fleqn&&c.push("fleqn"),l=de(c,[l])}return l},D4=function(l,a,c){const h=Mu(c);let p;if(c.output==="mathml")return Au(l,a,h,c.displayMode,!0);if(c.output==="html"){const b=pl(l,h);p=de(["katex"],[b])}else{const b=Au(l,a,h,c.displayMode,!1),_=pl(l,h);p=de(["katex"],[b,_])}return Iu(p,c)},P4=function(l,a,c){const h=Mu(c),p=pl(l,h),b=de(["katex"],[p]);return Iu(b,c)},$4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},ua=function(l){const a=new ge("mo",[new $t($4[l.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},F4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},B4=new Set(["widehat","widecheck","widetilde","utilde"]),fa=function(l,a){function c(){let _=4e5;const E=l.label.slice(1);if(B4.has(E)){const I=l,D=I.base.type==="ordgroup"?I.base.body.length:1;let G,Y,J;if(D>5)E==="widehat"||E==="widecheck"?(G=420,_=2364,J=.42,Y=E+"4"):(G=312,_=2340,J=.34,Y="tilde4");else{const Ne=[1,1,2,2,3,3][D];E==="widehat"||E==="widecheck"?(_=[0,1062,2364,2364,2364][Ne],G=[0,239,300,360,420][Ne],J=[0,.24,.3,.3,.36,.42][Ne],Y=E+Ne):(_=[0,600,1033,2339,2340][Ne],G=[0,260,286,306,312][Ne],J=[0,.26,.286,.3,.306,.34][Ne],Y="tilde"+Ne)}const ae=new Xt(Y),ve=new Zt([ae],{width:"100%",height:C(J),viewBox:"0 0 "+_+" "+G,preserveAspectRatio:"none"});return{span:kr([],[ve],a),minWidth:0,height:J}}else{const I=[],D=F4[E],[G,Y,J]=D,ae=J/1e3,ve=G.length;let Ne,Ye;if(ve===1){const Be=D[3];Ne=["hide-tail"],Ye=[Be]}else if(ve===2)Ne=["halfarrow-left","halfarrow-right"],Ye=["xMinYMin","xMaxYMin"];else if(ve===3)Ne=["brace-left","brace-center","brace-right"],Ye=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+ve+" children.");for(let Be=0;Be0&&(h.style.minWidth=C(p)),h},z4=function(l,a,c,h,p){let b;const _=l.height+l.depth+c+h;if(/fbox|color|angl/.test(a)){if(b=de(["stretchy",a],[],p),a==="fbox"){const E=p.color&&p.getColor();E&&(b.style.borderColor=E)}}else{const E=[];/^[bx]cancel$/.test(a)&&E.push(new Ur({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&E.push(new Ur({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const I=new Zt(E,{width:"100%",height:C(_)});b=kr([],[I],p)}return b.height=_,b.style.height=C(_),b};function Ve(l,a){if(!l||l.type!==a)throw new Error("Expected node of type "+a+", but got "+(l?"node of type "+l.type:String(l)));return l}function ha(l){const a=da(l);if(!a)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return a}function da(l){return l&&(l.type==="atom"||Zi.hasOwnProperty(l.type))?l:null}const Ou=l=>{if(l instanceof kt)return l;if(ol(l)&&l.children.length===1)return Ou(l.children[0])},wl=(l,a)=>{let c,h,p;l&&l.type==="supsub"?(h=Ve(l.base,"accent"),c=h.base,l.base=c,p=al(rt(l,a)),l.base=h):(h=Ve(l,"accent"),c=h.base);const b=rt(c,a.havingCrampedStyle()),_=h.isShifty&&x(c);let E=0;if(_){var I,D;E=(I=(D=Ou(b))==null?void 0:D.skew)!=null?I:0}const G=h.label==="\\c";let Y=G?b.height+b.depth:Math.min(b.height,a.fontMetrics().xHeight),J;if(h.isStretchy)J=fa(h,a),J=nt({positionType:"firstBaseline",children:[{type:"elem",elem:b},{type:"elem",elem:J,wrapperClasses:["svg-align"],wrapperStyle:E>0?{width:"calc(100% - "+C(2*E)+")",marginLeft:C(2*E)}:void 0}]});else{let ve,Ne;h.label==="\\vec"?(ve=xu("vec",a),Ne=_u.vec[1]):(ve=sa({mode:h.mode,text:h.label},a,"textord"),ve=Ji(ve),ve.italic=0,Ne=ve.width,G&&(Y+=ve.depth)),J=de(["accent-body"],[ve]);const Ye=h.label==="\\textcircled";Ye&&(J.classes.push("accent-full"),Y=b.height);let Be=E;Ye||(Be-=Ne/2),J.style.left=C(Be),h.label==="\\textcircled"&&(J.style.top=".2em"),J=nt({positionType:"firstBaseline",children:[{type:"elem",elem:b},{type:"kern",size:-Y},{type:"elem",elem:J}]})}const ae=de(["mord","accent"],[J],a);return p?(p.children[0]=ae,p.height=Math.max(ae.height,p.height),p.classes[0]="mord",p):ae},Lu=(l,a)=>{const c=l.isStretchy?ua(l.label):new ge("mo",[Cn(l.label,l.mode)]),h=new ge("mover",[dt(l.base,a),c]);return h.setAttribute("accent","true"),h},q4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(l=>"\\"+l).join("|"));Ae({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(l,a)=>{const c=la(a[0]),h=!q4.test(l.funcName),p=!h||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:h,isShifty:p,base:c}},htmlBuilder:wl,mathmlBuilder:Lu}),Ae({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(l,a)=>{const c=a[0];let h=l.parser.mode;return h==="math"&&(l.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+l.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:l.funcName,isStretchy:!1,isShifty:!0,base:c}},htmlBuilder:wl,mathmlBuilder:Lu}),Ae({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(l,a)=>{let{parser:c,funcName:h}=l;const p=a[0];return{type:"accentUnder",mode:c.mode,label:h,base:p}},htmlBuilder:(l,a)=>{const c=rt(l.base,a),h=fa(l,a),p=l.label==="\\utilde"?.12:0,b=nt({positionType:"top",positionData:c.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:p},{type:"elem",elem:c}]});return de(["mord","accentunder"],[b],a)},mathmlBuilder:(l,a)=>{const c=ua(l.label),h=new ge("munder",[dt(l.base,a),c]);return h.setAttribute("accentunder","true"),h}});const ma=l=>{const a=new ge("mpadded",l?[l]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};Ae({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:h,funcName:p}=l;return{type:"xArrow",mode:h.mode,label:p,body:a[0],below:c[0]}},htmlBuilder(l,a){const c=a.style;let h=a.havingStyle(c.sup());const p=gs(rt(l.body,h,a),a),b=l.label.slice(0,2)==="\\x"?"x":"cd";p.classes.push(b+"-arrow-pad");let _;l.below&&(h=a.havingStyle(c.sub()),_=gs(rt(l.below,h,a),a),_.classes.push(b+"-arrow-pad"));const E=fa(l,a),I=-a.fontMetrics().axisHeight+.5*E.height;let D=-a.fontMetrics().axisHeight-.5*E.height-.111;(p.depth>.25||l.label==="\\xleftequilibrium")&&(D-=p.depth);let G;if(_){const Y=-a.fontMetrics().axisHeight+_.height+.5*E.height+.111;G=nt({positionType:"individualShift",children:[{type:"elem",elem:p,shift:D},{type:"elem",elem:E,shift:I},{type:"elem",elem:_,shift:Y}]})}else G=nt({positionType:"individualShift",children:[{type:"elem",elem:p,shift:D},{type:"elem",elem:E,shift:I}]});return G.children[0].children[0].children[1].classes.push("svg-align"),de(["mrel","x-arrow"],[G],a)},mathmlBuilder(l,a){const c=ua(l.label);c.setAttribute("minsize",l.label.charAt(0)==="x"?"1.75em":"3.0em");let h;if(l.body){const p=ma(dt(l.body,a));if(l.below){const b=ma(dt(l.below,a));h=new ge("munderover",[c,b,p])}else h=new ge("mover",[c,p])}else if(l.below){const p=ma(dt(l.below,a));h=new ge("munder",[c,p])}else h=ma(),h=new ge("mover",[c,h]);return h}});function Ru(l,a){const c=zt(l.body,a,!0);return de([l.mclass],c,a)}function Du(l,a){let c;const h=_n(l.body,a);return l.mclass==="minner"?c=new ge("mpadded",h):l.mclass==="mord"?l.isCharacterBox?(c=h[0],c.type="mi"):c=new ge("mi",h):(l.isCharacterBox?(c=h[0],c.type="mo"):c=new ge("mo",h),l.mclass==="mbin"?(c.attributes.lspace="0.22em",c.attributes.rspace="0.22em"):l.mclass==="mpunct"?(c.attributes.lspace="0em",c.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(c.attributes.lspace="0em",c.attributes.rspace="0em"):l.mclass==="minner"&&(c.attributes.lspace="0.0556em",c.attributes.width="+0.1111em")),c}Ae({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(l,a){let{parser:c,funcName:h}=l;const p=a[0];return{type:"mclass",mode:c.mode,mclass:"m"+h.slice(5),body:Pt(p),isCharacterBox:x(p)}},htmlBuilder:Ru,mathmlBuilder:Du});const pa=l=>{const a=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};Ae({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(l,a){let{parser:c}=l;return{type:"mclass",mode:c.mode,mclass:pa(a[0]),body:Pt(a[1]),isCharacterBox:x(a[1])}}}),Ae({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(l,a){let{parser:c,funcName:h}=l;const p=a[1],b=a[0];let _;h!=="\\stackrel"?_=pa(p):_="mrel";const E={type:"op",mode:p.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:Pt(p)},I={type:"supsub",mode:b.mode,base:E,sup:h==="\\underset"?null:b,sub:h==="\\underset"?b:null};return{type:"mclass",mode:c.mode,mclass:_,body:[I],isCharacterBox:x(I)}},htmlBuilder:Ru,mathmlBuilder:Du}),Ae({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"pmb",mode:c.mode,mclass:pa(a[0]),body:Pt(a[0])}},htmlBuilder(l,a){const c=zt(l.body,a,!0),h=de([l.mclass],c,a);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(l,a){const c=_n(l.body,a),h=new ge("mstyle",c);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});const U4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Pu=()=>({type:"styling",body:[],mode:"math",style:"display"}),$u=l=>l.type==="textord"&&l.text==="@",H4=(l,a)=>(l.type==="mathord"||l.type==="atom")&&l.text===a;function V4(l,a,c){const h=U4[l];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return c.callFunction(h,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{const p=c.callFunction("\\\\cdleft",[a[0]],[]),b={type:"atom",text:h,mode:"math",family:"rel"},_=c.callFunction("\\Big",[b],[]),E=c.callFunction("\\\\cdright",[a[1]],[]),I={type:"ordgroup",mode:"math",body:[p,_,E]};return c.callFunction("\\\\cdparent",[I],[])}case"\\\\cdlongequal":return c.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const p={type:"textord",text:"\\Vert",mode:"math"};return c.callFunction("\\Big",[p],[])}default:return{type:"textord",text:" ",mode:"math"}}}function j4(l){const a=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){a.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();const b=l.fetch().text;if(b==="&"||b==="\\\\")l.consume();else if(b==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",l.nextToken)}let c=[];const h=[c];for(let b=0;bAV".includes(D))for(let ae=0;ae<2;ae++){let ve=!0;for(let Ne=I+1;Ne<_.length;Ne++){if(H4(_[Ne],D)){ve=!1,I=Ne;break}if($u(_[Ne]))throw new i("Missing a "+D+" character to complete a CD arrow.",_[Ne]);G[ae].body.push(_[Ne])}if(ve)throw new i("Missing a "+D+" character to complete a CD arrow.",_[I])}else throw new i('Expected one of "<>AV=|." after @',_[I]);const J={type:"styling",body:[V4(D,G,l)],mode:"math",style:"display"};c.push(J),E=Pu()}b%2===0?c.push(E):c.shift(),c=[],h.push(c)}l.gullet.endGroup(),l.gullet.endGroup();const p=new Array(h[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:h,arraystretch:1,addJot:!0,rowGaps:[null],cols:p,colSeparationType:"CD",hLinesBeforeRow:new Array(h.length+1).fill([])}}Ae({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:h}=l;return{type:"cdlabel",mode:c.mode,side:h.slice(4),label:a[0]}},htmlBuilder(l,a){const c=a.havingStyle(a.style.sup()),h=gs(rt(l.label,c,a),a);return h.classes.push("cd-label-"+l.side),h.style.bottom=C(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(l,a){let c=new ge("mrow",[dt(l.label,a)]);return c=new ge("mpadded",[c]),c.setAttribute("width","0"),l.side==="left"&&c.setAttribute("lspace","-1width"),c.setAttribute("voffset","0.7em"),c=new ge("mstyle",[c]),c.setAttribute("displaystyle","false"),c.setAttribute("scriptlevel","1"),c}}),Ae({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(l,a){let{parser:c}=l;return{type:"cdlabelparent",mode:c.mode,fragment:a[0]}},htmlBuilder(l,a){const c=gs(rt(l.fragment,a),a);return c.classes.push("cd-vert-arrow"),c},mathmlBuilder(l,a){return new ge("mrow",[dt(l.fragment,a)])}}),Ae({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;const p=Ve(a[0],"ordgroup").body;let b="";for(let I=0;I=1114111)throw new i("\\@char with invalid code point "+b);return _<=65535?E=String.fromCharCode(_):(_-=65536,E=String.fromCharCode((_>>10)+55296,(_&1023)+56320)),{type:"textord",mode:c.mode,text:E}}});const Fu=(l,a)=>{const c=zt(l.body,a.withColor(l.color),!1);return lr(c)},Bu=(l,a)=>{const c=_n(l.body,a.withColor(l.color)),h=new ge("mstyle",c);return h.setAttribute("mathcolor",l.color),h};Ae({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(l,a){let{parser:c}=l;const h=Ve(a[0],"color-token").color,p=a[1];return{type:"color",mode:c.mode,color:h,body:Pt(p)}},htmlBuilder:Fu,mathmlBuilder:Bu}),Ae({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(l,a){let{parser:c,breakOnTokenText:h}=l;const p=Ve(a[0],"color-token").color;c.gullet.macros.set("\\current@color",p);const b=c.parseExpression(!0,h);return{type:"color",mode:c.mode,color:p,body:b}},htmlBuilder:Fu,mathmlBuilder:Bu}),Ae({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(l,a,c){let{parser:h}=l;const p=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,b=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:b,size:p&&Ve(p,"size").value}},htmlBuilder(l,a){const c=de(["mspace"],[],a);return l.newLine&&(c.classes.push("newline"),l.size&&(c.style.marginTop=C(lt(l.size,a)))),c},mathmlBuilder(l,a){const c=new ge("mspace");return l.newLine&&(c.setAttribute("linebreak","newline"),l.size&&c.setAttribute("height",C(lt(l.size,a)))),c}});const vl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},zu=l=>{const a=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new i("Expected a control sequence",l);return a},W4=l=>{let a=l.gullet.popToken();return a.text==="="&&(a=l.gullet.popToken(),a.text===" "&&(a=l.gullet.popToken())),a},qu=(l,a,c,h)=>{let p=l.gullet.macros.get(c.text);p==null&&(c.noexpand=!0,p={tokens:[c],numArgs:0,unexpandable:!l.gullet.isExpandable(c.text)}),l.gullet.macros.set(a,p,h)};Ae({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(l){let{parser:a,funcName:c}=l;a.consumeSpaces();const h=a.fetch();if(vl[h.text])return(c==="\\global"||c==="\\\\globallong")&&(h.text=vl[h.text]),Ve(a.parseFunction(),"internal");throw new i("Invalid token after macro prefix",h)}}),Ae({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l,h=a.gullet.popToken();const p=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(p))throw new i("Expected a control sequence",h);let b=0,_;const E=[[]];for(;a.gullet.future().text!=="{";)if(h=a.gullet.popToken(),h.text==="#"){if(a.gullet.future().text==="{"){_=a.gullet.future(),E[b].push("{");break}if(h=a.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new i('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==b+1)throw new i('Argument number "'+h.text+'" out of order');b++,E.push([])}else{if(h.text==="EOF")throw new i("Expected a macro definition");E[b].push(h.text)}let{tokens:I}=a.gullet.consumeArg();return _&&I.unshift(_),(c==="\\edef"||c==="\\xdef")&&(I=a.gullet.expandTokens(I),I.reverse()),a.gullet.macros.set(p,{tokens:I,numArgs:b,delimiters:E},c===vl[c]),{type:"internal",mode:a.mode}}}),Ae({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const h=zu(a.gullet.popToken());a.gullet.consumeSpaces();const p=W4(a);return qu(a,h,p,c==="\\\\globallet"),{type:"internal",mode:a.mode}}}),Ae({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const h=zu(a.gullet.popToken()),p=a.gullet.popToken(),b=a.gullet.popToken();return qu(a,h,b,c==="\\\\globalfuture"),a.gullet.pushToken(b),a.gullet.pushToken(p),{type:"internal",mode:a.mode}}});const ti=function(l,a,c){const h=St.math[l]&&St.math[l].replace,p=wt(h||l,a,c);if(!p)throw new Error("Unsupported symbol "+l+" and font size "+a+".");return p},_l=function(l,a,c,h){const p=c.havingBaseStyle(a),b=de(h.concat(p.sizingClasses(c)),[l],c),_=p.sizeMultiplier/c.sizeMultiplier;return b.height*=_,b.depth*=_,b.maxFontSize=p.sizeMultiplier,b},Uu=function(l,a,c){const h=a.havingBaseStyle(c),p=(1-a.sizeMultiplier/h.sizeMultiplier)*a.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=C(p),l.height-=p,l.depth+=p},G4=function(l,a,c,h,p,b){const _=an(l,"Main-Regular",p,h),E=_l(_,a,h,b);return Uu(E,h,a),E},K4=function(l,a,c,h){return an(l,"Size"+a+"-Regular",c,h)},Hu=function(l,a,c,h,p,b){const _=K4(l,a,p,h),E=_l(de(["delimsizing","size"+a],[_],h),F.TEXT,h,b);return c&&Uu(E,h,F.TEXT),E},xl=function(l,a,c){let h;return a==="Size1-Regular"?h="delim-size1":h="delim-size4",{type:"elem",elem:de(["delimsizinginner",h],[de([],[an(l,a,c)])])}},kl=function(l,a,c){const h=An["Size4-Regular"][l.charCodeAt(0)]?An["Size4-Regular"][l.charCodeAt(0)][4]:An["Size1-Regular"][l.charCodeAt(0)][4],p=new Xt("inner",hn(l,Math.round(1e3*a))),b=new Zt([p],{width:C(h),height:C(a),style:"width:"+C(h),viewBox:"0 0 "+1e3*h+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),_=kr([],[b],c);return _.height=a,_.style.height=C(a),_.style.width=C(h),{type:"elem",elem:_}},Sl=.008,ga={type:"kern",size:-1*Sl},X4=new Set(["|","\\lvert","\\rvert","\\vert"]),Y4=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Vu=function(l,a,c,h,p,b){let _,E,I,D,G="",Y=0;_=I=D=l,E=null;let J="Size1-Regular";l==="\\uparrow"?I=D="⏐":l==="\\Uparrow"?I=D="‖":l==="\\downarrow"?_=I="⏐":l==="\\Downarrow"?_=I="‖":l==="\\updownarrow"?(_="\\uparrow",I="⏐",D="\\downarrow"):l==="\\Updownarrow"?(_="\\Uparrow",I="‖",D="\\Downarrow"):X4.has(l)?(I="∣",G="vert",Y=333):Y4.has(l)?(I="∥",G="doublevert",Y=556):l==="["||l==="\\lbrack"?(_="⎡",I="⎢",D="⎣",J="Size4-Regular",G="lbrack",Y=667):l==="]"||l==="\\rbrack"?(_="⎤",I="⎥",D="⎦",J="Size4-Regular",G="rbrack",Y=667):l==="\\lfloor"||l==="⌊"?(I=_="⎢",D="⎣",J="Size4-Regular",G="lfloor",Y=667):l==="\\lceil"||l==="⌈"?(_="⎡",I=D="⎢",J="Size4-Regular",G="lceil",Y=667):l==="\\rfloor"||l==="⌋"?(I=_="⎥",D="⎦",J="Size4-Regular",G="rfloor",Y=667):l==="\\rceil"||l==="⌉"?(_="⎤",I=D="⎥",J="Size4-Regular",G="rceil",Y=667):l==="("||l==="\\lparen"?(_="⎛",I="⎜",D="⎝",J="Size4-Regular",G="lparen",Y=875):l===")"||l==="\\rparen"?(_="⎞",I="⎟",D="⎠",J="Size4-Regular",G="rparen",Y=875):l==="\\{"||l==="\\lbrace"?(_="⎧",E="⎨",D="⎩",I="⎪",J="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(_="⎫",E="⎬",D="⎭",I="⎪",J="Size4-Regular"):l==="\\lgroup"||l==="⟮"?(_="⎧",D="⎩",I="⎪",J="Size4-Regular"):l==="\\rgroup"||l==="⟯"?(_="⎫",D="⎭",I="⎪",J="Size4-Regular"):l==="\\lmoustache"||l==="⎰"?(_="⎧",D="⎭",I="⎪",J="Size4-Regular"):(l==="\\rmoustache"||l==="⎱")&&(_="⎫",D="⎩",I="⎪",J="Size4-Regular");const ae=ti(_,J,p),ve=ae.height+ae.depth,Ne=ti(I,J,p),Ye=Ne.height+Ne.depth,Be=ti(D,J,p),Je=Be.height+Be.depth;let ot=0,Ft=1;if(E!==null){const Mn=ti(E,J,p);ot=Mn.height+Mn.depth,Ft=2}const qt=ve+Je+ot,Ut=Math.max(0,Math.ceil((a-qt)/(Ft*Ye))),en=qt+Ut*Ft*Ye;let bs=h.fontMetrics().axisHeight;c&&(bs*=h.sizeMultiplier);const _a=en/2-bs,on=[];if(G.length>0){const Mn=en-ve-Je,ws=Math.round(en*1e3),vs=we(G,Math.round(Mn*1e3)),st=new Xt(G,vs),Nt=(Y/1e3).toFixed(3)+"em",vt=(ws/1e3).toFixed(3)+"em",Bt=new Zt([st],{width:Nt,height:vt,viewBox:"0 0 "+Y+" "+ws}),In=kr([],[Bt],h);In.height=ws/1e3,In.style.width=Nt,In.style.height=vt,on.push({type:"elem",elem:In})}else{if(on.push(xl(D,J,p)),on.push(ga),E===null){const Mn=en-ve-Je+2*Sl;on.push(kl(I,Mn,h))}else{const Mn=(en-ve-Je-ot)/2+2*Sl;on.push(kl(I,Mn,h)),on.push(ga),on.push(xl(E,J,p)),on.push(ga),on.push(kl(I,Mn,h))}on.push(ga),on.push(xl(_,J,p))}const xa=h.havingBaseStyle(F.TEXT),ka=nt({positionType:"bottom",positionData:_a,children:on});return _l(de(["delimsizing","mult"],[ka],xa),F.TEXT,h,b)},Tl=80,El=.08,Al=function(l,a,c,h,p){const b=Tn(l,h,c),_=new Xt(l,b),E=new Zt([_],{width:"400em",height:C(a),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});return kr(["hide-tail"],[E],p)},J4=function(l,a){const c=a.havingBaseSizing(),h=Xu("\\surd",l*c.sizeMultiplier,Ku,c);let p=c.sizeMultiplier;const b=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness);let _,E=0,I=0,D=0,G;return h.type==="small"?(D=1e3+1e3*b+Tl,l<1?p=1:l<1.4&&(p=.7),E=(1+b+El)/p,I=(1+b)/p,_=Al("sqrtMain",E,D,b,a),_.style.minWidth="0.853em",G=.833/p):h.type==="large"?(D=(1e3+Tl)*ni[h.size],I=(ni[h.size]+b)/p,E=(ni[h.size]+b+El)/p,_=Al("sqrtSize"+h.size,E,D,b,a),_.style.minWidth="1.02em",G=1/p):(E=l+b+El,I=l+b,D=Math.floor(1e3*l+b)+Tl,_=Al("sqrtTall",E,D,b,a),_.style.minWidth="0.742em",G=1.056),_.height=I,_.style.height=C(E),{span:_,advanceWidth:G,ruleWidth:(a.fontMetrics().sqrtRuleThickness+b)*p}},ju=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Q4=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Wu=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ni=[0,1.2,1.8,2.4,3],Gu=function(l,a,c,h,p){if(l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle"),ju.has(l)||Wu.has(l))return Hu(l,a,!1,c,h,p);if(Q4.has(l))return Vu(l,ni[a],!1,c,h,p);throw new i("Illegal delimiter: '"+l+"'")},Z4=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],eg=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],Ku=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],tg=function(l){if(l.type==="small")return"Main-Regular";if(l.type==="large")return"Size"+l.size+"-Regular";if(l.type==="stack")return"Size4-Regular";{const a=l.type;throw new Error("Add support for delim type '"+a+"' here.")}},Xu=function(l,a,c,h){const p=Math.min(2,3-h.style.size);for(let b=p;ba)return _}return c[c.length-1]},Nl=function(l,a,c,h,p,b){l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle");let _;Wu.has(l)?_=Z4:ju.has(l)?_=Ku:_=eg;const E=Xu(l,a,_,h);return E.type==="small"?G4(l,E.style,c,h,p,b):E.type==="large"?Hu(l,E.size,c,h,p,b):Vu(l,a,c,h,p,b)},Cl=function(l,a,c,h,p,b){const _=h.fontMetrics().axisHeight*h.sizeMultiplier,E=901,I=5/h.fontMetrics().ptPerEm,D=Math.max(a-_,c+_),G=Math.max(D/500*E,2*D-I);return Nl(l,G,!0,h,p,b)},Yu={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},ng=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function ya(l,a){const c=da(l);if(c&&ng.has(c.text))return c;throw c?new i("Invalid delimiter '"+c.text+"' after '"+a.funcName+"'",l):new i("Invalid delimiter type '"+l.type+"'",l)}Ae({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(l,a)=>{const c=ya(a[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Yu[l.funcName].size,mclass:Yu[l.funcName].mclass,delim:c.text}},htmlBuilder:(l,a)=>l.delim==="."?de([l.mclass]):Gu(l.delim,l.size,a,l.mode,[l.mclass]),mathmlBuilder:l=>{const a=[];l.delim!=="."&&a.push(Cn(l.delim,l.mode));const c=new ge("mo",a);l.mclass==="mopen"||l.mclass==="mclose"?c.setAttribute("fence","true"):c.setAttribute("fence","false"),c.setAttribute("stretchy","true");const h=C(ni[l.size]);return c.setAttribute("minsize",h),c.setAttribute("maxsize",h),c}});function Ju(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ae({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=l.parser.gullet.macros.get("\\current@color");if(c&&typeof c!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:ya(a[0],l).text,color:c}}}),Ae({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=ya(a[0],l),h=l.parser;++h.leftrightDepth;const p=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);const b=Ve(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:p,left:c.text,right:b.delim,rightColor:b.color}},htmlBuilder:(l,a)=>{Ju(l);const c=zt(l.body,a,!0,["mopen","mclose"]);let h=0,p=0,b=!1;for(let I=0;I{Ju(l);const c=_n(l.body,a);if(l.left!=="."){const h=new ge("mo",[Cn(l.left,l.mode)]);h.setAttribute("fence","true"),c.unshift(h)}if(l.right!=="."){const h=new ge("mo",[Cn(l.right,l.mode)]);h.setAttribute("fence","true"),l.rightColor&&h.setAttribute("mathcolor",l.rightColor),c.push(h)}return gl(c)}}),Ae({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=ya(a[0],l);if(!l.parser.leftrightDepth)throw new i("\\middle without preceding \\left",c);return{type:"middle",mode:l.parser.mode,delim:c.text}},htmlBuilder:(l,a)=>{let c;if(l.delim===".")c=ei(a,[]);else{c=Gu(l.delim,1,a,l.mode,[]);const h={delim:l.delim,options:a};c.isMiddle=h}return c},mathmlBuilder:(l,a)=>{const c=l.delim==="\\vert"||l.delim==="|"?Cn("|","text"):Cn(l.delim,l.mode),h=new ge("mo",[c]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});const Ml=(l,a)=>{const c=gs(rt(l.body,a),a),h=l.label.slice(1);let p=a.sizeMultiplier,b,_=0;const E=x(l.body);if(h==="sout")b=de(["stretchy","sout"]),b.height=a.fontMetrics().defaultRuleThickness/p,_=-.5*a.fontMetrics().xHeight;else if(h==="phase"){const D=lt({number:.6,unit:"pt"},a),G=lt({number:.35,unit:"ex"},a),Y=a.havingBaseSizing();p=p/Y.sizeMultiplier;const J=c.height+c.depth+D+G;c.style.paddingLeft=C(J/2+D);const ae=Math.floor(1e3*J*p),ve=Rt(ae),Ne=new Zt([new Xt("phase",ve)],{width:"400em",height:C(ae/1e3),viewBox:"0 0 400000 "+ae,preserveAspectRatio:"xMinYMin slice"});b=kr(["hide-tail"],[Ne],a),b.style.height=C(J),_=c.depth+D+G}else{/cancel/.test(h)?E||c.classes.push("cancel-pad"):h==="angl"?c.classes.push("anglpad"):c.classes.push("boxpad");let D=0,G=0,Y=0;/box/.test(h)?(Y=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),D=a.fontMetrics().fboxsep+(h==="colorbox"?0:Y),G=D):h==="angl"?(Y=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),D=4*Y,G=Math.max(0,.25-c.depth)):(D=E?.2:0,G=D),b=z4(c,h,D,G,a),/fbox|boxed|fcolorbox/.test(h)?(b.style.borderStyle="solid",b.style.borderWidth=C(Y)):h==="angl"&&Y!==.049&&(b.style.borderTopWidth=C(Y),b.style.borderRightWidth=C(Y)),_=c.depth+G,l.backgroundColor&&(b.style.backgroundColor=l.backgroundColor,l.borderColor&&(b.style.borderColor=l.borderColor))}let I;if(l.backgroundColor)I=nt({positionType:"individualShift",children:[{type:"elem",elem:b,shift:_},{type:"elem",elem:c,shift:0}]});else{const D=/cancel|phase/.test(h)?["svg-align"]:[];I=nt({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:b,shift:_,wrapperClasses:D}]})}return/cancel/.test(h)&&(I.height=c.height,I.depth=c.depth),/cancel/.test(h)&&!E?de(["mord","cancel-lap"],[I],a):de(["mord"],[I],a)},Il=(l,a)=>{let c=0;const h=new ge(l.label.includes("colorbox")?"mpadded":"menclose",[dt(l.body,a)]);switch(l.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(c=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*c+"pt"),h.setAttribute("height","+"+2*c+"pt"),h.setAttribute("lspace",c+"pt"),h.setAttribute("voffset",c+"pt"),l.label==="\\fcolorbox"){const p=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);h.setAttribute("style","border: "+p+"em solid "+String(l.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&h.setAttribute("mathbackground",l.backgroundColor),h};Ae({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(l,a,c){let{parser:h,funcName:p}=l;const b=Ve(a[0],"color-token").color,_=a[1];return{type:"enclose",mode:h.mode,label:p,backgroundColor:b,body:_}},htmlBuilder:Ml,mathmlBuilder:Il}),Ae({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(l,a,c){let{parser:h,funcName:p}=l;const b=Ve(a[0],"color-token").color,_=Ve(a[1],"color-token").color,E=a[2];return{type:"enclose",mode:h.mode,label:p,backgroundColor:_,borderColor:b,body:E}},htmlBuilder:Ml,mathmlBuilder:Il}),Ae({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\fbox",body:a[0]}}}),Ae({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:h}=l;const p=a[0];return{type:"enclose",mode:c.mode,label:h,body:p}},htmlBuilder:Ml,mathmlBuilder:Il}),Ae({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\angl",body:a[0]}}});const Qu={};function Yn(l){let{type:a,names:c,props:h,handler:p,htmlBuilder:b,mathmlBuilder:_}=l;const E={type:a,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:p};for(let I=0;I{if(!l.parser.settings.displayMode)throw new i("{"+l.envName+"} can be used only in display mode.")},rg=new Set(["gather","gather*"]);function Ol(l){if(!l.includes("ed"))return!l.includes("*")}function Tr(l,a,c){let{hskipBeforeAndAfter:h,addJot:p,cols:b,arraystretch:_,colSeparationType:E,autoTag:I,singleRow:D,emptySingleRow:G,maxNumCols:Y,leqno:J}=a;if(l.gullet.beginGroup(),D||l.gullet.macros.set("\\cr","\\\\\\relax"),!_){const Ft=l.gullet.expandMacroAsText("\\arraystretch");if(Ft==null)_=1;else if(_=parseFloat(Ft),!_||_<0)throw new i("Invalid \\arraystretch: "+Ft)}l.gullet.beginGroup();let ae=[];const ve=[ae],Ne=[],Ye=[],Be=I!=null?[]:void 0;function Je(){I&&l.gullet.macros.set("\\@eqnsw","1",!0)}function ot(){Be&&(l.gullet.macros.get("\\df@tag")?(Be.push(l.subparse([new xn("\\df@tag")])),l.gullet.macros.set("\\df@tag",void 0,!0)):Be.push(!!I&&l.gullet.macros.get("\\@eqnsw")==="1"))}for(Je(),Ye.push(ef(l));;){const Ft=l.parseExpression(!1,D?"\\end":"\\\\");l.gullet.endGroup(),l.gullet.beginGroup();let qt={type:"ordgroup",mode:l.mode,body:Ft};c&&(qt={type:"styling",mode:l.mode,style:c,body:[qt]}),ae.push(qt);const Ut=l.fetch().text;if(Ut==="&"){if(Y&&ae.length===Y){if(D||E)throw new i("Too many tab characters: &",l.nextToken);l.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}l.consume()}else if(Ut==="\\end"){ot(),ae.length===1&&qt.type==="styling"&&qt.body.length===1&&qt.body[0].type==="ordgroup"&&qt.body[0].body.length===0&&(ve.length>1||!G)&&ve.pop(),Ye.length0&&(Be+=.25),I.push({pos:Be,isDashed:st[Nt]})}for(Je(b[0]),c=0;c0&&(fr+=Ye,vtst))for(c=0;c=_)continue;let vt;if(h>0||l.hskipBeforeAndAfter){var xa,ka;vt=(xa=(ka=st)==null?void 0:ka.pregap)!=null?xa:Y,vt!==0&&(Ut=de(["arraycolsep"],[]),Ut.style.width=C(vt),qt.push(Ut))}const Bt=[];for(c=0;c0){const st=ps("hline",a,D),Nt=ps("hdashline",a,D),vt=[{type:"elem",elem:vs,shift:0}];for(;I.length>0;){const Bt=I.pop(),In=Bt.pos-ot;Bt.isDashed?vt.push({type:"elem",elem:Nt,shift:In}):vt.push({type:"elem",elem:st,shift:In})}vs=nt({positionType:"individualShift",children:vt})}if(bs.length===0)return de(["mord"],[vs],a);{const st=nt({positionType:"individualShift",children:bs}),Nt=de(["tag"],[st],a);return lr([vs,Nt])}},sg={c:"center ",l:"left ",r:"right "},Qn=function(l,a){const c=[],h=new ge("mtd",[],["mtr-glue"]),p=new ge("mtd",[],["mml-eqn-num"]);for(let Y=0;Y0){const Y=l.cols;let J="",ae=!1,ve=0,Ne=Y.length;Y[0].type==="separator"&&(E+="top ",ve=1),Y[Y.length-1].type==="separator"&&(E+="bottom ",Ne-=1);for(let Ye=ve;Ye0?"left ":"",E+=G[G.length-1].length>0?"right ":"";for(let Y=1;Y0&&D&&(J=1),c[G]={type:"align",align:Y,pregap:J,postgap:0}}return b.colSeparationType=D?"align":"alignat",b};Yn({type:"array",names:["array","darray"],props:{numArgs:1},handler(l,a){const p=(da(a[0])?[a[0]]:Ve(a[0],"ordgroup").body).map(function(_){const I=ha(_).text;if("lcr".includes(I))return{type:"align",align:I};if(I==="|")return{type:"separator",separator:"|"};if(I===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+I,_)}),b={cols:p,hskipBeforeAndAfter:!0,maxNumCols:p.length};return Tr(l.parser,b,Ll(l.envName))},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(l){const a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName.replace("*","")];let c="c";const h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:c}]};if(l.envName.charAt(l.envName.length-1)==="*"){const _=l.parser;if(_.consumeSpaces(),_.fetch().text==="["){if(_.consume(),_.consumeSpaces(),c=_.fetch().text,!"lcr".includes(c))throw new i("Expected l or c or r",_.nextToken);_.consume(),_.consumeSpaces(),_.expect("]"),_.consume(),h.cols=[{type:"align",align:c}]}}const p=Tr(l.parser,h,Ll(l.envName)),b=Math.max(0,...p.body.map(_=>_.length));return p.cols=new Array(b).fill({type:"align",align:c}),a?{type:"leftright",mode:l.mode,body:[p],left:a[0],right:a[1],rightColor:void 0}:p},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(l){const a={arraystretch:.5},c=Tr(l.parser,a,"script");return c.colSeparationType="small",c},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["subarray"],props:{numArgs:1},handler(l,a){const p=(da(a[0])?[a[0]]:Ve(a[0],"ordgroup").body).map(function(E){const D=ha(E).text;if("lc".includes(D))return{type:"align",align:D};throw new i("Unknown column alignment: "+D,E)});if(p.length>1)throw new i("{subarray} can contain only one column");const b={cols:p,hskipBeforeAndAfter:!1,arraystretch:.5},_=Tr(l.parser,b,"script");if(_.body.length>0&&_.body[0].length>1)throw new i("{subarray} can contain only one column");return _},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(l){const a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},c=Tr(l.parser,a,Ll(l.envName));return{type:"leftright",mode:l.mode,body:[c],left:l.envName.includes("r")?".":"\\{",right:l.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:tf,htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(l){rg.has(l.envName)&&ba(l);const a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ol(l.envName),emptySingleRow:!0,leqno:l.parser.settings.leqno};return Tr(l.parser,a,"display")},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:tf,htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(l){ba(l);const a={autoTag:Ol(l.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:l.parser.settings.leqno};return Tr(l.parser,a,"display")},htmlBuilder:Jn,mathmlBuilder:Qn}),Yn({type:"array",names:["CD"],props:{numArgs:0},handler(l){return ba(l),j4(l.parser)},htmlBuilder:Jn,mathmlBuilder:Qn}),A("\\nonumber","\\gdef\\@eqnsw{0}"),A("\\notag","\\nonumber"),Ae({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(l,a){throw new i(l.funcName+" valid only within array environment")}});var nf=Qu;Ae({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(l,a){let{parser:c,funcName:h}=l;const p=a[0];if(p.type!=="ordgroup")throw new i("Invalid environment name",p);let b="";for(let _=0;_{const c=l.font,h=a.withFont(c);return rt(l.body,h)},sf=(l,a)=>{const c=l.font,h=a.withFont(c);return dt(l.body,h)},af={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ae({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:h}=l;const p=la(a[0]);let b=h;return b in af&&(b=af[b]),{type:"font",mode:c.mode,font:b.slice(1),body:p}},htmlBuilder:rf,mathmlBuilder:sf}),Ae({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(l,a)=>{let{parser:c}=l;const h=a[0];return{type:"mclass",mode:c.mode,mclass:pa(h),body:[{type:"font",mode:c.mode,font:"boldsymbol",body:h}],isCharacterBox:x(h)}}}),Ae({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:h,breakOnTokenText:p}=l;const{mode:b}=c,_=c.parseExpression(!0,p),E="math"+h.slice(1);return{type:"font",mode:b,font:E,body:{type:"ordgroup",mode:c.mode,body:_}}},htmlBuilder:rf,mathmlBuilder:sf});const ig=(l,a)=>{const c=a.style,h=c.fracNum(),p=c.fracDen();let b;b=a.havingStyle(h);const _=rt(l.numer,b,a);if(l.continued){const Je=8.5/a.fontMetrics().ptPerEm,ot=3.5/a.fontMetrics().ptPerEm;_.height=_.height0?J=3*G:J=7*G,ae=a.fontMetrics().denom1):(D>0?(Y=a.fontMetrics().num2,J=G):(Y=a.fontMetrics().num3,J=3*G),ae=a.fontMetrics().denom2);let ve;if(I){const Je=a.fontMetrics().axisHeight;Y-_.depth-(Je+.5*D){const c=new ge("mfrac",[dt(l.numer,a),dt(l.denom,a)]);if(!l.hasBarLine)c.setAttribute("linethickness","0px");else if(l.barSize){const h=lt(l.barSize,a);c.setAttribute("linethickness",C(h))}if(l.leftDelim!=null||l.rightDelim!=null){const h=[];if(l.leftDelim!=null){const p=new ge("mo",[new $t(l.leftDelim.replace("\\",""))]);p.setAttribute("fence","true"),h.push(p)}if(h.push(c),l.rightDelim!=null){const p=new ge("mo",[new $t(l.rightDelim.replace("\\",""))]);p.setAttribute("fence","true"),h.push(p)}return gl(h)}return c},of=(l,a)=>a?{type:"styling",mode:l.mode,style:a,body:[l]}:l;Ae({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:h}=l;const p=a[0],b=a[1];let _,E=null,I=null;switch(h){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":_=!0;break;case"\\\\atopfrac":_=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":_=!1,E="(",I=")";break;case"\\\\bracefrac":_=!1,E="\\{",I="\\}";break;case"\\\\brackfrac":_=!1,E="[",I="]";break;default:throw new Error("Unrecognized genfrac command")}const D=h==="\\cfrac";let G=null;return D||h.startsWith("\\d")?G="display":h.startsWith("\\t")&&(G="text"),of({type:"genfrac",mode:c.mode,numer:p,denom:b,continued:D,hasBarLine:_,leftDelim:E,rightDelim:I,barSize:null},G)},htmlBuilder:ig,mathmlBuilder:ag}),Ae({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(l){let{parser:a,funcName:c,token:h}=l,p;switch(c){case"\\over":p="\\frac";break;case"\\choose":p="\\binom";break;case"\\atop":p="\\\\atopfrac";break;case"\\brace":p="\\\\bracefrac";break;case"\\brack":p="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:p,token:h}}});const lf=["display","text","script","scriptscript"],cf=function(l){let a=null;return l.length>0&&(a=l,a=a==="."?null:a),a};Ae({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(l,a){let{parser:c}=l;const h=a[4],p=a[5],b=la(a[0]),_=b.type==="atom"&&b.family==="open"?cf(b.text):null,E=la(a[1]),I=E.type==="atom"&&E.family==="close"?cf(E.text):null,D=Ve(a[2],"size");let G,Y=null;D.isBlank?G=!0:(Y=D.value,G=Y.number>0);let J=null,ae=a[3];if(ae.type==="ordgroup"){if(ae.body.length>0){const ve=Ve(ae.body[0],"textord");J=lf[Number(ve.text)]}}else ae=Ve(ae,"textord"),J=lf[Number(ae.text)];return of({type:"genfrac",mode:c.mode,numer:h,denom:p,continued:!1,hasBarLine:G,barSize:Y,leftDelim:_,rightDelim:I},J)}}),Ae({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(l,a){let{parser:c,funcName:h,token:p}=l;return{type:"infix",mode:c.mode,replaceWith:"\\\\abovefrac",size:Ve(a[0],"size").value,token:p}}}),Ae({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(l,a)=>{let{parser:c,funcName:h}=l;const p=a[0],b=Ve(a[1],"infix").size;if(!b)throw new Error("\\\\abovefrac expected size, but got "+String(b));const _=a[2],E=b.number>0;return{type:"genfrac",mode:c.mode,numer:p,denom:_,continued:!1,hasBarLine:E,barSize:b,leftDelim:null,rightDelim:null}}});const uf=(l,a)=>{const c=a.style;let h,p;l.type==="supsub"?(h=l.sup?rt(l.sup,a.havingStyle(c.sup()),a):rt(l.sub,a.havingStyle(c.sub()),a),p=Ve(l.base,"horizBrace")):p=Ve(l,"horizBrace");const b=rt(p.base,a.havingBaseStyle(F.DISPLAY)),_=fa(p,a);let E;if(p.isOver?(E=nt({positionType:"firstBaseline",children:[{type:"elem",elem:b},{type:"kern",size:.1},{type:"elem",elem:_}]}),E.children[0].children[0].children[1].classes.push("svg-align")):(E=nt({positionType:"bottom",positionData:b.depth+.1+_.height,children:[{type:"elem",elem:_},{type:"kern",size:.1},{type:"elem",elem:b}]}),E.children[0].children[0].children[0].classes.push("svg-align")),h){const I=de(["mord",p.isOver?"mover":"munder"],[E],a);p.isOver?E=nt({positionType:"firstBaseline",children:[{type:"elem",elem:I},{type:"kern",size:.2},{type:"elem",elem:h}]}):E=nt({positionType:"bottom",positionData:I.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:I}]})}return de(["mord",p.isOver?"mover":"munder"],[E],a)};Ae({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:h}=l;return{type:"horizBrace",mode:c.mode,label:h,isOver:/^\\over/.test(h),base:a[0]}},htmlBuilder:uf,mathmlBuilder:(l,a)=>{const c=ua(l.label);return new ge(l.isOver?"mover":"munder",[dt(l.base,a),c])}}),Ae({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const h=a[1],p=Ve(a[0],"url").url;return c.settings.isTrusted({command:"\\href",url:p})?{type:"href",mode:c.mode,href:p,body:Pt(h)}:c.formatUnsupportedCmd("\\href")},htmlBuilder:(l,a)=>{const c=zt(l.body,a,!1);return k4(l.href,[],c,a)},mathmlBuilder:(l,a)=>{let c=Sr(l.body,a);return c instanceof ge||(c=new ge("mrow",[c])),c.setAttribute("href",l.href),c}}),Ae({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const h=Ve(a[0],"url").url;if(!c.settings.isTrusted({command:"\\url",url:h}))return c.formatUnsupportedCmd("\\url");const p=[];for(let _=0;_{let{parser:c,funcName:h,token:p}=l;const b=Ve(a[0],"raw").string,_=a[1];c.settings.strict&&c.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let E;const I={};switch(h){case"\\htmlClass":I.class=b,E={command:"\\htmlClass",class:b};break;case"\\htmlId":I.id=b,E={command:"\\htmlId",id:b};break;case"\\htmlStyle":I.style=b,E={command:"\\htmlStyle",style:b};break;case"\\htmlData":{const D=b.split(",");for(let G=0;G{const c=zt(l.body,a,!1),h=["enclosing"];l.attributes.class&&h.push(...l.attributes.class.trim().split(/\s+/));const p=de(h,c,a);for(const b in l.attributes)b!=="class"&&l.attributes.hasOwnProperty(b)&&p.setAttribute(b,l.attributes[b]);return p},mathmlBuilder:(l,a)=>Sr(l.body,a)}),Ae({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"htmlmathml",mode:c.mode,html:Pt(a[0]),mathml:Pt(a[1])}},htmlBuilder:(l,a)=>{const c=zt(l.html,a,!1);return lr(c)},mathmlBuilder:(l,a)=>Sr(l.mathml,a)});const Rl=function(l){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(l))return{number:+l,unit:"bp"};{const a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l);if(!a)throw new i("Invalid size: '"+l+"' in \\includegraphics");const c={number:+(a[1]+a[2]),unit:a[3]};if(!En(c))throw new i("Invalid unit: '"+c.unit+"' in \\includegraphics.");return c}};Ae({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(l,a,c)=>{let{parser:h}=l,p={number:0,unit:"em"},b={number:.9,unit:"em"},_={number:0,unit:"em"},E="";if(c[0]){const G=Ve(c[0],"raw").string.split(",");for(let Y=0;Y{const c=lt(l.height,a);let h=0;l.totalheight.number>0&&(h=lt(l.totalheight,a)-c);let p=0;l.width.number>0&&(p=lt(l.width,a));const b={height:C(c+h)};p>0&&(b.width=C(p)),h>0&&(b.verticalAlign=C(-h));const _=new tt(l.src,l.alt,b);return _.height=c,_.depth=h,_},mathmlBuilder:(l,a)=>{const c=new ge("mglyph",[]);c.setAttribute("alt",l.alt);const h=lt(l.height,a);let p=0;if(l.totalheight.number>0&&(p=lt(l.totalheight,a)-h,c.setAttribute("valign",C(-p))),c.setAttribute("height",C(h+p)),l.width.number>0){const b=lt(l.width,a);c.setAttribute("width",C(b))}return c.setAttribute("src",l.src),c}}),Ae({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:h}=l;const p=Ve(a[0],"size");if(c.settings.strict){const b=h[1]==="m",_=p.value.unit==="mu";b?(_||c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+p.value.unit+" units")),c.mode!=="math"&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):_&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:c.mode,dimension:p.value}},htmlBuilder(l,a){return vu(l.dimension,a)},mathmlBuilder(l,a){const c=lt(l.dimension,a);return new Eu(c)}}),Ae({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:h}=l;const p=a[0];return{type:"lap",mode:c.mode,alignment:h.slice(5),body:p}},htmlBuilder:(l,a)=>{let c;l.alignment==="clap"?(c=de([],[rt(l.body,a)]),c=de(["inner"],[c],a)):c=de(["inner"],[rt(l.body,a)]);const h=de(["fix"],[]);let p=de([l.alignment],[c,h],a);const b=de(["strut"]);return b.style.height=C(p.height+p.depth),p.depth&&(b.style.verticalAlign=C(-p.depth)),p.children.unshift(b),p=de(["thinbox"],[p],a),de(["mord","vbox"],[p],a)},mathmlBuilder:(l,a)=>{const c=new ge("mpadded",[dt(l.body,a)]);if(l.alignment!=="rlap"){const h=l.alignment==="llap"?"-1":"-0.5";c.setAttribute("lspace",h+"width")}return c.setAttribute("width","0px"),c}}),Ae({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){let{funcName:c,parser:h}=l;const p=h.mode;h.switchMode("math");const b=c==="\\("?"\\)":"$",_=h.parseExpression(!1,b);return h.expect(b),h.switchMode(p),{type:"styling",mode:h.mode,style:"text",body:_}}}),Ae({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){throw new i("Mismatched "+l.funcName)}});const ff=(l,a)=>{switch(a.style.size){case F.DISPLAY.size:return l.display;case F.TEXT.size:return l.text;case F.SCRIPT.size:return l.script;case F.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};Ae({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"mathchoice",mode:c.mode,display:Pt(a[0]),text:Pt(a[1]),script:Pt(a[2]),scriptscript:Pt(a[3])}},htmlBuilder:(l,a)=>{const c=ff(l,a),h=zt(c,a,!1);return lr(h)},mathmlBuilder:(l,a)=>{const c=ff(l,a);return Sr(c,a)}});const hf=(l,a,c,h,p,b,_)=>{l=de([],[l]);const E=c&&x(c);let I,D;if(a){const J=rt(a,h.havingStyle(p.sup()),h);D={elem:J,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-J.depth)}}if(c){const J=rt(c,h.havingStyle(p.sub()),h);I={elem:J,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-J.height)}}let G;if(D&&I){const J=h.fontMetrics().bigOpSpacing5+I.elem.height+I.elem.depth+I.kern+l.depth+_;G=nt({positionType:"bottom",positionData:J,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:I.elem,marginLeft:C(-b)},{type:"kern",size:I.kern},{type:"elem",elem:l},{type:"kern",size:D.kern},{type:"elem",elem:D.elem,marginLeft:C(b)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]})}else if(I){const J=l.height-_;G=nt({positionType:"top",positionData:J,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:I.elem,marginLeft:C(-b)},{type:"kern",size:I.kern},{type:"elem",elem:l}]})}else if(D){const J=l.depth+_;G=nt({positionType:"bottom",positionData:J,children:[{type:"elem",elem:l},{type:"kern",size:D.kern},{type:"elem",elem:D.elem,marginLeft:C(b)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]})}else return l;const Y=[G];if(I&&b!==0&&!E){const J=de(["mspace"],[],h);J.style.marginRight=C(b),Y.unshift(J)}return de(["mop","op-limits"],Y,h)},df=new Set(["\\smallint"]),ys=(l,a)=>{let c,h,p=!1,b;l.type==="supsub"?(c=l.sup,h=l.sub,b=Ve(l.base,"op"),p=!0):b=Ve(l,"op");const _=a.style;let E=!1;_.size===F.DISPLAY.size&&b.symbol&&!df.has(b.name)&&(E=!0);let I;if(b.symbol){const Y=E?"Size2-Regular":"Size1-Regular";let J="";if((b.name==="\\oiint"||b.name==="\\oiiint")&&(J=b.name.slice(1),b.name=J==="oiint"?"\\iint":"\\iiint"),I=an(b.name,Y,"math",a,["mop","op-symbol",E?"large-op":"small-op"]),J.length>0){const ae=I.italic,ve=xu(J+"Size"+(E?"2":"1"),a);I=nt({positionType:"individualShift",children:[{type:"elem",elem:I,shift:0},{type:"elem",elem:ve,shift:E?.08:0}]}),b.name="\\"+J,I.classes.unshift("mop"),I.italic=ae}}else if(b.body){const Y=zt(b.body,a,!0);Y.length===1&&Y[0]instanceof kt?(I=Y[0],I.classes[0]="mop"):I=de(["mop"],Y,a)}else{const Y=[];for(let J=1;J{let c;if(l.symbol)c=new ge("mo",[Cn(l.name,l.mode)]),df.has(l.name)&&c.setAttribute("largeop","false");else if(l.body)c=new ge("mo",_n(l.body,a));else{c=new ge("mi",[new $t(l.name.slice(1))]);const h=new ge("mo",[Cn("⁡","text")]);l.parentIsSupSub?c=new ge("mrow",[c,h]):c=Tu([c,h])}return c},og={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ae({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(l,a)=>{let{parser:c,funcName:h}=l,p=h;return p.length===1&&(p=og[p]),{type:"op",mode:c.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:p}},htmlBuilder:ys,mathmlBuilder:ri}),Ae({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{let{parser:c}=l;const h=a[0];return{type:"op",mode:c.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Pt(h)}},htmlBuilder:ys,mathmlBuilder:ri});const lg={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ae({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:ys,mathmlBuilder:ri}),Ae({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:ys,mathmlBuilder:ri}),Ae({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(l){let{parser:a,funcName:c}=l,h=c;return h.length===1&&(h=lg[h]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:ys,mathmlBuilder:ri});const mf=(l,a)=>{let c,h,p=!1,b;l.type==="supsub"?(c=l.sup,h=l.sub,b=Ve(l.base,"operatorname"),p=!0):b=Ve(l,"operatorname");let _;if(b.body.length>0){const E=b.body.map(D=>{const G="text"in D?D.text:void 0;return typeof G=="string"?{type:"textord",mode:D.mode,text:G}:D}),I=zt(E,a.withFont("mathrm"),!0);for(let D=0;D{let{parser:c,funcName:h}=l;const p=a[0];return{type:"operatorname",mode:c.mode,body:Pt(p),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:mf,mathmlBuilder:(l,a)=>{let c=_n(l.body,a.withFont("mathrm")),h=!0;for(let _=0;_E.toText()).join("");c=[new $t(_)]}const p=new ge("mi",c);p.setAttribute("mathvariant","normal");const b=new ge("mo",[Cn("⁡","text")]);return l.parentIsSupSub?new ge("mrow",[p,b]):Tu([p,b])}}),A("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Vr({type:"ordgroup",htmlBuilder(l,a){return l.semisimple?lr(zt(l.body,a,!1)):de(["mord"],zt(l.body,a,!0),a)},mathmlBuilder(l,a){return Sr(l.body,a,!0)}}),Ae({type:"overline",names:["\\overline"],props:{numArgs:1},handler(l,a){let{parser:c}=l;const h=a[0];return{type:"overline",mode:c.mode,body:h}},htmlBuilder(l,a){const c=rt(l.body,a.havingCrampedStyle()),h=ps("overline-line",a),p=a.fontMetrics().defaultRuleThickness,b=nt({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:3*p},{type:"elem",elem:h},{type:"kern",size:p}]});return de(["mord","overline"],[b],a)},mathmlBuilder(l,a){const c=new ge("mo",[new $t("‾")]);c.setAttribute("stretchy","true");const h=new ge("mover",[dt(l.body,a),c]);return h.setAttribute("accent","true"),h}}),Ae({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const h=a[0];return{type:"phantom",mode:c.mode,body:Pt(h)}},htmlBuilder:(l,a)=>{const c=zt(l.body,a.withPhantom(),!1);return lr(c)},mathmlBuilder:(l,a)=>{const c=_n(l.body,a);return new ge("mphantom",c)}}),A("\\hphantom","\\smash{\\phantom{#1}}"),Ae({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const h=a[0];return{type:"vphantom",mode:c.mode,body:h}},htmlBuilder:(l,a)=>{const c=de(["inner"],[rt(l.body,a.withPhantom())]),h=de(["fix"],[]);return de(["mord","rlap"],[c,h],a)},mathmlBuilder:(l,a)=>{const c=_n(Pt(l.body),a),h=new ge("mphantom",c),p=new ge("mpadded",[h]);return p.setAttribute("width","0px"),p}}),Ae({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;const h=Ve(a[0],"size").value,p=a[1];return{type:"raisebox",mode:c.mode,dy:h,body:p}},htmlBuilder(l,a){const c=rt(l.body,a),h=lt(l.dy,a);return nt({positionType:"shift",positionData:-h,children:[{type:"elem",elem:c}]})},mathmlBuilder(l,a){const c=new ge("mpadded",[dt(l.body,a)]),h=l.dy.number+l.dy.unit;return c.setAttribute("voffset",h),c}}),Ae({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(l){let{parser:a}=l;return{type:"internal",mode:a.mode}}}),Ae({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(l,a,c){let{parser:h}=l;const p=c[0],b=Ve(a[0],"size"),_=Ve(a[1],"size");return{type:"rule",mode:h.mode,shift:p&&Ve(p,"size").value,width:b.value,height:_.value}},htmlBuilder(l,a){const c=de(["mord","rule"],[],a),h=lt(l.width,a),p=lt(l.height,a),b=l.shift?lt(l.shift,a):0;return c.style.borderRightWidth=C(h),c.style.borderTopWidth=C(p),c.style.bottom=C(b),c.width=h,c.height=p+b,c.depth=-b,c.maxFontSize=p*1.125*a.sizeMultiplier,c},mathmlBuilder(l,a){const c=lt(l.width,a),h=lt(l.height,a),p=l.shift?lt(l.shift,a):0,b=a.color&&a.getColor()||"black",_=new ge("mspace");_.setAttribute("mathbackground",b),_.setAttribute("width",C(c)),_.setAttribute("height",C(h));const E=new ge("mpadded",[_]);return p>=0?E.setAttribute("height",C(p)):(E.setAttribute("height",C(p)),E.setAttribute("depth",C(-p))),E.setAttribute("voffset",C(p)),E}});function pf(l,a,c){const h=zt(l,a,!1),p=a.sizeMultiplier/c.sizeMultiplier;for(let b=0;b{let{breakOnTokenText:c,funcName:h,parser:p}=l;const b=p.parseExpression(!1,c);return{type:"sizing",mode:p.mode,size:gf.indexOf(h)+1,body:b}},htmlBuilder:(l,a)=>{const c=a.havingSize(l.size);return pf(l.body,c,a)},mathmlBuilder:(l,a)=>{const c=a.havingSize(l.size),h=_n(l.body,c),p=new ge("mstyle",h);return p.setAttribute("mathsize",C(c.sizeMultiplier)),p}}),Ae({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(l,a,c)=>{let{parser:h}=l,p=!1,b=!1;const _=c[0]&&Ve(c[0],"ordgroup");if(_){let I="";for(let D=0;D<_.body.length;++D){const G=_.body[D];if(I=ha(G).text,I==="t")p=!0;else if(I==="b")b=!0;else{p=!1,b=!1;break}}}else p=!0,b=!0;const E=a[0];return{type:"smash",mode:h.mode,body:E,smashHeight:p,smashDepth:b}},htmlBuilder:(l,a)=>{const c=de([],[rt(l.body,a)]);if(!l.smashHeight&&!l.smashDepth)return c;if(l.smashHeight&&(c.height=0),l.smashDepth&&(c.depth=0),l.smashHeight&&l.smashDepth)return de(["mord","smash"],[c],a);if(c.children)for(let p=0;p{const c=new ge("mpadded",[dt(l.body,a)]);return l.smashHeight&&c.setAttribute("height","0px"),l.smashDepth&&c.setAttribute("depth","0px"),c}}),Ae({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:h}=l;const p=c[0],b=a[0];return{type:"sqrt",mode:h.mode,body:b,index:p}},htmlBuilder(l,a){let c=rt(l.body,a.havingCrampedStyle());c.height===0&&(c.height=a.fontMetrics().xHeight),c=gs(c,a);const p=a.fontMetrics().defaultRuleThickness;let b=p;a.style.idc.height+c.depth+_&&(_=(_+Y-c.height-c.depth)/2);const J=I.height-c.height-_-D;c.style.paddingLeft=C(G);const ae=nt({positionType:"firstBaseline",children:[{type:"elem",elem:c,wrapperClasses:["svg-align"]},{type:"kern",size:-(c.height+J)},{type:"elem",elem:I},{type:"kern",size:D}]});if(l.index){const ve=a.havingStyle(F.SCRIPTSCRIPT),Ne=rt(l.index,ve,a),Ye=.6*(ae.height-ae.depth),Be=nt({positionType:"shift",positionData:-Ye,children:[{type:"elem",elem:Ne}]}),Je=de(["root"],[Be]);return de(["mord","sqrt"],[Je,ae],a)}else return de(["mord","sqrt"],[ae],a)},mathmlBuilder(l,a){const{body:c,index:h}=l;return h?new ge("mroot",[dt(c,a),dt(h,a)]):new ge("msqrt",[dt(c,a)])}});const yf={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};Ae({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l,a){let{breakOnTokenText:c,funcName:h,parser:p}=l;const b=p.parseExpression(!0,c),_=h.slice(1,h.length-5);return{type:"styling",mode:p.mode,style:_,body:b}},htmlBuilder(l,a){const c=yf[l.style],h=a.havingStyle(c).withFont("");return pf(l.body,h,a)},mathmlBuilder(l,a){const c=yf[l.style],h=a.havingStyle(c),p=_n(l.body,h),b=new ge("mstyle",p),E={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[l.style];return b.setAttribute("scriptlevel",E[0]),b.setAttribute("displaystyle",E[1]),b}});const cg=function(l,a){const c=l.base;return c?c.type==="op"?c.limits&&(a.style.size===F.DISPLAY.size||c.alwaysHandleSupSub)?ys:null:c.type==="operatorname"?c.alwaysHandleSupSub&&(a.style.size===F.DISPLAY.size||c.limits)?mf:null:c.type==="accent"?x(c.base)?wl:null:c.type==="horizBrace"&&!l.sub===c.isOver?uf:null:null};Vr({type:"supsub",htmlBuilder(l,a){const c=cg(l,a);if(c)return c(l,a);const{base:h,sup:p,sub:b}=l,_=rt(h,a);let E,I;const D=a.fontMetrics();let G=0,Y=0;const J=h&&x(h);if(p){const ot=a.havingStyle(a.style.sup());E=rt(p,ot,a),J||(G=_.height-ot.fontMetrics().supDrop*ot.sizeMultiplier/a.sizeMultiplier)}if(b){const ot=a.havingStyle(a.style.sub());I=rt(b,ot,a),J||(Y=_.depth+ot.fontMetrics().subDrop*ot.sizeMultiplier/a.sizeMultiplier)}let ae;a.style===F.DISPLAY?ae=D.sup1:a.style.cramped?ae=D.sup3:ae=D.sup2;const ve=a.sizeMultiplier,Ne=C(.5/D.ptPerEm/ve);let Ye=null;if(I){const ot=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(_ instanceof kt||ot)&&(Ye=C(-_.italic))}let Be;if(E&&I){G=Math.max(G,ae,E.depth+.25*D.xHeight),Y=Math.max(Y,D.sub2);const Ft=4*D.defaultRuleThickness;if(G-E.depth-(I.height-Y)0&&(G+=Ut,Y-=Ut)}const qt=[{type:"elem",elem:I,shift:Y,marginRight:Ne,marginLeft:Ye},{type:"elem",elem:E,shift:-G,marginRight:Ne}];Be=nt({positionType:"individualShift",children:qt})}else if(I)Y=Math.max(Y,D.sub1,I.height-.8*D.xHeight),Be=nt({positionType:"shift",positionData:Y,children:[{type:"elem",elem:I,marginLeft:Ye,marginRight:Ne}]});else if(E)G=Math.max(G,ae,E.depth+.25*D.xHeight),Be=nt({positionType:"shift",positionData:-G,children:[{type:"elem",elem:E,marginRight:Ne}]});else throw new Error("supsub must have either sup or sub.");const Je=ml(_,"right")||"mord";return de([Je],[_,de(["msupsub"],[Be])],a)},mathmlBuilder(l,a){let c=!1,h,p;l.base&&l.base.type==="horizBrace"&&(p=!!l.sup,p===l.base.isOver&&(c=!0,h=l.base.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);const b=[dt(l.base,a)];l.sub&&b.push(dt(l.sub,a)),l.sup&&b.push(dt(l.sup,a));let _;if(c)_=h?"mover":"munder";else if(l.sub)if(l.sup){const E=l.base;E&&E.type==="op"&&E.limits&&a.style===F.DISPLAY||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(a.style===F.DISPLAY||E.limits)?_="munderover":_="msubsup"}else{const E=l.base;E&&E.type==="op"&&E.limits&&(a.style===F.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||a.style===F.DISPLAY)?_="munder":_="msub"}else{const E=l.base;E&&E.type==="op"&&E.limits&&(a.style===F.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||a.style===F.DISPLAY)?_="mover":_="msup"}return new ge(_,b)}}),Vr({type:"atom",htmlBuilder(l,a){return cl(l.text,l.mode,a,["m"+l.family])},mathmlBuilder(l,a){const c=new ge("mo",[Cn(l.text,l.mode)]);if(l.family==="bin"){const h=yl(l,a);h==="bold-italic"&&c.setAttribute("mathvariant",h)}else l.family==="punct"?c.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&c.setAttribute("stretchy","false");return c}});const bf={mi:"italic",mn:"normal",mtext:"normal"};Vr({type:"mathord",htmlBuilder(l,a){return sa(l,a,"mathord")},mathmlBuilder(l,a){const c=new ge("mi",[Cn(l.text,l.mode,a)]),h=yl(l,a)||"italic";return h!==bf[c.type]&&c.setAttribute("mathvariant",h),c}}),Vr({type:"textord",htmlBuilder(l,a){return sa(l,a,"textord")},mathmlBuilder(l,a){const c=Cn(l.text,l.mode,a),h=yl(l,a)||"normal";let p;return l.mode==="text"?p=new ge("mtext",[c]):/[0-9]/.test(l.text)?p=new ge("mn",[c]):l.text==="\\prime"?p=new ge("mo",[c]):p=new ge("mi",[c]),h!==bf[p.type]&&p.setAttribute("mathvariant",h),p}});const Dl={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Pl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vr({type:"spacing",htmlBuilder(l,a){if(Pl.hasOwnProperty(l.text)){const c=Pl[l.text].className||"";if(l.mode==="text"){const h=sa(l,a,"textord");return h.classes.push(c),h}else return de(["mspace",c],[cl(l.text,l.mode,a)],a)}else{if(Dl.hasOwnProperty(l.text))return de(["mspace",Dl[l.text]],[],a);throw new i('Unknown type of space "'+l.text+'"')}},mathmlBuilder(l,a){let c;if(Pl.hasOwnProperty(l.text))c=new ge("mtext",[new $t(" ")]);else{if(Dl.hasOwnProperty(l.text))return new ge("mspace");throw new i('Unknown type of space "'+l.text+'"')}return c}});const wf=()=>{const l=new ge("mtd",[]);return l.setAttribute("width","50%"),l};Vr({type:"tag",mathmlBuilder(l,a){const c=new ge("mtable",[new ge("mtr",[wf(),new ge("mtd",[Sr(l.body,a)]),wf(),new ge("mtd",[Sr(l.tag,a)])])]);return c.setAttribute("width","100%"),c}});const vf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},_f={"\\textbf":"textbf","\\textmd":"textmd"},ug={"\\textit":"textit","\\textup":"textup"},xf=(l,a)=>{const c=l.font;if(c){if(vf[c])return a.withTextFontFamily(vf[c]);if(_f[c])return a.withTextFontWeight(_f[c]);if(c==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(ug[c])};Ae({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:h}=l;const p=a[0];return{type:"text",mode:c.mode,body:Pt(p),font:h}},htmlBuilder(l,a){const c=xf(l,a),h=zt(l.body,c,!0);return de(["mord","text"],h,c)},mathmlBuilder(l,a){const c=xf(l,a);return Sr(l.body,c)}}),Ae({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"underline",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=rt(l.body,a),h=ps("underline-line",a),p=a.fontMetrics().defaultRuleThickness,b=nt({positionType:"top",positionData:c.height,children:[{type:"kern",size:p},{type:"elem",elem:h},{type:"kern",size:3*p},{type:"elem",elem:c}]});return de(["mord","underline"],[b],a)},mathmlBuilder(l,a){const c=new ge("mo",[new $t("‾")]);c.setAttribute("stretchy","true");const h=new ge("munder",[dt(l.body,a),c]);return h.setAttribute("accentunder","true"),h}}),Ae({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"vcenter",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=rt(l.body,a),h=a.fontMetrics().axisHeight,p=.5*(c.height-h-(c.depth+h));return nt({positionType:"shift",positionData:p,children:[{type:"elem",elem:c}]})},mathmlBuilder(l,a){return new ge("mpadded",[dt(l.body,a)],["vcenter"])}}),Ae({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(l,a,c){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(l,a){const c=kf(l),h=[],p=a.havingStyle(a.style.text());for(let b=0;bl.body.replace(/ /g,l.star?"␣":" ");var Er=ku;const Sf=`[ \r + ]`,fg="\\\\[a-zA-Z@]+",hg="\\\\[^\uD800-\uDFFF]",dg="("+fg+")"+Sf+"*",mg=`\\\\( +|[ \r ]+ +?)[ \r ]*`,$l="[̀-ͯ]",pg=new RegExp($l+"+$"),gg="("+Sf+"+)|"+(mg+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+($l+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+($l+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+dg)+("|"+hg+")");class Tf{constructor(a,c){this.input=a,this.settings=c,this.tokenRegex=new RegExp(gg,"g"),this.catcodes={"%":14,"~":13}}setCatcode(a,c){this.catcodes[a]=c}lex(){const a=this.input,c=this.tokenRegex.lastIndex;if(c===a.length)return new xn("EOF",new dn(this,c,c));const h=this.tokenRegex.exec(a);if(h===null||h.index!==c)throw new i("Unexpected character: '"+a[c]+"'",new xn(a[c],new dn(this,c,c+1)));const p=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[p]===14){const b=a.indexOf(` +`,this.tokenRegex.lastIndex);return b===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=b+1,this.lex()}return new xn(p,new dn(this,c,this.tokenRegex.lastIndex))}}class yg{constructor(a,c){a===void 0&&(a={}),c===void 0&&(c={}),this.current=c,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const a=this.undefStack.pop();for(const c in a)a.hasOwnProperty(c)&&(a[c]==null?delete this.current[c]:this.current[c]=a[c])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,c,h){if(h===void 0&&(h=!1),h){for(let p=0;p0&&(this.undefStack[this.undefStack.length-1][a]=c)}else{const p=this.undefStack[this.undefStack.length-1];p&&!p.hasOwnProperty(a)&&(p[a]=this.current[a])}c==null?delete this.current[a]:this.current[a]=c}}var bg=Zu;A("\\noexpand",function(l){const a=l.popToken();return l.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}}),A("\\expandafter",function(l){const a=l.popToken();return l.expandOnce(!0),{tokens:[a],numArgs:0}}),A("\\@firstoftwo",function(l){return{tokens:l.consumeArgs(2)[0],numArgs:0}}),A("\\@secondoftwo",function(l){return{tokens:l.consumeArgs(2)[1],numArgs:0}}),A("\\@ifnextchar",function(l){const a=l.consumeArgs(3);l.consumeSpaces();const c=l.future();return a[0].length===1&&a[0][0].text===c.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}}),A("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),A("\\TextOrMath",function(l){const a=l.consumeArgs(2);return l.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});const Ef={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};A("\\char",function(l){let a=l.popToken(),c,h=0;if(a.text==="'")c=8,a=l.popToken();else if(a.text==='"')c=16,a=l.popToken();else if(a.text==="`")if(a=l.popToken(),a.text[0]==="\\")h=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new i("\\char` missing argument");h=a.text.charCodeAt(0)}else c=10;if(c){if(h=Ef[a.text],h==null||h>=c)throw new i("Invalid base-"+c+" digit "+a.text);let p;for(;(p=Ef[l.future().text])!=null&&p{let p=l.consumeArg().tokens;if(p.length!==1)throw new i("\\newcommand's first argument must be a macro name");const b=p[0].text,_=l.isDefined(b);if(_&&!a)throw new i("\\newcommand{"+b+"} attempting to redefine "+(b+"; use \\renewcommand"));if(!_&&!c)throw new i("\\renewcommand{"+b+"} when command "+b+" does not yet exist; use \\newcommand");let E=0;if(p=l.consumeArg().tokens,p.length===1&&p[0].text==="["){let I="",D=l.expandNextToken();for(;D.text!=="]"&&D.text!=="EOF";)I+=D.text,D=l.expandNextToken();if(!I.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+I);E=parseInt(I),p=l.consumeArg().tokens}return _&&h||l.macros.set(b,{tokens:p,numArgs:E}),""};A("\\newcommand",l=>Fl(l,!1,!0,!1)),A("\\renewcommand",l=>Fl(l,!0,!1,!1)),A("\\providecommand",l=>Fl(l,!0,!0,!0)),A("\\message",l=>{const a=l.consumeArgs(1)[0];return console.log(a.reverse().map(c=>c.text).join("")),""}),A("\\errmessage",l=>{const a=l.consumeArgs(1)[0];return console.error(a.reverse().map(c=>c.text).join("")),""}),A("\\show",l=>{const a=l.popToken(),c=a.text;return console.log(a,l.macros.get(c),Er[c],St.math[c],St.text[c]),""}),A("\\bgroup","{"),A("\\egroup","}"),A("~","\\nobreakspace"),A("\\lq","`"),A("\\rq","'"),A("\\aa","\\r a"),A("\\AA","\\r A"),A("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),A("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),A("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),A("ℬ","\\mathscr{B}"),A("ℰ","\\mathscr{E}"),A("ℱ","\\mathscr{F}"),A("ℋ","\\mathscr{H}"),A("ℐ","\\mathscr{I}"),A("ℒ","\\mathscr{L}"),A("ℳ","\\mathscr{M}"),A("ℛ","\\mathscr{R}"),A("ℭ","\\mathfrak{C}"),A("ℌ","\\mathfrak{H}"),A("ℨ","\\mathfrak{Z}"),A("\\Bbbk","\\Bbb{k}"),A("·","\\cdotp"),A("\\llap","\\mathllap{\\textrm{#1}}"),A("\\rlap","\\mathrlap{\\textrm{#1}}"),A("\\clap","\\mathclap{\\textrm{#1}}"),A("\\mathstrut","\\vphantom{(}"),A("\\underbar","\\underline{\\text{#1}}"),A("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),A("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),A("\\ne","\\neq"),A("≠","\\neq"),A("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),A("∉","\\notin"),A("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),A("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),A("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),A("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),A("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),A("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),A("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),A("⟂","\\perp"),A("‼","\\mathclose{!\\mkern-0.8mu!}"),A("∌","\\notni"),A("⌜","\\ulcorner"),A("⌝","\\urcorner"),A("⌞","\\llcorner"),A("⌟","\\lrcorner"),A("©","\\copyright"),A("®","\\textregistered"),A("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),A("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),A("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),A("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),A("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),A("⋮","\\vdots"),A("\\varGamma","\\mathit{\\Gamma}"),A("\\varDelta","\\mathit{\\Delta}"),A("\\varTheta","\\mathit{\\Theta}"),A("\\varLambda","\\mathit{\\Lambda}"),A("\\varXi","\\mathit{\\Xi}"),A("\\varPi","\\mathit{\\Pi}"),A("\\varSigma","\\mathit{\\Sigma}"),A("\\varUpsilon","\\mathit{\\Upsilon}"),A("\\varPhi","\\mathit{\\Phi}"),A("\\varPsi","\\mathit{\\Psi}"),A("\\varOmega","\\mathit{\\Omega}"),A("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),A("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),A("\\boxed","\\fbox{$\\displaystyle{#1}$}"),A("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),A("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),A("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),A("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),A("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Af={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},wg=new Set(["bin","rel"]);A("\\dots",function(l){let a="\\dotso";const c=l.expandAfterFuture().text;return c in Af?a=Af[c]:(c.slice(0,4)==="\\not"||c in St.math&&wg.has(St.math[c].group))&&(a="\\dotsb"),a});const Bl={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};A("\\dotso",function(l){return l.future().text in Bl?"\\ldots\\,":"\\ldots"}),A("\\dotsc",function(l){const a=l.future().text;return a in Bl&&a!==","?"\\ldots\\,":"\\ldots"}),A("\\cdots",function(l){return l.future().text in Bl?"\\@cdots\\,":"\\@cdots"}),A("\\dotsb","\\cdots"),A("\\dotsm","\\cdots"),A("\\dotsi","\\!\\cdots"),A("\\dotsx","\\ldots\\,"),A("\\DOTSI","\\relax"),A("\\DOTSB","\\relax"),A("\\DOTSX","\\relax"),A("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),A("\\,","\\tmspace+{3mu}{.1667em}"),A("\\thinspace","\\,"),A("\\>","\\mskip{4mu}"),A("\\:","\\tmspace+{4mu}{.2222em}"),A("\\medspace","\\:"),A("\\;","\\tmspace+{5mu}{.2777em}"),A("\\thickspace","\\;"),A("\\!","\\tmspace-{3mu}{.1667em}"),A("\\negthinspace","\\!"),A("\\negmedspace","\\tmspace-{4mu}{.2222em}"),A("\\negthickspace","\\tmspace-{5mu}{.277em}"),A("\\enspace","\\kern.5em "),A("\\enskip","\\hskip.5em\\relax"),A("\\quad","\\hskip1em\\relax"),A("\\qquad","\\hskip2em\\relax"),A("\\tag","\\@ifstar\\tag@literal\\tag@paren"),A("\\tag@paren","\\tag@literal{({#1})}"),A("\\tag@literal",l=>{if(l.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),A("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),A("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),A("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),A("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),A("\\newline","\\\\\\relax"),A("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Nf=C(An["Main-Regular"][84][1]-.7*An["Main-Regular"][65][1]);A("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Nf+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),A("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Nf+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),A("\\hspace","\\@ifstar\\@hspacer\\@hspace"),A("\\@hspace","\\hskip #1\\relax"),A("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),A("\\ordinarycolon",":"),A("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),A("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),A("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),A("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),A("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),A("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),A("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),A("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),A("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),A("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),A("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),A("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),A("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),A("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),A("∷","\\dblcolon"),A("∹","\\eqcolon"),A("≔","\\coloneqq"),A("≕","\\eqqcolon"),A("⩴","\\Coloneqq"),A("\\ratio","\\vcentcolon"),A("\\coloncolon","\\dblcolon"),A("\\colonequals","\\coloneqq"),A("\\coloncolonequals","\\Coloneqq"),A("\\equalscolon","\\eqqcolon"),A("\\equalscoloncolon","\\Eqqcolon"),A("\\colonminus","\\coloneq"),A("\\coloncolonminus","\\Coloneq"),A("\\minuscolon","\\eqcolon"),A("\\minuscoloncolon","\\Eqcolon"),A("\\coloncolonapprox","\\Colonapprox"),A("\\coloncolonsim","\\Colonsim"),A("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),A("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),A("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),A("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),A("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),A("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),A("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),A("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),A("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),A("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),A("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),A("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),A("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),A("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),A("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),A("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),A("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),A("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),A("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),A("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),A("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),A("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),A("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),A("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),A("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),A("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),A("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),A("\\imath","\\html@mathml{\\@imath}{ı}"),A("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),A("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),A("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),A("⟦","\\llbracket"),A("⟧","\\rrbracket"),A("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),A("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),A("⦃","\\lBrace"),A("⦄","\\rBrace"),A("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),A("⦵","\\minuso"),A("\\darr","\\downarrow"),A("\\dArr","\\Downarrow"),A("\\Darr","\\Downarrow"),A("\\lang","\\langle"),A("\\rang","\\rangle"),A("\\uarr","\\uparrow"),A("\\uArr","\\Uparrow"),A("\\Uarr","\\Uparrow"),A("\\N","\\mathbb{N}"),A("\\R","\\mathbb{R}"),A("\\Z","\\mathbb{Z}"),A("\\alef","\\aleph"),A("\\alefsym","\\aleph"),A("\\Alpha","\\mathrm{A}"),A("\\Beta","\\mathrm{B}"),A("\\bull","\\bullet"),A("\\Chi","\\mathrm{X}"),A("\\clubs","\\clubsuit"),A("\\cnums","\\mathbb{C}"),A("\\Complex","\\mathbb{C}"),A("\\Dagger","\\ddagger"),A("\\diamonds","\\diamondsuit"),A("\\empty","\\emptyset"),A("\\Epsilon","\\mathrm{E}"),A("\\Eta","\\mathrm{H}"),A("\\exist","\\exists"),A("\\harr","\\leftrightarrow"),A("\\hArr","\\Leftrightarrow"),A("\\Harr","\\Leftrightarrow"),A("\\hearts","\\heartsuit"),A("\\image","\\Im"),A("\\infin","\\infty"),A("\\Iota","\\mathrm{I}"),A("\\isin","\\in"),A("\\Kappa","\\mathrm{K}"),A("\\larr","\\leftarrow"),A("\\lArr","\\Leftarrow"),A("\\Larr","\\Leftarrow"),A("\\lrarr","\\leftrightarrow"),A("\\lrArr","\\Leftrightarrow"),A("\\Lrarr","\\Leftrightarrow"),A("\\Mu","\\mathrm{M}"),A("\\natnums","\\mathbb{N}"),A("\\Nu","\\mathrm{N}"),A("\\Omicron","\\mathrm{O}"),A("\\plusmn","\\pm"),A("\\rarr","\\rightarrow"),A("\\rArr","\\Rightarrow"),A("\\Rarr","\\Rightarrow"),A("\\real","\\Re"),A("\\reals","\\mathbb{R}"),A("\\Reals","\\mathbb{R}"),A("\\Rho","\\mathrm{P}"),A("\\sdot","\\cdot"),A("\\sect","\\S"),A("\\spades","\\spadesuit"),A("\\sub","\\subset"),A("\\sube","\\subseteq"),A("\\supe","\\supseteq"),A("\\Tau","\\mathrm{T}"),A("\\thetasym","\\vartheta"),A("\\weierp","\\wp"),A("\\Zeta","\\mathrm{Z}"),A("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),A("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),A("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),A("\\bra","\\mathinner{\\langle{#1}|}"),A("\\ket","\\mathinner{|{#1}\\rangle}"),A("\\braket","\\mathinner{\\langle{#1}\\rangle}"),A("\\Bra","\\left\\langle#1\\right|"),A("\\Ket","\\left|#1\\right\\rangle");const Cf=l=>a=>{const c=a.consumeArg().tokens,h=a.consumeArg().tokens,p=a.consumeArg().tokens,b=a.consumeArg().tokens,_=a.macros.get("|"),E=a.macros.get("\\|");a.macros.beginGroup();const I=Y=>J=>{l&&(J.macros.set("|",_),p.length&&J.macros.set("\\|",E));let ae=Y;return!Y&&p.length&&J.future().text==="|"&&(J.popToken(),ae=!0),{tokens:ae?p:h,numArgs:0}};a.macros.set("|",I(!1)),p.length&&a.macros.set("\\|",I(!0));const D=a.consumeArg().tokens,G=a.expandTokens([...b,...D,...c]);return a.macros.endGroup(),{tokens:G.reverse(),numArgs:0}};A("\\bra@ket",Cf(!1)),A("\\bra@set",Cf(!0)),A("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),A("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),A("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),A("\\angln","{\\angl n}"),A("\\blue","\\textcolor{##6495ed}{#1}"),A("\\orange","\\textcolor{##ffa500}{#1}"),A("\\pink","\\textcolor{##ff00af}{#1}"),A("\\red","\\textcolor{##df0030}{#1}"),A("\\green","\\textcolor{##28ae7b}{#1}"),A("\\gray","\\textcolor{gray}{#1}"),A("\\purple","\\textcolor{##9d38bd}{#1}"),A("\\blueA","\\textcolor{##ccfaff}{#1}"),A("\\blueB","\\textcolor{##80f6ff}{#1}"),A("\\blueC","\\textcolor{##63d9ea}{#1}"),A("\\blueD","\\textcolor{##11accd}{#1}"),A("\\blueE","\\textcolor{##0c7f99}{#1}"),A("\\tealA","\\textcolor{##94fff5}{#1}"),A("\\tealB","\\textcolor{##26edd5}{#1}"),A("\\tealC","\\textcolor{##01d1c1}{#1}"),A("\\tealD","\\textcolor{##01a995}{#1}"),A("\\tealE","\\textcolor{##208170}{#1}"),A("\\greenA","\\textcolor{##b6ffb0}{#1}"),A("\\greenB","\\textcolor{##8af281}{#1}"),A("\\greenC","\\textcolor{##74cf70}{#1}"),A("\\greenD","\\textcolor{##1fab54}{#1}"),A("\\greenE","\\textcolor{##0d923f}{#1}"),A("\\goldA","\\textcolor{##ffd0a9}{#1}"),A("\\goldB","\\textcolor{##ffbb71}{#1}"),A("\\goldC","\\textcolor{##ff9c39}{#1}"),A("\\goldD","\\textcolor{##e07d10}{#1}"),A("\\goldE","\\textcolor{##a75a05}{#1}"),A("\\redA","\\textcolor{##fca9a9}{#1}"),A("\\redB","\\textcolor{##ff8482}{#1}"),A("\\redC","\\textcolor{##f9685d}{#1}"),A("\\redD","\\textcolor{##e84d39}{#1}"),A("\\redE","\\textcolor{##bc2612}{#1}"),A("\\maroonA","\\textcolor{##ffbde0}{#1}"),A("\\maroonB","\\textcolor{##ff92c6}{#1}"),A("\\maroonC","\\textcolor{##ed5fa6}{#1}"),A("\\maroonD","\\textcolor{##ca337c}{#1}"),A("\\maroonE","\\textcolor{##9e034e}{#1}"),A("\\purpleA","\\textcolor{##ddd7ff}{#1}"),A("\\purpleB","\\textcolor{##c6b9fc}{#1}"),A("\\purpleC","\\textcolor{##aa87ff}{#1}"),A("\\purpleD","\\textcolor{##7854ab}{#1}"),A("\\purpleE","\\textcolor{##543b78}{#1}"),A("\\mintA","\\textcolor{##f5f9e8}{#1}"),A("\\mintB","\\textcolor{##edf2df}{#1}"),A("\\mintC","\\textcolor{##e0e5cc}{#1}"),A("\\grayA","\\textcolor{##f6f7f7}{#1}"),A("\\grayB","\\textcolor{##f0f1f2}{#1}"),A("\\grayC","\\textcolor{##e3e5e6}{#1}"),A("\\grayD","\\textcolor{##d6d8da}{#1}"),A("\\grayE","\\textcolor{##babec2}{#1}"),A("\\grayF","\\textcolor{##888d93}{#1}"),A("\\grayG","\\textcolor{##626569}{#1}"),A("\\grayH","\\textcolor{##3b3e40}{#1}"),A("\\grayI","\\textcolor{##21242c}{#1}"),A("\\kaBlue","\\textcolor{##314453}{#1}"),A("\\kaGreen","\\textcolor{##71B307}{#1}");const Mf={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class vg{constructor(a,c,h){this.settings=c,this.expansionCount=0,this.feed(a),this.macros=new yg(bg,c.macros),this.mode=h,this.stack=[]}feed(a){this.lexer=new Tf(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){let c,h,p;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;c=this.popToken(),{tokens:p,end:h}=this.consumeArg(["]"])}else({tokens:p,start:c,end:h}=this.consumeArg());return this.pushToken(new xn("EOF",h.loc)),this.pushTokens(p),new xn("",dn.range(c,h))}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(a){const c=[],h=a&&a.length>0;h||this.consumeSpaces();const p=this.future();let b,_=0,E=0;do{if(b=this.popToken(),c.push(b),b.text==="{")++_;else if(b.text==="}"){if(--_,_===-1)throw new i("Extra }",b)}else if(b.text==="EOF")throw new i("Unexpected end of input in a macro argument, expected '"+(a&&h?a[E]:"}")+"'",b);if(a&&h)if((_===0||_===1&&a[E]==="{")&&b.text===a[E]){if(++E,E===a.length){c.splice(-E,E);break}}else E=0}while(_!==0||h);return p.text==="{"&&c[c.length-1].text==="}"&&(c.pop(),c.shift()),c.reverse(),{tokens:c,start:p,end:b}}consumeArgs(a,c){if(c){if(c.length!==a+1)throw new i("The length of delimiters doesn't match the number of args!");const p=c[0];for(let b=0;bthis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){const c=this.popToken(),h=c.text,p=c.noexpand?null:this._getExpansion(h);if(p==null||a&&p.unexpandable){if(a&&p==null&&h[0]==="\\"&&!this.isDefined(h))throw new i("Undefined control sequence: "+h);return this.pushToken(c),!1}this.countExpansion(1);let b=p.tokens;const _=this.consumeArgs(p.numArgs,p.delimiters);if(p.numArgs){b=b.slice();for(let E=b.length-1;E>=0;--E){let I=b[E];if(I.text==="#"){if(E===0)throw new i("Incomplete placeholder at end of macro body",I);if(I=b[--E],I.text==="#")b.splice(E+1,1);else if(/^[1-9]$/.test(I.text))b.splice(E,2,..._[+I.text-1]);else throw new i("Not a valid argument number",I)}}}return this.pushTokens(b),b.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}}expandMacro(a){return this.macros.has(a)?this.expandTokens([new xn(a)]):void 0}expandTokens(a){const c=[],h=this.stack.length;for(this.pushTokens(a);this.stack.length>h;)if(this.expandOnce(!0)===!1){const p=this.stack.pop();p.treatAsRelax&&(p.noexpand=!1,p.treatAsRelax=!1),c.push(p)}return this.countExpansion(c.length),c}expandMacroAsText(a){const c=this.expandMacro(a);return c&&c.map(h=>h.text).join("")}_getExpansion(a){const c=this.macros.get(a);if(c==null)return c;if(a.length===1){const p=this.lexer.catcodes[a];if(p!=null&&p!==13)return}const h=typeof c=="function"?c(this):c;if(typeof h=="string"){let p=0;if(h.includes("#")){const D=h.replace(/##/g,"");for(;D.includes("#"+(p+1));)++p}const b=new Tf(h,this.settings),_=[];let E=b.lex();for(;E.text!=="EOF";)_.push(E),E=b.lex();return _.reverse(),{tokens:_,numArgs:p}}return h}isDefined(a){return this.macros.has(a)||Er.hasOwnProperty(a)||St.math.hasOwnProperty(a)||St.text.hasOwnProperty(a)||Mf.hasOwnProperty(a)}isExpandable(a){const c=this.macros.get(a);return c!=null?typeof c=="string"||typeof c=="function"||!c.unexpandable:Er.hasOwnProperty(a)&&!Er[a].primitive}}const If=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,wa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),zl={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Of={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class va{constructor(a,c){this.mode="math",this.gullet=new vg(a,c,this.mode),this.settings=c,this.leftrightDepth=0,this.nextToken=null}expect(a,c){if(c===void 0&&(c=!0),this.fetch().text!==a)throw new i("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());c&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){const c=this.nextToken;this.consume(),this.gullet.pushToken(new xn("}")),this.gullet.pushTokens(a);const h=this.parseExpression(!1);return this.expect("}"),this.nextToken=c,h}parseExpression(a,c){const h=[];for(;;){this.mode==="math"&&this.consumeSpaces();const p=this.fetch();if(va.endOfExpression.has(p.text)||c&&p.text===c||a&&Er[p.text]&&Er[p.text].infix)break;const b=this.parseAtom(c);if(b){if(b.type==="internal")continue}else break;h.push(b)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(a){let c=-1,h;for(let p=0;p=128)this.settings.strict&&(z(c.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+c[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+c[0]+'"'+(" ("+c.charCodeAt(0)+")"),a)),p={type:"textord",mode:"text",loc:dn.range(a),text:c};else return null;if(this.consume(),h)for(let b=0;b$/.test(n.content))return!1;let r=gd(e,e.pos);if(!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;let s=e.pos+1,i=s,o;for(;(i=e.src.indexOf("$",i))!==-1;){for(o=i-1;e.src[o]==="\\";)o-=1;if((i-o)%2==1)break;i+=1}if(i===-1)return t||(e.pending+="$"),e.pos=s,!0;if(i-s===0)return t||(e.pending+="$$"),e.pos=s+1,!0;if(r=gd(e,i),!r.can_close)return t||(e.pending+="$"),e.pos=s,!0;if(!t){const u=e.push("math_inline","math",0);u.markup="$",u.content=e.src.slice(s,i)}return e.pos=i+1,!0}function Yw(e,t,n,r){let s=!1,i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(i+2>o||e.src.slice(i,i+2)!=="$$")return!1;i+=2;let u=e.src.slice(i,o);const f=[...u.matchAll(/\$\$/g)];if(f.length===1&&f[0].index===u.length-2)u=u.trim().slice(0,-2),s=!0;else if(f.length>1)return!1;if(r)return!0;let d,m,w;for(m=t;!s&&(m++,!(m>=n||(i=e.bMarks[m]+e.tShift[m],o=e.eMarks[m],i0){const x=e.bMarks[t-1]+e.tShift[t-1],S=e.eMarks[t-1],T=e.src.slice(x,S);if(!/^\s*$/.test(T))return!1}if(r)return!0;const f=[];let d=t,m,w=!1;e:for(;!w&&!(d>=n);d++){const x=e.bMarks[d]+e.tShift[d],S=e.eMarks[d];if(x"u")return!1;const u=r.slice(0,s+1).reduce((d,m)=>d+m.length,0)+s+1,f=e.push("math_inline_bare_block","math",0);return f.block=!0,f.markup="$$",f.content=n.slice(1,u),e.pos=e.pos+u,!0}function vd(e,t,n,r){const s=e.tokens;for(let i=s.length-1;i>=0;i--){const o=s[i],u=[];if(o.type!=="html_block")continue;const f=o.content;for(const d of f.matchAll(r)){if(!d.groups)continue;const m=d.groups.html_before_math,w=d.groups.math,v=d.groups.html_after_math;m&&u.push({...o,type:"html_block",map:null,content:m}),w&&u.push({...o,type:t,map:null,content:w,markup:n,block:!0,tag:"math"}),v&&u.push({...o,type:"html_block",map:null,content:v})}u.length>0&&s.splice(i,1,...u)}return!0}function Pa(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ev(e,t){const n=(t==null?void 0:t.katex)??Kw.default,r=t==null?void 0:t.enableBareBlocks,s=t==null?void 0:t.enableMathBlockInHtml,i=t==null?void 0:t.enableMathInlineInHtml,o=t==null?void 0:t.enableFencedBlocks;e.inline.ruler.after("escape","math_inline",Xw),e.inline.ruler.after("escape","math_inline_block",Qw),r&&e.inline.ruler.before("text","math_inline_bare_block",Zw),e.block.ruler.after("blockquote","math_block",(x,S,T,N)=>r&&Jw(x,S,T,N)?!0:Yw(x,S,T,N),{alt:["paragraph","reference","blockquote","list"]});const u=/(?[\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,f=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;s&&e.core.ruler.push("math_block_in_html_block",x=>vd(x,"math_block","$$",u)),i&&e.core.ruler.push("math_inline_in_html_block",x=>vd(x,"math_inline","$",f));const d=x=>{const S=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(x);try{return n.renderToString(x,{...t,displayMode:S})}catch(T){return t!=null&&t.throwOnError&&console.log(T),`${Pa(T+"")}`}},m=(x,S)=>{const T=x[S].content,L=T.length>2&&T[0]==="`"&&T[T.length-1]==="`"?T.slice(1,-1):T;return d(L)},w=x=>{try{return`

${n.renderToString(x,{...t,displayMode:!0})}

`}catch(S){return t!=null&&t.throwOnError&&console.log(S),`

${Pa(S+"")}

`}},v=(x,S)=>w(x[S].content)+` +`;if(e.renderer.rules.math_inline=m,e.renderer.rules.math_inline_block=v,e.renderer.rules.math_inline_bare_block=v,e.renderer.rules.math_block=v,o){const x="math",S=e.renderer.rules.fence;e.renderer.rules.fence=function(T,N,L,U,M){const $=T[N];return $.info.trim().toLowerCase()===x&&o?w($.content)+` +`:(S==null?void 0:S.call(this,T,N,L,U,M))||""}}}var tv=$p.default=ev;function nv(){const e=xi({html:!0,breaks:!0});return e.use(N9).use(C9).use(O9).use(D9),e}function rv(e){return{transformer:e,parser:new ui,beforeParse:new ui,afterParse:new ui,retransform:new ui}}const sv=` +`,iv=` +`,av="checkbox",_d={" ":iv.trim(),x:sv.trim()},ov={name:av,transform(e){return e.parser.tap(t=>{t.core.ruler.before("inline","checkbox",n=>{for(let r=2;r_d[f]?`${_d[f]} `:u))}}return!1})}),{}}},lv="frontmatter",cv={name:lv,transform(e){return e.beforeParse.tap((t,n)=>{var r;const{content:s}=n;if(!/^---\r?\n/.test(s))return;const i=/\n---\r?\n/.exec(s);if(!i)return;const o=s.slice(4,i.index).trimEnd();let u;try{u=jw(o.replace(/\r?\n|\r/g,` +`)),u!=null&&u.markmap&&(u.markmap=uv(u.markmap))}catch{return}n.frontmatter=u,n.parserOptions={...n.parserOptions,...(r=u==null?void 0:u.markmap)==null?void 0:r.htmlParser},n.frontmatterInfo={lines:s.slice(0,i.index).split(` +`).length+1,offset:i.index+i[0].length}}),{}}};function uv(e){if(e)return["color","extraJs","extraCss"].forEach(t=>{e[t]!=null&&(e[t]=fv(e[t]))}),["duration","maxWidth","initialExpandLevel"].forEach(t=>{e[t]!=null&&(e[t]=hv(e[t]))}),e}function fv(e){let t;return typeof e=="string"?t=[e]:Array.isArray(e)&&(t=e.filter(n=>n&&typeof n=="string")),t!=null&&t.length?t:void 0}function hv(e){if(!isNaN(+e))return+e}function iu(e,t){return t.type==="script"&&t.data.src?{...t,data:{...t.data,src:e.getFullUrl(t.data.src)}}:t}function dv(e,t){return t.type==="stylesheet"&&t.data.href?{...t,data:{...t.data,href:e.getFullUrl(t.data.href)}}:t}const xd="hljs",mv=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map(e=>Nc(e)),pv=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map(e=>lm(e)),gv={versions:{hljs:"11.11.1"},preloadScripts:mv,styles:pv},Z0={name:xd,config:gv,transform(e){var t,n,r;let s;const i=((n=(t=Z0.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(f=>iu(e.transformer.urlBuilder,f)))||[],o=()=>(s||(s=Ac(i)),s);let u=Ns;return e.parser.tap(f=>{f.set({highlight:(d,m)=>{u();const{hljs:w}=window;return w?w.highlightAuto(d,m?[m]:void 0).value:(o().then(()=>{e.retransform.call()}),d)}})}),e.beforeParse.tap((f,d)=>{u=()=>{d.features[xd]=!0}}),{styles:(r=Z0.config)==null?void 0:r.styles}}};function yv(e,t,n){return e.map(r=>{if(typeof r=="string"&&!r.includes("://")){r.startsWith("npm:")||(r=`npm:${r}`);const s=4+t.length;r.startsWith(`npm:${t}/`)&&(r=`${r.slice(0,s)}@${n}${r.slice(s)}`)}return r})}var bv=["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"];const h0="katex",wv=["katex@0.16.18/dist/katex.min.js"].map(e=>Nc(e)),Bp=Nc("webfontloader@1.6.28/webfontloader.js");Bp.data.defer=!0;const vv=["katex@0.16.18/dist/katex.min.css"].map(e=>lm(e)),_v={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:wv,scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},Bp],styles:vv,resources:bv};function xv(e){return e.default||e}const kv=xv(tv),mi={name:h0,config:_v,transform(e){var t,n,r,s;let i;const o=((n=(t=mi.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(m=>iu(e.transformer.urlBuilder,m)))||[],u=()=>(i||(i=Ac(o)),i),f=(m,w)=>{const{katex:v}=window;return v?v.renderToString(m,{displayMode:w,throwOnError:!1}):(u().then(()=>{e.retransform.call()}),m)};let d=Ns;return e.parser.tap(m=>{m.use(kv),["math_block","math_inline"].forEach(w=>{const v=(x,S)=>(d(),f(x[S].content,!!x[S].block));m.renderer.rules[w]=v})}),e.beforeParse.tap((m,w)=>{d=()=>{w.features[h0]=!0}}),e.afterParse.tap((m,w)=>{var v;const x=(v=w.frontmatter)==null?void 0:v.markmap;x&&["extraJs","extraCss"].forEach(S=>{var T,N;const L=x[S];L&&(x[S]=yv(L,h0,((N=(T=mi.config)==null?void 0:T.versions)==null?void 0:N.katex)||""))})}),{styles:(r=mi.config)==null?void 0:r.styles,scripts:(s=mi.config)==null?void 0:s.scripts}}},Sv="npmUrl",Tv={name:Sv,transform(e){return e.afterParse.tap((t,n)=>{const{frontmatter:r}=n,s=r==null?void 0:r.markmap;s&&["extraJs","extraCss"].forEach(i=>{const o=s[i];o&&(s[i]=o.map(u=>u.startsWith("npm:")?e.transformer.urlBuilder.getFullUrl(u.slice(4)):u))})}),{}}},Ev="sourceLines",Av={name:Ev,transform(e){let t=0;return e.beforeParse.tap((n,r)=>{var s;t=((s=r.frontmatterInfo)==null?void 0:s.lines)||0}),e.parser.tap(n=>{n.renderer.renderAttrs=Rh(n.renderer.renderAttrs,(r,s)=>{if(s.block&&s.map){const i=s.map.map(o=>o+t);s.attrSet("data-lines",i.join(","))}return r(s)}),n.renderer.rules.fence&&(n.renderer.rules.fence=Rh(n.renderer.rules.fence,(r,s,i,...o)=>{let u=r(s,i,...o);const f=s[i];if(u.startsWith("
")&&f.map){const d=f.map.map(m=>m+t);u=u.slice(0,4)+` data-lines="${d.join(",")}"`+u.slice(4)}return u}))}),{}}},Nv=[cv,mi,Z0,Tv,ov,Av],Cv=Nv;function zp(e){for(;!e.content&&e.children.length===1;)e=e.children[0];for(;e.children.length===1&&!e.children[0].content;)e={...e,children:e.children[0].children};return{...e,children:e.children.map(zp)}}class Mv{constructor(t=Cv){this.assetsMap={},this.urlBuilder=new b7,this.hooks=rv(this),this.plugins=t.map(s=>typeof s=="function"?s():s);const n={};for(const{name:s,transform:i}of this.plugins)n[s]=i(this.hooks);this.assetsMap=n;const r=nv();this.md=r,this.hooks.parser.call(r)}transform(t,n){var r;const s={content:t,features:{},parserOptions:n};this.hooks.beforeParse.call(this.md,s);let{content:i}=s;s.frontmatterInfo&&(i=i.slice(s.frontmatterInfo.offset));const o=this.md.render(i,{});this.hooks.afterParse.call(this.md,s);const u=zp(A9(o,s.parserOptions));return u.content||(u.content=`${((r=s.frontmatter)==null?void 0:r.title)||""}`),{...s,root:u}}resolveJS(t){return iu(this.urlBuilder,t)}resolveCSS(t){return dv(this.urlBuilder,t)}getAssets(t){const n=[],r=[];t??(t=this.plugins.map(s=>s.name));for(const s of t.map(i=>this.assetsMap[i]))s&&(s.styles&&n.push(...s.styles),s.scripts&&r.push(...s.scripts));return{styles:n.map(s=>this.resolveCSS(s)),scripts:r.map(s=>this.resolveJS(s))}}getUsedAssets(t){const n=this.plugins.map(r=>r.name).filter(r=>t[r]);return this.getAssets(n)}}class kd extends Map{constructor(t,n=Lv){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,s]of t)this.set(r,s)}get(t){return super.get(Sd(this,t))}has(t){return super.has(Sd(this,t))}set(t,n){return super.set(Iv(this,t),n)}delete(t){return super.delete(Ov(this,t))}}function Sd({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Iv({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Ov({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Lv(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Td(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let s of e)(s=t(s,++r,e))!=null&&(n=s)&&(n=s)}return n}function Ed(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let s of e)(s=t(s,++r,e))!=null&&(n>s||n===void 0&&s>=s)&&(n=s)}return n}function Rv(e,t){let n,r=-1,s=-1;if(t===void 0)for(const i of e)++s,i!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=s);else for(let i of e)(i=t(i,++s,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=s);return r}var Dv={value:()=>{}};function au(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(s+1),n=n.slice(0,s)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Za.prototype=au.prototype={constructor:Za,on:function(e,t){var n=this._,r=Pv(e+"",n),s,i=-1,o=r.length;if(arguments.length<2){for(;++i0)for(var n=new Array(s),r=0,s,i;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Nd.hasOwnProperty(t)?{space:Nd[t],local:e}:e}function Fv(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ec&&t.documentElement.namespaceURI===ec?t.createElement(e):t.createElementNS(n,e)}}function Bv(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function qp(e){var t=nl(e);return(t.local?Bv:Fv)(t)}function zv(){}function ou(e){return e==null?zv:function(){return this.querySelector(e)}}function qv(e){typeof e!="function"&&(e=ou(e));for(var t=this._groups,n=t.length,r=new Array(n),s=0;s=M&&(M=U+1);!(P=N[M])&&++M=0;)(o=r[s])&&(i&&o.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(o,i),i=o);return this}function h_(e){e||(e=d_);function t(w,v){return w&&v?e(w.__data__,v.__data__):!w-!v}for(var n=this._groups,r=n.length,s=new Array(r),i=0;it?1:e>=t?0:NaN}function m_(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function p_(){return Array.from(this)}function g_(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?A_:typeof t=="function"?C_:N_)(e,t,n??"")):Hs(this.node(),e)}function Hs(e,t){return e.style.getPropertyValue(t)||Wp(e).getComputedStyle(e,null).getPropertyValue(t)}function I_(e){return function(){delete this[e]}}function O_(e,t){return function(){this[e]=t}}function L_(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function R_(e,t){return arguments.length>1?this.each((t==null?I_:typeof t=="function"?L_:O_)(e,t)):this.node()[e]}function Gp(e){return e.trim().split(/^|\s+/)}function lu(e){return e.classList||new Kp(e)}function Kp(e){this._node=e,this._names=Gp(e.getAttribute("class")||"")}Kp.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Xp(e,t){for(var n=lu(e),r=-1,s=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function lx(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,s=t.length,i;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?$a(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?$a(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=vx.exec(e))?new gn(t[1],t[2],t[3],1):(t=_x.exec(e))?new gn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=xx.exec(e))?$a(t[1],t[2],t[3],t[4]):(t=kx.exec(e))?$a(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Sx.exec(e))?Dd(t[1],t[2]/100,t[3]/100,1):(t=Tx.exec(e))?Dd(t[1],t[2]/100,t[3]/100,t[4]):Cd.hasOwnProperty(e)?Od(Cd[e]):e==="transparent"?new gn(NaN,NaN,NaN,0):null}function Od(e){return new gn(e>>16&255,e>>8&255,e&255,1)}function $a(e,t,n,r){return r<=0&&(e=t=n=NaN),new gn(e,t,n,r)}function Nx(e){return e instanceof Yi||(e=Di(e)),e?(e=e.rgb(),new gn(e.r,e.g,e.b,e.opacity)):new gn}function rc(e,t,n,r){return arguments.length===1?Nx(e):new gn(e,t,n,r??1)}function gn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}cu(gn,rc,Zp(Yi,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new gn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Li:Math.pow(Li,e),new gn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new gn(ss(this.r),ss(this.g),ss(this.b),xo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ld,formatHex:Ld,formatHex8:Cx,formatRgb:Rd,toString:Rd}));function Ld(){return`#${ns(this.r)}${ns(this.g)}${ns(this.b)}`}function Cx(){return`#${ns(this.r)}${ns(this.g)}${ns(this.b)}${ns((isNaN(this.opacity)?1:this.opacity)*255)}`}function Rd(){const e=xo(this.opacity);return`${e===1?"rgb(":"rgba("}${ss(this.r)}, ${ss(this.g)}, ${ss(this.b)}${e===1?")":`, ${e})`}`}function xo(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ss(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ns(e){return e=ss(e),(e<16?"0":"")+e.toString(16)}function Dd(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hn(e,t,n,r)}function e4(e){if(e instanceof Hn)return new Hn(e.h,e.s,e.l,e.opacity);if(e instanceof Yi||(e=Di(e)),!e)return new Hn;if(e instanceof Hn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,s=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,u=i-s,f=(i+s)/2;return u?(t===i?o=(n-r)/u+(n0&&f<1?0:o,new Hn(o,u,f,e.opacity)}function Mx(e,t,n,r){return arguments.length===1?e4(e):new Hn(e,t,n,r??1)}function Hn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}cu(Hn,Mx,Zp(Yi,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new Hn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Li:Math.pow(Li,e),new Hn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,s=2*n-r;return new gn(d0(e>=240?e-240:e+120,s,r),d0(e,s,r),d0(e<120?e+240:e-120,s,r),this.opacity)},clamp(){return new Hn(Pd(this.h),Fa(this.s),Fa(this.l),xo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=xo(this.opacity);return`${e===1?"hsl(":"hsla("}${Pd(this.h)}, ${Fa(this.s)*100}%, ${Fa(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Pd(e){return e=(e||0)%360,e<0?e+360:e}function Fa(e){return Math.max(0,Math.min(1,e||0))}function d0(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const t4=e=>()=>e;function Ix(e,t){return function(n){return e+n*t}}function Ox(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function Lx(e){return(e=+e)==1?n4:function(t,n){return n-t?Ox(t,n,e):t4(isNaN(t)?n:t)}}function n4(e,t){var n=t-e;return n?Ix(e,n):t4(isNaN(e)?t:e)}const $d=function e(t){var n=Lx(t);function r(s,i){var o=n((s=rc(s)).r,(i=rc(i)).r),u=n(s.g,i.g),f=n(s.b,i.b),d=n4(s.opacity,i.opacity);return function(m){return s.r=o(m),s.g=u(m),s.b=f(m),s.opacity=d(m),s+""}}return r.gamma=e,r}(1);function Mr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var sc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,m0=new RegExp(sc.source,"g");function Rx(e){return function(){return e}}function Dx(e){return function(t){return e(t)+""}}function Px(e,t){var n=sc.lastIndex=m0.lastIndex=0,r,s,i,o=-1,u=[],f=[];for(e=e+"",t=t+"";(r=sc.exec(e))&&(s=m0.exec(t));)(i=s.index)>n&&(i=t.slice(n,i),u[o]?u[o]+=i:u[++o]=i),(r=r[0])===(s=s[0])?u[o]?u[o]+=s:u[++o]=s:(u[++o]=null,f.push({i:o,x:Mr(r,s)})),n=m0.lastIndex;return n180?m+=360:m-d>180&&(d+=360),v.push({i:w.push(s(w)+"rotate(",null,r)-2,x:Mr(d,m)})):m&&w.push(s(w)+"rotate("+m+r)}function u(d,m,w,v){d!==m?v.push({i:w.push(s(w)+"skewX(",null,r)-2,x:Mr(d,m)}):m&&w.push(s(w)+"skewX("+m+r)}function f(d,m,w,v,x,S){if(d!==w||m!==v){var T=x.push(s(x)+"scale(",null,",",null,")");S.push({i:T-4,x:Mr(d,w)},{i:T-2,x:Mr(m,v)})}else(w!==1||v!==1)&&x.push(s(x)+"scale("+w+","+v+")")}return function(d,m){var w=[],v=[];return d=e(d),m=e(m),i(d.translateX,d.translateY,m.translateX,m.translateY,w,v),o(d.rotate,m.rotate,w,v),u(d.skewX,m.skewX,w,v),f(d.scaleX,d.scaleY,m.scaleX,m.scaleY,w,v),d=m=null,function(x){for(var S=-1,T=v.length,N;++S=0&&e._call.call(void 0,t),e=e._next;--Vs}function zd(){cs=(So=Pi.now())+rl,Vs=pi=0;try{Wx()}finally{Vs=0,Kx(),cs=0}}function Gx(){var e=Pi.now(),t=e-So;t>i4&&(rl-=t,So=e)}function Kx(){for(var e,t=ko,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:ko=n);gi=e,ac(r)}function ac(e){if(!Vs){pi&&(pi=clearTimeout(pi));var t=e-cs;t>24?(e<1/0&&(pi=setTimeout(zd,e-Pi.now()-rl)),li&&(li=clearInterval(li))):(li||(So=Pi.now(),li=setInterval(Gx,i4)),Vs=1,a4(zd))}}function qd(e,t,n){var r=new To;return t=t==null?0:+t,r.restart(s=>{r.stop(),e(s+t)},t,n),r}var Xx=au("start","end","cancel","interrupt"),Yx=[],l4=0,Ud=1,oc=2,eo=3,Hd=4,lc=5,to=6;function sl(e,t,n,r,s,i){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;Jx(e,n,{name:t,index:r,group:s,on:Xx,tween:Yx,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:l4})}function fu(e,t){var n=Kn(e,t);if(n.state>l4)throw new Error("too late; already scheduled");return n}function ar(e,t){var n=Kn(e,t);if(n.state>eo)throw new Error("too late; already running");return n}function Kn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Jx(e,t,n){var r=e.__transition,s;r[t]=n,n.timer=o4(i,0,n.time);function i(d){n.state=Ud,n.timer.restart(o,n.delay,n.time),n.delay<=d&&o(d-n.delay)}function o(d){var m,w,v,x;if(n.state!==Ud)return f();for(m in r)if(x=r[m],x.name===n.name){if(x.state===eo)return qd(o);x.state===Hd?(x.state=to,x.timer.stop(),x.on.call("interrupt",e,e.__data__,x.index,x.group),delete r[m]):+moc&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function Ak(e,t,n){var r,s,i=Ek(t)?fu:ar;return function(){var o=i(this,e),u=o.on;u!==r&&(s=(r=u).copy()).on(t,n),o.on=s}}function Nk(e,t){var n=this._id;return arguments.length<2?Kn(this.node(),n).on.on(e):this.each(Ak(n,e,t))}function Ck(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Mk(){return this.on("end.remove",Ck(this._id))}function Ik(e){var t=this._name,n=this._id;typeof e!="function"&&(e=ou(e));for(var r=this._groups,s=r.length,i=new Array(s),o=0;o=0))throw new Error(`invalid digits: ${e}`);if(t>15)return h4;const n=10**t;return function(r){this._+=r[0];for(let s=1,i=r.length;sYr)if(!(Math.abs(w*f-d*m)>Yr)||!i)this._append`L${this._x1=t},${this._y1=n}`;else{let x=r-o,S=s-u,T=f*f+d*d,N=x*x+S*S,L=Math.sqrt(T),U=Math.sqrt(v),M=i*Math.tan((cc-Math.acos((T+v-N)/(2*L*U)))/2),$=M/U,P=M/L;Math.abs($-1)>Yr&&this._append`L${t+$*m},${n+$*w}`,this._append`A${i},${i},0,0,${+(w*x>m*S)},${this._x1=t+P*f},${this._y1=n+P*d}`}}arc(t,n,r,s,i,o){if(t=+t,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(s),f=r*Math.sin(s),d=t+u,m=n+f,w=1^o,v=o?s-i:i-s;this._x1===null?this._append`M${d},${m}`:(Math.abs(this._x1-d)>Yr||Math.abs(this._y1-m)>Yr)&&this._append`L${d},${m}`,r&&(v<0&&(v=v%uc+uc),v>nS?this._append`A${r},${r},0,1,${w},${t-u},${n-f}A${r},${r},0,1,${w},${this._x1=d},${this._y1=m}`:v>Yr&&this._append`A${r},${r},0,${+(v>=cc)},${w},${this._x1=t+r*Math.cos(i)},${this._y1=n+r*Math.sin(i)}`)}rect(t,n,r,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+s}h${-r}Z`}toString(){return this._}}function iS(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const Vd=Symbol("implicit");function d4(){var e=new kd,t=[],n=[],r=Vd;function s(i){let o=e.get(i);if(o===void 0){if(r!==Vd)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return s.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new kd;for(const o of i)e.has(o)||e.set(o,t.push(o)-1);return s},s.range=function(i){return arguments.length?(n=Array.from(i),s):n.slice()},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return d4(t,n).unknown(r)},iS.apply(s,arguments),s}function aS(e){for(var t=e.length/6|0,n=new Array(t),r=0;r=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new sS(t)}var cS=Array.prototype.slice;function uS(e){return e[0]}function fS(e){return e[1]}class hS{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function dS(e){return new hS(e,!0)}function mS(e){return e.source}function pS(e){return e.target}function gS(e){let t=mS,n=pS,r=uS,s=fS,i=null,o=null,u=lS(f);function f(){let d;const m=cS.call(arguments),w=t.apply(this,m),v=n.apply(this,m);if(i==null&&(o=e(d=u())),o.lineStart(),m[0]=w,o.point(+r.apply(this,m),+s.apply(this,m)),m[0]=v,o.point(+r.apply(this,m),+s.apply(this,m)),o.lineEnd(),d)return o=null,d+""||null}return f.source=function(d){return arguments.length?(t=d,f):t},f.target=function(d){return arguments.length?(n=d,f):n},f.x=function(d){return arguments.length?(r=typeof d=="function"?d:jd(+d),f):r},f.y=function(d){return arguments.length?(s=typeof d=="function"?d:jd(+d),f):s},f.context=function(d){return arguments.length?(d==null?i=o=null:o=e(i=d),f):i},f}function yS(){return gS(dS)}const za=e=>()=>e;function bS(e,{sourceEvent:t,target:n,transform:r,dispatch:s}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:s}})}function br(e,t,n){this.k=e,this.x=t,this.y=n}br.prototype={constructor:br,scale:function(e){return e===1?this:new br(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new br(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var il=new br(1,0,0);Ts.prototype=br.prototype;function Ts(e){for(;!e.__zoom;)if(!(e=e.parentNode))return il;return e.__zoom}function p0(e){e.stopImmediatePropagation()}function ci(e){e.preventDefault(),e.stopImmediatePropagation()}function wS(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function vS(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function Wd(){return this.__zoom||il}function _S(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function xS(){return navigator.maxTouchPoints||"ontouchstart"in this}function kS(e,t,n){var r=e.invertX(t[0][0])-n[0][0],s=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(s>r?(r+s)/2:Math.min(0,r)||Math.max(0,s),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function SS(){var e=wS,t=vS,n=kS,r=_S,s=xS,i=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],u=250,f=Vx,d=au("start","zoom","end"),m,w,v,x=500,S=150,T=0,N=10;function L(j){j.property("__zoom",Wd).on("wheel.zoom",K,{passive:!1}).on("mousedown.zoom",Q).on("dblclick.zoom",pe).filter(s).on("touchstart.zoom",oe).on("touchmove.zoom",ne).on("touchend.zoom touchcancel.zoom",ee).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}L.transform=function(j,he,X,V){var F=j.selection?j.selection():j;F.property("__zoom",Wd),j!==F?P(j,he,X,V):F.interrupt().each(function(){B(this,arguments).event(V).start().zoom(null,typeof he=="function"?he.apply(this,arguments):he).end()})},L.scaleBy=function(j,he,X,V){L.scaleTo(j,function(){var F=this.__zoom.k,ue=typeof he=="function"?he.apply(this,arguments):he;return F*ue},X,V)},L.scaleTo=function(j,he,X,V){L.transform(j,function(){var F=t.apply(this,arguments),ue=this.__zoom,fe=X==null?$(F):typeof X=="function"?X.apply(this,arguments):X,ye=ue.invert(fe),z=typeof he=="function"?he.apply(this,arguments):he;return n(M(U(ue,z),fe,ye),F,o)},X,V)},L.translateBy=function(j,he,X,V){L.transform(j,function(){return n(this.__zoom.translate(typeof he=="function"?he.apply(this,arguments):he,typeof X=="function"?X.apply(this,arguments):X),t.apply(this,arguments),o)},null,V)},L.translateTo=function(j,he,X,V,F){L.transform(j,function(){var ue=t.apply(this,arguments),fe=this.__zoom,ye=V==null?$(ue):typeof V=="function"?V.apply(this,arguments):V;return n(il.translate(ye[0],ye[1]).scale(fe.k).translate(typeof he=="function"?-he.apply(this,arguments):-he,typeof X=="function"?-X.apply(this,arguments):-X),ue,o)},V,F)};function U(j,he){return he=Math.max(i[0],Math.min(i[1],he)),he===j.k?j:new br(he,j.x,j.y)}function M(j,he,X){var V=he[0]-X[0]*j.k,F=he[1]-X[1]*j.k;return V===j.x&&F===j.y?j:new br(j.k,V,F)}function $(j){return[(+j[0][0]+ +j[1][0])/2,(+j[0][1]+ +j[1][1])/2]}function P(j,he,X,V){j.on("start.zoom",function(){B(this,arguments).event(V).start()}).on("interrupt.zoom end.zoom",function(){B(this,arguments).event(V).end()}).tween("zoom",function(){var F=this,ue=arguments,fe=B(F,ue).event(V),ye=t.apply(F,ue),z=X==null?$(ye):typeof X=="function"?X.apply(F,ue):X,re=Math.max(ye[1][0]-ye[0][0],ye[1][1]-ye[0][1]),xe=F.__zoom,Me=typeof he=="function"?he.apply(F,ue):he,Ke=f(xe.invert(z).concat(re/xe.k),Me.invert(z).concat(re/Me.k));return function(Ze){if(Ze===1)Ze=Me;else{var Xe=Ke(Ze),Rt=re/Xe[2];Ze=new br(Rt,z[0]-Xe[0]*Rt,z[1]-Xe[1]*Rt)}fe.zoom(null,Ze)}})}function B(j,he,X){return!X&&j.__zooming||new W(j,he)}function W(j,he){this.that=j,this.args=he,this.active=0,this.sourceEvent=null,this.extent=t.apply(j,he),this.taps=0}W.prototype={event:function(j){return j&&(this.sourceEvent=j),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(j,he){return this.mouse&&j!=="mouse"&&(this.mouse[1]=he.invert(this.mouse[0])),this.touch0&&j!=="touch"&&(this.touch0[1]=he.invert(this.touch0[0])),this.touch1&&j!=="touch"&&(this.touch1[1]=he.invert(this.touch1[0])),this.that.__zoom=he,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(j){var he=Ir(this.that).datum();d.call(j,this.that,new bS(j,{sourceEvent:this.sourceEvent,target:L,transform:this.that.__zoom,dispatch:d}),he)}};function K(j,...he){if(!e.apply(this,arguments))return;var X=B(this,he).event(j),V=this.__zoom,F=Math.max(i[0],Math.min(i[1],V.k*Math.pow(2,r.apply(this,arguments)))),ue=Kr(j);if(X.wheel)(X.mouse[0][0]!==ue[0]||X.mouse[0][1]!==ue[1])&&(X.mouse[1]=V.invert(X.mouse[0]=ue)),clearTimeout(X.wheel);else{if(V.k===F)return;X.mouse=[ue,V.invert(ue)],no(this),X.start()}ci(j),X.wheel=setTimeout(fe,S),X.zoom("mouse",n(M(U(V,F),X.mouse[0],X.mouse[1]),X.extent,o));function fe(){X.wheel=null,X.end()}}function Q(j,...he){if(v||!e.apply(this,arguments))return;var X=j.currentTarget,V=B(this,he,!0).event(j),F=Ir(j.view).on("mousemove.zoom",z,!0).on("mouseup.zoom",re,!0),ue=Kr(j,X),fe=j.clientX,ye=j.clientY;yx(j.view),p0(j),V.mouse=[ue,this.__zoom.invert(ue)],no(this),V.start();function z(xe){if(ci(xe),!V.moved){var Me=xe.clientX-fe,Ke=xe.clientY-ye;V.moved=Me*Me+Ke*Ke>T}V.event(xe).zoom("mouse",n(M(V.that.__zoom,V.mouse[0]=Kr(xe,X),V.mouse[1]),V.extent,o))}function re(xe){F.on("mousemove.zoom mouseup.zoom",null),bx(xe.view,V.moved),ci(xe),V.event(xe).end()}}function pe(j,...he){if(e.apply(this,arguments)){var X=this.__zoom,V=Kr(j.changedTouches?j.changedTouches[0]:j,this),F=X.invert(V),ue=X.k*(j.shiftKey?.5:2),fe=n(M(U(X,ue),V,F),t.apply(this,he),o);ci(j),u>0?Ir(this).transition().duration(u).call(P,fe,V,j):Ir(this).call(L.transform,fe,V,j)}}function oe(j,...he){if(e.apply(this,arguments)){var X=j.touches,V=X.length,F=B(this,he,j.changedTouches.length===V).event(j),ue,fe,ye,z;for(p0(j),fe=0;fer=>e+t/n**r.state.depth,AS={autoFit:!1,duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,scrollForPan:m4,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1,color:e=>{var t;return TS(`${((t=e.state)==null?void 0:t.path)||""}`)},lineWidth:ES(),maxWidth:0,nodeMinHeight:16,paddingX:8,spacingHorizontal:80,spacingVertical:5};function NS(e){let t=0;for(let n=0;n>>0).toString(36)}function kn(e){if(typeof e=="string"){const n=e;e=r=>r.matches(n)}const t=e;return function(){let n=Array.from(this.childNodes);return t&&(n=n.filter(r=>t(r))),n}}function CS(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function MS(){return this.eachAfter(CS)}function IS(e){var t=this,n,r=[t],s,i,o;do for(n=r.reverse(),r=[];t=n.pop();)if(e(t),s=t.children,s)for(i=0,o=s.length;i=0;--s)n.push(r[s]);return this}function LS(e){for(var t=this,n=[t],r=[],s,i,o;t=n.pop();)if(r.push(t),s=t.children,s)for(i=0,o=s.length;i=0;)n+=r[s].value;t.value=n})}function DS(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function PS(e){for(var t=this,n=$S(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var s=r.length;e!==n;)r.splice(s,0,e),e=e.parent;return r}function $S(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),s=null;for(e=n.pop(),t=r.pop();e===t;)s=e,e=n.pop(),t=r.pop();return s}function FS(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function BS(){var e=[];return this.each(function(t){e.push(t)}),e}function zS(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function qS(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function du(e,t){var n=new Eo(e),r=+e.value&&(n.value=e.value),s,i=[n],o,u,f,d;for(t==null&&(t=HS);s=i.pop();)if(r&&(s.value=+s.data.value),(u=t(s.data))&&(d=u.length))for(s.children=new Array(d),f=d-1;f>=0;--f)i.push(o=s.children[f]=new Eo(u[f])),o.parent=s,o.depth=s.depth+1;return n.eachBefore(jS)}function US(){return du(this).eachBefore(VS)}function HS(e){return e.children}function VS(e){e.data=e.data.data}function jS(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function Eo(e){this.data=e,this.depth=this.height=0,this.parent=null}Eo.prototype=du.prototype={constructor:Eo,count:MS,each:IS,eachAfter:LS,eachBefore:OS,sum:RS,sort:DS,path:PS,ancestors:FS,descendants:BS,leaves:zS,links:qS,copy:US};const WS="2.1.2",GS={version:WS},{version:KS}=GS,XS=Object.freeze({children:e=>e.children,nodeSize:e=>e.data.size,spacing:0});function g4(e){const t=Object.assign({},XS,e);function n(u){const f=t[u];return typeof f=="function"?f:()=>f}function r(u){const f=o(i(),u,d=>d.children);return f.update(),f.data}function s(){const u=n("nodeSize"),f=n("spacing");return class p4 extends du.prototype.constructor{constructor(m){super(m)}copy(){const m=o(this.constructor,this,w=>w.children);return m.each(w=>w.data=w.data.data),m}get size(){return u(this)}spacing(m){return f(this,m)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const m=this.ancestors();return m[m.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((m,w)=>p4.maxExtents(m,w.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(m,w){return{top:Math.min(m.top,w.top),bottom:Math.max(m.bottom,w.bottom),left:Math.min(m.left,w.left),right:Math.max(m.right,w.right)}}}}function i(){const u=s(),f=n("nodeSize"),d=n("spacing");return class extends u{constructor(m){super(m),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return f(this.data)}spacing(m){return d(this.data,m.data)}get x(){return this.data.x}set x(m){this.data.x=m}get y(){return this.data.y}set y(m){this.data.y=m}update(){return y4(this),b4(this),this}}}function o(u,f,d){const m=(w,v)=>{const x=new u(w);Object.assign(x,{parent:v,depth:v===null?0:v.depth+1,height:0,length:1});const S=d(w)||[];return x.children=S.length===0?null:S.map(T=>m(T,x)),x.children&&Object.assign(x,x.children.reduce((T,N)=>({height:Math.max(T.height,N.height+1),length:T.length+N.length}),x)),x};return m(f,null)}return Object.assign(r,{nodeSize(u){return arguments.length?(t.nodeSize=u,r):t.nodeSize},spacing(u){return arguments.length?(t.spacing=u,r):t.spacing},children(u){return arguments.length?(t.children=u,r):t.children},hierarchy(u,f){const d=typeof f>"u"?t.children:f;return o(s(),u,d)},dump(u){const f=n("nodeSize"),d=m=>w=>{const v=m+"  ",x=m+"    ",{x:S,y:T}=w,N=f(w),L=w.children||[],U=L.length===0?" ":`,${v}children: [${x}${L.map(d(x)).join(x)}${v}],${m}`;return`{ size: [${N.join(", ")}],${v}x: ${S}, y: ${T}${U}},`};return d(`
+`)(u)}}),r}g4.version=KS;const y4=(e,t=0)=>(e.y=t,(e.children||[]).reduce((n,r)=>{const[s,i]=n;y4(r,e.y+e.ySize);const o=(s===0?r.lExt:r.rExt).bottom;s!==0&&JS(e,s,i);const u=iT(o,s,i);return[s+1,u]},[0,null]),YS(e),sT(e),e),b4=(e,t,n)=>{typeof t>"u"&&(t=-e.relX-e.prelim,n=0);const r=t+e.relX;return e.relX=r+e.prelim-n,e.prelim=0,e.x=n+e.relX,(e.children||[]).forEach(s=>b4(s,r,e.x)),e},YS=e=>{(e.children||[]).reduce((t,n)=>{const[r,s]=t,i=r+n.shift,o=s+i+n.change;return n.relX+=o,[i,o]},[0,0])},JS=(e,t,n)=>{const r=e.children[t-1],s=e.children[t];let i=r,o=r.relX,u=s,f=s.relX,d=!0;for(;i&&u;){i.bottom>n.lowY&&(n=n.next);const m=o+i.prelim-(f+u.prelim)+i.xSize/2+u.xSize/2+i.spacing(u);(m>0||m<0&&d)&&(f+=m,QS(s,m),ZS(e,t,n.index,m)),d=!1;const w=i.bottom,v=u.bottom;w<=v&&(i=tT(i),i&&(o+=i.relX)),w>=v&&(u=eT(u),u&&(f+=u.relX))}!i&&u?nT(e,t,u,f):i&&!u&&rT(e,t,i,o)},QS=(e,t)=>{e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},ZS=(e,t,n,r)=>{const s=e.children[t],i=t-n;if(i>1){const o=r/i;e.children[n+1].shift+=o,s.shift-=o,s.change-=r-o}},eT=e=>e.hasChildren?e.firstChild:e.lThr,tT=e=>e.hasChildren?e.lastChild:e.rThr,nT=(e,t,n,r)=>{const s=e.firstChild,i=s.lExt,o=e.children[t];i.lThr=n;const u=r-n.relX-s.lExtRelX;i.relX+=u,i.prelim-=u,s.lExt=o.lExt,s.lExtRelX=o.lExtRelX},rT=(e,t,n,r)=>{const s=e.children[t],i=s.rExt,o=e.children[t-1];i.rThr=n;const u=r-n.relX-s.rExtRelX;i.relX+=u,i.prelim-=u,s.rExt=o.rExt,s.rExtRelX=o.rExtRelX},sT=e=>{if(e.hasChildren){const t=e.firstChild,n=e.lastChild,r=(t.prelim+t.relX-t.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(e,{prelim:r,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},iT=(e,t,n)=>{for(;n!==null&&e>=n.lowY;)n=n.next;return{lowY:e,index:t,next:n}},aT=".markmap{--markmap-max-width: 9999px;--markmap-a-color: #0097e6;--markmap-a-hover-color: #00a8ff;--markmap-code-bg: #f0f0f0;--markmap-code-color: #555;--markmap-highlight-bg: #ffeaa7;--markmap-table-border: 1px solid currentColor;--markmap-font: 300 16px/20px sans-serif;--markmap-circle-open-bg: #fff;--markmap-text-color: #333;--markmap-highlight-node-bg: #ff02;font:var(--markmap-font);color:var(--markmap-text-color)}.markmap-link{fill:none}.markmap-node>circle{cursor:pointer}.markmap-foreign{display:inline-block}.markmap-foreign p{margin:0}.markmap-foreign a{color:var(--markmap-a-color)}.markmap-foreign a:hover{color:var(--markmap-a-hover-color)}.markmap-foreign code{padding:.25em;font-size:calc(1em - 2px);color:var(--markmap-code-color);background-color:var(--markmap-code-bg);border-radius:2px}.markmap-foreign pre{margin:0}.markmap-foreign pre>code{display:block}.markmap-foreign del{text-decoration:line-through}.markmap-foreign em{font-style:italic}.markmap-foreign strong{font-weight:700}.markmap-foreign mark{background:var(--markmap-highlight-bg)}.markmap-foreign table,.markmap-foreign th,.markmap-foreign td{border-collapse:collapse;border:var(--markmap-table-border)}.markmap-foreign img{display:inline-block}.markmap-foreign svg{fill:currentColor}.markmap-foreign>div{width:var(--markmap-max-width);text-align:left}.markmap-foreign>div>div{display:inline-block}.markmap-highlight rect{fill:var(--markmap-highlight-node-bg)}.markmap-dark .markmap{--markmap-code-bg: #1a1b26;--markmap-code-color: #ddd;--markmap-circle-open-bg: #444;--markmap-text-color: #eee}",g0="g.markmap-node",oT="path.markmap-link",lT="g.markmap-highlight",y0=yS();function Gd(e,t){const n=Rv(e,t);return e[n]}function b0(e){e.stopPropagation()}const cT=new ui;class Ao{constructor(t,n){this.options={...AS},this._disposeList=[],this.handleZoom=r=>{const{transform:s}=r;this.g.attr("transform",s)},this.handlePan=r=>{r.preventDefault();const s=Ts(this.svg.node()),i=s.translate(-r.deltaX/s.k,-r.deltaY/s.k);this.svg.call(this.zoom.transform,i)},this.handleClick=(r,s)=>{let i=this.options.toggleRecursively;(m4?r.metaKey:r.ctrlKey)&&(i=!i),this.toggleNode(s,i)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:Ir(t),this.styleNode=this.svg.append("style"),this.zoom=SS().filter(r=>this.options.scrollForPan&&r.type==="wheel"?r.ctrlKey&&!r.button:(!r.ctrlKey||r.type==="wheel")&&!r.button).on("zoom",this.handleZoom),this.setOptions(n),this.state={id:this.options.id||this.svg.attr("id")||v7(),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(k7(()=>{this.renderData()},100)),this._disposeList.push(cT.tap(()=>{this.setData()}),()=>this._observer.disconnect())}getStyleContent(){const{style:t}=this.options,{id:n}=this.state,r=typeof t=="function"?t(n):"";return[this.options.embedGlobalCSS&&aT,r].filter(Boolean).join(`
+`)}updateStyle(){this.svg.attr("class",_7(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,n=!1){var r,s;const i=(r=t.payload)!=null&&r.fold?0:1;n?fi(t,(o,u)=>{o.payload={...o.payload,fold:i},u()}):t.payload={...t.payload,fold:(s=t.payload)!=null&&s.fold?0:1},await this.renderData(t)}_initializeData(t){let n=0;const{color:r,initialExpandLevel:s}=this.options;let i=0,o=0;return fi(t,(u,f,d)=>{var m,w,v,x;o+=1,u.children=(m=u.children)==null?void 0:m.map(T=>({...T})),n+=1,u.state={...u.state,depth:o,id:n,rect:{x:0,y:0,width:0,height:0},size:[0,0]},u.state.key=[(w=d==null?void 0:d.state)==null?void 0:w.id,u.state.id].filter(Boolean).join(".")+NS(u.content),u.state.path=[(v=d==null?void 0:d.state)==null?void 0:v.path,u.state.id].filter(Boolean).join("."),r(u);const S=((x=u.payload)==null?void 0:x.fold)===2;S?i+=1:(i||s>=0&&u.state.depth>=s)&&(u.payload={...u.payload,fold:1}),f(),S&&(i-=1),o-=1}),t}_relayout(){if(!this.state.data)return;this.g.selectAll(kn(g0)).selectAll(kn("foreignObject")).each(function(f){var d;const m=(d=this.firstChild)==null?void 0:d.firstChild,w=[m.scrollWidth,m.scrollHeight];f.state.size=w});const{lineWidth:t,paddingX:n,spacingHorizontal:r,spacingVertical:s}=this.options,i=g4({}).children(f=>{var d;if(!((d=f.payload)!=null&&d.fold))return f.children}).nodeSize(f=>{const[d,m]=f.data.state.size;return[m,d+(d?n*2:0)+r]}).spacing((f,d)=>(f.parent===d.parent?s:s*2)+t(f.data)),o=i.hierarchy(this.state.data);i(o);const u=o.descendants();u.forEach(f=>{const d=f.data;d.state.rect={x:f.y,y:f.x-f.xSize/2,width:f.ySize-r,height:f.xSize}}),this.state.rect={x1:Ed(u,f=>f.data.state.rect.x)||0,y1:Ed(u,f=>f.data.state.rect.y)||0,x2:Td(u,f=>f.data.state.rect.x+f.data.state.rect.width)||0,y2:Td(u,f=>f.data.state.rect.y+f.data.state.rect.height)||0}}setOptions(t){this.options={...this.options,...t},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}async setData(t,n){n&&this.setOptions(n),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),r=4/Ts(n).k,s={...t.state.rect};return s.x-=r,s.y-=r,s.width+=2*r,s.height+=2*r,s}async renderData(t){const{paddingX:n,autoFit:r,color:s,maxWidth:i,lineWidth:o}=this.options,u=this.state.data;if(!u)return;const f={},d={},m=[];fi(u,(z,re,xe)=>{var Me;(Me=z.payload)!=null&&Me.fold||re(),f[z.state.id]=z,xe&&(d[z.state.id]=xe.state.id),m.push(z)});const w={},v={},x=z=>{!z||w[z.state.id]||fi(z,(re,xe)=>{w[re.state.id]=z.state.id,xe()})},S=z=>v[w[z.state.id]]||u.state.rect,T=z=>(f[w[z.state.id]]||u).state.rect;v[u.state.id]=u.state.rect,t&&x(t);let{highlight:N}=this.state;N&&!f[N.state.id]&&(N=void 0);let L=this.g.selectAll(kn(lT)).selectAll(kn("rect")).data(N?[this._getHighlightRect(N)]:[]).join("rect").attr("x",z=>z.x).attr("y",z=>z.y).attr("width",z=>z.width).attr("height",z=>z.height);const U=this.g.selectAll(kn(g0)).each(z=>{v[z.state.id]=z.state.rect}).data(m,z=>z.state.key),M=U.enter().append("g").attr("data-depth",z=>z.state.depth).attr("data-path",z=>z.state.path).each(z=>{x(f[d[z.state.id]])}),$=U.exit().each(z=>{x(f[d[z.state.id]])}),P=U.merge(M).attr("class",z=>{var re;return["markmap-node",((re=z.payload)==null?void 0:re.fold)&&"markmap-fold"].filter(Boolean).join(" ")}),B=P.selectAll(kn("line")).data(z=>[z],z=>z.state.key),W=B.enter().append("line").attr("stroke",z=>s(z)).attr("stroke-width",0),K=B.merge(W),Q=P.selectAll(kn("circle")).data(z=>{var re;return(re=z.children)!=null&&re.length?[z]:[]},z=>z.state.key),pe=Q.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",(z,re)=>this.handleClick(z,re)).on("mousedown",b0).merge(Q).attr("stroke",z=>s(z)).attr("fill",z=>{var re;return(re=z.payload)!=null&&re.fold&&z.children?s(z):"var(--markmap-circle-open-bg)"}),oe=this._observer,ne=P.selectAll(kn("foreignObject")).data(z=>[z],z=>z.state.key),ee=ne.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",n).attr("y",0).style("opacity",0).on("mousedown",b0).on("dblclick",b0);ee.append("xhtml:div").append("xhtml:div").html(z=>z.content).attr("xmlns","http://www.w3.org/1999/xhtml"),ee.each(function(){var z;const re=(z=this.firstChild)==null?void 0:z.firstChild;oe.observe(re)});const j=$.selectAll(kn("foreignObject"));j.each(function(){var z;const re=(z=this.firstChild)==null?void 0:z.firstChild;oe.unobserve(re)});const he=ee.merge(ne),X=m.flatMap(z=>{var re;return(re=z.payload)!=null&&re.fold?[]:z.children.map(xe=>({source:z,target:xe}))}),V=this.g.selectAll(kn(oT)).data(X,z=>z.target.state.key),F=V.exit(),ue=V.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",z=>z.target.state.depth).attr("data-path",z=>z.target.state.path).attr("d",z=>{const re=S(z.target),xe=[re.x+re.width,re.y+re.height];return y0({source:xe,target:xe})}).attr("stroke-width",0).merge(V);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),L=L.data(N?[this._getHighlightRect(N)]:[]).join("rect"),this.transition(L).attr("x",z=>z.x).attr("y",z=>z.y).attr("width",z=>z.width).attr("height",z=>z.height),M.attr("transform",z=>{const re=S(z);return`translate(${re.x+re.width-z.state.rect.width},${re.y+re.height-z.state.rect.height})`}),this.transition($).attr("transform",z=>{const re=T(z),xe=re.x+re.width-z.state.rect.width,Me=re.y+re.height-z.state.rect.height;return`translate(${xe},${Me})`}).remove(),this.transition(P).attr("transform",z=>`translate(${z.state.rect.x},${z.state.rect.y})`);const fe=$.selectAll(kn("line"));this.transition(fe).attr("x1",z=>z.state.rect.width).attr("stroke-width",0),W.attr("x1",z=>z.state.rect.width).attr("x2",z=>z.state.rect.width),K.attr("y1",z=>z.state.rect.height+o(z)/2).attr("y2",z=>z.state.rect.height+o(z)/2),this.transition(K).attr("x1",-1).attr("x2",z=>z.state.rect.width+2).attr("stroke",z=>s(z)).attr("stroke-width",o);const ye=$.selectAll(kn("circle"));this.transition(ye).attr("r",0).attr("stroke-width",0),pe.attr("cx",z=>z.state.rect.width).attr("cy",z=>z.state.rect.height+o(z)/2),this.transition(pe).attr("r",6).attr("stroke-width","1.5"),this.transition(j).style("opacity",0),he.attr("width",z=>Math.max(0,z.state.rect.width-n*2)).attr("height",z=>z.state.rect.height),this.transition(he).style("opacity",1),this.transition(F).attr("d",z=>{const re=T(z.target),xe=[re.x+re.width,re.y+re.height+o(z.target)/2];return y0({source:xe,target:xe})}).attr("stroke-width",0).remove(),this.transition(ue).attr("stroke",z=>s(z.target)).attr("stroke-width",z=>o(z.target)).attr("d",z=>{const re=z.source,xe=z.target,Me=[re.state.rect.x+re.state.rect.width,re.state.rect.y+re.state.rect.height+o(re)/2],Ke=[xe.state.rect.x,xe.state.rect.y+xe.state.rect.height+o(xe)/2];return y0({source:Me,target:Ke})}),r&&this.fit()}transition(t){const{duration:n}=this.options;return t.transition().duration(n)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:r,height:s}=n.getBoundingClientRect(),{fitRatio:i}=this.options,{x1:o,y1:u,x2:f,y2:d}=this.state.rect,m=f-o,w=d-u,v=Math.min(r/m*i,s/w*i,t),x=il.translate((r-m*v)/2-o*v,(s-w*v)/2-u*v).scale(v);return this.transition(this.svg).call(this.zoom.transform,x).end().catch(Ns)}findElement(t){let n;return this.g.selectAll(kn(g0)).each(function(r){r===t&&(n={data:r,g:this})}),n}async ensureVisible(t,n){var r;const s=(r=this.findElement(t))==null?void 0:r.data;if(!s)return;const i=this.svg.node(),o=i.getBoundingClientRect(),u=Ts(i),[f,d]=[s.state.rect.x,s.state.rect.x+s.state.rect.width+2].map(L=>L*u.k+u.x),[m,w]=[s.state.rect.y,s.state.rect.y+s.state.rect.height].map(L=>L*u.k+u.y),v={left:0,right:0,top:0,bottom:0,...n},x=[v.left-f,o.width-v.right-d],S=[v.top-m,o.height-v.bottom-w],T=x[0]*x[1]>0?Gd(x,Math.abs)/u.k:0,N=S[0]*S[1]>0?Gd(S,Math.abs)/u.k:0;if(T||N){const L=u.translate(T,N);return this.transition(this.svg).call(this.zoom.transform,L).end().catch(Ns)}}async centerNode(t,n){var r;const s=(r=this.findElement(t))==null?void 0:r.data;if(!s)return;const i=this.svg.node(),o=i.getBoundingClientRect(),u=Ts(i),f=(s.state.rect.x+s.state.rect.width/2)*u.k+u.x,d=(s.state.rect.y+s.state.rect.height/2)*u.k+u.y,m={left:0,right:0,top:0,bottom:0,...n},w=(m.left+o.width-m.right)/2,v=(m.top+o.height-m.bottom)/2,x=(w-f)/u.k,S=(v-d)/u.k;if(x||S){const T=u.translate(x,S);return this.transition(this.svg).call(this.zoom.transform,T).end().catch(Ns)}}async rescale(t){const n=this.svg.node(),{width:r,height:s}=n.getBoundingClientRect(),i=r/2,o=s/2,u=Ts(n),f=u.translate((i-u.x)*(1-t)/u.k,(o-u.y)*(1-t)/u.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,f).end().catch(Ns)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach(t=>{t()})}static create(t,n,r=null){const s=new Ao(t,n);return r&&s.setData(r).then(()=>{s.fit()}),s}}const uT={class:"mindmap-container"},fT={class:"content-toolbar mindmap-actions"},hT={class:"mindmap-actions-left"},dT={class:"content-toolbar-meta"},mT={class:"mindmap-actions-right"},pT={key:0,class:"empty-state"},gT={key:1,class:"mindmap-loading"},yT=$r({__name:"MindMapRenderer",props:{content:{type:String,default:""},exportResolution:{type:Number,default:0}},emits:["node-edit"],setup(e,{emit:t}){const n=e,r=t,s=$e(null);let i=null,o;const u=new Mv,f=$e(1),d=$e(!1),m=$e(0),w=$e(0),v=_t(()=>n.content?w.value>0?`已生成 ${m.value} 个节点,隐藏 ${w.value} 个节点`:`已生成 ${m.value} 个节点`:"暂无节点"),x=()=>{var ye;const V=(ye=i==null?void 0:i.state)==null?void 0:ye.data;if(!V||!n.content){m.value=0,w.value=0;return}const F=z=>1+(z.children||[]).reduce((xe,Me)=>xe+F(Me),0),ue=z=>{var Ke;const re=z.children||[],xe=1+re.reduce((Ze,Xe)=>Ze+F(Xe),0);return(Ke=z.payload)!=null&&Ke.fold&&re.length>0?{total:xe,hidden:re.reduce((Ze,Xe)=>Ze+F(Xe),0)}:re.reduce((Ze,Xe)=>{const Rt=ue(Xe);return{total:Ze.total+Rt.total,hidden:Ze.hidden+Rt.hidden}},{total:1,hidden:0})},fe=ue(V);m.value=Math.max(0,fe.total-1),w.value=Math.max(0,fe.hidden)},S=async()=>{var V;if(s.value){if(!n.content){s.value.innerHTML="",i&&typeof i.destroy=="function"&&i.destroy(),i=null;return}d.value=!0;try{const{root:F}=u.transform(n.content),{styles:ue,scripts:fe}=u.getAssets();ue&&q7(ue),fe&&Ac(fe),await ro();const z=(n.content.match(/^#{1,6}\s+/gm)||[]).length>80?2:-1;i?typeof i.setData=="function"?(await i.setData(F,{initialExpandLevel:z}),i.fit()):i=Ao.create(s.value,{autoFit:!0,fitRatio:.9,initialExpandLevel:z},F):i=Ao.create(s.value,{autoFit:!0,fitRatio:.9,initialExpandLevel:z},F),await ro(),(V=s.value)==null||V.querySelectorAll("text").forEach(re=>{re.setAttribute("data-editable-node","true")}),x()}catch(F){console.error("Error initializing markmap:",F),i=null}finally{d.value=!1}}};$n(()=>n.content,()=>{window.clearTimeout(o),o=window.setTimeout(()=>{S()},160)}),No(()=>{S(),window.addEventListener("resize",T)}),fc(()=>{window.clearTimeout(o),window.removeEventListener("resize",T),i&&typeof i.destroy=="function"?i.destroy():i&&console.error("mmInstance does not have destroy method:",i)});const T=()=>{i==null||i.fit()};function N(V,F){const ue=URL.createObjectURL(V),fe=document.createElement("a");fe.href=ue,fe.download=F,document.body.appendChild(fe),fe.click(),document.body.removeChild(fe),URL.revokeObjectURL(ue)}function L(V){const F=V.getBoundingClientRect();return{width:Math.ceil(Math.max(F.width,320)),height:Math.ceil(Math.max(F.height,240))}}function U(V){V.getAttribute("xmlns")||V.setAttribute("xmlns","http://www.w3.org/2000/svg"),V.querySelectorAll('[style*="cursor"]').forEach(F=>F.removeAttribute("style"))}function M(V){return{x:V.x,y:V.y,width:V.width,height:V.height}}function $(V,F){const ue=[new DOMPoint(V.x,V.y).matrixTransform(F),new DOMPoint(V.x+V.width,V.y).matrixTransform(F),new DOMPoint(V.x,V.y+V.height).matrixTransform(F),new DOMPoint(V.x+V.width,V.y+V.height).matrixTransform(F)],fe=ue.map(Ke=>Ke.x),ye=ue.map(Ke=>Ke.y),z=Math.min(...fe),re=Math.min(...ye),xe=Math.max(...fe),Me=Math.max(...ye);return{x:z,y:re,width:xe-z,height:Me-re}}function P(V,F){const ue=Math.max(V.x,F.x),fe=Math.max(V.y,F.y),ye=Math.min(V.x+V.width,F.x+F.width),z=Math.min(V.y+V.height,F.y+F.height);return ye<=ue||z<=fe?null:{x:ue,y:fe,width:ye-ue,height:z-fe}}function B(V,F,ue){const fe={x:V.x-F,y:V.y-F,width:V.width+F*2,height:V.height+F*2};return ue?P(fe,ue)||V:fe}function W(V){const F=Math.min(V.x,V.x+V.width),ue=Math.min(V.y,V.y+V.height);return{x:F,y:ue,width:Math.abs(V.width),height:Math.abs(V.height)}}function K(V,F){return V.x>=F.x-4&&V.y>=F.y-4&&V.x+V.width<=F.x+F.width+4&&V.y+V.height<=F.y+F.height+4}function Q(){const V=s.value;if(!V)return null;const F=V.cloneNode(!0);U(F);const ue=V.querySelector("g"),fe=ue?ue.getBBox():V.getBBox(),ye=48,z=Math.ceil(Math.max(fe.width+ye*2,320)),re=Math.ceil(Math.max(fe.height+ye*2,240)),xe=`${Math.floor(fe.x-ye)} ${Math.floor(fe.y-ye)} ${z} ${re}`,Me=F.querySelector("g");return Me==null||Me.removeAttribute("transform"),F.setAttribute("viewBox",xe),F.setAttribute("width",String(z)),F.setAttribute("height",String(re)),{data:new XMLSerializer().serializeToString(F),width:z,height:re}}function pe(){const V=s.value;if(!V)return null;const F=V.querySelector("g");if(!F)return Q();const ue=L(V),fe={x:0,y:0,width:ue.width,height:ue.height},ye=F.getCTM();if(!ye)return Q();const z=$(M(F.getBBox()),ye);if(K(z,fe))return Q();const re=V.cloneNode(!0);U(re);const xe=B(P(z,fe)||fe,24,fe),Me=W($(xe,ye.inverse())),Ke=M(F.getBBox()),Ze=P(Me,Ke)||Me,Xe=B(Ze,24),Rt=Math.ceil(Math.max(Xe.width,320)),nn=Math.ceil(Math.max(Xe.height,240)),Tn=`${Math.floor(Xe.x)} ${Math.floor(Xe.y)} ${Rt} ${nn}`,hn=re.querySelector("g");return hn==null||hn.removeAttribute("transform"),re.setAttribute("width",String(Rt)),re.setAttribute("height",String(nn)),re.setAttribute("viewBox",Tn),{data:new XMLSerializer().serializeToString(re),width:Rt,height:nn}}const oe=async(V="svg")=>{const F=pe();if(!F)return;const ue=new Date().getTime();if(V==="svg"){N(new Blob([F.data],{type:"image/svg+xml;charset=utf-8"}),`mindmap_${ue}.svg`);return}const fe=3,ye=Number(n.exportResolution)||0,z=Math.max(F.width,F.height),re=ye>0?Math.min(fe,Math.max(.1,ye/z)):fe,xe=document.createElement("canvas"),Me=xe.getContext("2d");if(!Me)return;xe.width=Math.ceil(F.width*re),xe.height=Math.ceil(F.height*re),Me.fillStyle="#ffffff",Me.fillRect(0,0,xe.width,xe.height),Me.scale(re,re);const Ke=new Image;Ke.onload=()=>{Me.drawImage(Ke,0,0);const Ze=V==="jpeg"?"image/jpeg":"image/png";xe.toBlob(Xe=>{Xe&&N(Xe,`mindmap_${ue}.${V==="jpeg"?"jpg":"png"}`)},Ze,.96)},Ke.onerror=()=>cn.error("导出图片失败"),Ke.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(F.data)},ne=V=>{if(!n.content){cn.warning("暂无思维导图内容可下载");return}(V==="svg"||V==="png"||V==="jpeg")&&oe(V)},ee=()=>{i==null||i.fit(),f.value=1,window.setTimeout(x,0)},j=()=>{i&&typeof i.setScale=="function"?i.setScale(f.value):i&&console.error("mmInstance does not have setScale method:",i)},he=V=>{V.preventDefault();const F=V.deltaY>0?-.1:.1;(f.value>.5||F>0)&&(f.value<2||F<0)&&(f.value+=F,j())},X=async V=>{var fe,ye,z;window.setTimeout(x,0);const F=(ye=(fe=V.target)==null?void 0:fe.closest)==null?void 0:ye.call(fe,"text"),ue=(z=F==null?void 0:F.textContent)==null?void 0:z.trim();if(!(!ue||!n.content||ue==="文档思维导图"))try{const{value:re}=await Og.prompt("编辑节点文本","编辑思维导图节点",{inputValue:ue,confirmButtonText:"确认",cancelButtonText:"取消",inputValidator:Me=>!!Me.trim()||"节点文本不能为空"}),xe=String(re).trim();xe&&xe!==ue&&r("node-edit",{oldText:ue,newText:xe})}catch{}};return(V,F)=>{const ue=ct("el-icon"),fe=ct("el-button"),ye=ct("el-dropdown-item"),z=ct("el-dropdown-menu"),re=ct("el-dropdown");return je(),Qe("div",uT,[Te("div",fT,[Te("div",hT,[Te("span",dT,Et(v.value),1)]),Te("div",mT,[ce(re,{onCommand:ne},{dropdown:Se(()=>[ce(z,null,{default:Se(()=>[ce(ye,{command:"svg"},{default:Se(()=>[...F[1]||(F[1]=[pt("SVG 格式",-1)])]),_:1}),ce(ye,{command:"png"},{default:Se(()=>[...F[2]||(F[2]=[pt("PNG 格式",-1)])]),_:1}),ce(ye,{command:"jpeg"},{default:Se(()=>[...F[3]||(F[3]=[pt("JPEG 格式",-1)])]),_:1})]),_:1})]),default:Se(()=>[ce(fe,{type:"primary",size:"small",class:"action-button primary",disabled:!e.content},{icon:Se(()=>[ce(ue,null,{default:Se(()=>[ce(mt(Zd))]),_:1})]),default:Se(()=>[F[0]||(F[0]=pt(" 下载 ",-1)),ce(ue,{class:"el-icon--right"},{default:Se(()=>[ce(mt(v0))]),_:1})]),_:1},8,["disabled"])]),_:1}),ce(fe,{type:"default",size:"small",onClick:ee,class:"action-button secondary"},{icon:Se(()=>[ce(ue,null,{default:Se(()=>[ce(mt(Mg))]),_:1})]),default:Se(()=>[F[4]||(F[4]=pt(" 重置视图 ",-1))]),_:1})])]),Te("div",{class:"mindmap-content",onWheel:Ua(he,["prevent"]),onClick:X},[e.content?Rr("",!0):(je(),Qe("div",pT,[ce(ue,{class:"empty-icon"},{default:Se(()=>[ce(mt(e1))]),_:1}),F[5]||(F[5]=Te("p",{class:"empty-text"},"暂无思维导图内容",-1)),F[6]||(F[6]=Te("p",{class:"empty-subtext"},"请先上传并转换文档",-1))])),e.content&&d.value?(je(),Qe("div",gT,[ce(ue,{class:"loading-icon"},{default:Se(()=>[ce(mt(Ig))]),_:1}),F[7]||(F[7]=Te("span",null,"正在生成导图...",-1))])):Rr("",!0),Ha((je(),Qe("svg",{ref_key:"svgRef",ref:s,class:"markmap-svg"},null,512)),[[Va,e.content]])],32)])}}}),bT=Bo(yT,[["__scopeId","data-v-1445e942"]]),wT=new xi({html:!0,linkify:!0,typographer:!0,breaks:!0});function w4(e){var t;return{type:e.type,tag:e.tag||void 0,nesting:e.nesting,level:e.level,content:e.content||void 0,markup:e.markup||void 0,info:e.info||void 0,block:e.block,hidden:e.hidden,map:e.map||null,attrs:e.attrs?Object.fromEntries(e.attrs):void 0,children:(t=e.children)==null?void 0:t.map(w4)}}function vT(e){if(!e.trim())return"";const n={type:"root",children:wT.parse(e,{}).map(w4)};return JSON.stringify(n,null,2)}function qa(){return{id:`${Date.now()}_${Math.random().toString(16).slice(2)}`,search:"",replace:""}}function _T(e,t){if(!e.trim())return{markdown:"",error:null};const n=t.filter(r=>r.search.trim());try{return{markdown:n.reduce((s,i)=>s.split(i.search).join(i.replace),e),error:null}}catch(r){return{markdown:e,error:`替换规则执行失败:${r.message}`}}}const xT={class:"document-processor"},kT={class:"top-header"},ST={class:"main-content"},TT={class:"upload-section"},ET={key:0,class:"upload-content"},AT={key:1,class:"uploaded-files"},NT={class:"file-name"},CT={key:0,class:"settings-panel"},MT={class:"settings-header"},IT={class:"result-section"},OT={class:"source-tab-label"},LT={class:"source-tab-label"},RT={class:"result-content"},DT={key:0,class:"loading-container"},PT={class:"progress-wrapper"},$T={class:"progress-info"},FT={class:"progress-stage"},BT={class:"progress-percent"},zT={key:1,class:"empty-state"},qT={key:2,class:"result-tab-content result-fade-in"},UT={class:"markdown-content"},HT={class:"markdown-box"},VT={class:"source-content"},jT={class:"content-toolbar source-toolbar"},WT={class:"content-toolbar-info source-mode-toolbar"},GT={key:0,class:"smart-organize-status"},KT={key:1,class:"template-error-inline"},XT={key:2,class:"smart-organize-status"},YT={key:3,class:"template-error-inline"},JT={class:"content-toolbar-actions"},QT={class:"source-panel"},ZT={class:"mindmap-content"},eE={class:"mindmap-box"},tE={class:"replacement-dialog-body"},nE={class:"replacement-rule-list"},rE={class:"replacement-rule-head"},sE={class:"replacement-rule-index"},iE={class:"replacement-dialog-footer"},Kd="mineru.documentProcessor.markdownRenderMode",Xd="mineru.documentProcessor.sourceViewMode",aE=$r({__name:"DocumentProcessor",setup(e){function t(_e,be,wt){try{const Yt=window.localStorage.getItem(_e);if(!Yt)return be;const Nn=JSON.parse(Yt);return wt?wt(Nn)?Nn:be:Nn}catch{return be}}function n(_e,be){try{window.localStorage.setItem(_e,JSON.stringify(be))}catch{}}function r(_e){return _e==="markdown"||_e==="html"||_e==="pdf"||_e==="richtext"}function s(_e){return _e==="markdown"||_e==="ast"}const{uploadedFiles:i,uploadedDisplayFiles:o,config:u,results:f,isUploading:d,isProcessing:m,processingStage:w,progressPercent:v,progressStage:x,error:S,backendOptions:T,languageOptions:N,initializeManualResult:L,handleFileUpload:U,processDocument:M}=$6(),$=$e(!1),P=$e(null),B=$e(!1),W=$e("markdown"),K=$e(!1),Q=$e(t(Kd,"markdown",r)),pe=$e("gfm"),oe=$e(t(Xd,"markdown",s)),ne=$e("source"),ee=[{label:"源码",value:"source"},{label:"智能整理",value:"smart"}],j=$e(!1),he=$e(!1),X=$e([]),V=$e([]),F=$e(""),ue=$e(""),fe=$e(!1),ye=$e(0),z=$e(""),re=$e("");let xe=null;$n(Q,_e=>n(Kd,_e)),$n(oe,_e=>n(Xd,_e));const Me=_t(()=>{var _e;return((_e=f.value)==null?void 0:_e.source)||""}),Ke=_t(()=>ne.value==="smart"&&F.value?F.value:Me.value),Ze=_t(()=>_T(Ke.value,X.value)),Xe=_t(()=>Ze.value.markdown),Rt=_t(()=>P0(Xe.value)),nn=_t(()=>Ze.value.error),Tn=_t(()=>X.value.filter(_e=>_e.search.trim()).length),hn=_t(()=>Tn.value>0),Xn=_t(()=>({markdown:"Markdown渲染",html:"HTML渲染",pdf:"PDF渲染",richtext:"富文本格式渲染"})[Q.value]),we=_e=>_e.map(be=>({...be})),He=()=>{he.value=window.innerWidth<=768},wn=_t({get:()=>oe.value==="ast"?vT(Xe.value):Ke.value,set:_e=>{if(oe.value==="markdown"){if(ne.value==="smart"){F.value=_e;return}f.value&&(f.value.source=_e)}}}),rn=()=>{xe&&(clearInterval(xe),xe=null)},En=()=>{rn(),ne.value="source",F.value="",ue.value="",fe.value=!1,ye.value=0,z.value="",re.value=""},lt=_e=>{rn(),xe=setInterval(async()=>{try{const be=await yi.getMindmapProgress(_e);ye.value=be.progress,z.value=be.stage,be.status==="completed"?(rn(),fe.value=!1,F.value=be.result_md||"",re.value="",ne.value="smart",cn.success("智能整理完成")):be.status==="failed"&&(rn(),fe.value=!1,ne.value="source",re.value=be.error||"智能整理失败",cn.error(re.value))}catch(be){rn(),fe.value=!1,ne.value="source",re.value=be.message||"智能整理进度查询失败",cn.error(re.value)}},1500)},C=async()=>{const _e=Me.value.trim();if(!_e){ne.value="source",cn.warning("暂无 Markdown 源码可整理");return}if(F.value){ne.value="smart";return}const be=`mindmap-${Date.now()}-${Math.random().toString(36).slice(2,8)}`;ue.value=be,fe.value=!0,ye.value=0,z.value="创建智能整理任务",re.value="";try{await yi.createMindmapTask(be,_e,"hybrid",u.mindmapPrompt,{base_url:u.mindmapLlmBaseUrl||void 0,api_key:u.mindmapLlmApiKey||void 0,model:u.mindmapLlmModel||void 0,timeout:u.mindmapLlmTimeout,temperature:u.mindmapLlmTemperature,max_context_tokens:u.mindmapLlmMaxContextTokens,max_output_tokens:u.mindmapLlmMaxOutputTokens,safety_tokens:u.mindmapLlmSafetyTokens}),lt(be)}catch(wt){fe.value=!1,ne.value="source",re.value=wt.message||"智能整理任务创建失败",cn.error(re.value)}};$n(ne,_e=>{_e==="smart"&&C()});const q=()=>{if($.value){const _e=document.querySelector(".settings-panel");_e&&(_e.classList.remove("showing"),_e.classList.add("hiding"),setTimeout(()=>{$.value=!1,_e.classList.remove("hiding"),document.removeEventListener("click",Ce)},400))}else $.value=!0,setTimeout(()=>{const _e=document.querySelector(".settings-panel");_e&&_e.classList.add("showing"),document.addEventListener("click",Ce)},10)},se=()=>{$.value&&q()},Ce=_e=>{const be=document.querySelector(".settings-panel"),wt=document.querySelector(".settings-button");be&&!be.contains(_e.target)&&wt&&!wt.contains(_e.target)&&(be.classList.remove("showing"),be.classList.add("hiding"),setTimeout(()=>{$.value=!1,be.classList.remove("hiding"),document.removeEventListener("click",Ce)},400))},ut=_e=>{console.log("Backend changed to:",_e)},Re=_e=>{Object.assign(u,_e);try{window.localStorage.setItem(Tc,JSON.stringify(_e))}catch{}},te=async()=>{if(En(),await M(),S.value){cn.error(S.value);return}f.value&&(W.value="markdown",oe.value="markdown",cn.success("转换完成"))},le=_e=>{Q.value=_e,W.value="markdown"},tt=_e=>{(_e==="markdown"||_e==="ast")&&(oe.value=_e,W.value="source")},bt=()=>{V.value=we(X.value),V.value.length===0&&(V.value=[qa()]),j.value=!0},kt=()=>{V.value.push(qa())},Zt=_e=>{V.value.splice(_e,1),V.value.length===0&&V.value.push(qa())},Xt=()=>{V.value=[qa()]},Ur=()=>{X.value=we(V.value).filter(_e=>_e.search.trim()||_e.replace.trim()),j.value=!1,cn.success(X.value.length>0?"替换规则已保存并生效":"已清空替换规则")},Ji=({oldText:_e,newText:be})=>{if(!f.value)return;const wt=Ke.value,Yt=R6(wt,_e,be);if(Yt===wt){cn.warning("未在 Markdown 中定位到该节点文本,可在源码区直接编辑");return}ne.value==="smart"?F.value=Yt:(f.value.source=Yt,f.value.markdown=Yt),cn.success("节点已同步到 Markdown")},al=()=>{var _e;(_e=P.value)==null||_e.click()},ol=async _e=>{const be=_e.target;be.files&&(await U(be.files),be.value="",i.value.length>0&&(En(),K.value=!0,f.value||L(),Q.value="markdown",oe.value="markdown",W.value="source"))},An=async _e=>{var be;_e.preventDefault(),B.value=!1,(be=_e.dataTransfer)!=null&&be.files&&(await U(_e.dataTransfer.files),i.value.length>0&&(En(),K.value=!0,f.value||L(),Q.value="markdown",oe.value="markdown",W.value="source"))},ds=_e=>{i.value.splice(_e,1),o.value.splice(_e,1),i.value.length===0&&(K.value=!1)};return No(()=>{He(),window.addEventListener("resize",He)}),fc(()=>{rn(),window.removeEventListener("resize",He)}),(_e,be)=>{const wt=ct("el-button"),Yt=ct("el-icon"),Nn=ct("el-dropdown-item"),Qi=ct("el-dropdown-menu"),Zi=ct("el-dropdown"),xr=ct("el-tab-pane"),St=ct("el-tabs"),g=ct("el-progress"),y=ct("el-segmented"),ie=ct("el-input"),k=ct("el-dialog");return je(),Qe("div",xT,[Te("header",kT,[be[8]||(be[8]=Te("h2",{class:"ellipsis",title:"思维导图"},"思维导图",-1)),ce(wt,{type:"text",onClick:q,class:"settings-button"},{default:Se(()=>[...be[7]||(be[7]=[pt(" 设置 ",-1)])]),_:1})]),Te("div",ST,[Te("div",TT,[Te("div",{class:Lg(["drag-upload-area",{"drag-over":B.value,collapsed:K.value}]),onDrop:An,onDragover:be[0]||(be[0]=Ua(O=>B.value=!0,["prevent"])),onDragleave:be[1]||(be[1]=O=>B.value=!1),onClick:al},[mt(i).length===0?(je(),Qe("div",ET,[ce(Yt,{class:"upload-icon"},{default:Se(()=>[ce(mt(Rg))]),_:1}),be[9]||(be[9]=Te("div",{class:"upload-copy"},[Te("div",{class:"upload-text"},"文件导入"),Te("div",{class:"upload-hint"},"支持 MD、PDF、Word、JPG、PNG、BMP、TIFF 等格式文件")],-1))])):(je(),Qe("div",AT,[(je(!0),Qe(tr,null,Os(mt(o),(O,at)=>(je(),Qe("div",{class:"file-item",key:at},[ce(Yt,{class:"file-icon"},{default:Se(()=>[ce(mt(e1))]),_:1}),Te("span",NT,Et(O.name),1),ce(wt,{type:"text",icon:mt(Pg),onClick:Ua(ke=>ds(at),["stop"]),class:"remove-button"},null,8,["icon","onClick"]),ce(wt,{type:"primary",loading:mt(m)||mt(d),onClick:Ua(te,["stop"])},{default:Se(()=>[...be[10]||(be[10]=[pt(" 开始转换 ",-1)])]),_:1},8,["loading"])]))),128))]))],34),$.value?(je(),Qe("div",CT,[Te("div",MT,[be[11]||(be[11]=Te("h3",{class:"settings-title"},"设置",-1)),ce(wt,{type:"text",onClick:q,class:"close-button"},{default:Se(()=>[ce(Yt,null,{default:Se(()=>[ce(mt(Dg))]),_:1})]),_:1})]),ce(Y6,{"model-value":mt(u),"backend-options":mt(T),"language-options":mt(N),"onUpdate:modelValue":Re,onBackendChange:ut,onClose:se},null,8,["model-value","backend-options","language-options"])])):Rr("",!0)]),Te("div",IT,[ce(St,{modelValue:W.value,"onUpdate:modelValue":be[2]||(be[2]=O=>W.value=O),class:"result-tabs"},{default:Se(()=>[ce(xr,{name:"markdown"},{label:Se(()=>[ce(Zi,{trigger:"hover",onCommand:le},{dropdown:Se(()=>[ce(Qi,null,{default:Se(()=>[ce(Nn,{command:"markdown"},{default:Se(()=>[...be[12]||(be[12]=[pt("Markdown渲染",-1)])]),_:1}),ce(Nn,{command:"html"},{default:Se(()=>[...be[13]||(be[13]=[pt("HTML渲染",-1)])]),_:1}),ce(Nn,{command:"pdf"},{default:Se(()=>[...be[14]||(be[14]=[pt("PDF渲染",-1)])]),_:1}),ce(Nn,{command:"richtext"},{default:Se(()=>[...be[15]||(be[15]=[pt("富文本格式渲染",-1)])]),_:1})]),_:1})]),default:Se(()=>[Te("span",OT,[pt(Et(Xn.value)+" ",1),ce(Yt,{class:"source-tab-arrow"},{default:Se(()=>[ce(mt(v0))]),_:1})])]),_:1})]),_:1}),ce(xr,{name:"source"},{label:Se(()=>[ce(Zi,{trigger:"hover",onCommand:tt},{dropdown:Se(()=>[ce(Qi,null,{default:Se(()=>[ce(Nn,{command:"markdown"},{default:Se(()=>[...be[16]||(be[16]=[pt("Markdown 源码",-1)])]),_:1}),ce(Nn,{command:"ast"},{default:Se(()=>[...be[17]||(be[17]=[pt("AST抽象语法树",-1)])]),_:1})]),_:1})]),default:Se(()=>[Te("span",LT,[pt(Et(oe.value==="markdown"?"Markdown 源码":"AST抽象语法树")+" ",1),ce(Yt,{class:"source-tab-arrow"},{default:Se(()=>[ce(mt(v0))]),_:1})])]),_:1})]),_:1}),ce(xr,{label:"思维导图",name:"mindmap"})]),_:1},8,["modelValue"]),Te("div",RT,[mt(m)?(je(),Qe("div",DT,[Te("div",PT,[Te("div",$T,[Te("span",FT,Et(mt(x)||mt(w)||"正在处理文档..."),1),Te("span",BT,Et(mt(v))+"%",1)]),ce(g,{percentage:mt(v),"stroke-width":10,"show-text":!1,indeterminate:mt(v)===0,class:"progress-bar"},null,8,["percentage","indeterminate"])])])):mt(f)?(je(),Qe("div",qT,[Ha(Te("div",UT,[Te("div",HT,[ce(m7,{content:Xe.value,mode:Q.value,flavor:pe.value,"onUpdate:mode":le},null,8,["content","mode","flavor"])])],512),[[Va,W.value==="markdown"]]),Ha(Te("div",VT,[Te("div",jT,[Te("div",WT,[ce(y,{modelValue:ne.value,"onUpdate:modelValue":be[3]||(be[3]=O=>ne.value=O),options:ee,size:"small",disabled:oe.value==="ast"||fe.value},null,8,["modelValue","disabled"]),fe.value?(je(),Qe("span",GT,Et(z.value||"智能整理中")+" "+Et(ye.value)+"% ",1)):re.value?(je(),Qe("span",KT,Et(re.value),1)):ne.value==="smart"&&F.value?(je(),Qe("span",XT," 智能整理结果 ")):nn.value?(je(),Qe("span",YT,Et(nn.value),1)):Rr("",!0)]),Te("div",JT,[ce(wt,{type:hn.value?"primary":"default",class:"replacement-config-button",onClick:bt},{default:Se(()=>[pt(Et(hn.value?`动态模板渲染(已配置${Tn.value}条)`:"动态模板渲染"),1)]),_:1},8,["type"])])]),Te("div",QT,[ce(ie,{modelValue:wn.value,"onUpdate:modelValue":be[4]||(be[4]=O=>wn.value=O),type:"textarea",rows:20,readonly:oe.value==="ast",placeholder:oe.value==="markdown"?"请在这里粘贴 Markdown 模板源码":"AST 内容将根据替换后的 Markdown 自动生成",class:"source-textarea"},null,8,["modelValue","readonly","placeholder"])])],512),[[Va,W.value==="source"]]),Ha(Te("div",ZT,[Te("div",eE,[ce(bT,{content:Rt.value,"export-resolution":mt(u).exportResolution,onNodeEdit:Ji},null,8,["content","export-resolution"])])],512),[[Va,W.value==="mindmap"]])])):(je(),Qe("div",zT,[...be[18]||(be[18]=[Te("div",{class:"empty-icon"},null,-1),Te("p",{class:"empty-text"},"暂无转换结果",-1)])]))])])]),Te("input",{ref_key:"fileInput",ref:P,type:"file",accept:".md,.pdf,.doc,.docx,.png,.jpg,.jpeg,.webp,.bmp,.tiff,.gif,.jp2",style:{position:"absolute",width:"0",height:"0",overflow:"hidden"},onChange:ol},null,544),ce(k,{modelValue:j.value,"onUpdate:modelValue":be[6]||(be[6]=O=>j.value=O),title:"动态模板渲染配置",width:"720px",fullscreen:he.value,"destroy-on-close":"",class:"replacement-dialog"},{footer:Se(()=>[Te("div",iE,[ce(wt,{onClick:Xt},{default:Se(()=>[...be[22]||(be[22]=[pt("重置",-1)])]),_:1}),ce(wt,{onClick:be[5]||(be[5]=O=>j.value=!1)},{default:Se(()=>[...be[23]||(be[23]=[pt("取消",-1)])]),_:1}),ce(wt,{type:"primary",onClick:Ur},{default:Se(()=>[...be[24]||(be[24]=[pt("保存生效",-1)])]),_:1})])]),default:Se(()=>[Te("div",tE,[be[21]||(be[21]=Te("div",{class:"replacement-dialog-tip"}," 支持字符替换。保存后会实时作用到 Markdown 预览、AST、思维导图和导出结果。 ",-1)),Te("div",nE,[(je(!0),Qe(tr,null,Os(V.value,(O,at)=>(je(),Qe("div",{key:O.id,class:"replacement-rule-row"},[Te("div",rE,[Te("div",sE,"规则 "+Et(at+1),1)]),ce(ie,{modelValue:O.search,"onUpdate:modelValue":ke=>O.search=ke,placeholder:"被替换字符,例如:{{title}}",class:"replacement-rule-input"},null,8,["modelValue","onUpdate:modelValue"]),ce(ie,{modelValue:O.replace,"onUpdate:modelValue":ke=>O.replace=ke,placeholder:"替换成,例如:项目演示标题",class:"replacement-rule-input"},null,8,["modelValue","onUpdate:modelValue"]),ce(wt,{class:"replacement-delete-button",onClick:ke=>Zt(at)},{default:Se(()=>[...be[19]||(be[19]=[pt("删除",-1)])]),_:1},8,["onClick"])]))),128))]),ce(wt,{class:"add-rule-button",onClick:kt},{default:Se(()=>[...be[20]||(be[20]=[pt("新增替换规则",-1)])]),_:1})])]),_:1},8,["modelValue","fullscreen"])])}}}),oE=Bo(aE,[["__scopeId","data-v-d49206c7"]]),lE={id:"app"},cE={class:"container"},uE=$r({__name:"App",setup(e){return(t,n)=>(je(),Qe("div",lE,[Te("div",cE,[ce(oE)])]))}}),fE={app:{title:"多模态思维导图助手"},common:{upload:"上传",clear:"清除",convert:"转换",cancel:"取消",confirm:"确定",loading:"加载中...",success:"成功",error:"错误",warning:"警告"},upload:{title:"请上传 PDF 或图片",placeholder:"点击上传或将文件拖拽到此处",supportedTypes:"支持的文件类型: PDF, PNG, JPG, JPEG",maxSize:"最大文件大小: 100MB"},config:{title:"配置选项",maxPages:"最大转换页数",backend:"解析后端",serverUrl:"服务器地址",serverUrlInfo:"http-client 后端的 OpenAI 兼容服务器地址。",recognitionOptions:"识别选项",tableEnable:"启用表格识别",tableInfo:"禁用后,表格将显示为图片。",formulaLabelVlm:"启用行间公式识别",formulaLabelPipeline:"启用公式识别",formulaLabelHybrid:"启用行内公式识别",formulaInfoVlm:"禁用后,行间公式将显示为图片。",formulaInfoPipeline:"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。",formulaInfoHybrid:"禁用后,行内公式将不会被检测或解析。",ocrLanguage:"OCR 语言",ocrLanguageInfo:"为扫描版 PDF 和图片选择 OCR 语言。",forceOcr:"强制启用 OCR",forceOcrInfo:"仅在识别效果极差时启用,需选择正确的 OCR 语言。",backendInfoVlm:"多模态大模型高精度解析,仅支持中英文文档。",backendInfoPipeline:"传统多模型管道解析,支持多语言,无幻觉。",backendInfoHybrid:"高精度混合解析,支持多语言。",backendInfoDefault:"选择文档解析的后端引擎。"},results:{title:"转换结果",tabs:{markdown:"Markdown 渲染",source:"Markdown 源码",mindmap:"思维导图"},download:"下载结果",noResults:"暂无转换结果"},languages:{ch:"中文(简体)",en:"英语",korean:"韩语",japan:"日语",chinese_cht:"中文(繁体)",ta:"泰米尔语",te:"泰卢固语",ka:"卡纳达语",th:"泰语",el:"希腊语",latin:"拉丁语系",arabic:"阿拉伯语系",east_slavic:"东斯拉夫语系",cyrillic:"西里尔语系",devanagari:"梵文字母语系"},backends:{pipeline:"传统管道解析","vlm-auto-engine":"VLM本地引擎","hybrid-auto-engine":"混合本地引擎","vlm-http-client":"VLM远程客户端","hybrid-http-client":"混合远程客户端"},errors:{uploadFailed:"文件上传失败",conversionFailed:"转换失败",invalidFileType:"不支持的文件类型",fileSizeExceeded:"文件大小超出限制",networkError:"网络连接错误"}},hE={app:{title:"Multimodal Mind Map Assistant"},common:{upload:"Upload",clear:"Clear",convert:"Convert",cancel:"Cancel",confirm:"Confirm",loading:"Loading...",success:"Success",error:"Error",warning:"Warning"},upload:{title:"Please upload PDF or image",placeholder:"Click to upload or drag files here",supportedTypes:"Supported file types: PDF, PNG, JPG, JPEG",maxSize:"Maximum file size: 100MB"},config:{title:"Configuration Options",maxPages:"Max convert pages",backend:"Backend",serverUrl:"Server URL",serverUrlInfo:"OpenAI-compatible server URL for http-client backend.",recognitionOptions:"Recognition Options",tableEnable:"Enable table recognition",tableInfo:"If disabled, tables will be shown as images.",formulaLabelVlm:"Enable display formula recognition",formulaLabelPipeline:"Enable formula recognition",formulaLabelHybrid:"Enable inline formula recognition",formulaInfoVlm:"If disabled, display formulas will be shown as images.",formulaInfoPipeline:"If disabled, display formulas will be shown as images, and inline formulas will not be detected or parsed.",formulaInfoHybrid:"If disabled, inline formulas will not be detected or parsed.",ocrLanguage:"OCR Language",ocrLanguageInfo:"Select the OCR language for image-based PDFs and images.",forceOcr:"Force enable OCR",forceOcrInfo:"Enable only if the result is extremely poor. Requires correct OCR language.",backendInfoVlm:"High-precision parsing via VLM, supports Chinese and English documents only.",backendInfoPipeline:"Traditional Multi-model pipeline parsing, supports multiple languages, hallucination-free.",backendInfoHybrid:"High-precision hybrid parsing, supports multiple languages.",backendInfoDefault:"Select the backend engine for document parsing."},results:{title:"Convert Result",tabs:{markdown:"Markdown Rendering",source:"Markdown Source",mindmap:"Mind Map"},download:"Download Result",noResults:"No conversion results yet"},languages:{ch:"Chinese (Simplified)",en:"English",korean:"Korean",japan:"Japanese",chinese_cht:"Chinese (Traditional)",ta:"Tamil",te:"Telugu",ka:"Kannada",th:"Thai",el:"Greek",latin:"Latin Languages",arabic:"Arabic Languages",east_slavic:"East Slavic Languages",cyrillic:"Cyrillic Languages",devanagari:"Devanagari Languages"},backends:{pipeline:"Traditional Pipeline Parsing","vlm-auto-engine":"VLM Local Engine","hybrid-auto-engine":"Hybrid Local Engine","vlm-http-client":"VLM Remote Client","hybrid-http-client":"Hybrid Remote Client"},errors:{uploadFailed:"File upload failed",conversionFailed:"Conversion failed",invalidFileType:"Unsupported file type",fileSizeExceeded:"File size exceeded limit",networkError:"Network connection error"}},dE=P5({legacy:!1,locale:navigator.language.includes("zh")?"zh":"en",fallbackLocale:"en",messages:{zh:fE,en:hE}}),mu=$g(uE);mu.use(Fg);mu.use(dE);mu.mount("#app");
diff --git a/mineru/cli/static/web/assets/vendor-DDOvA1Mb.js b/mineru/cli/static/web/assets/vendor-DDOvA1Mb.js
new file mode 100644
index 0000000..935f0fb
--- /dev/null
+++ b/mineru/cli/static/web/assets/vendor-DDOvA1Mb.js
@@ -0,0 +1,79 @@
+/**
+* @vue/shared v3.5.30
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function Kp(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ln={},As=[],Pt=()=>{},Db=()=>!1,Bc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wp=e=>e.startsWith("onUpdate:"),Tn=Object.assign,jp=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},z2=Object.prototype.hasOwnProperty,Tt=(e,t)=>z2.call(e,t),be=Array.isArray,_s=e=>Mi(e)==="[object Map]",Vc=e=>Mi(e)==="[object Set]",kl=e=>Mi(e)==="[object Date]",ze=e=>typeof e=="function",De=e=>typeof e=="string",Ba=e=>typeof e=="symbol",nt=e=>e!==null&&typeof e=="object",ns=e=>(nt(e)||ze(e))&&ze(e.then)&&ze(e.catch),Bb=Object.prototype.toString,Mi=e=>Bb.call(e),H2=e=>Mi(e).slice(8,-1),ei=e=>Mi(e)==="[object Object]",Fc=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Br=Kp(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},K2=/-\w/g,Rn=zc(e=>e.replace(K2,t=>t.slice(1).toUpperCase())),W2=/\B([A-Z])/g,Xo=zc(e=>e.replace(W2,"-$1").toLowerCase()),Ii=zc(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vr=zc(e=>e?`on${Ii(e)}`:""),so=(e,t)=>!Object.is(e,t),Ru=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},Yp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},j2=e=>{const t=De(e)?Number(e):NaN;return isNaN(t)?e:t};let tm;const Hc=()=>tm||(tm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function We(e){if(be(e)){const t={};for(let n=0;n{if(n){const a=n.split(U2);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function N(e){let t="";if(De(e))t=e;else if(be(e))for(let n=0;nas(n,t))}const Hb=e=>!!(e&&e.__v_isRef===!0),ke=e=>De(e)?e:e==null?"":be(e)||nt(e)&&(e.toString===Bb||!ze(e.toString))?Hb(e)?ke(e.value):JSON.stringify(e,Kb,2):String(e),Kb=(e,t)=>Hb(t)?Kb(e,t.value):_s(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,o],l)=>(n[Rd(a,l)+" =>"]=o,n),{})}:Vc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Rd(n))}:Ba(t)?Rd(t):nt(t)&&!be(t)&&!ei(t)?String(t):t,Rd=(e,t="")=>{var n;return Ba(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
+* @vue/reactivity v3.5.30
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/let Kn;class Wb{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Kn,!t&&Kn&&(this.index=(Kn.scopes||(Kn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Kn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,a;for(n=0,a=this.effects.length;n0)return;if(zr){let t=zr;for(zr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Fr;){let t=Fr;for(Fr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function Xb(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zb(e){let t,n=e.depsTail,a=n;for(;a;){const o=a.prevDep;a.version===-1?(a===n&&(n=o),Gp(a),eE(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=o}e.deps=t,e.depsTail=n}function Ef(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jb(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jb(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ti)||(e.globalVersion=ti,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ef(e))))return;e.flags|=2;const t=e.dep,n=un,a=Aa;un=e,Aa=!0;try{Xb(e);const o=e.fn(e._value);(t.version===0||so(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{un=n,Aa=a,Zb(e),e.flags&=-3}}function Gp(e,t=!1){const{dep:n,prevSub:a,nextSub:o}=e;if(a&&(a.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Gp(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eE(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Aa=!0;const Qb=[];function Ho(){Qb.push(Aa),Aa=!1}function Ko(){const e=Qb.pop();Aa=e===void 0?!0:e}function nm(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=un;un=void 0;try{t()}finally{un=n}}}let ti=0;class tE{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xp{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!un||!Aa||un===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==un)n=this.activeLink=new tE(un,this),un.deps?(n.prevDep=un.depsTail,un.depsTail.nextDep=n,un.depsTail=n):un.deps=un.depsTail=n,e0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=un.depsTail,n.nextDep=void 0,un.depsTail.nextDep=n,un.depsTail=n,un.deps===n&&(un.deps=a)}return n}trigger(t){this.version++,ti++,this.notify(t)}notify(t){Up();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qp()}}}function e0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let a=t.deps;a;a=a.nextDep)e0(a)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ec=new WeakMap,Zl=Symbol(""),xf=Symbol(""),ni=Symbol("");function jn(e,t,n){if(Aa&&un){let a=ec.get(e);a||ec.set(e,a=new Map);let o=a.get(n);o||(a.set(n,o=new Xp),o.map=a,o.key=n),o.track()}}function Po(e,t,n,a,o,l){const s=ec.get(e);if(!s){ti++;return}const r=u=>{u&&u.trigger()};if(Up(),t==="clear")s.forEach(r);else{const u=be(e),c=u&&Fc(n);if(u&&n==="length"){const d=Number(a);s.forEach((f,h)=>{(h==="length"||h===ni||!Ba(h)&&h>=d)&&r(f)})}else switch((n!==void 0||s.has(void 0))&&r(s.get(n)),c&&r(s.get(ni)),t){case"add":u?c&&r(s.get("length")):(r(s.get(Zl)),_s(e)&&r(s.get(xf)));break;case"delete":u||(r(s.get(Zl)),_s(e)&&r(s.get(xf)));break;case"set":_s(e)&&r(s.get(Zl));break}}qp()}function nE(e,t){const n=ec.get(e);return n&&n.get(t)}function ws(e){const t=Kt(e);return t===e?t:(jn(t,"iterate",ni),ya(e)?t:t.map(Va))}function Kc(e){return jn(e=Kt(e),"iterate",ni),e}function oo(e,t){return Wo(e)?Ys(Jl(e)?Va(t):t):Va(t)}const aE={__proto__:null,[Symbol.iterator](){return _d(this,Symbol.iterator,e=>oo(this,e))},concat(...e){return ws(this).concat(...e.map(t=>be(t)?ws(t):t))},entries(){return _d(this,"entries",e=>(e[1]=oo(this,e[1]),e))},every(e,t){return Oo(this,"every",e,t,void 0,arguments)},filter(e,t){return Oo(this,"filter",e,t,n=>n.map(a=>oo(this,a)),arguments)},find(e,t){return Oo(this,"find",e,t,n=>oo(this,n),arguments)},findIndex(e,t){return Oo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Oo(this,"findLast",e,t,n=>oo(this,n),arguments)},findLastIndex(e,t){return Oo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Oo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ld(this,"includes",e)},indexOf(...e){return Ld(this,"indexOf",e)},join(e){return ws(this).join(e)},lastIndexOf(...e){return Ld(this,"lastIndexOf",e)},map(e,t){return Oo(this,"map",e,t,void 0,arguments)},pop(){return Er(this,"pop")},push(...e){return Er(this,"push",e)},reduce(e,...t){return am(this,"reduce",e,t)},reduceRight(e,...t){return am(this,"reduceRight",e,t)},shift(){return Er(this,"shift")},some(e,t){return Oo(this,"some",e,t,void 0,arguments)},splice(...e){return Er(this,"splice",e)},toReversed(){return ws(this).toReversed()},toSorted(e){return ws(this).toSorted(e)},toSpliced(...e){return ws(this).toSpliced(...e)},unshift(...e){return Er(this,"unshift",e)},values(){return _d(this,"values",e=>oo(this,e))}};function _d(e,t,n){const a=Kc(e),o=a[t]();return a!==e&&!ya(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.done||(l.value=n(l.value)),l}),o}const oE=Array.prototype;function Oo(e,t,n,a,o,l){const s=Kc(e),r=s!==e&&!ya(e),u=s[t];if(u!==oE[t]){const f=u.apply(e,l);return r?Va(f):f}let c=n;s!==e&&(r?c=function(f,h){return n.call(this,oo(e,f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const d=u.call(s,c,a);return r&&o?o(d):d}function am(e,t,n,a){const o=Kc(e),l=o!==e&&!ya(e);let s=n,r=!1;o!==e&&(l?(r=a.length===0,s=function(c,d,f){return r&&(r=!1,c=oo(e,c)),n.call(this,c,oo(e,d),f,e)}):n.length>3&&(s=function(c,d,f){return n.call(this,c,d,f,e)}));const u=o[t](s,...a);return r?oo(e,u):u}function Ld(e,t,n){const a=Kt(e);jn(a,"iterate",ni);const o=a[t](...n);return(o===-1||o===!1)&&Wc(n[0])?(n[0]=Kt(n[0]),a[t](...n)):o}function Er(e,t,n=[]){Ho(),Up();const a=Kt(e)[t].apply(e,n);return qp(),Ko(),a}const lE=Kp("__proto__,__v_isRef,__isVue"),t0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ba));function sE(e){Ba(e)||(e=String(e));const t=Kt(this);return jn(t,"has",e),t.hasOwnProperty(e)}class n0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return a===(o?l?mE:s0:l?l0:o0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const s=be(t);if(!o){let u;if(s&&(u=aE[n]))return u;if(n==="hasOwnProperty")return sE}const r=Reflect.get(t,n,Yt(t)?t:a);if((Ba(n)?t0.has(n):lE(n))||(o||jn(t,"get",n),l))return r;if(Yt(r)){const u=s&&Fc(n)?r:r.value;return o&&nt(u)?os(u):u}return nt(r)?o?os(r):It(r):r}}class a0 extends n0{constructor(t=!1){super(!1,t)}set(t,n,a,o){let l=t[n];const s=be(t)&&Fc(n);if(!this._isShallow){const c=Wo(l);if(!ya(a)&&!Wo(a)&&(l=Kt(l),a=Kt(a)),!s&&Yt(l)&&!Yt(a))return c||(l.value=a),!0}const r=s?Number(n)e,uu=e=>Reflect.getPrototypeOf(e);function dE(e,t,n){return function(...a){const o=this.__v_raw,l=Kt(o),s=_s(l),r=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=o[e](...a),d=n?Tf:t?Ys:Va;return!t&&jn(l,"iterate",u?xf:Zl),Tn(Object.create(c),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:r?[d(f[0]),d(f[1])]:d(f),done:h}}})}}function cu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fE(e,t){const n={get(o){const l=this.__v_raw,s=Kt(l),r=Kt(o);e||(so(o,r)&&jn(s,"get",o),jn(s,"get",r));const{has:u}=uu(s),c=t?Tf:e?Ys:Va;if(u.call(s,o))return c(l.get(o));if(u.call(s,r))return c(l.get(r));l!==s&&l.get(o)},get size(){const o=this.__v_raw;return!e&&jn(Kt(o),"iterate",Zl),o.size},has(o){const l=this.__v_raw,s=Kt(l),r=Kt(o);return e||(so(o,r)&&jn(s,"has",o),jn(s,"has",r)),o===r?l.has(o):l.has(o)||l.has(r)},forEach(o,l){const s=this,r=s.__v_raw,u=Kt(r),c=t?Tf:e?Ys:Va;return!e&&jn(u,"iterate",Zl),r.forEach((d,f)=>o.call(l,c(d),c(f),s))}};return Tn(n,e?{add:cu("add"),set:cu("set"),delete:cu("delete"),clear:cu("clear")}:{add(o){const l=Kt(this),s=uu(l),r=Kt(o),u=!t&&!ya(o)&&!Wo(o)?r:o;return s.has.call(l,u)||so(o,u)&&s.has.call(l,o)||so(r,u)&&s.has.call(l,r)||(l.add(u),Po(l,"add",u,u)),this},set(o,l){!t&&!ya(l)&&!Wo(l)&&(l=Kt(l));const s=Kt(this),{has:r,get:u}=uu(s);let c=r.call(s,o);c||(o=Kt(o),c=r.call(s,o));const d=u.call(s,o);return s.set(o,l),c?so(l,d)&&Po(s,"set",o,l):Po(s,"add",o,l),this},delete(o){const l=Kt(this),{has:s,get:r}=uu(l);let u=s.call(l,o);u||(o=Kt(o),u=s.call(l,o)),r&&r.call(l,o);const c=l.delete(o);return u&&Po(l,"delete",o,void 0),c},clear(){const o=Kt(this),l=o.size!==0,s=o.clear();return l&&Po(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=dE(o,e,t)}),n}function Zp(e,t){const n=fE(e,t);return(a,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?a:Reflect.get(Tt(n,o)&&o in a?n:a,o,l)}const pE={get:Zp(!1,!1)},vE={get:Zp(!1,!0)},hE={get:Zp(!0,!1)};const o0=new WeakMap,l0=new WeakMap,s0=new WeakMap,mE=new WeakMap;function gE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yE(e){return e.__v_skip||!Object.isExtensible(e)?0:gE(H2(e))}function It(e){return Wo(e)?e:Qp(e,!1,iE,pE,o0)}function Jp(e){return Qp(e,!1,cE,vE,l0)}function os(e){return Qp(e,!0,uE,hE,s0)}function Qp(e,t,n,a,o){if(!nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=yE(e);if(l===0)return e;const s=o.get(e);if(s)return s;const r=new Proxy(e,l===2?a:n);return o.set(e,r),r}function Jl(e){return Wo(e)?Jl(e.__v_raw):!!(e&&e.__v_isReactive)}function Wo(e){return!!(e&&e.__v_isReadonly)}function ya(e){return!!(e&&e.__v_isShallow)}function Wc(e){return e?!!e.__v_raw:!1}function Kt(e){const t=e&&e.__v_raw;return t?Kt(t):e}function uo(e){return!Tt(e,"__v_skip")&&Object.isExtensible(e)&&Vb(e,"__v_skip",!0),e}const Va=e=>nt(e)?It(e):e,Ys=e=>nt(e)?os(e):e;function Yt(e){return e?e.__v_isRef===!0:!1}function _(e){return r0(e,!1)}function jt(e){return r0(e,!0)}function r0(e,t){return Yt(e)?e:new bE(e,t)}class bE{constructor(t,n){this.dep=new Xp,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Kt(t),this._value=n?t:Va(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,a=this.__v_isShallow||ya(t)||Wo(t);t=a?t:Kt(t),so(t,n)&&(this._rawValue=t,this._value=a?t:Va(t),this.dep.trigger())}}function Au(e){e.dep&&e.dep.trigger()}function i(e){return Yt(e)?e.value:e}function om(e){return ze(e)?e():i(e)}const wE={get:(e,t,n)=>t==="__v_raw"?e:i(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const o=e[t];return Yt(o)&&!Yt(n)?(o.value=n,!0):Reflect.set(e,t,n,a)}};function i0(e){return Jl(e)?e:new Proxy(e,wE)}function $n(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=u0(e,n);return t}class CE{constructor(t,n,a){this._object=t,this._key=n,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0,this._raw=Kt(t);let o=!0,l=t;if(!be(t)||!Fc(String(n)))do o=!Wc(l)||ya(l);while(o&&(l=l.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=i(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Yt(this._raw[this._key])){const n=this._object[this._key];if(Yt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return nE(this._raw,this._key)}}class SE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function _t(e,t,n){return Yt(e)?e:ze(e)?new SE(e):nt(e)&&arguments.length>1?u0(e,t,n):_(e)}function u0(e,t,n){return new CE(e,t,n)}class kE{constructor(t,n,a){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xp(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ti-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&un!==this)return Gb(this,!0),!0}get value(){const t=this.dep.track();return Jb(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function EE(e,t,n=!1){let a,o;return ze(e)?a=e:(a=e.get,o=e.set),new kE(a,o,n)}const du={},tc=new WeakMap;let Vl;function xE(e,t=!1,n=Vl){if(n){let a=tc.get(n);a||tc.set(n,a=[]),a.push(e)}}function TE(e,t,n=ln){const{immediate:a,deep:o,once:l,scheduler:s,augmentJob:r,call:u}=n,c=w=>o?w:ya(w)||o===!1||o===0?Ro(w,1):Ro(w);let d,f,h,g,p=!1,v=!1;if(Yt(e)?(f=()=>e.value,p=ya(e)):Jl(e)?(f=()=>c(e),p=!0):be(e)?(v=!0,p=e.some(w=>Jl(w)||ya(w)),f=()=>e.map(w=>{if(Yt(w))return w.value;if(Jl(w))return c(w);if(ze(w))return u?u(w,2):w()})):ze(e)?t?f=u?()=>u(e,2):e:f=()=>{if(h){Ho();try{h()}finally{Ko()}}const w=Vl;Vl=d;try{return u?u(e,3,[g]):e(g)}finally{Vl=w}}:f=Pt,t&&o){const w=f,k=o===!0?1/0:o;f=()=>Ro(w(),k)}const m=jb(),y=()=>{d.stop(),m&&m.active&&jp(m.effects,d)};if(l&&t){const w=t;t=(...k)=>{w(...k),y()}}let b=v?new Array(e.length).fill(du):du;const C=w=>{if(!(!(d.flags&1)||!d.dirty&&!w))if(t){const k=d.run();if(o||p||(v?k.some((E,$)=>so(E,b[$])):so(k,b))){h&&h();const E=Vl;Vl=d;try{const $=[k,b===du?void 0:v&&b[0]===du?[]:b,g];b=k,u?u(t,3,$):t(...$)}finally{Vl=E}}}else d.run()};return r&&r(C),d=new Ub(f),d.scheduler=s?()=>s(C,!1):C,g=w=>xE(w,!1,d),h=d.onStop=()=>{const w=tc.get(d);if(w){if(u)u(w,4);else for(const k of w)k();tc.delete(d)}},t?a?C(!0):b=d.run():s?s(C.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function Ro(e,t=1/0,n){if(t<=0||!nt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Yt(e))Ro(e.value,t,n);else if(be(e))for(let a=0;a{Ro(a,t,n)});else if(ei(e)){for(const a in e)Ro(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&Ro(e[a],t,n)}return e}/**
+* @vue/runtime-core v3.5.30
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function Pi(e,t,n,a){try{return a?e(...a):e()}catch(o){jc(o,t,n)}}function Fa(e,t,n,a){if(ze(e)){const o=Pi(e,t,n,a);return o&&ns(o)&&o.catch(l=>{jc(l,t,n)}),o}if(be(e)){const o=[];for(let l=0;l>>1,o=ea[a],l=ai(o);l=ai(n)?ea.push(e):ea.splice(OE(t),0,e),e.flags|=1,d0()}}function d0(){nc||(nc=c0.then(p0))}function NE(e){be(e)?Ls.push(...e):pl&&e.id===-1?pl.splice(Os+1,0,e):e.flags&1||(Ls.push(e),e.flags|=1),d0()}function lm(e,t,n=no+1){for(;nai(n)-ai(a));if(Ls.length=0,pl){pl.push(...t);return}for(pl=t,Os=0;Ose.id==null?e.flags&2?-1:1/0:e.id;function p0(e){try{for(no=0;no{a._d&&sc(-1);const l=ac(t);let s;try{s=e(...o)}finally{ac(l),a._d&&sc(1)}return s};return a._n=!0,a._c=!0,a._d=!0,a}function it(e,t){if(Dn===null)return e;const n=Xc(Dn),a=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&ze(t)?t.call(a&&a.proxy):t}}const ME=Symbol.for("v-scx"),IE=()=>Le(ME);function da(e,t){return tv(e,null,t)}function ie(e,t,n){return tv(e,t,n)}function tv(e,t,n=ln){const{immediate:a,deep:o,flush:l,once:s}=n,r=Tn({},n),u=t&&a||!t&&l!=="post";let c;if(si){if(l==="sync"){const g=IE();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=Pt,g.resume=Pt,g.pause=Pt,g}}const d=Yn;r.call=(g,p,v)=>Fa(g,d,p,v);let f=!1;l==="post"?r.scheduler=g=>{Hn(g,d&&d.suspense)}:l!=="sync"&&(f=!0,r.scheduler=(g,p)=>{p?g():ev(g)}),r.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,d&&(g.id=d.uid,g.i=d))};const h=TE(e,t,r);return si&&(c?c.push(h):u&&h()),h}function PE(e,t,n){const a=this.proxy,o=De(e)?e.includes(".")?h0(a,e):()=>a[e]:e.bind(a,a);let l;ze(t)?l=t:(l=t.handler,n=t);const s=Ai(this),r=tv(o,l.bind(a),n);return s(),r}function h0(e,t){const n=t.split(".");return()=>{let a=e;for(let o=0;oe.__isTeleport,Hr=e=>e&&(e.disabled||e.disabled===""),sm=e=>e&&(e.defer||e.defer===""),rm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,im=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,$f=(e,t)=>{const n=e&&e.to;return De(n)?t?t(n):null:n},y0={name:"Teleport",__isTeleport:!0,process(e,t,n,a,o,l,s,r,u,c){const{mc:d,pc:f,pbc:h,o:{insert:g,querySelector:p,createText:v,createComment:m}}=c,y=Hr(t.props);let{shapeFlag:b,children:C,dynamicChildren:w}=t;if(e==null){const k=t.el=v(""),E=t.anchor=v("");g(k,n,a),g(E,n,a);const $=(M,T)=>{b&16&&d(C,M,T,o,l,s,r,u)},O=()=>{const M=t.target=$f(t.props,p),T=Of(M,t,v,g);M&&(s!=="svg"&&rm(M)?s="svg":s!=="mathml"&&im(M)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(M),y||($(M,T),_u(t,!1)))};y&&($(n,E),_u(t,!0)),sm(t.props)?(t.el.__isMounted=!1,Hn(()=>{O(),delete t.el.__isMounted},l)):O()}else{if(sm(t.props)&&e.el.__isMounted===!1){Hn(()=>{y0.process(e,t,n,a,o,l,s,r,u,c)},l);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,E=t.target=e.target,$=t.targetAnchor=e.targetAnchor,O=Hr(e.props),M=O?n:E,T=O?k:$;if(s==="svg"||rm(E)?s="svg":(s==="mathml"||im(E))&&(s="mathml"),w?(h(e.dynamicChildren,w,M,o,l,s,r),cv(e,t,!0)):u||f(e,t,M,T,o,l,s,r,!1),y)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fu(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=$f(t.props,p);A&&fu(t,A,null,c,0)}else O&&fu(t,E,$,c,1);_u(t,y)}},remove(e,t,n,{um:a,o:{remove:o}},l){const{shapeFlag:s,children:r,anchor:u,targetStart:c,targetAnchor:d,target:f,props:h}=e;if(f&&(o(c),o(d)),l&&o(u),s&16){const g=l||!Hr(h);for(let p=0;p{e.isMounted=!0}),Rt(()=>{e.isUnmounting=!0}),e}const Sa=[Function,Array],w0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sa,onEnter:Sa,onAfterEnter:Sa,onEnterCancelled:Sa,onBeforeLeave:Sa,onLeave:Sa,onAfterLeave:Sa,onLeaveCancelled:Sa,onBeforeAppear:Sa,onAppear:Sa,onAfterAppear:Sa,onAppearCancelled:Sa},C0=e=>{const t=e.subTree;return t.component?C0(t.component):t},_E={name:"BaseTransition",props:w0,setup(e,{slots:t}){const n=ct(),a=b0();return()=>{const o=t.default&&nv(t.default(),!0);if(!o||!o.length)return;const l=S0(o),s=Kt(e),{mode:r}=s;if(a.isLeaving)return Dd(l);const u=um(l);if(!u)return Dd(l);let c=oi(u,s,a,n,f=>c=f);u.type!==fn&&ls(u,c);let d=n.subTree&&um(n.subTree);if(d&&d.type!==fn&&!zl(d,u)&&C0(n).type!==fn){let f=oi(d,s,a,n);if(ls(d,f),r==="out-in"&&u.type!==fn)return a.isLeaving=!0,f.afterLeave=()=>{a.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,d=void 0},Dd(l);r==="in-out"&&u.type!==fn?f.delayLeave=(h,g,p)=>{const v=k0(a,d);v[String(d.key)]=d,h[ao]=()=>{g(),h[ao]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return l}}};function S0(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==fn){t=n;break}}return t}const LE=_E;function k0(e,t){const{leavingVNodes:n}=e;let a=n.get(t.type);return a||(a=Object.create(null),n.set(t.type,a)),a}function oi(e,t,n,a,o){const{appear:l,mode:s,persisted:r=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:m,onAppear:y,onAfterAppear:b,onAppearCancelled:C}=t,w=String(e.key),k=k0(n,e),E=(M,T)=>{M&&Fa(M,a,9,T)},$=(M,T)=>{const A=T[1];E(M,T),be(M)?M.every(R=>R.length<=1)&&A():M.length<=1&&A()},O={mode:s,persisted:r,beforeEnter(M){let T=u;if(!n.isMounted)if(l)T=m||u;else return;M[ao]&&M[ao](!0);const A=k[w];A&&zl(e,A)&&A.el[ao]&&A.el[ao](),E(T,[M])},enter(M){if(k[w]===e)return;let T=c,A=d,R=f;if(!n.isMounted)if(l)T=y||c,A=b||d,R=C||f;else return;let B=!1;M[xr]=Y=>{B||(B=!0,Y?E(R,[M]):E(A,[M]),O.delayedLeave&&O.delayedLeave(),M[xr]=void 0)};const K=M[xr].bind(null,!1);T?$(T,[M,K]):K()},leave(M,T){const A=String(e.key);if(M[xr]&&M[xr](!0),n.isUnmounting)return T();E(h,[M]);let R=!1;M[ao]=K=>{R||(R=!0,T(),K?E(v,[M]):E(p,[M]),M[ao]=void 0,k[A]===e&&delete k[A])};const B=M[ao].bind(null,!1);k[A]=e,g?$(g,[M,B]):B()},clone(M){const T=oi(M,t,n,a,o);return o&&o(T),T}};return O}function Dd(e){if(Yc(e))return e=mo(e),e.children=null,e}function um(e){if(!Yc(e))return g0(e.type)&&e.children?S0(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ze(n.default))return n.default()}}function ls(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ls(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nv(e,t=!1,n){let a=[],o=0;for(let l=0;l1)for(let l=0;lKr(v,t&&(be(t)?t[m]:t),n,a,o));return}if(Ds(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Kr(e,t,n,a.component.subTree);return}const l=a.shapeFlag&4?Xc(a.component):a.el,s=o?null:l,{i:r,r:u}=e,c=t&&t.r,d=r.refs===ln?r.refs={}:r.refs,f=r.setupState,h=Kt(f),g=f===ln?Db:v=>cm(d,v)?!1:Tt(h,v),p=(v,m)=>!(m&&cm(d,m));if(c!=null&&c!==u){if(dm(t),De(c))d[c]=null,g(c)&&(f[c]=null);else if(Yt(c)){const v=t;p(c,v.k)&&(c.value=null),v.k&&(d[v.k]=null)}}if(ze(u))Pi(u,r,12,[s,d]);else{const v=De(u),m=Yt(u);if(v||m){const y=()=>{if(e.f){const b=v?g(u)?f[u]:d[u]:p()||!e.k?u.value:d[e.k];if(o)be(b)&&jp(b,l);else if(be(b))b.includes(l)||b.push(l);else if(v)d[u]=[l],g(u)&&(f[u]=d[u]);else{const C=[l];p(u,e.k)&&(u.value=C),e.k&&(d[e.k]=C)}}else v?(d[u]=s,g(u)&&(f[u]=s)):m&&(p(u,e.k)&&(u.value=s),e.k&&(d[e.k]=s))};if(s){const b=()=>{y(),oc.delete(e)};b.id=-1,oc.set(e,b),Hn(b,n)}else dm(e),y()}}}function dm(e){const t=oc.get(e);t&&(t.flags|=8,oc.delete(e))}Hc().requestIdleCallback;Hc().cancelIdleCallback;const Ds=e=>!!e.type.__asyncLoader,Yc=e=>e.type.__isKeepAlive;function Ri(e,t){x0(e,"a",t)}function av(e,t){x0(e,"da",t)}function x0(e,t,n=Yn){const a=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Uc(t,a,n),n){let o=n.parent;for(;o&&o.parent;)Yc(o.parent.vnode)&&DE(a,t,n,o),o=o.parent}}function DE(e,t,n,a){const o=Uc(t,e,a,!0);cr(()=>{jp(a[t],o)},n)}function Uc(e,t,n=Yn,a=!1){if(n){const o=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...s)=>{Ho();const r=Ai(n),u=Fa(t,n,e,s);return r(),Ko(),u});return a?o.unshift(l):o.push(l),l}}const Zo=e=>(t,n=Yn)=>{(!si||e==="sp")&&Uc(e,(...a)=>t(...a),n)},qc=Zo("bm"),ft=Zo("m"),ov=Zo("bu"),Ua=Zo("u"),Rt=Zo("bum"),cr=Zo("um"),BE=Zo("sp"),VE=Zo("rtg"),FE=Zo("rtc");function zE(e,t=Yn){Uc("ec",e,t)}const lv="components",HE="directives";function $t(e,t){return rv(lv,e,!0,t)||e}const T0=Symbol.for("v-ndc");function st(e){return De(e)?rv(lv,e,!1)||e:e||T0}function sv(e){return rv(HE,e)}function rv(e,t,n=!0,a=!1){const o=Dn||Yn;if(o){const l=o.type;if(e===lv){const r=Ex(l,!1);if(r&&(r===t||r===Rn(t)||r===Ii(Rn(t))))return l}const s=fm(o[e]||l[e],t)||fm(o.appContext[e],t);return!s&&a?l:s}}function fm(e,t){return e&&(e[t]||e[Rn(t)]||e[Ii(Rn(t))])}function yt(e,t,n,a){let o;const l=n,s=be(e);if(s||De(e)){const r=s&&Jl(e);let u=!1,c=!1;r&&(u=!ya(e),c=Wo(e),e=Kc(e)),o=new Array(e.length);for(let d=0,f=e.length;dt(r,u,void 0,l));else{const r=Object.keys(e);o=new Array(r.length);for(let u=0,c=r.length;u{const l=a.fn(...o);return l&&(l.key=a.key),l}:a.fn)}return e}function ne(e,t,n={},a,o){if(Dn.ce||Dn.parent&&Ds(Dn.parent)&&Dn.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),x(),oe(He,null,[q("slot",n,a&&a())],c?-2:64)}let l=e[t];l&&l._c&&(l._d=!1),x();const s=l&&$0(l(n)),r=n.key||s&&s.key,u=oe(He,{key:(r&&!Ba(r)?r:`_${t}`)+(!s&&a?"_fb":"")},s||(a?a():[]),s&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),l&&l._c&&(l._d=!0),u}function $0(e){return e.some(t=>Ht(t)?!(t.type===fn||t.type===He&&!$0(t.children)):!0)?e:null}function KE(e,t){const n={};for(const a in e)n[Vr(a)]=e[a];return n}const Nf=e=>e?U0(e)?Xc(e):Nf(e.parent):null,Wr=Tn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Nf(e.parent),$root:e=>Nf(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>M0(e),$forceUpdate:e=>e.f||(e.f=()=>{ev(e.update)}),$nextTick:e=>e.n||(e.n=Ae.bind(e.proxy)),$watch:e=>PE.bind(e)}),Bd=(e,t)=>e!==ln&&!e.__isScriptSetup&&Tt(e,t),WE={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:a,data:o,props:l,accessCache:s,type:r,appContext:u}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return a[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(Bd(a,t))return s[t]=1,a[t];if(o!==ln&&Tt(o,t))return s[t]=2,o[t];if(Tt(l,t))return s[t]=3,l[t];if(n!==ln&&Tt(n,t))return s[t]=4,n[t];Mf&&(s[t]=0)}}const c=Wr[t];let d,f;if(c)return t==="$attrs"&&jn(e.attrs,"get",""),c(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(n!==ln&&Tt(n,t))return s[t]=4,n[t];if(f=u.config.globalProperties,Tt(f,t))return f[t]},set({_:e},t,n){const{data:a,setupState:o,ctx:l}=e;return Bd(o,t)?(o[t]=n,!0):a!==ln&&Tt(a,t)?(a[t]=n,!0):Tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:o,props:l,type:s}},r){let u;return!!(n[r]||e!==ln&&r[0]!=="$"&&Tt(e,r)||Bd(t,r)||Tt(l,r)||Tt(a,r)||Tt(Wr,r)||Tt(o.config.globalProperties,r)||(u=s.__cssModules)&&u[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cn(){return O0().slots}function Jo(){return O0().attrs}function O0(e){const t=ct();return t.setupContext||(t.setupContext=G0(t))}function pm(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mf=!0;function jE(e){const t=M0(e),n=e.proxy,a=e.ctx;Mf=!1,t.beforeCreate&&vm(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:s,watch:r,provide:u,inject:c,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:p,activated:v,deactivated:m,beforeDestroy:y,beforeUnmount:b,destroyed:C,unmounted:w,render:k,renderTracked:E,renderTriggered:$,errorCaptured:O,serverPrefetch:M,expose:T,inheritAttrs:A,components:R,directives:B,filters:K}=t;if(c&&YE(c,a,null),s)for(const P in s){const I=s[P];ze(I)&&(a[P]=I.bind(n))}if(o){const P=o.call(n,n);nt(P)&&(e.data=It(P))}if(Mf=!0,l)for(const P in l){const I=l[P],L=ze(I)?I.bind(n,n):ze(I.get)?I.get.bind(n,n):Pt,D=!ze(I)&&ze(I.set)?I.set.bind(n):Pt,V=S({get:L,set:D});Object.defineProperty(a,P,{enumerable:!0,configurable:!0,get:()=>V.value,set:U=>V.value=U})}if(r)for(const P in r)N0(r[P],a,n,P);if(u){const P=ze(u)?u.call(n):u;Reflect.ownKeys(P).forEach(I=>{wt(I,P[I])})}d&&vm(d,e,"c");function z(P,I){be(I)?I.forEach(L=>P(L.bind(n))):I&&P(I.bind(n))}if(z(qc,f),z(ft,h),z(ov,g),z(Ua,p),z(Ri,v),z(av,m),z(zE,O),z(FE,E),z(VE,$),z(Rt,b),z(cr,w),z(BE,M),be(T))if(T.length){const P=e.exposed||(e.exposed={});T.forEach(I=>{Object.defineProperty(P,I,{get:()=>n[I],set:L=>n[I]=L,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Pt&&(e.render=k),A!=null&&(e.inheritAttrs=A),R&&(e.components=R),B&&(e.directives=B),M&&E0(e)}function YE(e,t,n=Pt){be(e)&&(e=If(e));for(const a in e){const o=e[a];let l;nt(o)?"default"in o?l=Le(o.from||a,o.default,!0):l=Le(o.from||a):l=Le(o),Yt(l)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>l.value,set:s=>l.value=s}):t[a]=l}}function vm(e,t,n){Fa(be(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,n)}function N0(e,t,n,a){let o=a.includes(".")?h0(n,a):()=>n[a];if(De(e)){const l=t[e];ze(l)&&ie(o,l)}else if(ze(e))ie(o,e.bind(n));else if(nt(e))if(be(e))e.forEach(l=>N0(l,t,n,a));else{const l=ze(e.handler)?e.handler.bind(n):t[e.handler];ze(l)&&ie(o,l,e)}}function M0(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:s}}=e.appContext,r=l.get(t);let u;return r?u=r:!o.length&&!n&&!a?u=t:(u={},o.length&&o.forEach(c=>lc(u,c,s,!0)),lc(u,t,s)),nt(t)&&l.set(t,u),u}function lc(e,t,n,a=!1){const{mixins:o,extends:l}=t;l&&lc(e,l,n,!0),o&&o.forEach(s=>lc(e,s,n,!0));for(const s in t)if(!(a&&s==="expose")){const r=UE[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const UE={data:hm,props:mm,emits:mm,methods:Ar,computed:Ar,beforeCreate:Qn,created:Qn,beforeMount:Qn,mounted:Qn,beforeUpdate:Qn,updated:Qn,beforeDestroy:Qn,beforeUnmount:Qn,destroyed:Qn,unmounted:Qn,activated:Qn,deactivated:Qn,errorCaptured:Qn,serverPrefetch:Qn,components:Ar,directives:Ar,watch:GE,provide:hm,inject:qE};function hm(e,t){return t?e?function(){return Tn(ze(e)?e.call(this,this):e,ze(t)?t.call(this,this):t)}:t:e}function qE(e,t){return Ar(If(e),If(t))}function If(e){if(be(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rn(t)}Modifiers`]||e[`${Xo(t)}Modifiers`];function QE(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||ln;let o=n;const l=t.startsWith("update:"),s=l&&JE(a,t.slice(7));s&&(s.trim&&(o=n.map(d=>De(d)?d.trim():d)),s.number&&(o=n.map(Yp)));let r,u=a[r=Vr(t)]||a[r=Vr(Rn(t))];!u&&l&&(u=a[r=Vr(Xo(t))]),u&&Fa(u,e,6,o);const c=a[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Fa(c,e,6,o)}}const ex=new WeakMap;function P0(e,t,n=!1){const a=n?ex:t.emitsCache,o=a.get(e);if(o!==void 0)return o;const l=e.emits;let s={},r=!1;if(!ze(e)){const u=c=>{const d=P0(c,t,!0);d&&(r=!0,Tn(s,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!r?(nt(e)&&a.set(e,null),null):(be(l)?l.forEach(u=>s[u]=null):Tn(s,l),nt(e)&&a.set(e,s),s)}function Gc(e,t){return!e||!Bc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Tt(e,t[0].toLowerCase()+t.slice(1))||Tt(e,Xo(t))||Tt(e,t))}function gm(e){const{type:t,vnode:n,proxy:a,withProxy:o,propsOptions:[l],slots:s,attrs:r,emit:u,render:c,renderCache:d,props:f,data:h,setupState:g,ctx:p,inheritAttrs:v}=e,m=ac(e);let y,b;try{if(n.shapeFlag&4){const w=o||a,k=w;y=lo(c.call(k,w,d,f,g,h,p)),b=r}else{const w=t;y=lo(w.length>1?w(f,{attrs:r,slots:s,emit:u}):w(f,null)),b=t.props?r:tx(r)}}catch(w){jr.length=0,jc(w,e,1),y=q(fn)}let C=y;if(b&&v!==!1){const w=Object.keys(b),{shapeFlag:k}=C;w.length&&k&7&&(l&&w.some(Wp)&&(b=nx(b,l)),C=mo(C,b,!1,!0))}return n.dirs&&(C=mo(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&ls(C,n.transition),y=C,ac(m),y}const tx=e=>{let t;for(const n in e)(n==="class"||n==="style"||Bc(n))&&((t||(t={}))[n]=e[n]);return t},nx=(e,t)=>{const n={};for(const a in e)(!Wp(a)||!(a.slice(9)in t))&&(n[a]=e[a]);return n};function ax(e,t,n){const{props:a,children:o,component:l}=e,{props:s,children:r,patchFlag:u}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return a?ym(a,s,c):!!s;if(u&8){const d=t.dynamicProps;for(let f=0;fObject.create(A0),L0=e=>Object.getPrototypeOf(e)===A0;function lx(e,t,n,a=!1){const o={},l=_0();e.propsDefaults=Object.create(null),D0(e,t,o,l);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=a?o:Jp(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function sx(e,t,n,a){const{props:o,attrs:l,vnode:{patchFlag:s}}=e,r=Kt(o),[u]=e.propsOptions;let c=!1;if((a||s>0)&&!(s&16)){if(s&8){const d=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[h,g]=B0(f,t,!0);Tn(s,h),g&&r.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!u)return nt(e)&&a.set(e,As),As;if(be(l))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",uv=e=>be(e)?e.map(lo):[lo(e)],ix=(e,t,n)=>{if(t._n)return t;const a=Q((...o)=>uv(t(...o)),n);return a._c=!1,a},V0=(e,t,n)=>{const a=e._ctx;for(const o in e){if(iv(o))continue;const l=e[o];if(ze(l))t[o]=ix(o,l,a);else if(l!=null){const s=uv(l);t[o]=()=>s}}},F0=(e,t)=>{const n=uv(t);e.slots.default=()=>n},z0=(e,t,n)=>{for(const a in t)(n||!iv(a))&&(e[a]=t[a])},ux=(e,t,n)=>{const a=e.slots=_0();if(e.vnode.shapeFlag&32){const o=t._;o?(z0(a,t,n),n&&Vb(a,"_",o,!0)):V0(t,a)}else t&&F0(e,t)},cx=(e,t,n)=>{const{vnode:a,slots:o}=e;let l=!0,s=ln;if(a.shapeFlag&32){const r=t._;r?n&&r===1?l=!1:z0(o,t,n):(l=!t.$stable,V0(t,o)),s=t}else t&&(F0(e,t),s={default:1});if(l)for(const r in o)!iv(r)&&s[r]==null&&delete o[r]},Hn=hx;function dx(e){return fx(e)}function fx(e,t){const n=Hc();n.__VUE__=!0;const{insert:a,remove:o,patchProp:l,createElement:s,createText:r,createComment:u,setText:c,setElementText:d,parentNode:f,nextSibling:h,setScopeId:g=Pt,insertStaticContent:p}=e,v=(H,Z,se,pe=null,ge=null,ye=null,Ne=void 0,_e=null,Me=!!Z.dynamicChildren)=>{if(H===Z)return;H&&!zl(H,Z)&&(pe=ue(H),U(H,ge,ye,!0),H=null),Z.patchFlag===-2&&(Me=!1,Z.dynamicChildren=null);const{type:me,ref:Te,shapeFlag:we}=Z;switch(me){case dr:m(H,Z,se,pe);break;case fn:y(H,Z,se,pe);break;case Fd:H==null&&b(Z,se,pe,Ne);break;case He:R(H,Z,se,pe,ge,ye,Ne,_e,Me);break;default:we&1?k(H,Z,se,pe,ge,ye,Ne,_e,Me):we&6?B(H,Z,se,pe,ge,ye,Ne,_e,Me):(we&64||we&128)&&me.process(H,Z,se,pe,ge,ye,Ne,_e,Me,te)}Te!=null&&ge?Kr(Te,H&&H.ref,ye,Z||H,!Z):Te==null&&H&&H.ref!=null&&Kr(H.ref,null,ye,H,!0)},m=(H,Z,se,pe)=>{if(H==null)a(Z.el=r(Z.children),se,pe);else{const ge=Z.el=H.el;Z.children!==H.children&&c(ge,Z.children)}},y=(H,Z,se,pe)=>{H==null?a(Z.el=u(Z.children||""),se,pe):Z.el=H.el},b=(H,Z,se,pe)=>{[H.el,H.anchor]=p(H.children,Z,se,pe,H.el,H.anchor)},C=({el:H,anchor:Z},se,pe)=>{let ge;for(;H&&H!==Z;)ge=h(H),a(H,se,pe),H=ge;a(Z,se,pe)},w=({el:H,anchor:Z})=>{let se;for(;H&&H!==Z;)se=h(H),o(H),H=se;o(Z)},k=(H,Z,se,pe,ge,ye,Ne,_e,Me)=>{if(Z.type==="svg"?Ne="svg":Z.type==="math"&&(Ne="mathml"),H==null)E(Z,se,pe,ge,ye,Ne,_e,Me);else{const me=H.el&&H.el._isVueCE?H.el:null;try{me&&me._beginPatch(),M(H,Z,ge,ye,Ne,_e,Me)}finally{me&&me._endPatch()}}},E=(H,Z,se,pe,ge,ye,Ne,_e)=>{let Me,me;const{props:Te,shapeFlag:we,transition:Ie,dirs:Ve}=H;if(Me=H.el=s(H.type,ye,Te&&Te.is,Te),we&8?d(Me,H.children):we&16&&O(H.children,Me,null,pe,ge,Vd(H,ye),Ne,_e),Ve&&Al(H,null,pe,"created"),$(Me,H,H.scopeId,Ne,pe),Te){for(const $e in Te)$e!=="value"&&!Br($e)&&l(Me,$e,null,Te[$e],ye,pe);"value"in Te&&l(Me,"value",null,Te.value,ye),(me=Te.onVnodeBeforeMount)&&eo(me,pe,H)}Ve&&Al(H,null,pe,"beforeMount");const Xe=px(ge,Ie);Xe&&Ie.beforeEnter(Me),a(Me,Z,se),((me=Te&&Te.onVnodeMounted)||Xe||Ve)&&Hn(()=>{me&&eo(me,pe,H),Xe&&Ie.enter(Me),Ve&&Al(H,null,pe,"mounted")},ge)},$=(H,Z,se,pe,ge)=>{if(se&&g(H,se),pe)for(let ye=0;ye{for(let me=Me;me{const _e=Z.el=H.el;let{patchFlag:Me,dynamicChildren:me,dirs:Te}=Z;Me|=H.patchFlag&16;const we=H.props||ln,Ie=Z.props||ln;let Ve;if(se&&_l(se,!1),(Ve=Ie.onVnodeBeforeUpdate)&&eo(Ve,se,Z,H),Te&&Al(Z,H,se,"beforeUpdate"),se&&_l(se,!0),(we.innerHTML&&Ie.innerHTML==null||we.textContent&&Ie.textContent==null)&&d(_e,""),me?T(H.dynamicChildren,me,_e,se,pe,Vd(Z,ge),ye):Ne||I(H,Z,_e,null,se,pe,Vd(Z,ge),ye,!1),Me>0){if(Me&16)A(_e,we,Ie,se,ge);else if(Me&2&&we.class!==Ie.class&&l(_e,"class",null,Ie.class,ge),Me&4&&l(_e,"style",we.style,Ie.style,ge),Me&8){const Xe=Z.dynamicProps;for(let $e=0;$e{Ve&&eo(Ve,se,Z,H),Te&&Al(Z,H,se,"updated")},pe)},T=(H,Z,se,pe,ge,ye,Ne)=>{for(let _e=0;_e{if(Z!==se){if(Z!==ln)for(const ye in Z)!Br(ye)&&!(ye in se)&&l(H,ye,Z[ye],null,ge,pe);for(const ye in se){if(Br(ye))continue;const Ne=se[ye],_e=Z[ye];Ne!==_e&&ye!=="value"&&l(H,ye,_e,Ne,ge,pe)}"value"in se&&l(H,"value",Z.value,se.value,ge)}},R=(H,Z,se,pe,ge,ye,Ne,_e,Me)=>{const me=Z.el=H?H.el:r(""),Te=Z.anchor=H?H.anchor:r("");let{patchFlag:we,dynamicChildren:Ie,slotScopeIds:Ve}=Z;Ve&&(_e=_e?_e.concat(Ve):Ve),H==null?(a(me,se,pe),a(Te,se,pe),O(Z.children||[],se,Te,ge,ye,Ne,_e,Me)):we>0&&we&64&&Ie&&H.dynamicChildren&&H.dynamicChildren.length===Ie.length?(T(H.dynamicChildren,Ie,se,ge,ye,Ne,_e),(Z.key!=null||ge&&Z===ge.subTree)&&cv(H,Z,!0)):I(H,Z,se,Te,ge,ye,Ne,_e,Me)},B=(H,Z,se,pe,ge,ye,Ne,_e,Me)=>{Z.slotScopeIds=_e,H==null?Z.shapeFlag&512?ge.ctx.activate(Z,se,pe,Ne,Me):K(Z,se,pe,ge,ye,Ne,Me):Y(H,Z,Me)},K=(H,Z,se,pe,ge,ye,Ne)=>{const _e=H.component=wx(H,pe,ge);if(Yc(H)&&(_e.ctx.renderer=te),Cx(_e,!1,Ne),_e.asyncDep){if(ge&&ge.registerDep(_e,z,Ne),!H.el){const Me=_e.subTree=q(fn);y(null,Me,Z,se),H.placeholder=Me.el}}else z(_e,H,Z,se,ge,ye,Ne)},Y=(H,Z,se)=>{const pe=Z.component=H.component;if(ax(H,Z,se))if(pe.asyncDep&&!pe.asyncResolved){P(pe,Z,se);return}else pe.next=Z,pe.update();else Z.el=H.el,pe.vnode=Z},z=(H,Z,se,pe,ge,ye,Ne)=>{const _e=()=>{if(H.isMounted){let{next:we,bu:Ie,u:Ve,parent:Xe,vnode:$e}=H;{const Ue=H0(H);if(Ue){we&&(we.el=$e.el,P(H,we,Ne)),Ue.asyncDep.then(()=>{Hn(()=>{H.isUnmounted||me()},ge)});return}}let Pe=we,je;_l(H,!1),we?(we.el=$e.el,P(H,we,Ne)):we=$e,Ie&&Ru(Ie),(je=we.props&&we.props.onVnodeBeforeUpdate)&&eo(je,Xe,we,$e),_l(H,!0);const xt=gm(H),Mt=H.subTree;H.subTree=xt,v(Mt,xt,f(Mt.el),ue(Mt),H,ge,ye),we.el=xt.el,Pe===null&&ox(H,xt.el),Ve&&Hn(Ve,ge),(je=we.props&&we.props.onVnodeUpdated)&&Hn(()=>eo(je,Xe,we,$e),ge)}else{let we;const{el:Ie,props:Ve}=Z,{bm:Xe,m:$e,parent:Pe,root:je,type:xt}=H,Mt=Ds(Z);_l(H,!1),Xe&&Ru(Xe),!Mt&&(we=Ve&&Ve.onVnodeBeforeMount)&&eo(we,Pe,Z),_l(H,!0);{je.ce&&je.ce._hasShadowRoot()&&je.ce._injectChildStyle(xt,H.parent?H.parent.type:void 0);const Ue=H.subTree=gm(H);v(null,Ue,se,pe,H,ge,ye),Z.el=Ue.el}if($e&&Hn($e,ge),!Mt&&(we=Ve&&Ve.onVnodeMounted)){const Ue=Z;Hn(()=>eo(we,Pe,Ue),ge)}(Z.shapeFlag&256||Pe&&Ds(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&H.a&&Hn(H.a,ge),H.isMounted=!0,Z=se=pe=null}};H.scope.on();const Me=H.effect=new Ub(_e);H.scope.off();const me=H.update=Me.run.bind(Me),Te=H.job=Me.runIfDirty.bind(Me);Te.i=H,Te.id=H.uid,Me.scheduler=()=>ev(Te),_l(H,!0),me()},P=(H,Z,se)=>{Z.component=H;const pe=H.vnode.props;H.vnode=Z,H.next=null,sx(H,Z.props,pe,se),cx(H,Z.children,se),Ho(),lm(H),Ko()},I=(H,Z,se,pe,ge,ye,Ne,_e,Me=!1)=>{const me=H&&H.children,Te=H?H.shapeFlag:0,we=Z.children,{patchFlag:Ie,shapeFlag:Ve}=Z;if(Ie>0){if(Ie&128){D(me,we,se,pe,ge,ye,Ne,_e,Me);return}else if(Ie&256){L(me,we,se,pe,ge,ye,Ne,_e,Me);return}}Ve&8?(Te&16&&fe(me,ge,ye),we!==me&&d(se,we)):Te&16?Ve&16?D(me,we,se,pe,ge,ye,Ne,_e,Me):fe(me,ge,ye,!0):(Te&8&&d(se,""),Ve&16&&O(we,se,pe,ge,ye,Ne,_e,Me))},L=(H,Z,se,pe,ge,ye,Ne,_e,Me)=>{H=H||As,Z=Z||As;const me=H.length,Te=Z.length,we=Math.min(me,Te);let Ie;for(Ie=0;IeTe?fe(H,ge,ye,!0,!1,we):O(Z,se,pe,ge,ye,Ne,_e,Me,we)},D=(H,Z,se,pe,ge,ye,Ne,_e,Me)=>{let me=0;const Te=Z.length;let we=H.length-1,Ie=Te-1;for(;me<=we&&me<=Ie;){const Ve=H[me],Xe=Z[me]=Me?Mo(Z[me]):lo(Z[me]);if(zl(Ve,Xe))v(Ve,Xe,se,null,ge,ye,Ne,_e,Me);else break;me++}for(;me<=we&&me<=Ie;){const Ve=H[we],Xe=Z[Ie]=Me?Mo(Z[Ie]):lo(Z[Ie]);if(zl(Ve,Xe))v(Ve,Xe,se,null,ge,ye,Ne,_e,Me);else break;we--,Ie--}if(me>we){if(me<=Ie){const Ve=Ie+1,Xe=VeIe)for(;me<=we;)U(H[me],ge,ye,!0),me++;else{const Ve=me,Xe=me,$e=new Map;for(me=Xe;me<=Ie;me++){const de=Z[me]=Me?Mo(Z[me]):lo(Z[me]);de.key!=null&&$e.set(de.key,me)}let Pe,je=0;const xt=Ie-Xe+1;let Mt=!1,Ue=0;const rt=new Array(xt);for(me=0;me=xt){U(de,ge,ye,!0);continue}let Fe;if(de.key!=null)Fe=$e.get(de.key);else for(Pe=Xe;Pe<=Ie;Pe++)if(rt[Pe-Xe]===0&&zl(de,Z[Pe])){Fe=Pe;break}Fe===void 0?U(de,ge,ye,!0):(rt[Fe-Xe]=me+1,Fe>=Ue?Ue=Fe:Mt=!0,v(de,Z[Fe],se,null,ge,ye,Ne,_e,Me),je++)}const mt=Mt?vx(rt):As;for(Pe=mt.length-1,me=xt-1;me>=0;me--){const de=Xe+me,Fe=Z[de],ce=Z[de+1],Re=de+1{const{el:ye,type:Ne,transition:_e,children:Me,shapeFlag:me}=H;if(me&6){V(H.component.subTree,Z,se,pe);return}if(me&128){H.suspense.move(Z,se,pe);return}if(me&64){Ne.move(H,Z,se,te);return}if(Ne===He){a(ye,Z,se);for(let we=0;we_e.enter(ye),ge);else{const{leave:we,delayLeave:Ie,afterLeave:Ve}=_e,Xe=()=>{H.ctx.isUnmounted?o(ye):a(ye,Z,se)},$e=()=>{ye._isLeaving&&ye[ao](!0),we(ye,()=>{Xe(),Ve&&Ve()})};Ie?Ie(ye,Xe,$e):$e()}else a(ye,Z,se)},U=(H,Z,se,pe=!1,ge=!1)=>{const{type:ye,props:Ne,ref:_e,children:Me,dynamicChildren:me,shapeFlag:Te,patchFlag:we,dirs:Ie,cacheIndex:Ve}=H;if(we===-2&&(ge=!1),_e!=null&&(Ho(),Kr(_e,null,se,H,!0),Ko()),Ve!=null&&(Z.renderCache[Ve]=void 0),Te&256){Z.ctx.deactivate(H);return}const Xe=Te&1&&Ie,$e=!Ds(H);let Pe;if($e&&(Pe=Ne&&Ne.onVnodeBeforeUnmount)&&eo(Pe,Z,H),Te&6)J(H.component,se,pe);else{if(Te&128){H.suspense.unmount(se,pe);return}Xe&&Al(H,null,Z,"beforeUnmount"),Te&64?H.type.remove(H,Z,se,te,pe):me&&!me.hasOnce&&(ye!==He||we>0&&we&64)?fe(me,Z,se,!1,!0):(ye===He&&we&384||!ge&&Te&16)&&fe(Me,Z,se),pe&&W(H)}($e&&(Pe=Ne&&Ne.onVnodeUnmounted)||Xe)&&Hn(()=>{Pe&&eo(Pe,Z,H),Xe&&Al(H,null,Z,"unmounted")},se)},W=H=>{const{type:Z,el:se,anchor:pe,transition:ge}=H;if(Z===He){X(se,pe);return}if(Z===Fd){w(H);return}const ye=()=>{o(se),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave()};if(H.shapeFlag&1&&ge&&!ge.persisted){const{leave:Ne,delayLeave:_e}=ge,Me=()=>Ne(se,ye);_e?_e(H.el,ye,Me):Me()}else ye()},X=(H,Z)=>{let se;for(;H!==Z;)se=h(H),o(H),H=se;o(Z)},J=(H,Z,se)=>{const{bum:pe,scope:ge,job:ye,subTree:Ne,um:_e,m:Me,a:me}=H;wm(Me),wm(me),pe&&Ru(pe),ge.stop(),ye&&(ye.flags|=8,U(Ne,H,Z,se)),_e&&Hn(_e,Z),Hn(()=>{H.isUnmounted=!0},Z)},fe=(H,Z,se,pe=!1,ge=!1,ye=0)=>{for(let Ne=ye;Ne{if(H.shapeFlag&6)return ue(H.component.subTree);if(H.shapeFlag&128)return H.suspense.next();const Z=h(H.anchor||H.el),se=Z&&Z[m0];return se?h(se):Z};let he=!1;const re=(H,Z,se)=>{let pe;H==null?Z._vnode&&(U(Z._vnode,null,null,!0),pe=Z._vnode.component):v(Z._vnode||null,H,Z,null,null,null,se),Z._vnode=H,he||(he=!0,lm(pe),f0(),he=!1)},te={p:v,um:U,m:V,r:W,mt:K,mc:O,pc:I,pbc:T,n:ue,o:e};return{render:re,hydrate:void 0,createApp:ZE(re)}}function Vd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function _l({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function px(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function cv(e,t,n=!1){const a=e.children,o=t.children;if(be(a)&&be(o))for(let l=0;l>1,e[n[r]]0&&(t[a]=n[l-1]),n[l]=a)}}for(l=n.length,s=n[l-1];l-- >0;)n[l]=s,s=t[s];return n}function H0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:H0(t)}function wm(e){if(e)for(let t=0;te.__isSuspense;function hx(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):NE(e)}const He=Symbol.for("v-fgt"),dr=Symbol.for("v-txt"),fn=Symbol.for("v-cmt"),Fd=Symbol.for("v-stc"),jr=[];let ha=null;function x(e=!1){jr.push(ha=e?null:[])}function mx(){jr.pop(),ha=jr[jr.length-1]||null}let li=1;function sc(e,t=!1){li+=e,e<0&&ha&&t&&(ha.hasOnce=!0)}function j0(e){return e.dynamicChildren=li>0?ha||As:null,mx(),li>0&&ha&&ha.push(e),e}function F(e,t,n,a,o,l){return j0(j(e,t,n,a,o,l,!0))}function oe(e,t,n,a,o){return j0(q(e,t,n,a,o,!0))}function Ht(e){return e?e.__v_isVNode===!0:!1}function zl(e,t){return e.type===t.type&&e.key===t.key}const Y0=({key:e})=>e??null,Lu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?De(e)||Yt(e)||ze(e)?{i:Dn,r:e,k:t,f:!!n}:e:null);function j(e,t=null,n=null,a=0,o=null,l=e===He?0:1,s=!1,r=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Y0(t),ref:t&&Lu(t),scopeId:v0,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:a,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Dn};return r?(dv(u,n),l&128&&e.normalize(u)):n&&(u.shapeFlag|=De(n)?8:16),li>0&&!s&&ha&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&ha.push(u),u}const q=gx;function gx(e,t=null,n=null,a=0,o=null,l=!1){if((!e||e===T0)&&(e=fn),Ht(e)){const r=mo(e,t,!0);return n&&dv(r,n),li>0&&!l&&ha&&(r.shapeFlag&6?ha[ha.indexOf(e)]=r:ha.push(r)),r.patchFlag=-2,r}if(xx(e)&&(e=e.__vccOpts),t){t=Bo(t);let{class:r,style:u}=t;r&&!De(r)&&(t.class=N(r)),nt(u)&&(Wc(u)&&!be(u)&&(u=Tn({},u)),t.style=We(u))}const s=De(e)?1:W0(e)?128:g0(e)?64:nt(e)?4:ze(e)?2:0;return j(e,t,n,a,o,s,l,!0)}function Bo(e){return e?Wc(e)||L0(e)?Tn({},e):e:null}function mo(e,t,n=!1,a=!1){const{props:o,ref:l,patchFlag:s,children:r,transition:u}=e,c=t?ut(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Y0(c),ref:t&&t.ref?n&&l?be(l)?l.concat(Lu(t)):[l,Lu(t)]:Lu(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mo(e.ssContent),ssFallback:e.ssFallback&&mo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&a&&ls(d,u.clone(d)),d}function bt(e=" ",t=0){return q(dr,null,e,t)}function ae(e="",t=!1){return t?(x(),oe(fn,null,e)):q(fn,null,e)}function lo(e){return e==null||typeof e=="boolean"?q(fn):be(e)?q(He,null,e.slice()):Ht(e)?Mo(e):q(dr,null,String(e))}function Mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mo(e)}function dv(e,t){let n=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(a&65){const o=t.default;o&&(o._c&&(o._d=!1),dv(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!L0(t)?t._ctx=Dn:o===3&&Dn&&(Dn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ze(t)?(t={default:t,_ctx:Dn},n=32):(t=String(t),a&64?(n=16,t=[bt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ut(...e){const t={};for(let n=0;nYn||Dn;let rc,Rf;{const e=Hc(),t=(n,a)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(a),l=>{o.length>1?o.forEach(s=>s(l)):o[0](l)}};rc=t("__VUE_INSTANCE_SETTERS__",n=>Yn=n),Rf=t("__VUE_SSR_SETTERS__",n=>si=n)}const Ai=e=>{const t=Yn;return rc(e),e.scope.on(),()=>{e.scope.off(),rc(t)}},Cm=()=>{Yn&&Yn.scope.off(),rc(null)};function U0(e){return e.vnode.shapeFlag&4}let si=!1;function Cx(e,t=!1,n=!1){t&&Rf(t);const{props:a,children:o}=e.vnode,l=U0(e);lx(e,a,l,t),ux(e,o,n||t);const s=l?Sx(e,t):void 0;return t&&Rf(!1),s}function Sx(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,WE);const{setup:a}=n;if(a){Ho();const o=e.setupContext=a.length>1?G0(e):null,l=Ai(e),s=Pi(a,e,0,[e.props,o]),r=ns(s);if(Ko(),l(),(r||e.sp)&&!Ds(e)&&E0(e),r){if(s.then(Cm,Cm),t)return s.then(u=>{Sm(e,u)}).catch(u=>{jc(u,e,0)});e.asyncDep=s}else Sm(e,s)}else q0(e)}function Sm(e,t,n){ze(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:nt(t)&&(e.setupState=i0(t)),q0(e)}function q0(e,t,n){const a=e.type;e.render||(e.render=a.render||Pt);{const o=Ai(e);Ho();try{jE(e)}finally{Ko(),o()}}}const kx={get(e,t){return jn(e,"get",""),e[t]}};function G0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kx),slots:e.slots,emit:e.emit,expose:t}}function Xc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(i0(uo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wr)return Wr[n](e)},has(t,n){return n in t||n in Wr}})):e.proxy}function Ex(e,t=!0){return ze(e)?e.displayName||e.name:e.name||t&&e.__name}function xx(e){return ze(e)&&"__vccOpts"in e}const S=(e,t)=>EE(e,t,si);function Ge(e,t,n){try{sc(-1);const a=arguments.length;return a===2?nt(t)&&!be(t)?Ht(t)?q(e,null,[t]):q(e,t):q(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&Ht(n)&&(n=[n]),q(e,t,n))}finally{sc(1)}}const Tx="3.5.30",$x=Pt;/**
+* @vue/runtime-dom v3.5.30
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/let Af;const km=typeof window<"u"&&window.trustedTypes;if(km)try{Af=km.createPolicy("vue",{createHTML:e=>e})}catch{}const X0=Af?e=>Af.createHTML(e):e=>e,Ox="http://www.w3.org/2000/svg",Nx="http://www.w3.org/1998/Math/MathML",No=typeof document<"u"?document:null,Em=No&&No.createElement("template"),Mx={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const o=t==="svg"?No.createElementNS(Ox,e):t==="mathml"?No.createElementNS(Nx,e):n?No.createElement(e,{is:n}):No.createElement(e);return e==="select"&&a&&a.multiple!=null&&o.setAttribute("multiple",a.multiple),o},createText:e=>No.createTextNode(e),createComment:e=>No.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>No.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,o,l){const s=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{Em.innerHTML=X0(a==="svg"?`${e}`:a==="mathml"?`${e}`:e);const r=Em.content;if(a==="svg"||a==="mathml"){const u=r.firstChild;for(;u.firstChild;)r.appendChild(u.firstChild);r.removeChild(u)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rl="transition",Tr="animation",Us=Symbol("_vtc"),Z0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},J0=Tn({},w0,Z0),Ix=e=>(e.displayName="Transition",e.props=J0,e),An=Ix((e,{slots:t})=>Ge(LE,Q0(e),t)),Ll=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},xm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Q0(e){const t={};for(const R in e)R in Z0||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:a,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:u=l,appearActiveClass:c=s,appearToClass:d=r,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,p=Px(o),v=p&&p[0],m=p&&p[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:C,onLeave:w,onLeaveCancelled:k,onBeforeAppear:E=y,onAppear:$=b,onAppearCancelled:O=C}=t,M=(R,B,K,Y)=>{R._enterCancelled=Y,ul(R,B?d:r),ul(R,B?c:s),K&&K()},T=(R,B)=>{R._isLeaving=!1,ul(R,f),ul(R,g),ul(R,h),B&&B()},A=R=>(B,K)=>{const Y=R?$:b,z=()=>M(B,R,K);Ll(Y,[B,z]),Tm(()=>{ul(B,R?u:l),to(B,R?d:r),xm(Y)||$m(B,a,v,z)})};return Tn(t,{onBeforeEnter(R){Ll(y,[R]),to(R,l),to(R,s)},onBeforeAppear(R){Ll(E,[R]),to(R,u),to(R,c)},onEnter:A(!1),onAppear:A(!0),onLeave(R,B){R._isLeaving=!0;const K=()=>T(R,B);to(R,f),R._enterCancelled?(to(R,h),_f(R)):(_f(R),to(R,h)),Tm(()=>{R._isLeaving&&(ul(R,f),to(R,g),xm(w)||$m(R,a,m,K))}),Ll(w,[R,K])},onEnterCancelled(R){M(R,!1,void 0,!0),Ll(C,[R])},onAppearCancelled(R){M(R,!0,void 0,!0),Ll(O,[R])},onLeaveCancelled(R){T(R),Ll(k,[R])}})}function Px(e){if(e==null)return null;if(nt(e))return[zd(e.enter),zd(e.leave)];{const t=zd(e);return[t,t]}}function zd(e){return j2(e)}function to(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Us]||(e[Us]=new Set)).add(t)}function ul(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Us];n&&(n.delete(t),n.size||(e[Us]=void 0))}function Tm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rx=0;function $m(e,t,n,a){const o=e._endId=++Rx,l=()=>{o===e._endId&&a()};if(n!=null)return setTimeout(l,n);const{type:s,timeout:r,propCount:u}=ew(e,t);if(!s)return a();const c=s+"end";let d=0;const f=()=>{e.removeEventListener(c,h),l()},h=g=>{g.target===e&&++d>=u&&f()};setTimeout(()=>{d(n[p]||"").split(", "),o=a(`${rl}Delay`),l=a(`${rl}Duration`),s=Om(o,l),r=a(`${Tr}Delay`),u=a(`${Tr}Duration`),c=Om(r,u);let d=null,f=0,h=0;t===rl?s>0&&(d=rl,f=s,h=l.length):t===Tr?c>0&&(d=Tr,f=c,h=u.length):(f=Math.max(s,c),d=f>0?s>c?rl:Tr:null,h=d?d===rl?l.length:u.length:0);const g=d===rl&&/\b(?:transform|all)(?:,|$)/.test(a(`${rl}Property`).toString());return{type:d,timeout:f,propCount:h,hasTransform:g}}function Om(e,t){for(;e.lengthNm(n)+Nm(e[a])))}function Nm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function _f(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ax(e,t,n){const a=e[Us];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ic=Symbol("_vod"),tw=Symbol("_vsh"),Ot={name:"show",beforeMount(e,{value:t},{transition:n}){e[ic]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$r(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:a}){!t!=!n&&(a?t?(a.beforeEnter(e),$r(e,!0),a.enter(e)):a.leave(e,()=>{$r(e,!1)}):$r(e,t))},beforeUnmount(e,{value:t}){$r(e,t)}};function $r(e,t){e.style.display=t?e[ic]:"none",e[tw]=!t}const _x=Symbol(""),Lx=/(?:^|;)\s*display\s*:/;function Dx(e,t,n){const a=e.style,o=De(n);let l=!1;if(n&&!o){if(t)if(De(t))for(const s of t.split(";")){const r=s.slice(0,s.indexOf(":")).trim();n[r]==null&&Du(a,r,"")}else for(const s in t)n[s]==null&&Du(a,s,"");for(const s in n)s==="display"&&(l=!0),Du(a,s,n[s])}else if(o){if(t!==n){const s=a[_x];s&&(n+=";"+s),a.cssText=n,l=Lx.test(n)}}else t&&e.removeAttribute("style");ic in e&&(e[ic]=l?a.display:"",e[tw]&&(a.display="none"))}const Mm=/\s*!important$/;function Du(e,t,n){if(be(n))n.forEach(a=>Du(e,t,a));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const a=Bx(e,t);Mm.test(n)?e.setProperty(Xo(a),n.replace(Mm,""),"important"):e[a]=n}}const Im=["Webkit","Moz","ms"],Hd={};function Bx(e,t){const n=Hd[t];if(n)return n;let a=Rn(t);if(a!=="filter"&&a in e)return Hd[t]=a;a=Ii(a);for(let o=0;oKd||(Hx.then(()=>Kd=0),Kd=Date.now());function Wx(e,t){const n=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=n.attached)return;Fa(jx(a,n.value),t,5,[a])};return n.value=e,n.attached=Kx(),n}function jx(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(a=>o=>!o._stopped&&a&&a(o))}else return t}const Dm=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yx=(e,t,n,a,o,l)=>{const s=o==="svg";t==="class"?Ax(e,a,s):t==="style"?Dx(e,n,a):Bc(t)?Wp(t)||Fx(e,t,n,a,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ux(e,t,a,s))?(Am(e,t,a),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rm(e,t,a,s,l,t!=="value")):e._isVueCE&&(qx(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!De(a)))?Am(e,Rn(t),a,l,t):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),Rm(e,t,a,s))};function Ux(e,t,n,a){if(a)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dm(t)&&ze(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Dm(t)&&De(n)?!1:t in e}function qx(e,t){const n=e._def.props;if(!n)return!1;const a=Rn(t);return Array.isArray(n)?n.some(o=>Rn(o)===a):Object.keys(n).some(o=>Rn(o)===a)}const nw=new WeakMap,aw=new WeakMap,uc=Symbol("_moveCb"),Bm=Symbol("_enterCb"),Gx=e=>(delete e.props.mode,e),Xx=Gx({name:"TransitionGroup",props:Tn({},J0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ct(),a=b0();let o,l;return Ua(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!eT(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(Zx),o.forEach(Jx);const r=o.filter(Qx);_f(n.vnode.el),r.forEach(u=>{const c=u.el,d=c.style;to(c,s),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[uc]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[uc]=null,ul(c,s))};c.addEventListener("transitionend",f)}),o=[]}),()=>{const s=Kt(e),r=Q0(s);let u=s.tag||He;if(o=[],l)for(let c=0;c{r.split(/\s+/).forEach(u=>u&&a.classList.remove(u))}),n.split(/\s+/).forEach(r=>r&&a.classList.add(r)),a.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(a);const{hasTransform:s}=ew(a);return l.removeChild(a),s}const qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>Ru(t,n):t};function tT(e){e.target.composing=!0}function Vm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vo=Symbol("_assign");function Fm(e,t,n){return t&&(e=e.trim()),n&&(e=Yp(e)),e}const sw={created(e,{modifiers:{lazy:t,trim:n,number:a}},o){e[Vo]=qs(o);const l=a||o.props&&o.props.type==="number";vl(e,t?"change":"input",s=>{s.target.composing||e[Vo](Fm(e.value,n,l))}),(n||l)&&vl(e,"change",()=>{e.value=Fm(e.value,n,l)}),t||(vl(e,"compositionstart",tT),vl(e,"compositionend",Vm),vl(e,"change",Vm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:o,number:l}},s){if(e[Vo]=qs(s),e.composing)return;const r=(l||e.type==="number")&&!/^0\d/.test(e.value)?Yp(e.value):e.value,u=t??"";r!==u&&(document.activeElement===e&&e.type!=="range"&&(a&&t===n||o&&e.value.trim()===u)||(e.value=u))}},rw={deep:!0,created(e,t,n){e[Vo]=qs(n),vl(e,"change",()=>{const a=e._modelValue,o=uw(e),l=e.checked,s=e[Vo];if(be(a)){const r=zb(a,o),u=r!==-1;if(l&&!u)s(a.concat(o));else if(!l&&u){const c=[...a];c.splice(r,1),s(c)}}else if(Vc(a)){const r=new Set(a);l?r.add(o):r.delete(o),s(r)}else s(cw(e,l))})},mounted:zm,beforeUpdate(e,t,n){e[Vo]=qs(n),zm(e,t,n)}};function zm(e,{value:t,oldValue:n},a){e._modelValue=t;let o;if(be(t))o=zb(t,a.props.value)>-1;else if(Vc(t))o=t.has(a.props.value);else{if(t===n)return;o=as(t,cw(e,!0))}e.checked!==o&&(e.checked=o)}const iw={created(e,{value:t},n){e.checked=as(t,n.props.value),e[Vo]=qs(n),vl(e,"change",()=>{e[Vo](uw(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Vo]=qs(a),t!==n&&(e.checked=as(t,a.props.value))}};function uw(e){return"_value"in e?e._value:e.value}function cw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const nT=["ctrl","shift","alt","meta"],aT={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>nT.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(o,...l)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=o=>{if(!("key"in o))return;const l=Xo(o.key);if(t.some(s=>s===l||oT[s]===l))return e(o)})},lT=Tn({patchProp:Yx},Mx);let Hm;function dw(){return Hm||(Hm=dx(lT))}const El=(...e)=>{dw().render(...e)},sT=(...e)=>{const t=dw().createApp(...e),{mount:n}=t;return t.mount=a=>{const o=iT(a);if(!o)return;const l=t._component;!ze(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,rT(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function rT(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function iT(e){return De(e)?document.querySelector(e):e}const Ce={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},uT=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],Wd=["sun","mon","tue","wed","thu","fri","sat"],tt="update:modelValue",ht="change",mn="input",Km=Symbol("INSTALLED_KEY"),qa=["","default","small","large"],Wm=["left","center","right"],Zc=11,fw=2;var pw=typeof global=="object"&&global&&global.Object===Object&&global,cT=typeof self=="object"&&self&&self.Object===Object&&self,Ga=pw||cT||Function("return this")(),$a=Ga.Symbol,vw=Object.prototype,dT=vw.hasOwnProperty,fT=vw.toString,Or=$a?$a.toStringTag:void 0;function pT(e){var t=dT.call(e,Or),n=e[Or];try{e[Or]=void 0;var a=!0}catch{}var o=fT.call(e);return a&&(t?e[Or]=n:delete e[Or]),o}var vT=Object.prototype,hT=vT.toString;function mT(e){return hT.call(e)}var gT="[object Null]",yT="[object Undefined]",jm=$a?$a.toStringTag:void 0;function ps(e){return e==null?e===void 0?yT:gT:jm&&jm in Object(e)?pT(e):mT(e)}function go(e){return e!=null&&typeof e=="object"}var bT="[object Symbol]";function Jc(e){return typeof e=="symbol"||go(e)&&ps(e)==bT}function fv(e,t){for(var n=-1,a=e==null?0:e.length,o=Array(a);++n0){if(++t>=UT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ZT(e){return function(){return e}}var cc=function(){try{var e=hs(Object,"defineProperty");return e({},"",{}),e}catch{}}(),JT=cc?function(e,t){return cc(e,"toString",{configurable:!0,enumerable:!1,value:ZT(t),writable:!0})}:pv,gw=XT(JT);function QT(e,t){for(var n=-1,a=e==null?0:e.length;++n-1}var o$=9007199254740991,l$=/^(?:0|[1-9]\d*)$/;function Qc(e,t){var n=typeof e;return t=t??o$,!!t&&(n=="number"||n!="symbol"&&l$.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=i$}function pr(e){return e!=null&&gv(e.length)&&!vv(e)}function u$(e,t,n){if(!oa(n))return!1;var a=typeof t;return(a=="number"?pr(n)&&Qc(t,n.length):a=="string"&&t in n)?_i(n[t],e):!1}function c$(e){return ww(function(t,n){var a=-1,o=n.length,l=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(l=e.length>3&&typeof l=="function"?(o--,l):void 0,s&&u$(n[0],n[1],s)&&(l=o<3?void 0:l,o=1),t=Object(t);++a-1}function wO(e,t){var n=this.__data__,a=ed(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}function Qo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(r)?t>1?Bi(r,t-1,n,a,o):Sv(o,r):a||(o[o.length]=r)}return o}function dc(e){var t=e==null?0:e.length;return t?Bi(e,1):[]}function Tw(e){return gw(bw(e,void 0,dc),e+"")}var kv=xw(Object.getPrototypeOf,Object),_O="[object Object]",LO=Function.prototype,DO=Object.prototype,$w=LO.toString,BO=DO.hasOwnProperty,VO=$w.call(Object);function Ev(e){if(!go(e)||ps(e)!=_O)return!1;var t=kv(e);if(t===null)return!0;var n=BO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$w.call(n)==VO}function FO(e,t,n){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var l=Array(o);++a=t?e:t)),e}function jl(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Yr(n),n=n===n?n:0),t!==void 0&&(t=Yr(t),t=t===t?t:0),zO(Yr(e),t,n)}function HO(){this.__data__=new Qo,this.size=0}function KO(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function WO(e){return this.__data__.get(e)}function jO(e){return this.__data__.has(e)}var YO=200;function UO(e,t){var n=this.__data__;if(n instanceof Qo){var a=n.__data__;if(!ci||a.lengthr))return!1;var c=l.get(e),d=l.get(t);if(c&&d)return c==t&&d==e;var f=-1,h=!0,g=n&CM?new di:void 0;for(l.set(e,t),l.set(t,e);++f=t||$<0||f&&O>=l}function y(){var E=qd();if(m(E))return b(E);r=setTimeout(y,v(E))}function b(E){return r=void 0,h&&a?g(E):(a=o=void 0,s)}function C(){r!==void 0&&clearTimeout(r),c=0,a=u=o=r=void 0}function w(){return r===void 0?s:b(qd())}function k(){var E=qd(),$=m(E);if(a=arguments,o=this,u=E,$){if(r===void 0)return p(u);if(f)return clearTimeout(r),r=setTimeout(y,t),g(u)}return r===void 0&&(r=setTimeout(y,t)),s}return k.cancel=C,k.flush=w,k}function Ff(e,t,n){(n!==void 0&&!_i(e[t],n)||n===void 0&&!(t in e))&&hv(e,t,n)}function Yw(e){return go(e)&&pr(e)}function zf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function cI(e){return fr(e,Di(e))}function dI(e,t,n,a,o,l,s){var r=zf(e,n),u=zf(t,n),c=s.get(u);if(c){Ff(e,n,c);return}var d=l?l(r,u,n+"",e,t,s):void 0,f=d===void 0;if(f){var h=aa(u),g=!h&&ii(u),p=!h&&!g&&wv(u);d=u,h||g||p?aa(r)?d=r:Yw(r)?d=mw(r):g?(f=!1,d=Nw(u,!0)):p?(f=!1,d=Aw(u,!0)):d=[]:Ev(u)||ri(u)?(d=r,ri(r)?d=cI(r):(!oa(r)||vv(r))&&(d=_w(u))):f=!1}f&&(s.set(u,d),o(d,u,a,l,s),s.delete(u)),Ff(e,n,d)}function Uw(e,t,n,a,o){e!==t&&jw(t,function(l,s){if(o||(o=new _a),oa(l))dI(e,t,s,n,Uw,a,o);else{var r=a?a(zf(e,s),l,s+"",e,t,o):void 0;r===void 0&&(r=l),Ff(e,s,r)}},Di)}function fI(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function qw(e,t,n){var a=e==null?0:e.length;if(!a)return-1;var o=a-1;return yw(e,Ww(t),o,!0)}function pI(e,t){var n=-1,a=pr(e)?Array(e.length):[];return sI(e,function(o,l,s){a[++n]=t(o,l,s)}),a}function vI(e,t){var n=aa(e)?fv:pI;return n(e,Ww(t))}function Gw(e,t){return Bi(vI(e,t),1)}var hI=1/0;function mI(e){var t=e==null?0:e.length;return t?Bi(e,hI):[]}function Xs(e){for(var t=-1,n=e==null?0:e.length,a={};++t1),l}),fr(e,Rw(e),n),a&&(n=qr(n,kI|EI|xI,SI));for(var o=t.length;o--;)CI(n,t[o]);return n});function Zw(e,t,n,a){if(!oa(e))return e;t=vr(t,e);for(var o=-1,l=t.length,s=l-1,r=e;r!=null&&++o=PI){var c=II(e);if(c)return $v(c);s=!1,o=Vw,u=new di}else u=r;e:for(;++ae===void 0,Dt=e=>typeof e=="boolean",Ke=e=>typeof e=="number",ta=e=>!e&&e!==0||be(e)&&e.length===0||nt(e)&&!Object.keys(e).length,ra=e=>typeof Element>"u"?!1:e instanceof Element,ia=e=>pn(e),AI=e=>De(e)?!Number.isNaN(Number(e)):!1,Fi=e=>e===window,fi=e=>Object.keys(e),Jw=e=>Object.entries(e),Cl=(e,t,n)=>({get value(){return hn(e,t,n)},set value(a){OI(e,t,a)}}),Qw="__epPropKey",G=e=>e,_I=e=>nt(e)&&!!e[Qw],Xa=(e,t)=>{if(!nt(e)||_I(e))return e;const{values:n,required:a,default:o,type:l,validator:s}=e,r={type:l,required:!!a,validator:n||s?u=>{let c=!1,d=[];if(n&&(d=Array.from(n),Tt(e,"default")&&d.push(o),c||(c=d.includes(u))),s&&(c||(c=s(u))),!c&&d.length>0){const f=[...new Set(d)].map(h=>JSON.stringify(h)).join(", ");$x(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[Qw]:!0};return Tt(e,"default")&&(r.default=o),r},Se=e=>Xs(Object.entries(e).map(([t,n])=>[t,Xa(n,t)])),zi=Se({to:{type:G([String,Object]),required:!0},disabled:Boolean}),LI=Se({zIndex:{type:G([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:zi.to.type,default:"body"}}),DI={scroll:({scrollTop:e,fixed:t})=>Ke(e)&&Dt(t),[ht]:e=>Dt(e)};var e1=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function Xt(e,t){throw new e1(`[${e}] ${t}`)}function dt(e,t){{const n=De(e)?new e1(`[${e}] ${t}`):e;console.warn(n)}}const BI=["class","style"],VI=/^on[A-Z]/,sd=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,a=S(()=>((n==null?void 0:n.value)||[]).concat(BI)),o=ct();return o?S(()=>{var l;return Xs(Object.entries((l=o.proxy)==null?void 0:l.$attrs).filter(([s])=>!a.value.includes(s)&&!(t&&VI.test(s))))}):(dt("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),S(()=>({})))};function t1(e,t){var n;const a=jt();return da(()=>{a.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),os(a)}function ms(e){return jb()?(Yb(e),!0):!1}function Bn(e){return typeof e=="function"?e():i(e)}function FI(e){if(!Yt(e))return It(e);const t=new Proxy({},{get(n,a,o){return i(Reflect.get(e.value,a,o))},set(n,a,o){return Yt(e.value[a])&&!Yt(o)?e.value[a].value=o:e.value[a]=o,!0},deleteProperty(n,a){return Reflect.deleteProperty(e.value,a)},has(n,a){return Reflect.has(e.value,a)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return It(t)}function zI(e){return FI(S(e))}const Nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const HI=e=>typeof e<"u",n1=e=>e!=null,KI=Object.prototype.toString,WI=e=>KI.call(e)==="[object Object]",a1=(e,t,n)=>Math.min(n,Math.max(t,e)),La=()=>{},pc=jI();function jI(){var e,t;return Nt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function o1(e,t){function n(...a){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(o).catch(l)})}return n}function YI(e,t={}){let n,a,o=La;const l=r=>{clearTimeout(r),o(),o=La};return r=>{const u=Bn(e),c=Bn(t.maxWait);return n&&l(n),u<=0||c!==void 0&&c<=0?(a&&(l(a),a=null),Promise.resolve(r())):new Promise((d,f)=>{o=t.rejectOnCancel?f:d,c&&!a&&(a=setTimeout(()=>{n&&l(n),a=null,d(r())},c)),n=setTimeout(()=>{a&&l(a),a=null,d(r())},u)})}}function UI(...e){let t=0,n,a=!0,o=La,l,s,r,u,c;!Yt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:r=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[s,r=!0,u=!0,c=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,o(),o=La)};return h=>{const g=Bn(s),p=Date.now()-t,v=()=>l=h();return d(),g<=0?(t=Date.now(),v()):(p>g&&(u||!a)?(t=Date.now(),v()):r&&(l=new Promise((m,y)=>{o=c?y:m,n=setTimeout(()=>{t=Date.now(),a=!0,m(v()),d()},Math.max(0,g-p))})),!u&&!n&&(n=setTimeout(()=>a=!0,g)),a=!1,l)}}function qI(e){return ct()}function Hi(e,t=200,n={}){return o1(YI(t,n),e)}function GI(e,t=200,n={}){const a=_(e.value),o=Hi(()=>{a.value=e.value},t,n);return ie(e,()=>o()),a}function l1(e,t=200,n=!1,a=!0,o=!1){return o1(UI(t,n,a,o),e)}function Ov(e,t=!0,n){qI()?ft(e,n):t?e():Ae(e)}function Zs(e,t,n={}){const{immediate:a=!0}=n,o=_(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function r(){o.value=!1,s()}function u(...c){s(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,e(...c)},Bn(t))}return a&&(o.value=!0,Nt&&u()),ms(r),{isPending:os(o),start:u,stop:r}}const Za=Nt?window:void 0,XI=Nt?window.document:void 0;function bn(e){var t;const n=Bn(e);return(t=n==null?void 0:n.$el)!=null?t:n}function At(...e){let t,n,a,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,a,o]=e,t=Za):[t,n,a,o]=e,!t)return La;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const l=[],s=()=>{l.forEach(d=>d()),l.length=0},r=(d,f,h,g)=>(d.addEventListener(f,h,g),()=>d.removeEventListener(f,h,g)),u=ie(()=>[bn(t),Bn(o)],([d,f])=>{if(s(),!d)return;const h=WI(f)?{...f}:f;l.push(...n.flatMap(g=>a.map(p=>r(d,g,p,h))))},{immediate:!0,flush:"post"}),c=()=>{u(),s()};return ms(c),c}let wg=!1;function Nv(e,t,n={}){const{window:a=Za,ignore:o=[],capture:l=!0,detectIframe:s=!1}=n;if(!a)return La;pc&&!wg&&(wg=!0,Array.from(a.document.body.children).forEach(v=>v.addEventListener("click",La)),a.document.documentElement.addEventListener("click",La));let r=!0;const u=v=>Bn(o).some(m=>{if(typeof m=="string")return Array.from(a.document.querySelectorAll(m)).some(y=>y===v.target||v.composedPath().includes(y));{const y=bn(m);return y&&(v.target===y||v.composedPath().includes(y))}});function c(v){const m=Bn(v);return m&&m.$.subTree.shapeFlag===16}function d(v,m){const y=Bn(v),b=y.$.subTree&&y.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(C=>C.el===m.target||m.composedPath().includes(C.el))}const f=v=>{const m=bn(e);if(v.target!=null&&!(!(m instanceof Element)&&c(e)&&d(e,v))&&!(!m||m===v.target||v.composedPath().includes(m))){if(v.detail===0&&(r=!u(v)),!r){r=!0;return}t(v)}};let h=!1;const g=[At(a,"click",v=>{h||(h=!0,setTimeout(()=>{h=!1},0),f(v))},{passive:!0,capture:l}),At(a,"pointerdown",v=>{const m=bn(e);r=!u(v)&&!!(m&&!v.composedPath().includes(m))},{passive:!0}),s&&At(a,"blur",v=>{setTimeout(()=>{var m;const y=bn(e);((m=a.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(y!=null&&y.contains(a.document.activeElement))&&t(v)},0)})].filter(Boolean);return()=>g.forEach(v=>v())}function ZI(){const e=_(!1),t=ct();return t&&ft(()=>{e.value=!0},t),e}function rd(e){const t=ZI();return S(()=>(t.value,!!e()))}function Ki(e,t,n={}){const{window:a=Za,...o}=n;let l;const s=rd(()=>a&&"MutationObserver"in a),r=()=>{l&&(l.disconnect(),l=void 0)},u=S(()=>{const h=Bn(e),g=(Array.isArray(h)?h:[h]).map(bn).filter(n1);return new Set(g)}),c=ie(()=>u.value,h=>{r(),s.value&&h.size&&(l=new MutationObserver(t),h.forEach(g=>l.observe(g,o)))},{immediate:!0,flush:"post"}),d=()=>l==null?void 0:l.takeRecords(),f=()=>{c(),r()};return ms(f),{isSupported:s,stop:f,takeRecords:d}}function JI(e={}){var t;const{window:n=Za,deep:a=!0,triggerOnRemoval:o=!1}=e,l=(t=e.document)!=null?t:n==null?void 0:n.document,s=()=>{var c;let d=l==null?void 0:l.activeElement;if(a)for(;d!=null&&d.shadowRoot;)d=(c=d==null?void 0:d.shadowRoot)==null?void 0:c.activeElement;return d},r=_(),u=()=>{r.value=s()};return n&&(At(n,"blur",c=>{c.relatedTarget===null&&u()},!0),At(n,"focus",u,!0)),o&&Ki(l,c=>{c.filter(d=>d.removedNodes.length).map(d=>Array.from(d.removedNodes)).flat().forEach(d=>{d===r.value&&u()})},{childList:!0,subtree:!0}),u(),r}function QI(e,t={}){const{window:n=Za}=t,a=rd(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const l=_(!1),s=c=>{l.value=c.matches},r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},u=da(()=>{a.value&&(r(),o=n.matchMedia(Bn(e)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),l.value=o.matches)});return ms(()=>{u(),r(),o=void 0}),l}function eP(e){return JSON.parse(JSON.stringify(e))}function tP(e,t,n={}){const{window:a=Za,initialValue:o,observe:l=!1}=n,s=_(o),r=S(()=>{var c;return bn(t)||((c=a==null?void 0:a.document)==null?void 0:c.documentElement)});function u(){var c;const d=Bn(e),f=Bn(r);if(f&&a&&d){const h=(c=a.getComputedStyle(f).getPropertyValue(d))==null?void 0:c.trim();s.value=h||o}}return l&&Ki(r,u,{attributeFilter:["style","class"],window:a}),ie([r,()=>Bn(e)],(c,d)=>{d[0]&&d[1]&&d[0].style.removeProperty(d[1]),u()},{immediate:!0}),ie(s,c=>{var d;const f=Bn(e);(d=r.value)!=null&&d.style&&f&&(c==null?r.value.style.removeProperty(f):r.value.style.setProperty(f,c))}),s}function nP(e={}){const{document:t=XI}=e;if(!t)return _("visible");const n=_(t.visibilityState);return At(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Gt(e,t,n={}){const{window:a=Za,...o}=n;let l;const s=rd(()=>a&&"ResizeObserver"in a),r=()=>{l&&(l.disconnect(),l=void 0)},u=S(()=>{const f=Bn(e);return Array.isArray(f)?f.map(h=>bn(h)):[bn(f)]}),c=ie(u,f=>{if(r(),s.value&&a){l=new ResizeObserver(t);for(const h of f)h&&l.observe(h,o)}},{immediate:!0,flush:"post"}),d=()=>{r(),c()};return ms(d),{isSupported:s,stop:d}}function Cg(e,t={}){const{reset:n=!0,windowResize:a=!0,windowScroll:o=!0,immediate:l=!0,updateTiming:s="sync"}=t,r=_(0),u=_(0),c=_(0),d=_(0),f=_(0),h=_(0),g=_(0),p=_(0);function v(){const y=bn(e);if(!y){n&&(r.value=0,u.value=0,c.value=0,d.value=0,f.value=0,h.value=0,g.value=0,p.value=0);return}const b=y.getBoundingClientRect();r.value=b.height,u.value=b.bottom,c.value=b.left,d.value=b.right,f.value=b.top,h.value=b.width,g.value=b.x,p.value=b.y}function m(){s==="sync"?v():s==="next-frame"&&requestAnimationFrame(()=>v())}return Gt(e,m),ie(()=>bn(e),y=>!y&&m()),Ki(e,m,{attributeFilter:["style","class"]}),o&&At("scroll",m,{capture:!0,passive:!0}),a&&At("resize",m,{passive:!0}),Ov(()=>{l&&m()}),{height:r,bottom:u,left:c,right:d,top:f,width:h,x:g,y:p,update:m}}function Hf(e,t={width:0,height:0},n={}){const{window:a=Za,box:o="content-box"}=n,l=S(()=>{var f,h;return(h=(f=bn(e))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),s=_(t.width),r=_(t.height),{stop:u}=Gt(e,([f])=>{const h=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(a&&l.value){const g=bn(e);if(g){const p=g.getBoundingClientRect();s.value=p.width,r.value=p.height}}else if(h){const g=Array.isArray(h)?h:[h];s.value=g.reduce((p,{inlineSize:v})=>p+v,0),r.value=g.reduce((p,{blockSize:v})=>p+v,0)}else s.value=f.contentRect.width,r.value=f.contentRect.height},n);Ov(()=>{const f=bn(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,r.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=ie(()=>bn(e),f=>{s.value=f?t.width:0,r.value=f?t.height:0});function d(){u(),c()}return{width:s,height:r,stop:d}}function aP(e,t,n={}){const{root:a,rootMargin:o="0px",threshold:l=0,window:s=Za,immediate:r=!0}=n,u=rd(()=>s&&"IntersectionObserver"in s),c=S(()=>{const p=Bn(e);return(Array.isArray(p)?p:[p]).map(bn).filter(n1)});let d=La;const f=_(r),h=u.value?ie(()=>[c.value,bn(a),f.value],([p,v])=>{if(d(),!f.value||!p.length)return;const m=new IntersectionObserver(t,{root:bn(v),rootMargin:o,threshold:l});p.forEach(y=>y&&m.observe(y)),d=()=>{m.disconnect(),d=La}},{immediate:r,flush:"post"}):La,g=()=>{d(),h(),f.value=!1};return ms(g),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:g}}function s1(e,t,n,a={}){var o,l,s;const{clone:r=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:h}=a,g=ct(),p=n||(g==null?void 0:g.emit)||((o=g==null?void 0:g.$emit)==null?void 0:o.bind(g))||((s=(l=g==null?void 0:g.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(g==null?void 0:g.proxy));let v=c;t||(t="modelValue"),v=v||`update:${t.toString()}`;const m=C=>r?typeof r=="function"?r(C):eP(C):C,y=()=>HI(e[t])?m(e[t]):f,b=C=>{h?h(C)&&p(v,C):p(v,C)};if(u){const C=y(),w=_(C);let k=!1;return ie(()=>e[t],E=>{k||(k=!0,w.value=m(E),Ae(()=>k=!1))}),ie(w,E=>{!k&&(E!==e[t]||d)&&b(E)},{deep:d}),w}else return S({get(){return y()},set(C){b(C)}})}function oP(e={}){const{window:t=Za}=e;if(!t)return _(!1);const n=_(t.document.hasFocus());return At(t,"blur",()=>{n.value=!1}),At(t,"focus",()=>{n.value=!0}),n}function Mv(e={}){const{window:t=Za,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:l=!0,type:s="inner"}=e,r=_(n),u=_(a),c=()=>{t&&(s==="outer"?(r.value=t.outerWidth,u.value=t.outerHeight):l?(r.value=t.innerWidth,u.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(c(),Ov(c),At("resize",c,{passive:!0}),o){const d=QI("(orientation: portrait)");ie(d,()=>c())}return{width:r,height:u}}function Iv(){const e=jt(),t=_(0),n=S(()=>({minWidth:`${Math.max(t.value,Zc)}px`}));return Gt(e,()=>{var o;t.value=((o=e.value)==null?void 0:o.getBoundingClientRect().width)??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const co=({from:e,replacement:t,scope:n,version:a,ref:o,type:l="API"},s)=>{ie(()=>i(s),r=>{r&&dt(n,`[${l}] ${e} is about to be deprecated in version ${a}, please use ${t} instead.
+For more detail, please visit: ${o}
+`)},{immediate:!0})},lP='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',r1=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,Sg=e=>typeof Element>"u"?!1:e instanceof Element,sP=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,kg=e=>Array.from(e.querySelectorAll(lP)).filter(t=>pi(t)&&sP(t)),pi=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Bu=function(e,t,...n){let a;t.includes("mouse")||t.includes("click")?a="MouseEvents":t.includes("key")?a="KeyboardEvent":a="HTMLEvents";const o=document.createEvent(a);return o.initEvent(t,...n),e.dispatchEvent(o),e},i1=e=>!e.getAttribute("aria-owns"),u1=(e,t,n)=>{const{parentNode:a}=e;if(!a)return null;const o=a.querySelectorAll(n);return o[Array.prototype.indexOf.call(o,e)+t]||null},Wi=(e,t)=>{if(!e||!e.focus)return;let n=!1;Sg(e)&&!pi(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),Sg(e)&&n&&e.removeAttribute("tabindex")},Vu=e=>{e&&(Wi(e),!i1(e)&&e.click())},id=()=>Nt&&/firefox/i.test(window.navigator.userAgent),c1=()=>Nt&&/android/i.test(window.navigator.userAgent),Pv=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),hl=e=>Ii(e),rP="utils/dom/style",d1=(e="")=>e.split(" ").filter(t=>!!t.trim()),fo=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ea=(e,t)=>{!e||!t.trim()||e.classList.add(...d1(t))},Gn=(e,t)=>{!e||!t.trim()||e.classList.remove(...d1(t))},Ao=(e,t)=>{var a;if(!Nt||!e||!t||r1(e))return"";let n=Rn(t);n==="float"&&(n="cssFloat");try{const o=e.style[n];if(o)return o;const l=(a=document.defaultView)==null?void 0:a.getComputedStyle(e,"");return l?l[n]:""}catch{return e.style[n]}},f1=(e,t,n)=>{if(!(!e||!t))if(nt(t))Jw(t).forEach(([a,o])=>f1(e,a,o));else{const a=Rn(t);e.style[a]=n}};function tn(e,t="px"){if(!e&&e!==0)return"";if(Ke(e)||AI(e))return`${e}${t}`;if(De(e))return e;dt(rP,"binding value must be a string or number")}const p1=(e,t,n,a)=>{const o={offsetX:0,offsetY:0},l=_(!1),s=(h,g)=>{if(e.value){const{offsetX:p,offsetY:v}=o,m=e.value.getBoundingClientRect(),y=m.left,b=m.top,C=m.width,w=m.height,k=document.documentElement.clientWidth,E=document.documentElement.clientHeight,$=-y+p,O=-b+v,M=k-y-C+p,T=E-b-(w{const g=h.clientX,p=h.clientY,{offsetX:v,offsetY:m}=o,y=C=>{l.value||(l.value=!0),s(v+C.clientX-g,m+C.clientY-p)},b=()=>{l.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",r),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",r),window.removeEventListener("resize",f))},d=()=>{o.offsetX=0,o.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:h,offsetY:g}=o;s(h,g)};return ft(()=>{da(()=>{n.value?u():c()})}),Rt(()=>{c()}),{isDragging:l,resetPosition:d,updatePosition:f}};var iP={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const uP=e=>(t,n)=>cP(t,n,i(e)),cP=(e,t,n)=>hn(n,e,e).replace(/\{(\w+)\}/g,(a,o)=>`${(t==null?void 0:t[o])??`{${o}}`}`),dP=e=>({lang:S(()=>i(e).name),locale:Yt(e)?e:_(e),t:uP(e)}),v1=Symbol("localeContextKey"),St=e=>{const t=e||Le(v1,_());return dP(S(()=>t.value||iP))},Gr="el",fP="is-",Dl=(e,t,n,a,o)=>{let l=`${e}-${t}`;return n&&(l+=`-${n}`),a&&(l+=`__${a}`),o&&(l+=`--${o}`),l},h1=Symbol("namespaceContextKey"),Rv=e=>{const t=e||(ct()?Le(h1,_(Gr)):_(Gr));return S(()=>i(t)||Gr)},ve=(e,t)=>{const n=Rv(t);return{namespace:n,b:(v="")=>Dl(n.value,e,v,"",""),e:v=>v?Dl(n.value,e,"",v,""):"",m:v=>v?Dl(n.value,e,"","",v):"",be:(v,m)=>v&&m?Dl(n.value,e,v,m,""):"",em:(v,m)=>v&&m?Dl(n.value,e,"",v,m):"",bm:(v,m)=>v&&m?Dl(n.value,e,v,"",m):"",bem:(v,m,y)=>v&&m&&y?Dl(n.value,e,v,m,y):"",is:(v,...m)=>{const y=m.length>=1?m[0]:!0;return v&&y?`${fP}${v}`:""},cssVar:v=>{const m={};for(const y in v)v[y]&&(m[`--${n.value}-${y}`]=v[y]);return m},cssVarName:v=>`--${n.value}-${v}`,cssVarBlock:v=>{const m={};for(const y in v)v[y]&&(m[`--${n.value}-${e}-${y}`]=v[y]);return m},cssVarBlockName:v=>`--${n.value}-${e}-${v}`}};function pP(e,t,n,a){const o=n-t;return e/=a/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}const za=e=>Nt?window.requestAnimationFrame(e):setTimeout(e,16),Yo=e=>Nt?window.cancelAnimationFrame(e):clearTimeout(e),vP=(e,t)=>{if(!Nt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],a=Ao(e,n);return["scroll","auto","overlay"].some(o=>a.includes(o))},Av=(e,t)=>{if(!Nt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(vP(n,t))return n;r1(n)?n=n.host:n=n.parentNode}return n};let vu;const m1=e=>{var l;if(!Nt)return 0;if(vu!==void 0)return vu;const t=document.createElement("div");t.className=`${e}-scrollbar__wrap`,t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",t.appendChild(a);const o=a.offsetWidth;return(l=t.parentNode)==null||l.removeChild(t),vu=n-o,vu};function _v(e,t){if(!Nt)return;if(!t){e.scrollTop=0;return}const n=[];let a=t.offsetParent;for(;a!==null&&e!==a&&e.contains(a);)n.push(a),a=a.offsetParent;const o=t.offsetTop+n.reduce((u,c)=>u+c.offsetTop,0),l=o+t.offsetHeight,s=e.scrollTop,r=s+e.clientHeight;or&&(e.scrollTop=l-e.clientHeight)}function hP(e,t,n,a,o){const l=Date.now();let s;const r=()=>{const u=Date.now()-l,c=pP(u>a?a:u,t,n,a);Fi(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u{s&&Yo(s)}}const Eg=(e,t)=>Fi(t)?e.ownerDocument.documentElement:t,xg=e=>Fi(e)?window.scrollY:e.scrollTop,ud=(e,t={})=>{Yt(e)||Xt("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||ve("popup"),a=S(()=>n.bm("parent","hidden"));let o=0,l=!1,s="0",r=!1;const u=()=>{r||(r=!0,setTimeout(()=>{typeof document>"u"||l&&document&&(document.body.style.width=s,Gn(document.body,a.value))},200))};ie(e,c=>{if(!c){u();return}r=!1,l=!fo(document.body,a.value),l&&(s=document.body.style.width,Ea(document.body,a.value)),o=m1(n.namespace.value);const d=document.documentElement.clientHeight0&&(d||f==="scroll")&&l&&(document.body.style.width=`calc(100% - ${o}px)`)}),Yb(()=>u())},kn=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const l=e==null?void 0:e(o);if(n===!1||!l)return t==null?void 0:t(o)},Tg=e=>t=>t.pointerType==="mouse"?e(t):void 0,Ft=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=g1(e);if(t){if(Object.values(Ce).includes(t))return t;switch(t){case" ":return Ce.space;default:return""}}return""},g1=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&c1()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},mP=Xa({type:G(Boolean),default:null}),gP=Xa({type:G(Function)}),yP=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,a=[t],o={[e]:mP,[n]:gP};return{useModelToggle:({indicator:s,toggleReason:r,shouldHideWhenRouteChanges:u,shouldProceed:c,onShow:d,onHide:f})=>{const h=ct(),{emit:g}=h,p=h.props,v=S(()=>ze(p[n])),m=S(()=>p[e]===null),y=$=>{s.value!==!0&&(s.value=!0,r&&(r.value=$),ze(d)&&d($))},b=$=>{s.value!==!1&&(s.value=!1,r&&(r.value=$),ze(f)&&f($))},C=$=>{if(p.disabled===!0||ze(c)&&!c())return;const O=v.value&&Nt;O&&g(t,!0),(m.value||!O)&&y($)},w=$=>{if(p.disabled===!0||!Nt)return;const O=v.value&&Nt;O&&g(t,!1),(m.value||!O)&&b($)},k=$=>{Dt($)&&(p.disabled&&$?v.value&&g(t,!1):s.value!==$&&($?y():b()))},E=()=>{s.value?w():C()};return ie(()=>p[e],k),u&&h.appContext.config.globalProperties.$route!==void 0&&ie(()=>({...h.proxy.$route}),()=>{u.value&&s.value&&w()}),ft(()=>{k(p[e])}),{hide:w,show:C,toggle:E,hasUpdateHandler:v}},useModelToggleProps:o,useModelToggleEmits:a}},y1=e=>{const t=ct();return S(()=>{var n,a;return(a=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:a[e]})};var ua="top",Oa="bottom",Na="right",ca="left",Lv="auto",ji=[ua,Oa,Na,ca],Js="start",vi="end",bP="clippingParents",b1="viewport",Nr="popper",wP="reference",$g=ji.reduce(function(e,t){return e.concat([t+"-"+Js,t+"-"+vi])},[]),So=[].concat(ji,[Lv]).reduce(function(e,t){return e.concat([t,t+"-"+Js,t+"-"+vi])},[]),CP="beforeRead",SP="read",kP="afterRead",EP="beforeMain",xP="main",TP="afterMain",$P="beforeWrite",OP="write",NP="afterWrite",MP=[CP,SP,kP,EP,xP,TP,$P,OP,NP];function bo(e){return e?(e.nodeName||"").toLowerCase():null}function wa(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rs(e){var t=wa(e).Element;return e instanceof t||e instanceof Element}function Ta(e){var t=wa(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dv(e){if(typeof ShadowRoot>"u")return!1;var t=wa(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function IP(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var a=t.styles[n]||{},o=t.attributes[n]||{},l=t.elements[n];!Ta(l)||!bo(l)||(Object.assign(l.style,a),Object.keys(o).forEach(function(s){var r=o[s];r===!1?l.removeAttribute(s):l.setAttribute(s,r===!0?"":r)}))})}function PP(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(a){var o=t.elements[a],l=t.attributes[a]||{},s=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:n[a]),r=s.reduce(function(u,c){return u[c]="",u},{});!Ta(o)||!bo(o)||(Object.assign(o.style,r),Object.keys(l).forEach(function(u){o.removeAttribute(u)}))})}}var w1={name:"applyStyles",enabled:!0,phase:"write",fn:IP,effect:PP,requires:["computeStyles"]};function po(e){return e.split("-")[0]}var Ql=Math.max,vc=Math.min,Qs=Math.round;function Kf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function C1(){return!/^((?!chrome|android).)*safari/i.test(Kf())}function er(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var a=e.getBoundingClientRect(),o=1,l=1;t&&Ta(e)&&(o=e.offsetWidth>0&&Qs(a.width)/e.offsetWidth||1,l=e.offsetHeight>0&&Qs(a.height)/e.offsetHeight||1);var s=rs(e)?wa(e):window,r=s.visualViewport,u=!C1()&&n,c=(a.left+(u&&r?r.offsetLeft:0))/o,d=(a.top+(u&&r?r.offsetTop:0))/l,f=a.width/o,h=a.height/l;return{width:f,height:h,top:d,right:c+f,bottom:d+h,left:c,x:c,y:d}}function Bv(e){var t=er(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}function S1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dv(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Uo(e){return wa(e).getComputedStyle(e)}function RP(e){return["table","td","th"].indexOf(bo(e))>=0}function Il(e){return((rs(e)?e.ownerDocument:e.document)||window.document).documentElement}function cd(e){return bo(e)==="html"?e:e.assignedSlot||e.parentNode||(Dv(e)?e.host:null)||Il(e)}function Og(e){return!Ta(e)||Uo(e).position==="fixed"?null:e.offsetParent}function AP(e){var t=/firefox/i.test(Kf()),n=/Trident/i.test(Kf());if(n&&Ta(e)){var a=Uo(e);if(a.position==="fixed")return null}var o=cd(e);for(Dv(o)&&(o=o.host);Ta(o)&&["html","body"].indexOf(bo(o))<0;){var l=Uo(o);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return o;o=o.parentNode}return null}function Yi(e){for(var t=wa(e),n=Og(e);n&&RP(n)&&Uo(n).position==="static";)n=Og(n);return n&&(bo(n)==="html"||bo(n)==="body"&&Uo(n).position==="static")?t:n||AP(e)||t}function Vv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xr(e,t,n){return Ql(e,vc(t,n))}function _P(e,t,n){var a=Xr(e,t,n);return a>n?n:a}function k1(){return{top:0,right:0,bottom:0,left:0}}function E1(e){return Object.assign({},k1(),e)}function x1(e,t){return t.reduce(function(n,a){return n[a]=e,n},{})}var LP=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,E1(typeof e!="number"?e:x1(e,ji))};function DP(e){var t,n=e.state,a=e.name,o=e.options,l=n.elements.arrow,s=n.modifiersData.popperOffsets,r=po(n.placement),u=Vv(r),c=[ca,Na].indexOf(r)>=0,d=c?"height":"width";if(!(!l||!s)){var f=LP(o.padding,n),h=Bv(l),g=u==="y"?ua:ca,p=u==="y"?Oa:Na,v=n.rects.reference[d]+n.rects.reference[u]-s[u]-n.rects.popper[d],m=s[u]-n.rects.reference[u],y=Yi(l),b=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,C=v/2-m/2,w=f[g],k=b-h[d]-f[p],E=b/2-h[d]/2+C,$=Xr(w,E,k),O=u;n.modifiersData[a]=(t={},t[O]=$,t.centerOffset=$-E,t)}}function BP(e){var t=e.state,n=e.options,a=n.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||S1(t.elements.popper,o)&&(t.elements.arrow=o))}var VP={name:"arrow",enabled:!0,phase:"main",fn:DP,effect:BP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tr(e){return e.split("-")[1]}var FP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zP(e,t){var n=e.x,a=e.y,o=t.devicePixelRatio||1;return{x:Qs(n*o)/o||0,y:Qs(a*o)/o||0}}function Ng(e){var t,n=e.popper,a=e.popperRect,o=e.placement,l=e.variation,s=e.offsets,r=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=s.x,g=h===void 0?0:h,p=s.y,v=p===void 0?0:p,m=typeof d=="function"?d({x:g,y:v}):{x:g,y:v};g=m.x,v=m.y;var y=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),C=ca,w=ua,k=window;if(c){var E=Yi(n),$="clientHeight",O="clientWidth";if(E===wa(n)&&(E=Il(n),Uo(E).position!=="static"&&r==="absolute"&&($="scrollHeight",O="scrollWidth")),E=E,o===ua||(o===ca||o===Na)&&l===vi){w=Oa;var M=f&&E===k&&k.visualViewport?k.visualViewport.height:E[$];v-=M-a.height,v*=u?1:-1}if(o===ca||(o===ua||o===Oa)&&l===vi){C=Na;var T=f&&E===k&&k.visualViewport?k.visualViewport.width:E[O];g-=T-a.width,g*=u?1:-1}}var A=Object.assign({position:r},c&&FP),R=d===!0?zP({x:g,y:v},wa(n)):{x:g,y:v};if(g=R.x,v=R.y,u){var B;return Object.assign({},A,(B={},B[w]=b?"0":"",B[C]=y?"0":"",B.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+v+"px)":"translate3d("+g+"px, "+v+"px, 0)",B))}return Object.assign({},A,(t={},t[w]=b?v+"px":"",t[C]=y?g+"px":"",t.transform="",t))}function HP(e){var t=e.state,n=e.options,a=n.gpuAcceleration,o=a===void 0?!0:a,l=n.adaptive,s=l===void 0?!0:l,r=n.roundOffsets,u=r===void 0?!0:r,c={placement:po(t.placement),variation:tr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ng(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ng(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var T1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:HP,data:{}},hu={passive:!0};function KP(e){var t=e.state,n=e.instance,a=e.options,o=a.scroll,l=o===void 0?!0:o,s=a.resize,r=s===void 0?!0:s,u=wa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach(function(d){d.addEventListener("scroll",n.update,hu)}),r&&u.addEventListener("resize",n.update,hu),function(){l&&c.forEach(function(d){d.removeEventListener("scroll",n.update,hu)}),r&&u.removeEventListener("resize",n.update,hu)}}var $1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:KP,data:{}},WP={left:"right",right:"left",bottom:"top",top:"bottom"};function Fu(e){return e.replace(/left|right|bottom|top/g,function(t){return WP[t]})}var jP={start:"end",end:"start"};function Mg(e){return e.replace(/start|end/g,function(t){return jP[t]})}function Fv(e){var t=wa(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function zv(e){return er(Il(e)).left+Fv(e).scrollLeft}function YP(e,t){var n=wa(e),a=Il(e),o=n.visualViewport,l=a.clientWidth,s=a.clientHeight,r=0,u=0;if(o){l=o.width,s=o.height;var c=C1();(c||!c&&t==="fixed")&&(r=o.offsetLeft,u=o.offsetTop)}return{width:l,height:s,x:r+zv(e),y:u}}function UP(e){var t,n=Il(e),a=Fv(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Ql(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Ql(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),r=-a.scrollLeft+zv(e),u=-a.scrollTop;return Uo(o||n).direction==="rtl"&&(r+=Ql(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:s,x:r,y:u}}function Hv(e){var t=Uo(e),n=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}function O1(e){return["html","body","#document"].indexOf(bo(e))>=0?e.ownerDocument.body:Ta(e)&&Hv(e)?e:O1(cd(e))}function Zr(e,t){var n;t===void 0&&(t=[]);var a=O1(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),l=wa(a),s=o?[l].concat(l.visualViewport||[],Hv(a)?a:[]):a,r=t.concat(s);return o?r:r.concat(Zr(cd(s)))}function Wf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qP(e,t){var n=er(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ig(e,t,n){return t===b1?Wf(YP(e,n)):rs(t)?qP(t,n):Wf(UP(Il(e)))}function GP(e){var t=Zr(cd(e)),n=["absolute","fixed"].indexOf(Uo(e).position)>=0,a=n&&Ta(e)?Yi(e):e;return rs(a)?t.filter(function(o){return rs(o)&&S1(o,a)&&bo(o)!=="body"}):[]}function XP(e,t,n,a){var o=t==="clippingParents"?GP(e):[].concat(t),l=[].concat(o,[n]),s=l[0],r=l.reduce(function(u,c){var d=Ig(e,c,a);return u.top=Ql(d.top,u.top),u.right=vc(d.right,u.right),u.bottom=vc(d.bottom,u.bottom),u.left=Ql(d.left,u.left),u},Ig(e,s,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function N1(e){var t=e.reference,n=e.element,a=e.placement,o=a?po(a):null,l=a?tr(a):null,s=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2,u;switch(o){case ua:u={x:s,y:t.y-n.height};break;case Oa:u={x:s,y:t.y+t.height};break;case Na:u={x:t.x+t.width,y:r};break;case ca:u={x:t.x-n.width,y:r};break;default:u={x:t.x,y:t.y}}var c=o?Vv(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(l){case Js:u[c]=u[c]-(t[d]/2-n[d]/2);break;case vi:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function hi(e,t){t===void 0&&(t={});var n=t,a=n.placement,o=a===void 0?e.placement:a,l=n.strategy,s=l===void 0?e.strategy:l,r=n.boundary,u=r===void 0?bP:r,c=n.rootBoundary,d=c===void 0?b1:c,f=n.elementContext,h=f===void 0?Nr:f,g=n.altBoundary,p=g===void 0?!1:g,v=n.padding,m=v===void 0?0:v,y=E1(typeof m!="number"?m:x1(m,ji)),b=h===Nr?wP:Nr,C=e.rects.popper,w=e.elements[p?b:h],k=XP(rs(w)?w:w.contextElement||Il(e.elements.popper),u,d,s),E=er(e.elements.reference),$=N1({reference:E,element:C,placement:o}),O=Wf(Object.assign({},C,$)),M=h===Nr?O:E,T={top:k.top-M.top+y.top,bottom:M.bottom-k.bottom+y.bottom,left:k.left-M.left+y.left,right:M.right-k.right+y.right},A=e.modifiersData.offset;if(h===Nr&&A){var R=A[o];Object.keys(T).forEach(function(B){var K=[Na,Oa].indexOf(B)>=0?1:-1,Y=[ua,Oa].indexOf(B)>=0?"y":"x";T[B]+=R[Y]*K})}return T}function ZP(e,t){t===void 0&&(t={});var n=t,a=n.placement,o=n.boundary,l=n.rootBoundary,s=n.padding,r=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?So:u,d=tr(a),f=d?r?$g:$g.filter(function(p){return tr(p)===d}):ji,h=f.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=f);var g=h.reduce(function(p,v){return p[v]=hi(e,{placement:v,boundary:o,rootBoundary:l,padding:s})[po(v)],p},{});return Object.keys(g).sort(function(p,v){return g[p]-g[v]})}function JP(e){if(po(e)===Lv)return[];var t=Fu(e);return[Mg(e),t,Mg(t)]}function QP(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,s=n.altAxis,r=s===void 0?!0:s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,p=g===void 0?!0:g,v=n.allowedAutoPlacements,m=t.options.placement,y=po(m),b=y===m,C=u||(b||!p?[Fu(m)]:JP(m)),w=[m].concat(C).reduce(function(X,J){return X.concat(po(J)===Lv?ZP(t,{placement:J,boundary:d,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:v}):J)},[]),k=t.rects.reference,E=t.rects.popper,$=new Map,O=!0,M=w[0],T=0;T=0,Y=K?"width":"height",z=hi(t,{placement:A,boundary:d,rootBoundary:f,altBoundary:h,padding:c}),P=K?B?Na:ca:B?Oa:ua;k[Y]>E[Y]&&(P=Fu(P));var I=Fu(P),L=[];if(l&&L.push(z[R]<=0),r&&L.push(z[P]<=0,z[I]<=0),L.every(function(X){return X})){M=A,O=!1;break}$.set(A,L)}if(O)for(var D=p?3:1,V=function(X){var J=w.find(function(fe){var ue=$.get(fe);if(ue)return ue.slice(0,X).every(function(he){return he})});if(J)return M=J,"break"},U=D;U>0;U--){var W=V(U);if(W==="break")break}t.placement!==M&&(t.modifiersData[a]._skip=!0,t.placement=M,t.reset=!0)}}var eR={name:"flip",enabled:!0,phase:"main",fn:QP,requiresIfExists:["offset"],data:{_skip:!1}};function Pg(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Rg(e){return[ua,Na,Oa,ca].some(function(t){return e[t]>=0})}function tR(e){var t=e.state,n=e.name,a=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,s=hi(t,{elementContext:"reference"}),r=hi(t,{altBoundary:!0}),u=Pg(s,a),c=Pg(r,o,l),d=Rg(u),f=Rg(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var nR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tR};function aR(e,t,n){var a=po(e),o=[ca,ua].indexOf(a)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=l[0],r=l[1];return s=s||0,r=(r||0)*o,[ca,Na].indexOf(a)>=0?{x:r,y:s}:{x:s,y:r}}function oR(e){var t=e.state,n=e.options,a=e.name,o=n.offset,l=o===void 0?[0,0]:o,s=So.reduce(function(d,f){return d[f]=aR(f,t.rects,l),d},{}),r=s[t.placement],u=r.x,c=r.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[a]=s}var lR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:oR};function sR(e){var t=e.state,n=e.name;t.modifiersData[n]=N1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var M1={name:"popperOffsets",enabled:!0,phase:"read",fn:sR,data:{}};function rR(e){return e==="x"?"y":"x"}function iR(e){var t=e.state,n=e.options,a=e.name,o=n.mainAxis,l=o===void 0?!0:o,s=n.altAxis,r=s===void 0?!1:s,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,h=n.tether,g=h===void 0?!0:h,p=n.tetherOffset,v=p===void 0?0:p,m=hi(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),y=po(t.placement),b=tr(t.placement),C=!b,w=Vv(y),k=rR(w),E=t.modifiersData.popperOffsets,$=t.rects.reference,O=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,T=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(E){if(l){var B,K=w==="y"?ua:ca,Y=w==="y"?Oa:Na,z=w==="y"?"height":"width",P=E[w],I=P+m[K],L=P-m[Y],D=g?-O[z]/2:0,V=b===Js?$[z]:O[z],U=b===Js?-O[z]:-$[z],W=t.elements.arrow,X=g&&W?Bv(W):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:k1(),fe=J[K],ue=J[Y],he=Xr(0,$[z],X[z]),re=C?$[z]/2-D-he-fe-T.mainAxis:V-he-fe-T.mainAxis,te=C?-$[z]/2+D+he+ue+T.mainAxis:U+he+ue+T.mainAxis,ee=t.elements.arrow&&Yi(t.elements.arrow),H=ee?w==="y"?ee.clientTop||0:ee.clientLeft||0:0,Z=(B=A==null?void 0:A[w])!=null?B:0,se=P+re-Z-H,pe=P+te-Z,ge=Xr(g?vc(I,se):I,P,g?Ql(L,pe):L);E[w]=ge,R[w]=ge-P}if(r){var ye,Ne=w==="x"?ua:ca,_e=w==="x"?Oa:Na,Me=E[k],me=k==="y"?"height":"width",Te=Me+m[Ne],we=Me-m[_e],Ie=[ua,ca].indexOf(y)!==-1,Ve=(ye=A==null?void 0:A[k])!=null?ye:0,Xe=Ie?Te:Me-$[me]-O[me]-Ve+T.altAxis,$e=Ie?Me+$[me]+O[me]-Ve-T.altAxis:we,Pe=g&&Ie?_P(Xe,Me,$e):Xr(g?Xe:Te,Me,g?$e:we);E[k]=Pe,R[k]=Pe-Me}t.modifiersData[a]=R}}var uR={name:"preventOverflow",enabled:!0,phase:"main",fn:iR,requiresIfExists:["offset"]};function cR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function dR(e){return e===wa(e)||!Ta(e)?Fv(e):cR(e)}function fR(e){var t=e.getBoundingClientRect(),n=Qs(t.width)/e.offsetWidth||1,a=Qs(t.height)/e.offsetHeight||1;return n!==1||a!==1}function pR(e,t,n){n===void 0&&(n=!1);var a=Ta(t),o=Ta(t)&&fR(t),l=Il(t),s=er(e,o,n),r={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&((bo(t)!=="body"||Hv(l))&&(r=dR(t)),Ta(t)?(u=er(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=zv(l))),{x:s.left+r.scrollLeft-u.x,y:s.top+r.scrollTop-u.y,width:s.width,height:s.height}}function vR(e){var t=new Map,n=new Set,a=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var s=[].concat(l.requires||[],l.requiresIfExists||[]);s.forEach(function(r){if(!n.has(r)){var u=t.get(r);u&&o(u)}}),a.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),a}function hR(e){var t=vR(e);return MP.reduce(function(n,a){return n.concat(t.filter(function(o){return o.phase===a}))},[])}function mR(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function gR(e){var t=e.reduce(function(n,a){var o=n[a.name];return n[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ag={placement:"bottom",modifiers:[],strategy:"absolute"};function _g(){for(var e=arguments.length,t=new Array(e),n=0;n{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const c=SR(u);Object.assign(s.value,c)},requires:["computeStyles"]},o=S(()=>{const{onFirstUpdate:u,placement:c,strategy:d,modifiers:f}=i(n);return{onFirstUpdate:u,placement:c||"bottom",strategy:d||"absolute",modifiers:[...f||[],a,{name:"applyStyles",enabled:!1}]}}),l=jt(),s=_({styles:{popper:{position:i(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),r=()=>{l.value&&(l.value.destroy(),l.value=void 0)};return ie(o,u=>{const c=i(l);c&&c.setOptions(u)},{deep:!0}),ie([e,t],([u,c])=>{r(),!(!u||!c)&&(l.value=wR(u,c,i(o)))}),Rt(()=>{r()}),{state:S(()=>{var u;return{...((u=i(l))==null?void 0:u.state)||{}}}),styles:S(()=>i(s).styles),attributes:S(()=>i(s).attributes),update:()=>{var u;return(u=i(l))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=i(l))==null?void 0:u.forceUpdate()},instanceRef:S(()=>i(l))}};function SR(e){const t=Object.keys(e.elements);return{styles:Xs(t.map(n=>[n,e.styles[n]||{}])),attributes:Xs(t.map(n=>[n,e.attributes[n]]))}}const Wv=e=>{if(!e)return{onClick:Pt,onMousedown:Pt,onMouseup:Pt};let t=!1,n=!1;return{onClick:s=>{t&&n&&e(s),t=n=!1},onMousedown:s=>{t=s.target===s.currentTarget},onMouseup:s=>{n=s.target===s.currentTarget}}},kR=(e,t=0)=>{if(t===0)return e;const n=_(nt(t)&&!!t.initVal);let a=null;const o=s=>{if(kt(s)){n.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{n.value=e.value},s)},l=s=>{s==="leading"?Ke(t)?o(t):o(t.leading):nt(t)?o(t.trailing):n.value=!1};return ft(()=>l("leading")),ie(()=>e.value,s=>{l(s?"leading":"trailing")}),n};function Lg(){let e;const t=(a,o)=>{n(),e=window.setTimeout(a,o)},n=()=>window.clearTimeout(e);return ms(()=>n()),{registerTimeout:t,cancelTimeout:n}}const jf={prefix:Math.floor(Math.random()*1e4),current:0},ER=Symbol("elIdInjection"),jv=()=>ct()?Le(ER,jf):jf,_n=e=>{const t=jv();!Nt&&t===jf&&dt("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
+usage: app.provide(ID_INJECTION_KEY, {
+  prefix: number,
+  current: number,
+})`);const n=Rv();return t1(()=>i(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Ns=[];const Dg=e=>{Ft(e)===Ce.esc&&Ns.forEach(t=>t(e))},xR=e=>{ft(()=>{Ns.length===0&&document.addEventListener("keydown",Dg),Nt&&Ns.push(e)}),Rt(()=>{Ns=Ns.filter(t=>t!==e),Ns.length===0&&Nt&&document.removeEventListener("keydown",Dg)})},I1=()=>{const e=Rv(),t=jv(),n=S(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:S(()=>`#${n.value}`)}},TR=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},$R=()=>{const{id:e,selector:t}=I1();return qc(()=>{Nt&&(document.body.querySelector(t.value)||TR(e.value))}),{id:e,selector:t}},OR=Se({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),NR=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:o})=>{const{registerTimeout:l}=Lg(),{registerTimeout:s,cancelTimeout:r}=Lg();return{onOpen:(d,f=i(e))=>{l(()=>{a(d);const h=i(n);Ke(h)&&h>0&&s(()=>{o(d)},h)},f)},onClose:(d,f=i(t))=>{r(),l(()=>{o(d)},f)}}},P1=Symbol("elForwardRef"),MR=e=>{wt(P1,{setForwardRef:n=>{e.value=n}})},IR=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Bg={current:0},Vg=_(0),R1=2e3,Fg=Symbol("elZIndexContextKey"),A1=Symbol("zIndexContextKey"),Ui=e=>{const t=ct()?Le(Fg,Bg):Bg,n=e||(ct()?Le(A1,void 0):void 0),a=S(()=>{const s=i(n);return Ke(s)?s:R1}),o=S(()=>a.value+Vg.value),l=()=>(t.current++,Vg.value=t.current,o.value);return!Nt&&!Le(Fg)&&dt("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
+usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,currentZIndex:o,nextZIndex:l}},nr=Math.min,es=Math.max,hc=Math.round,mu=Math.floor,vo=e=>({x:e,y:e}),PR={left:"right",right:"left",bottom:"top",top:"bottom"};function Yf(e,t,n){return es(e,nr(t,n))}function qi(e,t){return typeof e=="function"?e(t):e}function is(e){return e.split("-")[0]}function Gi(e){return e.split("-")[1]}function _1(e){return e==="x"?"y":"x"}function Yv(e){return e==="y"?"height":"width"}function yl(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Uv(e){return _1(yl(e))}function RR(e,t,n){n===void 0&&(n=!1);const a=Gi(e),o=Uv(e),l=Yv(o);let s=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=mc(s)),[s,mc(s)]}function AR(e){const t=mc(e);return[Uf(e),t,Uf(t)]}function Uf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const zg=["left","right"],Hg=["right","left"],_R=["top","bottom"],LR=["bottom","top"];function DR(e,t,n){switch(e){case"top":case"bottom":return n?t?Hg:zg:t?zg:Hg;case"left":case"right":return t?_R:LR;default:return[]}}function BR(e,t,n,a){const o=Gi(e);let l=DR(is(e),n==="start",a);return o&&(l=l.map(s=>s+"-"+o),t&&(l=l.concat(l.map(Uf)))),l}function mc(e){const t=is(e);return PR[t]+e.slice(t.length)}function VR(e){return{top:0,right:0,bottom:0,left:0,...e}}function L1(e){return typeof e!="number"?VR(e):{top:e,right:e,bottom:e,left:e}}function gc(e){const{x:t,y:n,width:a,height:o}=e;return{width:a,height:o,top:n,left:t,right:t+a,bottom:n+o,x:t,y:n}}function Kg(e,t,n){let{reference:a,floating:o}=e;const l=yl(t),s=Uv(t),r=Yv(s),u=is(t),c=l==="y",d=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,h=a[r]/2-o[r]/2;let g;switch(u){case"top":g={x:d,y:a.y-o.height};break;case"bottom":g={x:d,y:a.y+a.height};break;case"right":g={x:a.x+a.width,y:f};break;case"left":g={x:a.x-o.width,y:f};break;default:g={x:a.x,y:a.y}}switch(Gi(t)){case"start":g[s]-=h*(n&&c?-1:1);break;case"end":g[s]+=h*(n&&c?-1:1);break}return g}async function D1(e,t){var n;t===void 0&&(t={});const{x:a,y:o,platform:l,rects:s,elements:r,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:g=0}=qi(t,e),p=L1(g),m=r[h?f==="floating"?"reference":"floating":f],y=gc(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(m)))==null||n?m:m.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:u})),b=f==="floating"?{x:a,y:o,width:s.floating.width,height:s.floating.height}:s.reference,C=await(l.getOffsetParent==null?void 0:l.getOffsetParent(r.floating)),w=await(l.isElement==null?void 0:l.isElement(C))?await(l.getScale==null?void 0:l.getScale(C))||{x:1,y:1}:{x:1,y:1},k=gc(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:b,offsetParent:C,strategy:u}):b);return{top:(y.top-k.top+p.top)/w.y,bottom:(k.bottom-y.bottom+p.bottom)/w.y,left:(y.left-k.left+p.left)/w.x,right:(k.right-y.right+p.right)/w.x}}const FR=50,zR=async(e,t,n)=>{const{placement:a="bottom",strategy:o="absolute",middleware:l=[],platform:s}=n,r=s.detectOverflow?s:{...s,detectOverflow:D1},u=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Kg(c,a,u),h=a,g=0;const p={};for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:o,rects:l,platform:s,elements:r,middlewareData:u}=t,{element:c,padding:d=0}=qi(e,t)||{};if(c==null)return{};const f=L1(d),h={x:n,y:a},g=Uv(o),p=Yv(g),v=await s.getDimensions(c),m=g==="y",y=m?"top":"left",b=m?"bottom":"right",C=m?"clientHeight":"clientWidth",w=l.reference[p]+l.reference[g]-h[g]-l.floating[p],k=h[g]-l.reference[g],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let $=E?E[C]:0;(!$||!await(s.isElement==null?void 0:s.isElement(E)))&&($=r.floating[C]||l.floating[p]);const O=w/2-k/2,M=$/2-v[p]/2-1,T=nr(f[y],M),A=nr(f[b],M),R=T,B=$-v[p]-A,K=$/2-v[p]/2+O,Y=Yf(R,K,B),z=!u.arrow&&Gi(o)!=null&&K!==Y&&l.reference[p]/2-(KK<=0)){var A,R;const K=(((A=l.flip)==null?void 0:A.index)||0)+1,Y=$[K];if(Y&&(!(f==="alignment"?b!==yl(Y):!1)||T.every(I=>yl(I.placement)===b?I.overflows[0]>0:!0)))return{data:{index:K,overflows:T},reset:{placement:Y}};let z=(R=T.filter(P=>P.overflows[0]<=0).sort((P,I)=>P.overflows[1]-I.overflows[1])[0])==null?void 0:R.placement;if(!z)switch(g){case"bestFit":{var B;const P=(B=T.filter(I=>{if(E){const L=yl(I.placement);return L===b||L==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(L=>L>0).reduce((L,D)=>L+D,0)]).sort((I,L)=>I[1]-L[1])[0])==null?void 0:B[0];P&&(z=P);break}case"initialPlacement":z=r;break}if(o!==z)return{reset:{placement:z}}}return{}}}},WR=new Set(["left","top"]);async function jR(e,t){const{placement:n,platform:a,elements:o}=e,l=await(a.isRTL==null?void 0:a.isRTL(o.floating)),s=is(n),r=Gi(n),u=yl(n)==="y",c=WR.has(s)?-1:1,d=l&&u?-1:1,f=qi(t,e);let{mainAxis:h,crossAxis:g,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return r&&typeof p=="number"&&(g=r==="end"?p*-1:p),u?{x:g*d,y:h*c}:{x:h*c,y:g*d}}const YR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,a;const{x:o,y:l,placement:s,middlewareData:r}=t,u=await jR(t,e);return s===((n=r.offset)==null?void 0:n.placement)&&(a=r.arrow)!=null&&a.alignmentOffset?{}:{x:o+u.x,y:l+u.y,data:{...u,placement:s}}}}},UR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:a,placement:o,platform:l}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:u={fn:y=>{let{x:b,y:C}=y;return{x:b,y:C}}},...c}=qi(e,t),d={x:n,y:a},f=await l.detectOverflow(t,c),h=yl(is(o)),g=_1(h);let p=d[g],v=d[h];if(s){const y=g==="y"?"top":"left",b=g==="y"?"bottom":"right",C=p+f[y],w=p-f[b];p=Yf(C,p,w)}if(r){const y=h==="y"?"top":"left",b=h==="y"?"bottom":"right",C=v+f[y],w=v-f[b];v=Yf(C,v,w)}const m=u.fn({...t,[g]:p,[h]:v});return{...m,data:{x:m.x-n,y:m.y-a,enabled:{[g]:s,[h]:r}}}}}};function dd(){return typeof window<"u"}function mr(e){return B1(e)?(e.nodeName||"").toLowerCase():"#document"}function ba(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ko(e){var t;return(t=(B1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function B1(e){return dd()?e instanceof Node||e instanceof ba(e).Node:!1}function Ha(e){return dd()?e instanceof Element||e instanceof ba(e).Element:!1}function tl(e){return dd()?e instanceof HTMLElement||e instanceof ba(e).HTMLElement:!1}function Wg(e){return!dd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ba(e).ShadowRoot}function Xi(e){const{overflow:t,overflowX:n,overflowY:a,display:o}=Ka(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&o!=="inline"&&o!=="contents"}function qR(e){return/^(table|td|th)$/.test(mr(e))}function fd(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const GR=/transform|translate|scale|rotate|perspective|filter/,XR=/paint|layout|strict|content/,Bl=e=>!!e&&e!=="none";let Xd;function qv(e){const t=Ha(e)?Ka(e):e;return Bl(t.transform)||Bl(t.translate)||Bl(t.scale)||Bl(t.rotate)||Bl(t.perspective)||!Gv()&&(Bl(t.backdropFilter)||Bl(t.filter))||GR.test(t.willChange||"")||XR.test(t.contain||"")}function ZR(e){let t=xl(e);for(;tl(t)&&!ar(t);){if(qv(t))return t;if(fd(t))return null;t=xl(t)}return null}function Gv(){return Xd==null&&(Xd=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Xd}function ar(e){return/^(html|body|#document)$/.test(mr(e))}function Ka(e){return ba(e).getComputedStyle(e)}function pd(e){return Ha(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xl(e){if(mr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wg(e)&&e.host||ko(e);return Wg(t)?t.host:t}function V1(e){const t=xl(e);return ar(t)?e.ownerDocument?e.ownerDocument.body:e.body:tl(t)&&Xi(t)?t:V1(t)}function mi(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=V1(e),l=o===((a=e.ownerDocument)==null?void 0:a.body),s=ba(o);if(l){const r=qf(s);return t.concat(s,s.visualViewport||[],Xi(o)?o:[],r&&n?mi(r):[])}else return t.concat(o,mi(o,[],n))}function qf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function F1(e){const t=Ka(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const o=tl(e),l=o?e.offsetWidth:n,s=o?e.offsetHeight:a,r=hc(n)!==l||hc(a)!==s;return r&&(n=l,a=s),{width:n,height:a,$:r}}function Xv(e){return Ha(e)?e:e.contextElement}function Fs(e){const t=Xv(e);if(!tl(t))return vo(1);const n=t.getBoundingClientRect(),{width:a,height:o,$:l}=F1(t);let s=(l?hc(n.width):n.width)/a,r=(l?hc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!r||!Number.isFinite(r))&&(r=1),{x:s,y:r}}const JR=vo(0);function z1(e){const t=ba(e);return!Gv()||!t.visualViewport?JR:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function QR(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ba(e)?!1:t}function us(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=Xv(e);let s=vo(1);t&&(a?Ha(a)&&(s=Fs(a)):s=Fs(e));const r=QR(l,n,a)?z1(l):vo(0);let u=(o.left+r.x)/s.x,c=(o.top+r.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(l){const h=ba(l),g=a&&Ha(a)?ba(a):a;let p=h,v=qf(p);for(;v&&a&&g!==p;){const m=Fs(v),y=v.getBoundingClientRect(),b=Ka(v),C=y.left+(v.clientLeft+parseFloat(b.paddingLeft))*m.x,w=y.top+(v.clientTop+parseFloat(b.paddingTop))*m.y;u*=m.x,c*=m.y,d*=m.x,f*=m.y,u+=C,c+=w,p=ba(v),v=qf(p)}}return gc({width:d,height:f,x:u,y:c})}function vd(e,t){const n=pd(e).scrollLeft;return t?t.left+n:us(ko(e)).left+n}function H1(e,t){const n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-vd(e,n),o=n.top+t.scrollTop;return{x:a,y:o}}function e3(e){let{elements:t,rect:n,offsetParent:a,strategy:o}=e;const l=o==="fixed",s=ko(a),r=t?fd(t.floating):!1;if(a===s||r&&l)return n;let u={scrollLeft:0,scrollTop:0},c=vo(1);const d=vo(0),f=tl(a);if((f||!f&&!l)&&((mr(a)!=="body"||Xi(s))&&(u=pd(a)),f)){const g=us(a);c=Fs(a),d.x=g.x+a.clientLeft,d.y=g.y+a.clientTop}const h=s&&!f&&!l?H1(s,u):vo(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-u.scrollTop*c.y+d.y+h.y}}function t3(e){return Array.from(e.getClientRects())}function n3(e){const t=ko(e),n=pd(e),a=e.ownerDocument.body,o=es(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),l=es(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-n.scrollLeft+vd(e);const r=-n.scrollTop;return Ka(a).direction==="rtl"&&(s+=es(t.clientWidth,a.clientWidth)-o),{width:o,height:l,x:s,y:r}}const jg=25;function a3(e,t){const n=ba(e),a=ko(e),o=n.visualViewport;let l=a.clientWidth,s=a.clientHeight,r=0,u=0;if(o){l=o.width,s=o.height;const d=Gv();(!d||d&&t==="fixed")&&(r=o.offsetLeft,u=o.offsetTop)}const c=vd(a);if(c<=0){const d=a.ownerDocument,f=d.body,h=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(a.clientWidth-f.clientWidth-g);p<=jg&&(l-=p)}else c<=jg&&(l+=c);return{width:l,height:s,x:r,y:u}}function o3(e,t){const n=us(e,!0,t==="fixed"),a=n.top+e.clientTop,o=n.left+e.clientLeft,l=tl(e)?Fs(e):vo(1),s=e.clientWidth*l.x,r=e.clientHeight*l.y,u=o*l.x,c=a*l.y;return{width:s,height:r,x:u,y:c}}function Yg(e,t,n){let a;if(t==="viewport")a=a3(e,n);else if(t==="document")a=n3(ko(e));else if(Ha(t))a=o3(t,n);else{const o=z1(e);a={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return gc(a)}function K1(e,t){const n=xl(e);return n===t||!Ha(n)||ar(n)?!1:Ka(n).position==="fixed"||K1(n,t)}function l3(e,t){const n=t.get(e);if(n)return n;let a=mi(e,[],!1).filter(r=>Ha(r)&&mr(r)!=="body"),o=null;const l=Ka(e).position==="fixed";let s=l?xl(e):e;for(;Ha(s)&&!ar(s);){const r=Ka(s),u=qv(s);!u&&r.position==="fixed"&&(o=null),(l?!u&&!o:!u&&r.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Xi(s)&&!u&&K1(e,s))?a=a.filter(d=>d!==s):o=r,s=xl(s)}return t.set(e,a),a}function s3(e){let{element:t,boundary:n,rootBoundary:a,strategy:o}=e;const s=[...n==="clippingAncestors"?fd(t)?[]:l3(t,this._c):[].concat(n),a],r=Yg(t,s[0],o);let u=r.top,c=r.right,d=r.bottom,f=r.left;for(let h=1;h{s(!1,1e-7)},1e3)}$===1&&!j1(c,e.getBoundingClientRect())&&s(),w=!1}try{n=new IntersectionObserver(k,{...C,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,C)}n.observe(e)}return s(!0),l}function p3(e,t,n,a){a===void 0&&(a={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:u=!1}=a,c=Xv(e),d=o||l?[...c?mi(c):[],...t?mi(t):[]]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),l&&y.addEventListener("resize",n)});const f=c&&r?f3(c,n):null;let h=-1,g=null;s&&(g=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&g&&t&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var C;(C=g)==null||C.observe(t)})),n()}),c&&!u&&g.observe(c),t&&g.observe(t));let p,v=u?us(e):null;u&&m();function m(){const y=us(e);v&&!j1(v,y)&&n(),v=y,p=requestAnimationFrame(m)}return n(),()=>{var y;d.forEach(b=>{o&&b.removeEventListener("scroll",n),l&&b.removeEventListener("resize",n)}),f==null||f(),(y=g)==null||y.disconnect(),g=null,u&&cancelAnimationFrame(p)}}const v3=D1,h3=YR,m3=UR,g3=KR,y3=HR,b3=(e,t,n)=>{const a=new Map,o={platform:d3,...n},l={...o.platform,_c:a};return zR(e,t,{...o,platform:l})};function w3(e){let t;function n(){if(e.value==null)return;const{selectionStart:o,selectionEnd:l,value:s}=e.value;o==null||l==null||(t={selectionStart:o,selectionEnd:l,value:s,beforeTxt:s.slice(0,Math.max(0,o)),afterTxt:s.slice(Math.max(0,l))})}function a(){if(e.value==null||t==null)return;const{value:o}=e.value,{beforeTxt:l,afterTxt:s,selectionStart:r}=t;if(l==null||s==null||r==null)return;let u=o.length;if(o.endsWith(s))u=o.length-s.length;else if(o.startsWith(l))u=l.length;else{const c=l[r-1],d=o.indexOf(c,r-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}return[n,a]}const C3="utils/vue/vnode";let Pa=function(e){return e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e}({});function Gf(e){return Ht(e)&&e.type===He}function Y1(e){return Ht(e)&&e.type===fn}function S3(e){return Ht(e)&&!Gf(e)&&!Y1(e)}const k3=e=>{if(!Ht(e))return dt(C3,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(Ht(e.type)?e.type.props:void 0)||{},a={};return Object.keys(n).forEach(o=>{Tt(n[o],"default")&&(a[o]=n[o].default)}),Object.keys(t).forEach(o=>{a[Rn(o)]=t[o]}),a},ma=e=>{const t=be(e)?e:[e],n=[];return t.forEach(a=>{var o;be(a)?n.push(...ma(a)):Ht(a)&&((o=a.component)!=null&&o.subTree)?n.push(a,...ma(a.component.subTree)):Ht(a)&&be(a.children)?n.push(...ma(a.children)):Ht(a)&&a.shapeFlag===2?n.push(...ma(a.type())):n.push(a)}),n},E3=(e,t,n)=>ma(e.subTree).filter(a=>{var o;return Ht(a)&&((o=a.type)==null?void 0:o.name)===t&&!!a.component}).map(a=>a.component.uid).map(a=>n[a]).filter(a=>!!a),hd=(e,t)=>{const n=jt({}),a=jt([]),o=new WeakMap,l=c=>{n.value[c.uid]=c,Au(n),ft(()=>{const d=c.getVnode().el,f=d.parentNode;if(!o.has(f)){o.set(f,[]);const h=f.insertBefore.bind(f);f.insertBefore=(g,p)=>(o.get(f).some(v=>g===v||p===v)&&Au(n),h(g,p))}o.get(f).push(d)})},s=c=>{delete n.value[c.uid],Au(n);const d=c.getVnode().el,f=d.parentNode,h=o.get(f),g=h.indexOf(d);h.splice(g,1)},r=()=>{a.value=E3(e,t,n.value)},u=c=>c.render();return{children:a,addChild:l,removeChild:s,ChildrenSorter:le({setup(c,{slots:d}){return()=>(r(),d.default?Ge(u,{render:d.default}):null)}})}},wn=Xa({type:String,values:qa,required:!1}),U1=Symbol("size"),q1=()=>{const e=Le(U1,{});return S(()=>i(e.size)||"")};function nl(e,{disabled:t,beforeFocus:n,afterFocus:a,beforeBlur:o,afterBlur:l}={}){const{emit:s}=ct(),r=jt(),u=_(!1),c=h=>{const g=ze(n)?n(h):!1;i(t)||u.value||g||(u.value=!0,s("focus",h),a==null||a())},d=h=>{var p;const g=ze(o)?o(h):!1;i(t)||h.relatedTarget&&((p=r.value)!=null&&p.contains(h.relatedTarget))||g||(u.value=!1,s("blur",h),l==null||l())},f=h=>{var g,p;i(t)||pi(h.target)||(g=r.value)!=null&&g.contains(document.activeElement)&&r.value!==document.activeElement||(p=e.value)==null||p.focus()};return ie([r,()=>i(t)],([h,g])=>{h&&(g?h.removeAttribute("tabindex"):h.setAttribute("tabindex","-1"))}),At(r,"focus",c,!0),At(r,"blur",d,!0),At(r,"click",f,!0),{isFocused:u,wrapperRef:r,handleFocus:c,handleBlur:d}}const x3=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Zi({afterComposition:e,emit:t}){const n=_(!1),a=r=>{t==null||t("compositionstart",r),n.value=!0},o=r=>{var c;t==null||t("compositionupdate",r);const u=(c=r.target)==null?void 0:c.value;n.value=!x3(u[u.length-1]||"")},l=r=>{t==null||t("compositionend",r),n.value&&(n.value=!1,Ae(()=>e(r)))};return{isComposing:n,handleComposition:r=>{r.type==="compositionend"?l(r):o(r)},handleCompositionStart:a,handleCompositionUpdate:o,handleCompositionEnd:l}}const G1=Symbol("emptyValuesContextKey"),T3="use-empty-values",$3=["",void 0,null],O3=void 0,gs=Se({emptyValues:Array,valueOnClear:{type:G([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=ze(e)?e():e,be(e)?e.every(t=>!t):!e)}}),Ji=(e,t)=>{const n=ct()?Le(G1,_({})):_({}),a=S(()=>e.emptyValues||n.value.emptyValues||$3),o=S(()=>ze(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:ze(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:O3),l=s=>{let r=!0;return be(s)?r=a.value.some(u=>Qt(s,u)):r=a.value.includes(s),r};return l(o.value)||dt(T3,"value-on-clear should be a value of empty-values"),{emptyValues:a,valueOnClear:o,isEmptyValue:l}},N3=Se({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Zn=e=>jo(N3,e),X1=e=>{const t=e.props,n=be(t)?Xs(t.map(a=>[a,{}])):t;e.setPropsDefaults=a=>{if(n){for(const[o,l]of Object.entries(a)){const s=n[o];if(Tt(n,o)){if(Ev(s)){n[o]={...s,default:l};continue}n[o]={type:s,default:l}}}e.props=n}}},lt=(e,t)=>{if(e.install=n=>{for(const a of[e,...Object.values(t??{})])n.component(a.name,a)},t)for(const[n,a]of Object.entries(t))e[n]=a;return X1(e),e},Z1=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),M3=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Zt=e=>(e.install=Pt,X1(e),e);var I3=le({__name:"teleport",props:zi,setup(e){return(t,n)=>t.disabled?ne(t.$slots,"default",{key:0}):(x(),oe(AE,{key:1,to:t.to},[ne(t.$slots,"default")],8,["to"]))}}),P3=I3;const gr=lt(P3),qg="ElAffix";var R3=le({name:qg,__name:"affix",props:LI,emits:DI,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("affix"),s=jt(),r=jt(),u=jt(),{height:c}=Mv(),{height:d,width:f,top:h,bottom:g,left:p,update:v}=Cg(r,{windowScroll:!1}),m=Cg(s),y=_(!1),b=_(0),C=_(0),w=S(()=>!a.teleported||!y.value),k=S(()=>({display:"flow-root",height:y.value?`${d.value}px`:"",width:y.value?`${f.value}px`:""})),E=S(()=>{if(!y.value)return{};const T=tn(a.offset);return{height:`${d.value}px`,width:`${f.value}px`,top:a.position==="top"?T:"",bottom:a.position==="bottom"?T:"",left:a.teleported?`${p.value}px`:"",transform:C.value?`translateY(${C.value}px)`:"",zIndex:a.zIndex}}),$=()=>{if(!u.value)return;b.value=u.value instanceof Window?document.documentElement.scrollTop:u.value.scrollTop||0;const{position:T,target:A,offset:R}=a,B=R+d.value;if(T==="top")if(A){const K=m.bottom.value-B;y.value=R>h.value&&m.bottom.value>0,C.value=K<0?K:0}else y.value=R>h.value;else if(A){const K=c.value-m.top.value-B;y.value=c.value-Rm.top.value,C.value=K<0?-K:0}else y.value=c.value-R{if(!y.value){v();return}y.value=!1,await Ae(),v(),y.value=!0},M=async()=>{v(),await Ae(),o("scroll",{scrollTop:b.value,fixed:y.value})};return ie(y,T=>o(ht,T)),ft(()=>{a.target?(s.value=document.querySelector(a.target)??void 0,s.value||Xt(qg,`Target does not exist: ${a.target}`)):s.value=document.documentElement,u.value=Av(r.value,!0),v()}),Ri(()=>{Ae(O)}),av(()=>{y.value=!1}),At(u,"scroll",M),da($),t({update:$,updateRoot:O}),(T,A)=>(x(),F("div",{ref_key:"root",ref:r,class:N(i(l).b()),style:We(k.value)},[q(i(gr),{disabled:w.value,to:e.appendTo},{default:Q(()=>[j("div",{class:N({[i(l).m("fixed")]:y.value}),style:We(E.value)},[ne(T.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}}),A3=R3;const _3=lt(A3);/*! Element Plus Icons Vue v2.3.2 */var L3=le({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),Eo=L3,D3=le({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),qo=D3,B3=le({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Xn=B3,V3=le({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),md=V3,F3=le({name:"Back",__name:"back",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),j("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),z3=F3,H3=le({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),K3=H3,W3=le({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),J1=W3,j3=le({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Y3=j3,U3=le({name:"Check",__name:"check",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),Qi=U3,q3=le({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),G3=q3,X3=le({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),j("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),Zv=X3,Z3=le({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Jv=Z3,J3=le({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),xo=J3,Q3=le({name:"Clock",__name:"clock",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),j("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),j("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),Q1=Q3,e4=le({name:"Close",__name:"close",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Ma=e4,t4=le({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),Tl=t4,n4=le({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),$l=n4,a4=le({name:"Delete",__name:"delete",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),o4=a4,l4=le({name:"Document",__name:"document",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),s4=l4,r4=le({name:"Download",__name:"download",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),EX=r4,i4=le({name:"Folder",__name:"folder",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),xX=i4,u4=le({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),c4=u4,d4=le({name:"Hide",__name:"hide",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),j("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),f4=d4,p4=le({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),gi=p4,v4=le({name:"Loading",__name:"loading",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),wo=v4,h4=le({name:"Minus",__name:"minus",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),m4=h4,g4=le({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Gg=g4,y4=le({name:"More",__name:"more",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),b4=y4,w4=le({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),C4=w4,S4=le({name:"Plus",__name:"plus",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),eC=S4,k4=le({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),E4=k4,x4=le({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),T4=x4,$4=le({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),O4=$4,N4=le({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),TX=N4,M4=le({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),I4=M4,P4=le({name:"Search",__name:"search",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),R4=P4,A4=le({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),_4=A4,L4=le({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),D4=L4,B4=le({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),gu=B4,V4=le({name:"Star",__name:"star",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),F4=V4,z4=le({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),tC=z4,H4=le({name:"View",__name:"view",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),K4=H4,W4=le({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),gd=W4,j4=le({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),nC=j4,Y4=le({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(x(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),U4=Y4;const Bt=G([String,Object,Function]),aC={Close:Ma},Qv={Close:Ma,SuccessFilled:tC,InfoFilled:gi,WarningFilled:gd,CircleCloseFilled:Jv},Ol={primary:gi,success:tC,warning:gd,error:Jv,info:gi},yd={validating:wo,success:Zv,error:xo},q4=["light","dark"],G4=Se({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:fi(Ol),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:q4,default:"light"}}),X4={close:e=>e instanceof MouseEvent},Z4=Se({size:{type:G([Number,String])},color:{type:String}});var J4=le({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:Z4,setup(e){const t=e,n=ve("icon"),a=S(()=>{const{size:o,color:l}=t,s=tn(o);return!s&&!l?{}:{fontSize:s,"--color":l}});return(o,l)=>(x(),F("i",ut({class:i(n).b(),style:a.value},o.$attrs),[ne(o.$slots,"default")],16))}}),Q4=J4;const Be=lt(Q4);var eA=le({name:"ElAlert",__name:"alert",props:G4,emits:X4,setup(e,{emit:t}){const{Close:n}=Qv,a=e,o=t,l=cn(),s=ve("alert"),r=_(!0),u=S(()=>Ol[a.type]),c=S(()=>{var h;if(a.description)return!0;const f=(h=l.default)==null?void 0:h.call(l);return f?ma(f).some(g=>!Y1(g)):!1}),d=f=>{r.value=!1,o("close",f)};return(f,h)=>(x(),oe(An,{name:i(s).b("fade"),persisted:""},{default:Q(()=>[it(j("div",{class:N([i(s).b(),i(s).m(e.type),i(s).is("center",e.center),i(s).is(e.effect)]),role:"alert"},[e.showIcon&&(f.$slots.icon||u.value)?(x(),oe(i(Be),{key:0,class:N([i(s).e("icon"),i(s).is("big",c.value)])},{default:Q(()=>[ne(f.$slots,"icon",{},()=>[(x(),oe(st(u.value)))])]),_:3},8,["class"])):ae("v-if",!0),j("div",{class:N(i(s).e("content"))},[e.title||f.$slots.title?(x(),F("span",{key:0,class:N([i(s).e("title"),{"with-description":c.value}])},[ne(f.$slots,"title",{},()=>[bt(ke(e.title),1)])],2)):ae("v-if",!0),c.value?(x(),F("p",{key:1,class:N(i(s).e("description"))},[ne(f.$slots,"default",{},()=>[bt(ke(e.description),1)])],2)):ae("v-if",!0),e.closable?(x(),F(He,{key:2},[e.closeText?(x(),F("div",{key:0,class:N([i(s).e("close-btn"),i(s).is("customed")]),onClick:d},ke(e.closeText),3)):(x(),oe(i(Be),{key:1,class:N(i(s).e("close-btn")),onClick:d},{default:Q(()=>[q(i(n))]),_:1},8,["class"]))],64)):ae("v-if",!0)],2)],2),[[Ot,r.value]])]),_:3},8,["name"]))}}),tA=eA;const nA=lt(tA),oC=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],lC=Se({role:{type:String,values:oC,default:"tooltip"}}),eh=Symbol("popper"),sC=Symbol("popperContent");var aA=le({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=ve("popper"),{arrowRef:a,arrowStyle:o}=Le(sC,void 0);return Rt(()=>{a.value=void 0}),t({arrowRef:a}),(l,s)=>(x(),F("span",{ref_key:"arrowRef",ref:a,class:N(i(n).e("arrow")),style:We(i(o)),"data-popper-arrow":""},null,6))}}),oA=aA;const rC=Se({virtualRef:{type:G(Object)},virtualTriggering:Boolean,onMouseenter:{type:G(Function)},onMouseleave:{type:G(Function)},onClick:{type:G(Function)},onKeydown:{type:G(Function)},onFocus:{type:G(Function)},onBlur:{type:G(Function)},onContextmenu:{type:G(Function)},id:String,open:Boolean}),Jd="ElOnlyChild",iC=le({name:Jd,setup(e,{slots:t,attrs:n}){var o;const a=IR(((o=Le(P1))==null?void 0:o.setForwardRef)??Pt);return()=>{var u;const l=(u=t.default)==null?void 0:u.call(t,n);if(!l)return null;const[s,r]=uC(l);return s?(r>1&&dt(Jd,"requires exact only one valid child."),it(mo(s,n),[[a]])):(dt(Jd,"no valid child node found"),null)}}});function uC(e){if(!e)return[null,0];const t=e,n=t.filter(a=>a.type!==fn).length;for(const a of t){if(nt(a))switch(a.type){case fn:continue;case dr:case"svg":return[Xg(a),n];case He:return uC(a.children);default:return[a,n]}return[Xg(a),n]}return[null,0]}function Xg(e){const t=ve("only-child");return q("span",{class:t.e("content")},[e])}var lA=le({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:rC,setup(e,{expose:t}){const n=e,{role:a,triggerRef:o}=Le(eh,void 0);MR(o);const l=S(()=>r.value?n.id:void 0),s=S(()=>{if(a&&a.value==="tooltip")return n.open&&n.id?n.id:void 0}),r=S(()=>{if(a&&a.value!=="tooltip")return a.value}),u=S(()=>r.value?`${n.open}`:void 0);let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return ft(()=>{ie(()=>n.virtualRef,f=>{f&&(o.value=bn(f))},{immediate:!0}),ie(o,(f,h)=>{c==null||c(),c=void 0,ra(h)&&d.forEach(g=>{const p=n[g];p&&h.removeEventListener(g.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(g))}),ra(f)&&(d.forEach(g=>{const p=n[g];p&&f.addEventListener(g.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(g))}),pi(f)&&(c=ie([l,s,r,u],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((p,v)=>{pn(g[v])?f.removeAttribute(p):f.setAttribute(p,g[v])})},{immediate:!0}))),ra(h)&&pi(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>h.removeAttribute(g))},{immediate:!0})}),Rt(()=>{if(c==null||c(),c=void 0,o.value&&ra(o.value)){const f=o.value;d.forEach(h=>{const g=n[h];g&&f.removeEventListener(h.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(h))}),o.value=void 0}}),t({triggerRef:o}),(f,h)=>e.virtualTriggering?ae("v-if",!0):(x(),oe(i(iC),ut({key:0},f.$attrs,{"aria-controls":l.value,"aria-describedby":s.value,"aria-expanded":u.value,"aria-haspopup":r.value}),{default:Q(()=>[ne(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),sA=lA;const cC=Se({arrowOffset:{type:Number,default:5}}),rA=["fixed","absolute"],iA=Se({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:G(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:So,default:"bottom"},popperOptions:{type:G(Object),default:()=>({})},strategy:{type:String,values:rA,default:"absolute"}}),dC=Se({...iA,...cC,id:String,style:{type:G([String,Array,Object])},className:{type:G([String,Array,Object])},effect:{type:G(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:G([String,Array,Object])},popperStyle:{type:G([String,Array,Object])},referenceEl:{type:G(Object)},triggerTargetEl:{type:G(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...Zn(["ariaLabel"]),loop:Boolean}),uA={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},cA=Se({size:{type:String,values:qa},disabled:Boolean}),dA=Se({...cA,model:Object,rules:{type:G(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:G([Object,Boolean]),default:!0}}),fA={validate:(e,t,n)=>(be(e)||De(e))&&Dt(t)&&De(n)},ys=Symbol("formContextKey"),Co=Symbol("formItemContextKey"),yn=(e,t={})=>{const n=_(void 0),a=t.prop?n:y1("size"),o=t.global?n:q1(),l=t.form?{size:void 0}:Le(ys,void 0),s=t.formItem?{size:void 0}:Le(Co,void 0);return S(()=>a.value||i(e)||(s==null?void 0:s.size)||(l==null?void 0:l.size)||o.value||"")},nn=e=>{const t=y1("disabled"),n=Le(ys,void 0);return S(()=>t.value??i(e)??(n==null?void 0:n.disabled)??!1)},In=()=>({form:Le(ys,void 0),formItem:Le(Co,void 0)}),Ca=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:a})=>{n||(n=_(!1)),a||(a=_(!1));const o=ct(),l=()=>{let c=o==null?void 0:o.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},s=_();let r;const u=S(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return ft(()=>{r=ie([_t(e,"id"),n],([c,d])=>{const f=c??(d?void 0:_n().value);f!==s.value&&(t!=null&&t.removeInputId&&!l()&&(s.value&&t.removeInputId(s.value),!(a!=null&&a.value)&&!d&&f&&t.addInputId(f)),s.value=f)},{immediate:!0})}),cr(()=>{r&&r(),t!=null&&t.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:u,inputId:s}},pA=["","error","validating","success"],vA=Se({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:G([String,Array])},required:{type:Boolean,default:void 0},rules:{type:G([Object,Array])},error:String,validateStatus:{type:String,values:pA},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:qa}}),Zg=e=>[...new Set(e)],Mr=e=>be(e)?e[0]:e,Un=e=>!e&&e!==0?[]:be(e)?e:[e],hA="ElForm";function mA(){const e=_([]),t=S(()=>{if(!e.value.length)return"0";const l=Math.max(...e.value);return l?`${l}px`:""});function n(l){const s=e.value.indexOf(l);return s===-1&&t.value==="0"&&dt(hA,`unexpected width ${l}`),s}function a(l,s){if(l&&s){const r=n(s);e.value.splice(r,1,l)}else l&&e.value.push(l)}function o(l){const s=n(l);s>-1&&e.value.splice(s,1)}return{autoLabelWidth:t,registerLabelWidth:a,deregisterLabelWidth:o}}const yu=(e,t)=>{const n=En(t).map(a=>be(a)?a.join("."):a);return n.length>0?e.filter(a=>a.propString&&n.includes(a.propString)):e},Cs="ElForm";var gA=le({name:Cs,__name:"form",props:dA,emits:fA,setup(e,{expose:t,emit:n}){const a=e,o=n,l=_(),s=It([]),r=new Map,u=yn(),c=ve("form"),d=S(()=>{const{labelPosition:$,inline:O}=a;return[c.b(),c.m(u.value||"default"),{[c.m(`label-${$}`)]:$,[c.m("inline")]:O}]}),f=$=>yu(s,[$])[0],h=$=>{s.push($),$.propString&&(r.has($.propString)?$.setInitialValue(r.get($.propString)):r.set($.propString,Fo($.fieldValue)))},g=$=>{$.prop&&s.splice(s.indexOf($),1)},p=$=>{if(!a.model){dt(Cs,"model is required for setInitialValues to work.");return}if(!$){dt(Cs,"initModel is required for setInitialValues to work.");return}for(const O of r.keys())r.set(O,Fo(Cl($,O).value));s.forEach(O=>{O.prop&&O.setInitialValue(Cl($,O.prop).value)})},v=($=[])=>{if(!a.model){dt(Cs,"model is required for resetFields to work.");return}yu(s,$).forEach(T=>T.resetField());const O=new Set(s.map(T=>T.propString).filter(Boolean)),M=$.length>0?En($).map(T=>be(T)?T.join("."):T):[...r.keys()];for(const T of M)!O.has(T)&&r.has(T)&&(Cl(a.model,T).value=Fo(r.get(T)))},m=($=[])=>{yu(s,$).forEach(O=>O.clearValidate())},y=S(()=>{const $=!!a.model;return $||dt(Cs,"model is required for validate to work."),$}),b=$=>{if(s.length===0)return[];const O=yu(s,$);return O.length?O:(dt(Cs,"please pass correct props!"),[])},C=async $=>k(void 0,$),w=async($=[])=>{if(!y.value)return!1;const O=b($);if(O.length===0)return!0;let M={};for(const T of O)try{await T.validate(""),T.validateState==="error"&&!T.error&&T.resetField()}catch(A){M={...M,...A}}return Object.keys(M).length===0?!0:Promise.reject(M)},k=async($=[],O)=>{var A;let M=!1;const T=!ze(O);try{return M=await w($),M===!0&&await(O==null?void 0:O(M)),M}catch(R){if(R instanceof Error)throw R;const B=R;return a.scrollToError&&l.value&&((A=l.value.querySelector(`.${c.b()}-item.is-error`))==null||A.scrollIntoView(a.scrollIntoViewOptions)),!M&&await(O==null?void 0:O(!1,B)),T&&Promise.reject(B)}},E=$=>{var M;const O=f($);O&&((M=O.$el)==null||M.scrollIntoView(a.scrollIntoViewOptions))};return ie(()=>a.rules,()=>{a.validateOnRuleChange&&C().catch($=>dt($))},{deep:!0,flush:"post"}),wt(ys,It({...$n(a),emit:o,resetFields:v,clearValidate:m,validateField:k,getField:f,addField:h,removeField:g,setInitialValues:p,...mA()})),t({validate:C,validateField:k,resetFields:v,clearValidate:m,scrollToField:E,getField:f,fields:s,setInitialValues:p}),($,O)=>(x(),F("form",{ref_key:"formRef",ref:l,class:N(d.value)},[ne($.$slots,"default")],2))}}),yA=gA;const Jg="ElLabelWrap";var bA=le({name:Jg,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=Le(ys,void 0),a=Le(Co);a||Xt(Jg,"usage: ");const o=ve("form"),l=_(),s=_(0),r=()=>{var d;if((d=l.value)!=null&&d.firstElementChild){const f=window.getComputedStyle(l.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},u=(d="update")=>{Ae(()=>{t.default&&e.isAutoWidth&&(d==="update"?s.value=r():d==="remove"&&(n==null||n.deregisterLabelWidth(s.value)))})},c=()=>u("update");return ft(()=>{c()}),Rt(()=>{u("remove")}),Ua(()=>c()),ie(s,(d,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(d,f))}),Gt(S(()=>{var d;return((d=l.value)==null?void 0:d.firstElementChild)??null}),c),()=>{var f,h;if(!t)return null;const{isAutoWidth:d}=e;if(d){const g=n==null?void 0:n.autoLabelWidth,p=a==null?void 0:a.hasLabel,v={};if(p&&g&&g!=="auto"){const m=Math.max(0,Number.parseInt(g,10)-s.value),y=(a.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";m&&(v[y]=`${m}px`)}return q("div",{ref:l,class:[o.be("item","label-wrap")],style:v},[(f=t.default)==null?void 0:f.call(t)])}else return q(He,{ref:l},[(h=t.default)==null?void 0:h.call(t)])}}});function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function zu(e,t,n){return CA()?zu=Reflect.construct.bind():zu=function(o,l,s){var r=[null];r.push.apply(r,l);var u=Function.bind.apply(o,r),c=new u;return s&&yi(c,s.prototype),c},zu.apply(null,arguments)}function SA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Zf(e){var t=typeof Map=="function"?new Map:void 0;return Zf=function(a){if(a===null||!SA(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(a))return t.get(a);t.set(a,o)}function o(){return zu(a,arguments,Xf(this).constructor)}return o.prototype=Object.create(a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),yi(o,a)},Zf(e)}var kA=/%[sdj%]/g,EA=function(){};function Jf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var a=n.field;t[a]=t[a]||[],t[a].push(n)}),t}function ga(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=l)return r;switch(r){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return r}});return s}return e}function xA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Nn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||xA(t)&&typeof e=="string"&&!e)}function TA(e,t,n){var a=[],o=0,l=e.length;function s(r){a.push.apply(a,r||[]),o++,o===l&&n(a)}e.forEach(function(r){t(r,s)})}function Qg(e,t,n){var a=0,o=e.length;function l(s){if(s&&s.length){n(s);return}var r=a;a=a+1,r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_r={integer:function(t){return _r.number(t)&&parseInt(t,10)===t},float:function(t){return _r.number(t)&&!_r.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_r.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(ay.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(PA())},hex:function(t){return typeof t=="string"&&!!t.match(ay.hex)}},RA=function(t,n,a,o,l){if(t.required&&n===void 0){fC(t,n,a,o,l);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;s.indexOf(r)>-1?_r[r](n)||o.push(ga(l.messages.types[r],t.fullField,t.type)):r&&typeof n!==t.type&&o.push(ga(l.messages.types[r],t.fullField,t.type))},AA=function(t,n,a,o,l){var s=typeof t.len=="number",r=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,h=typeof n=="number",g=typeof n=="string",p=Array.isArray(n);if(h?f="number":g?f="string":p&&(f="array"),!f)return!1;p&&(d=n.length),g&&(d=n.replace(c,"_").length),s?d!==t.len&&o.push(ga(l.messages[f].len,t.fullField,t.len)):r&&!u&&dt.max?o.push(ga(l.messages[f].max,t.fullField,t.max)):r&&u&&(dt.max)&&o.push(ga(l.messages[f].range,t.fullField,t.min,t.max))},Ss="enum",_A=function(t,n,a,o,l){t[Ss]=Array.isArray(t[Ss])?t[Ss]:[],t[Ss].indexOf(n)===-1&&o.push(ga(l.messages[Ss],t.fullField,t[Ss].join(", ")))},LA=function(t,n,a,o,l){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(ga(l.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(n)||o.push(ga(l.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Wt={required:fC,whitespace:IA,type:RA,range:AA,enum:_A,pattern:LA},DA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n,"string")&&!t.required)return a();Wt.required(t,n,o,s,l,"string"),Nn(n,"string")||(Wt.type(t,n,o,s,l),Wt.range(t,n,o,s,l),Wt.pattern(t,n,o,s,l),t.whitespace===!0&&Wt.whitespace(t,n,o,s,l))}a(s)},BA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&Wt.type(t,n,o,s,l)}a(s)},VA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(n===""&&(n=void 0),Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&(Wt.type(t,n,o,s,l),Wt.range(t,n,o,s,l))}a(s)},FA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&Wt.type(t,n,o,s,l)}a(s)},zA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),Nn(n)||Wt.type(t,n,o,s,l)}a(s)},HA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&(Wt.type(t,n,o,s,l),Wt.range(t,n,o,s,l))}a(s)},KA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&(Wt.type(t,n,o,s,l),Wt.range(t,n,o,s,l))}a(s)},WA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(n==null&&!t.required)return a();Wt.required(t,n,o,s,l,"array"),n!=null&&(Wt.type(t,n,o,s,l),Wt.range(t,n,o,s,l))}a(s)},jA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&Wt.type(t,n,o,s,l)}a(s)},YA="enum",UA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l),n!==void 0&&Wt[YA](t,n,o,s,l)}a(s)},qA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n,"string")&&!t.required)return a();Wt.required(t,n,o,s,l),Nn(n,"string")||Wt.pattern(t,n,o,s,l)}a(s)},GA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n,"date")&&!t.required)return a();if(Wt.required(t,n,o,s,l),!Nn(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),Wt.type(t,u,o,s,l),u&&Wt.range(t,u.getTime(),o,s,l)}}a(s)},XA=function(t,n,a,o,l){var s=[],r=Array.isArray(n)?"array":typeof n;Wt.required(t,n,o,s,l,r),a(s)},Qd=function(t,n,a,o,l){var s=t.type,r=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(Nn(n,s)&&!t.required)return a();Wt.required(t,n,o,r,l,s),Nn(n,s)||Wt.type(t,n,o,r,l)}a(r)},ZA=function(t,n,a,o,l){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Nn(n)&&!t.required)return a();Wt.required(t,n,o,s,l)}a(s)},Jr={string:DA,method:BA,number:VA,boolean:FA,regexp:zA,integer:HA,float:KA,array:WA,object:jA,enum:UA,pattern:qA,date:GA,url:Qd,hex:Qd,email:Qd,required:XA,any:ZA};function Qf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ep=Qf(),eu=function(){function e(n){this.rules=null,this._messages=ep,this.define(n)}var t=e.prototype;return t.define=function(a){var o=this;if(!a)throw new Error("Cannot configure a schema with no rules");if(typeof a!="object"||Array.isArray(a))throw new Error("Rules must be an object");this.rules={},Object.keys(a).forEach(function(l){var s=a[l];o.rules[l]=Array.isArray(s)?s:[s]})},t.messages=function(a){return a&&(this._messages=ny(Qf(),a)),this._messages},t.validate=function(a,o,l){var s=this;o===void 0&&(o={}),l===void 0&&(l=function(){});var r=a,u=o,c=l;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,r),Promise.resolve(r);function d(v){var m=[],y={};function b(w){if(Array.isArray(w)){var k;m=(k=m).concat.apply(k,w)}else m.push(w)}for(var C=0;Cn.labelPosition||(o==null?void 0:o.labelPosition)),y=S(()=>m.value==="top"?{}:{width:tn(n.labelWidth??(o==null?void 0:o.labelWidth))}),b=S(()=>{if(m.value==="top"||o!=null&&o.inline)return{};if(!n.label&&!n.labelWidth&&T)return{};const re=tn(n.labelWidth??(o==null?void 0:o.labelWidth));return!n.label&&!a.label?{marginLeft:re}:{}}),C=S(()=>[r.b(),r.m(s.value),r.is("error",d.value==="error"),r.is("validating",d.value==="validating"),r.is("success",d.value==="success"),r.is("required",Y.value||n.required),r.is("no-asterisk",o==null?void 0:o.hideRequiredAsterisk),(o==null?void 0:o.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[r.m("feedback")]:o==null?void 0:o.statusIcon,[r.m(`label-${m.value}`)]:m.value}]),w=S(()=>Dt(n.inlineMessage)?n.inlineMessage:(o==null?void 0:o.inlineMessage)||!1),k=S(()=>[r.e("error"),{[r.em("error","inline")]:w.value}]),E=S(()=>n.prop?be(n.prop)?n.prop.join("."):n.prop:""),$=S(()=>!!(n.label||a.label)),O=S(()=>n.for??(c.value.length===1?c.value[0]:void 0)),M=S(()=>!O.value&&$.value),T=!!l,A=S(()=>{const re=o==null?void 0:o.model;if(!(!re||!n.prop))return Cl(re,n.prop).value}),R=S(()=>{const{required:re}=n,te=[];n.rules&&te.push(...En(n.rules));const ee=o==null?void 0:o.rules;if(ee&&n.prop){const H=Cl(ee,n.prop).value;H&&te.push(...En(H))}if(re!==void 0){const H=te.map((Z,se)=>[Z,se]).filter(([Z])=>"required"in Z);if(H.length>0)for(const[Z,se]of H)Z.required!==re&&(te[se]={...Z,required:re});else te.push({required:re})}return te}),B=S(()=>R.value.length>0),K=re=>R.value.filter(te=>!te.trigger||!re?!0:be(te.trigger)?te.trigger.includes(re):te.trigger===re).map(({trigger:te,...ee})=>ee),Y=S(()=>R.value.some(re=>re.required)),z=S(()=>f.value==="error"&&n.showMessage&&((o==null?void 0:o.showMessage)??!0)),P=S(()=>`${n.label||""}${(o==null?void 0:o.labelSuffix)||""}`),I=re=>{d.value=re},L=re=>{var H;const{errors:te,fields:ee}=re;(!te||!ee)&&console.error(re),I("error"),h.value=te?((H=te==null?void 0:te[0])==null?void 0:H.message)??`${n.prop} is required`:"",o==null||o.emit("validate",n.prop,!1,h.value)},D=()=>{I("success"),o==null||o.emit("validate",n.prop,!0,"")},V=async re=>{const te=E.value;return new eu({[te]:re}).validate({[te]:A.value},{firstFields:!0}).then(()=>(D(),!0)).catch(ee=>(L(ee),Promise.reject(ee)))},U=async(re,te)=>{if(v||!n.prop)return!1;const ee=ze(te);if(!B.value)return te==null||te(!1),!1;const H=K(re);return H.length===0?(te==null||te(!0),!0):(I("validating"),V(H).then(()=>(te==null||te(!0),!0)).catch(Z=>{const{fields:se}=Z;return te==null||te(!1,se),ee?!1:Promise.reject(se)}))},W=()=>{I(""),h.value="",v=!1},X=async()=>{const re=o==null?void 0:o.model;if(!re||!n.prop)return;const te=Cl(re,n.prop);v=!0,te.value=Fo(p),await Ae(),W(),v=!1},J=re=>{c.value.includes(re)||c.value.push(re)},fe=re=>{c.value=c.value.filter(te=>te!==re)},ue=re=>{p=Fo(re)};ie(()=>n.error,re=>{h.value=re||"",I(re?"error":"")},{immediate:!0}),ie(()=>n.validateStatus,re=>I(re||""));const he=It({...$n(n),$el:g,size:s,validateMessage:h,validateState:d,labelId:u,inputIds:c,isGroup:M,hasLabel:$,fieldValue:A,addInputId:J,removeInputId:fe,resetField:X,clearValidate:W,validate:U,propString:E,setInitialValue:ue});return wt(Co,he),ft(()=>{n.prop&&(ue(A.value),o==null||o.addField(he))}),Rt(()=>{o==null||o.removeField(he)}),t({size:s,validateMessage:h,validateState:d,validate:U,clearValidate:W,resetField:X,setInitialValue:ue}),(re,te)=>{var ee;return x(),F("div",{ref_key:"formItemRef",ref:g,class:N(C.value),role:M.value?"group":void 0,"aria-labelledby":M.value?i(u):void 0},[q(i(bA),{"is-auto-width":y.value.width==="auto","update-all":((ee=i(o))==null?void 0:ee.labelWidth)==="auto"},{default:Q(()=>[e.label||re.$slots.label?(x(),oe(st(O.value?"label":"div"),{key:0,id:i(u),for:O.value,class:N(i(r).e("label")),style:We(y.value)},{default:Q(()=>[ne(re.$slots,"label",{label:P.value},()=>[bt(ke(P.value),1)])]),_:3},8,["id","for","class","style"])):ae("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),j("div",{class:N(i(r).e("content")),style:We(b.value)},[ne(re.$slots,"default"),q(ow,{name:`${i(r).namespace.value}-zoom-in-top`},{default:Q(()=>[z.value?ne(re.$slots,"error",{key:0,error:h.value},()=>[j("div",{class:N(k.value)},ke(h.value),3)]):ae("v-if",!0)]),_:3},8,["name"])],6)],10,JA)}}}),pC=QA;const e_=lt(yA,{FormItem:pC}),t_=Zt(pC),ef="focus-trap.focus-after-trapped",tf="focus-trap.focus-after-released",n_="focus-trap.focusout-prevented",oy={cancelable:!0,bubbles:!1},a_={cancelable:!0,bubbles:!1},ly="focusAfterTrapped",sy="focusAfterReleased",vC=Symbol("elFocusTrap"),th=_(),bd=_(0),nh=_(0);let wu=0;const hC=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0||a===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},ry=(e,t)=>{for(const n of e)if(!o_(n,t))return n},o_=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},l_=e=>{const t=hC(e);return[ry(t,e),ry(t.reverse(),e)]},s_=e=>e instanceof HTMLInputElement&&"select"in e,cl=(e,t)=>{if(e){const n=document.activeElement;Wi(e,{preventScroll:!0}),nh.value=window.performance.now(),e!==n&&s_(e)&&t&&e.select()}};function iy(e,t){const n=[...e],a=e.indexOf(t);return a!==-1&&n.splice(a,1),n}const r_=()=>{let e=[];return{push:a=>{const o=e[0];o&&a!==o&&o.pause(),e=iy(e,a),e.unshift(a)},remove:a=>{var o,l;e=iy(e,a),(l=(o=e[0])==null?void 0:o.resume)==null||l.call(o)}}},i_=(e,t=!1)=>{const n=document.activeElement;for(const a of e)if(cl(a,t),document.activeElement!==n)return},uy=r_(),u_=()=>bd.value>nh.value,Cu=()=>{th.value="pointer",bd.value=window.performance.now()},cy=()=>{th.value="keyboard",bd.value=window.performance.now()},c_=()=>(ft(()=>{wu===0&&(document.addEventListener("mousedown",Cu),document.addEventListener("touchstart",Cu),document.addEventListener("keydown",cy)),wu++}),Rt(()=>{wu--,wu<=0&&(document.removeEventListener("mousedown",Cu),document.removeEventListener("touchstart",Cu),document.removeEventListener("keydown",cy))}),{focusReason:th,lastUserFocusTimestamp:bd,lastAutomatedFocusTimestamp:nh}),Su=e=>new CustomEvent(n_,{...a_,detail:e});var d_=le({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ly,sy,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=_();let a,o;const{focusReason:l}=c_();xR(p=>{e.trapped&&!s.paused&&t("release-requested",p)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},r=p=>{if(!e.loop&&!e.trapped||s.paused)return;const{altKey:v,ctrlKey:m,metaKey:y,currentTarget:b,shiftKey:C}=p,{loop:w}=e,k=Ft(p)===Ce.tab&&!v&&!m&&!y,E=document.activeElement;if(k&&E){const $=b,[O,M]=l_($);if(O&&M){if(!C&&E===M){const T=Su({focusReason:l.value});t("focusout-prevented",T),T.defaultPrevented||(p.preventDefault(),w&&cl(O,!0))}else if(C&&[O,$].includes(E)){const T=Su({focusReason:l.value});t("focusout-prevented",T),T.defaultPrevented||(p.preventDefault(),w&&cl(M,!0))}}else if(E===$){const T=Su({focusReason:l.value});t("focusout-prevented",T),T.defaultPrevented||p.preventDefault()}}};wt(vC,{focusTrapRef:n,onKeydown:r}),ie(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),ie([n],([p],[v])=>{p&&(p.addEventListener("keydown",r),p.addEventListener("focusin",d),p.addEventListener("focusout",f)),v&&(v.removeEventListener("keydown",r),v.removeEventListener("focusin",d),v.removeEventListener("focusout",f))});const u=p=>{t(ly,p)},c=p=>t(sy,p),d=p=>{const v=i(n);if(!v)return;const m=p.target,y=p.relatedTarget,b=m&&v.contains(m);e.trapped||y&&v.contains(y)||(a=y),b&&t("focusin",p),!s.paused&&e.trapped&&(b?o=m:cl(o,!0))},f=p=>{const v=i(n);if(!(s.paused||!v))if(e.trapped){const m=p.relatedTarget;!pn(m)&&!v.contains(m)&&setTimeout(()=>{if(!s.paused&&e.trapped){const y=Su({focusReason:l.value});t("focusout-prevented",y),y.defaultPrevented||cl(o,!0)}},0)}else{const m=p.target;m&&v.contains(m)||t("focusout",p)}};async function h(){await Ae();const p=i(n);if(p){uy.push(s);const v=p.contains(document.activeElement)?a:document.activeElement;if(a=v,!p.contains(v)){const m=new Event(ef,oy);p.addEventListener(ef,u),p.dispatchEvent(m),m.defaultPrevented||Ae(()=>{let y=e.focusStartEl;De(y)||(cl(y),document.activeElement!==y&&(y="first")),y==="first"&&i_(hC(p),!0),(document.activeElement===v||y==="container")&&cl(p)})}}}function g(){const p=i(n);if(p){p.removeEventListener(ef,u);const v=new CustomEvent(tf,{...oy,detail:{focusReason:l.value}});p.addEventListener(tf,c),p.dispatchEvent(v),!v.defaultPrevented&&(l.value=="keyboard"||!u_()||p.contains(document.activeElement))&&cl(a??document.body),p.removeEventListener(tf,c),uy.remove(s),a=null,o=null}}return ft(()=>{e.trapped&&h(),ie(()=>e.trapped,p=>{p?h():g()})}),Rt(()=>{e.trapped&&g(),n.value&&(n.value.removeEventListener("keydown",r),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",f),n.value=void 0),a=null,o=null}),{onKeydown:r}}}),Cn=(e,t)=>{const n=e.__vccOpts||e;for(const[a,o]of t)n[a]=o;return n};function f_(e,t,n,a,o,l){return ne(e.$slots,"default",{handleKeydown:e.onKeydown})}var p_=Cn(d_,[["render",f_]]),yr=p_;const v_=(e,t=[])=>{const{placement:n,strategy:a,popperOptions:o}=e,l={placement:n,strategy:a,...o,modifiers:[...m_(e),...t]};return g_(l,o==null?void 0:o.modifiers),l},h_=e=>{if(Nt)return bn(e)};function m_(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:a}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:a}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function g_(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const y_=0,b_=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:a,role:o}=Le(eh,void 0),l=_(),s=S(()=>e.arrowOffset),r=S(()=>({name:"eventListeners",enabled:!!e.visible})),u=S(()=>{const y=i(l),b=i(s)??y_;return{name:"arrow",enabled:!yI(y),options:{element:y,padding:b}}}),c=S(()=>({onFirstUpdate:()=>{p()},...v_(e,[i(u),i(r)])})),d=S(()=>h_(e.referenceEl)||i(a)),{attributes:f,state:h,styles:g,update:p,forceUpdate:v,instanceRef:m}=CR(d,n,c);return ie(m,y=>t.value=y,{flush:"sync"}),ft(()=>{ie(()=>{var y,b;return(b=(y=i(d))==null?void 0:y.getBoundingClientRect)==null?void 0:b.call(y)},()=>{p()})}),Rt(()=>{t.value=void 0}),{attributes:f,arrowRef:l,contentRef:n,instanceRef:m,state:h,styles:g,role:o,forceUpdate:v,update:p}},w_=(e,{attributes:t,styles:n,role:a})=>{const{nextZIndex:o}=Ui(),l=ve("popper"),s=S(()=>i(t).popper),r=_(Ke(e.zIndex)?e.zIndex:o()),u=S(()=>[l.b(),l.is("pure",e.pure),l.is(e.effect),e.popperClass]),c=S(()=>[{zIndex:i(r)},i(n).popper,e.popperStyle||{}]),d=S(()=>a.value==="dialog"?"false":void 0),f=S(()=>i(n).arrow||{});return{ariaModal:d,arrowStyle:f,contentAttrs:s,contentClass:u,contentStyle:c,contentZIndex:r,updateZIndex:()=>{r.value=Ke(e.zIndex)?e.zIndex:o()}}},C_=(e,t)=>{const n=_(!1),a=_(),o=()=>{t("focus")},l=c=>{var d;((d=c.detail)==null?void 0:d.focusReason)!=="pointer"&&(a.value="first",t("blur"))},s=c=>{e.visible&&!n.value&&(c.target&&(a.value=c.target),n.value=!0)},r=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},u=()=>{n.value=!1,t("close")};return Rt(()=>{a.value=void 0}),{focusStartRef:a,trapped:n,onFocusAfterReleased:l,onFocusAfterTrapped:o,onFocusInTrap:s,onFocusoutPrevented:r,onReleaseRequested:u}};var S_=le({name:"ElPopperContent",__name:"content",props:dC,emits:uA,setup(e,{expose:t,emit:n}){const a=n,o=e,{focusStartRef:l,trapped:s,onFocusAfterReleased:r,onFocusAfterTrapped:u,onFocusInTrap:c,onFocusoutPrevented:d,onReleaseRequested:f}=C_(o,a),{attributes:h,arrowRef:g,contentRef:p,styles:v,instanceRef:m,role:y,update:b}=b_(o),{ariaModal:C,arrowStyle:w,contentAttrs:k,contentClass:E,contentStyle:$,updateZIndex:O}=w_(o,{styles:v,attributes:h,role:y}),M=Le(Co,void 0);wt(sC,{arrowStyle:w,arrowRef:g}),M&&wt(Co,{...M,addInputId:Pt,removeInputId:Pt});let T;const A=(B=!0)=>{b(),B&&O()},R=()=>{A(!1),o.visible&&o.focusOnShow?s.value=!0:o.visible===!1&&(s.value=!1)};return ft(()=>{ie(()=>o.triggerTargetEl,(B,K)=>{T==null||T(),T=void 0;const Y=i(B||p.value),z=i(K||p.value);ra(Y)&&(T=ie([y,()=>o.ariaLabel,C,()=>o.id],P=>{["role","aria-label","aria-modal","id"].forEach((I,L)=>{pn(P[L])?Y.removeAttribute(I):Y.setAttribute(I,P[L])})},{immediate:!0})),z!==Y&&ra(z)&&["role","aria-label","aria-modal","id"].forEach(P=>{z.removeAttribute(P)})},{immediate:!0}),ie(()=>o.visible,R,{immediate:!0})}),Rt(()=>{T==null||T(),T=void 0,p.value=void 0}),t({popperContentRef:p,popperInstanceRef:m,updatePopper:A,contentStyle:$}),(B,K)=>(x(),F("div",ut({ref_key:"contentRef",ref:p},i(k),{style:i($),class:i(E),tabindex:"-1",onMouseenter:K[0]||(K[0]=Y=>B.$emit("mouseenter",Y)),onMouseleave:K[1]||(K[1]=Y=>B.$emit("mouseleave",Y))}),[q(i(yr),{loop:e.loop,trapped:i(s),"trap-on-focus-in":!0,"focus-trap-el":i(p),"focus-start-el":i(l),onFocusAfterTrapped:i(u),onFocusAfterReleased:i(r),onFocusin:i(c),onFocusoutPrevented:i(d),onReleaseRequested:i(f)},{default:Q(()=>[ne(B.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),k_=S_,E_=le({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:lC,setup(e,{expose:t}){const n=e,a={triggerRef:_(),popperInstanceRef:_(),contentRef:_(),referenceRef:_(),role:S(()=>n.role)};return t(a),wt(eh,a),(o,l)=>ne(o.$slots,"default")}}),x_=E_;const mC=lt(x_),Lt=Se({...OR,...dC,appendTo:{type:zi.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:G(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...Zn(["ariaLabel"])}),ho=Se({...rC,disabled:Boolean,trigger:{type:G([String,Array]),default:"hover"},triggerKeys:{type:G(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space]},focusOnTarget:Boolean}),{useModelToggleProps:T_,useModelToggleEmits:$_,useModelToggle:O_}=yP("visible"),N_=Se({...lC,...T_,...Lt,...ho,...cC,showArrow:{type:Boolean,default:!0}}),M_=[...$_,"before-show","before-hide","show","hide","open","close"],ah=Symbol("elTooltip"),tp=(e,t)=>be(e)?e.includes(t):e===t,ks=(e,t,n)=>a=>{tp(i(e),t)&&n(a)};var I_=le({name:"ElTooltipTrigger",__name:"trigger",props:ho,setup(e,{expose:t}){const n=e,a=ve("tooltip"),{controlled:o,id:l,open:s,onOpen:r,onClose:u,onToggle:c}=Le(ah,void 0),d=_(null),f=()=>{if(i(o)||n.disabled)return!0},h=_t(n,"trigger"),g=kn(f,ks(h,"hover",w=>{r(w),n.focusOnTarget&&w.target&&Ae(()=>{Wi(w.target,{preventScroll:!0})})})),p=kn(f,ks(h,"hover",u)),v=kn(f,ks(h,"click",w=>{w.button===0&&c(w)})),m=kn(f,ks(h,"focus",r)),y=kn(f,ks(h,"focus",u)),b=kn(f,ks(h,"contextmenu",w=>{w.preventDefault(),c(w)})),C=kn(f,w=>{const k=Ft(w);n.triggerKeys.includes(k)&&(w.preventDefault(),c(w))});return t({triggerRef:d}),(w,k)=>(x(),oe(i(sA),{id:i(l),"virtual-ref":e.virtualRef,open:i(s),"virtual-triggering":e.virtualTriggering,class:N(i(a).e("trigger")),onBlur:i(y),onClick:i(v),onContextmenu:i(b),onFocus:i(m),onMouseenter:i(g),onMouseleave:i(p),onKeydown:i(C)},{default:Q(()=>[ne(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),P_=I_,R_=le({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:Lt,setup(e,{expose:t}){const n=e,{selector:a}=I1(),o=ve("tooltip"),l=_(),s=t1(()=>{var I;return(I=l.value)==null?void 0:I.popperContentRef});let r;const{controlled:u,id:c,open:d,trigger:f,onClose:h,onOpen:g,onShow:p,onHide:v,onBeforeShow:m,onBeforeHide:y}=Le(ah,void 0),b=S(()=>n.transition||`${o.namespace.value}-fade-in-linear`),C=S(()=>n.persistent);Rt(()=>{r==null||r()});const w=S(()=>i(C)?!0:i(d)),k=S(()=>n.disabled?!1:i(d)),E=S(()=>n.appendTo||a.value),$=S(()=>n.style??{}),O=_(!0),M=()=>{v(),P()&&Wi(document.body,{preventScroll:!0}),O.value=!0},T=()=>{if(i(u))return!0},A=kn(T,()=>{n.enterable&&tp(i(f),"hover")&&g()}),R=kn(T,()=>{tp(i(f),"hover")&&h()}),B=()=>{var I,L;(L=(I=l.value)==null?void 0:I.updatePopper)==null||L.call(I),m==null||m()},K=()=>{y==null||y()},Y=()=>{p()},z=()=>{n.virtualTriggering||h()},P=I=>{var V;const L=(V=l.value)==null?void 0:V.popperContentRef,D=(I==null?void 0:I.relatedTarget)||document.activeElement;return L==null?void 0:L.contains(D)};return ie(()=>i(d),I=>{I?(O.value=!1,r=Nv(s,()=>{i(u)||Un(i(f)).every(L=>L!=="hover"&&L!=="focus")&&h()},{detectIframe:!0})):r==null||r()},{flush:"post"}),ie(()=>n.content,()=>{var I,L;(L=(I=l.value)==null?void 0:I.updatePopper)==null||L.call(I)}),t({contentRef:l,isFocusInsideContent:P}),(I,L)=>(x(),oe(i(gr),{disabled:!e.teleported,to:E.value},{default:Q(()=>[w.value||!O.value?(x(),oe(An,{key:0,name:b.value,appear:!C.value,onAfterLeave:M,onBeforeEnter:B,onAfterEnter:Y,onBeforeLeave:K,persisted:""},{default:Q(()=>[it(q(i(k_),ut({id:i(c),ref_key:"contentRef",ref:l},I.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":O.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,$.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:k.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:i(A),onMouseleave:i(R),onBlur:z,onClose:i(h)}),{default:Q(()=>[ne(I.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Ot,k.value]])]),_:3},8,["name","appear"])):ae("v-if",!0)]),_:3},8,["disabled","to"]))}}),A_=R_;const __=["innerHTML"],L_={key:1};var D_=le({name:"ElTooltip",__name:"tooltip",props:N_,emits:M_,setup(e,{expose:t,emit:n}){const a=e,o=n;$R();const l=ve("tooltip"),s=_n(),r=_(),u=_(),c=()=>{var k;const w=i(r);w&&((k=w.popperInstanceRef)==null||k.update())},d=_(!1),f=_(),{show:h,hide:g,hasUpdateHandler:p}=O_({indicator:d,toggleReason:f}),{onOpen:v,onClose:m}=NR({showAfter:_t(a,"showAfter"),hideAfter:_t(a,"hideAfter"),autoClose:_t(a,"autoClose"),open:h,close:g}),y=S(()=>Dt(a.visible)&&!p.value),b=S(()=>[l.b(),a.popperClass]);wt(ah,{controlled:y,id:s,open:os(d),trigger:_t(a,"trigger"),onOpen:v,onClose:m,onToggle:w=>{i(d)?m(w):v(w)},onShow:()=>{o("show",f.value)},onHide:()=>{o("hide",f.value)},onBeforeShow:()=>{o("before-show",f.value)},onBeforeHide:()=>{o("before-hide",f.value)},updatePopper:c}),ie(()=>a.disabled,w=>{w&&d.value&&(d.value=!1)});const C=w=>{var k;return(k=u.value)==null?void 0:k.isFocusInsideContent(w)};return av(()=>d.value&&g()),Rt(()=>{f.value=void 0}),t({popperRef:r,contentRef:u,isFocusInsideContent:C,updatePopper:c,onOpen:v,onClose:m,hide:g}),(w,k)=>(x(),oe(i(mC),{ref_key:"popperRef",ref:r,role:e.role},{default:Q(()=>[q(P_,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:Q(()=>[w.$slots.default?ne(w.$slots,"default",{key:0}):ae("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),q(A_,{ref_key:"contentRef",ref:u,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:Q(()=>[ne(w.$slots,"content",{},()=>[e.rawContent?(x(),F("span",{key:0,innerHTML:e.content},null,8,__)):(x(),F("span",L_,ke(e.content),1))]),e.showArrow?(x(),oe(i(oA),{key:0})):ae("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),B_=D_;const Mn=lt(B_),en=e=>e,tu=Se({id:{type:String,default:void 0},size:wn,disabled:{type:Boolean,default:void 0},modelValue:{type:G([String,Number,Object]),default:""},modelModifiers:{type:G(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:G(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:G([Boolean,Object]),default:!1},autocomplete:{type:G(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Bt,default:xo},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Bt},prefixIcon:{type:Bt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:G([Object,Array,String]),default:()=>en({})},autofocus:Boolean,rows:{type:Number,default:2},...Zn(["ariaLabel"]),inputmode:{type:G(String),default:void 0},name:String}),V_={[tt]:e=>De(e),input:e=>De(e),change:(e,t)=>De(e)&&(t instanceof Event||t===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};uo(xo);let Fn;const F_={height:"0",visibility:"hidden",overflow:id()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},z_=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],dy=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function H_(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),a=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:z_.map(l=>[l,t.getPropertyValue(l)]),paddingSize:a,borderSize:o,boxSizing:n}}function fy(e,t=1,n){var d;if(!Fn){Fn=document.createElement("textarea");let f=document.body;!id()&&e.parentNode&&(f=e.parentNode),f.appendChild(Fn)}const{paddingSize:a,borderSize:o,boxSizing:l,contextStyle:s}=H_(e);s.forEach(([f,h])=>Fn==null?void 0:Fn.style.setProperty(f,h)),Object.entries(F_).forEach(([f,h])=>Fn==null?void 0:Fn.style.setProperty(f,h,"important")),Fn.value=e.value||e.placeholder||"";let r=Fn.scrollHeight;const u={};l==="border-box"?r=r+o:l==="content-box"&&(r=r-a),Fn.value="";const c=Fn.scrollHeight-a;if(Ke(t)){let f=c*t;l==="border-box"&&(f=f+a+o),r=Math.max(f,r),u.minHeight=`${f}px`}if(Ke(n)){let f=c*n;l==="border-box"&&(f=f+a+o),r=Math.min(f,r)}return u.height=`${r}px`,(d=Fn.parentNode)==null||d.removeChild(Fn),Fn=void 0,u}const K_=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],W_=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"],py="ElInput";var j_=le({name:py,inheritAttrs:!1,__name:"input",props:tu,emits:V_,setup(e,{expose:t,emit:n}){const a=e,o=n,l=Jo(),s=sd(),r=cn(),u=S(()=>[a.type==="textarea"?m.b():v.b(),v.m(g.value),v.is("disabled",p.value),v.is("exceed",W.value),{[v.b("group")]:r.prepend||r.append,[v.m("prefix")]:r.prefix||a.prefixIcon,[v.m("suffix")]:r.suffix||a.suffixIcon||a.clearable||a.showPassword,[v.bm("suffix","password-clear")]:L.value&&D.value,[v.b("hidden")]:a.type==="hidden"},l.class]),c=S(()=>[v.e("wrapper"),v.is("focus",M.value)]),{form:d,formItem:f}=In(),{inputId:h}=Ca(a,{formItemContext:f}),g=yn(),p=nn(),v=ve("input"),m=ve("textarea"),y=jt(),b=jt(),C=_(!1),w=_(!1),k=_(),E=jt(a.inputStyle),$=S(()=>y.value||b.value),{wrapperRef:O,isFocused:M,handleFocus:T,handleBlur:A}=nl($,{disabled:p,afterBlur(){var $e;a.validateEvent&&(($e=f==null?void 0:f.validate)==null||$e.call(f,"blur").catch(Pe=>dt(Pe)))}}),R=S(()=>(d==null?void 0:d.statusIcon)??!1),B=S(()=>(f==null?void 0:f.validateState)||""),K=S(()=>B.value&&yd[B.value]),Y=S(()=>w.value?K4:f4),z=S(()=>[l.style]),P=S(()=>[a.inputStyle,E.value,{resize:a.resize}]),I=S(()=>pn(a.modelValue)?"":String(a.modelValue)),L=S(()=>a.clearable&&!p.value&&!a.readonly&&!!I.value&&(M.value||C.value)),D=S(()=>a.showPassword&&!p.value&&!!I.value),V=S(()=>a.showWordLimit&&!!a.maxlength&&(a.type==="text"||a.type==="textarea")&&!p.value&&!a.readonly&&!a.showPassword),U=S(()=>I.value.length),W=S(()=>!!V.value&&U.value>Number(a.maxlength)),X=S(()=>!!r.suffix||!!a.suffixIcon||L.value||a.showPassword||V.value||!!B.value&&R.value),J=S(()=>!!Object.keys(a.modelModifiers).length),[fe,ue]=w3(y);Gt(b,$e=>{if(te(),!V.value||a.resize!=="both"&&a.resize!=="horizontal")return;const{width:Pe}=$e[0].contentRect;k.value={right:`calc(100% - ${Pe+22-10}px)`}});const he=()=>{const{type:$e,autosize:Pe}=a;if(!(!Nt||$e!=="textarea"||!b.value))if(Pe){const je=nt(Pe)?Pe.minRows:void 0,xt=nt(Pe)?Pe.maxRows:void 0,Mt=fy(b.value,je,xt);E.value={overflowY:"hidden",...Mt},Ae(()=>{b.value.offsetHeight,E.value=Mt})}else E.value={minHeight:fy(b.value).minHeight}},te=($e=>{let Pe=!1;return()=>{var je;Pe||!a.autosize||((je=b.value)==null?void 0:je.offsetParent)!==null&&(setTimeout($e),Pe=!0)}})(he),ee=()=>{const $e=$.value,Pe=a.formatter?a.formatter(I.value):I.value;!$e||$e.value===Pe||a.type==="file"||($e.value=Pe)},H=$e=>{const{trim:Pe,number:je}=a.modelModifiers;return Pe&&($e=$e.trim()),je&&($e=`${dy($e)}`),a.formatter&&a.parser&&($e=a.parser($e)),$e},Z=async $e=>{if(pe.value)return;const{lazy:Pe}=a.modelModifiers;let{value:je}=$e.target;if(Pe){o(mn,je);return}if(je=H(je),String(je)===I.value){a.formatter&&ee();return}fe(),o(tt,je),o(mn,je),await Ae(),(a.formatter&&a.parser||!J.value)&&ee(),ue()},se=async $e=>{let{value:Pe}=$e.target;Pe=H(Pe),a.modelModifiers.lazy&&o(tt,Pe),o(ht,Pe,$e),await Ae(),ee()},{isComposing:pe,handleCompositionStart:ge,handleCompositionUpdate:ye,handleCompositionEnd:Ne}=Zi({emit:o,afterComposition:Z}),_e=()=>{w.value=!w.value},Me=()=>{var $e;return($e=$.value)==null?void 0:$e.focus()},me=()=>{var $e;return($e=$.value)==null?void 0:$e.blur()},Te=$e=>{C.value=!1,o("mouseleave",$e)},we=$e=>{C.value=!0,o("mouseenter",$e)},Ie=$e=>{o("keydown",$e)},Ve=()=>{var $e;($e=$.value)==null||$e.select()},Xe=$e=>{o(tt,""),o(ht,""),o("clear",$e),o(mn,"")};return ie(()=>a.modelValue,()=>{var $e;Ae(()=>he()),a.validateEvent&&(($e=f==null?void 0:f.validate)==null||$e.call(f,"change").catch(Pe=>dt(Pe)))}),ie(I,$e=>{if(!$.value)return;const{trim:Pe,number:je}=a.modelModifiers,xt=$.value.value,Mt=(je||a.type==="number")&&!/^0\d/.test(xt)?`${dy(xt)}`:xt;Mt!==$e&&(document.activeElement===$.value&&$.value.type!=="range"&&Pe&&Mt.trim()===$e||ee())}),ie(()=>a.type,async()=>{await Ae(),ee(),he()}),ft(()=>{!a.formatter&&a.parser&&dt(py,"If you set the parser, you also need to set the formatter."),ee(),Ae(he)}),t({input:y,textarea:b,ref:$,textareaStyle:P,autosize:_t(a,"autosize"),isComposing:pe,focus:Me,blur:me,select:Ve,clear:Xe,resizeTextarea:he}),($e,Pe)=>(x(),F("div",{class:N([u.value,{[i(v).bm("group","append")]:$e.$slots.append,[i(v).bm("group","prepend")]:$e.$slots.prepend}]),style:We(z.value),onMouseenter:we,onMouseleave:Te},[ae(" input "),e.type!=="textarea"?(x(),F(He,{key:0},[ae(" prepend slot "),$e.$slots.prepend?(x(),F("div",{key:0,class:N(i(v).be("group","prepend"))},[ne($e.$slots,"prepend")],2)):ae("v-if",!0),j("div",{ref_key:"wrapperRef",ref:O,class:N(c.value)},[ae(" prefix slot "),$e.$slots.prefix||e.prefixIcon?(x(),F("span",{key:0,class:N(i(v).e("prefix"))},[j("span",{class:N(i(v).e("prefix-inner"))},[ne($e.$slots,"prefix"),e.prefixIcon?(x(),oe(i(Be),{key:0,class:N(i(v).e("icon"))},{default:Q(()=>[(x(),oe(st(e.prefixIcon)))]),_:1},8,["class"])):ae("v-if",!0)],2)],2)):ae("v-if",!0),j("input",ut({id:i(h),ref_key:"input",ref:y,class:i(v).e("inner")},i(s),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?w.value?"text":"password":e.type,disabled:i(p),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:Pe[0]||(Pe[0]=(...je)=>i(ge)&&i(ge)(...je)),onCompositionupdate:Pe[1]||(Pe[1]=(...je)=>i(ye)&&i(ye)(...je)),onCompositionend:Pe[2]||(Pe[2]=(...je)=>i(Ne)&&i(Ne)(...je)),onInput:Z,onChange:se,onKeydown:Ie}),null,16,K_),ae(" suffix slot "),X.value?(x(),F("span",{key:1,class:N(i(v).e("suffix"))},[j("span",{class:N(i(v).e("suffix-inner"))},[!L.value||!D.value||!V.value?(x(),F(He,{key:0},[ne($e.$slots,"suffix"),e.suffixIcon?(x(),oe(i(Be),{key:0,class:N(i(v).e("icon"))},{default:Q(()=>[(x(),oe(st(e.suffixIcon)))]),_:1},8,["class"])):ae("v-if",!0)],64)):ae("v-if",!0),L.value?(x(),oe(i(Be),{key:1,class:N([i(v).e("icon"),i(v).e("clear")]),onMousedown:Ze(i(Pt),["prevent"]),onClick:Xe},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class","onMousedown"])):ae("v-if",!0),D.value?(x(),oe(i(Be),{key:2,class:N([i(v).e("icon"),i(v).e("password")]),onClick:_e,onMousedown:Ze(i(Pt),["prevent"]),onMouseup:Ze(i(Pt),["prevent"])},{default:Q(()=>[(x(),oe(st(Y.value)))]),_:1},8,["class","onMousedown","onMouseup"])):ae("v-if",!0),V.value?(x(),F("span",{key:3,class:N([i(v).e("count"),i(v).is("outside",e.wordLimitPosition==="outside")])},[j("span",{class:N(i(v).e("count-inner"))},ke(U.value)+" / "+ke(e.maxlength),3)],2)):ae("v-if",!0),B.value&&K.value&&R.value?(x(),oe(i(Be),{key:4,class:N([i(v).e("icon"),i(v).e("validateIcon"),i(v).is("loading",B.value==="validating")])},{default:Q(()=>[(x(),oe(st(K.value)))]),_:1},8,["class"])):ae("v-if",!0)],2)],2)):ae("v-if",!0)],2),ae(" append slot "),$e.$slots.append?(x(),F("div",{key:1,class:N(i(v).be("group","append"))},[ne($e.$slots,"append")],2)):ae("v-if",!0)],64)):(x(),F(He,{key:1},[ae(" textarea "),j("textarea",ut({id:i(h),ref_key:"textarea",ref:b,class:[i(m).e("inner"),i(v).is("focus",i(M)),i(m).is("clearable",e.clearable)]},i(s),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:i(p),readonly:e.readonly,autocomplete:e.autocomplete,style:P.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:Pe[3]||(Pe[3]=(...je)=>i(ge)&&i(ge)(...je)),onCompositionupdate:Pe[4]||(Pe[4]=(...je)=>i(ye)&&i(ye)(...je)),onCompositionend:Pe[5]||(Pe[5]=(...je)=>i(Ne)&&i(Ne)(...je)),onInput:Z,onFocus:Pe[6]||(Pe[6]=(...je)=>i(T)&&i(T)(...je)),onBlur:Pe[7]||(Pe[7]=(...je)=>i(A)&&i(A)(...je)),onChange:se,onKeydown:Ie}),null,16,W_),L.value?(x(),oe(i(Be),{key:0,class:N([i(m).e("icon"),i(m).e("clear")]),onMousedown:Ze(i(Pt),["prevent"]),onClick:Xe},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class","onMousedown"])):ae("v-if",!0),V.value?(x(),F("span",{key:1,style:We(k.value),class:N([i(v).e("count"),i(v).is("outside",e.wordLimitPosition==="outside")])},ke(U.value)+" / "+ke(e.maxlength),7)):ae("v-if",!0)],64))],38))}}),Y_=j_;const qn=lt(Y_),U_=Se({...tu,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:G(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:G([Function,Array]),default:Pt},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:Lt.teleported,appendTo:Lt.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),q_={[tt]:e=>De(e)||Ke(e),[mn]:e=>De(e)||Ke(e),[ht]:e=>De(e)||Ke(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>nt(e)},G_=Se({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:G([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...Zn(["ariaLabel","ariaOrientation"])}),gC={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Ke)},Es=4,yC={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},X_=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),Z_=Se({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),oh=Symbol("scrollbarContextKey"),J_=Se({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Q_="Thumb";var eL=le({__name:"thumb",props:Z_,setup(e){const t=e,n=Le(oh),a=ve("scrollbar");n||Xt(Q_,"can not inject scrollbar context");const o=_(),l=_(),s=_({}),r=_(!1);let u=!1,c=!1,d=0,f=0,h=Nt?document.onselectstart:null;const g=S(()=>yC[t.vertical?"vertical":"horizontal"]),p=S(()=>X_({size:t.size,move:t.move,bar:g.value})),v=S(()=>o.value[g.value.offset]**2/n.wrapElement[g.value.scrollSize]/t.ratio/l.value[g.value.offset]),m=O=>{var T;if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;(T=window.getSelection())==null||T.removeAllRanges(),b(O);const M=O.currentTarget;M&&(s.value[g.value.axis]=M[g.value.offset]-(O[g.value.client]-M.getBoundingClientRect()[g.value.direction]))},y=O=>{if(!l.value||!o.value||!n.wrapElement)return;const M=(Math.abs(O.target.getBoundingClientRect()[g.value.direction]-O[g.value.client])-l.value[g.value.offset]/2)*100*v.value/o.value[g.value.offset];n.wrapElement[g.value.scroll]=M*n.wrapElement[g.value.scrollSize]/100},b=O=>{O.stopImmediatePropagation(),u=!0,d=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",C),document.addEventListener("mouseup",w),h=document.onselectstart,document.onselectstart=()=>!1},C=O=>{if(!o.value||!l.value||u===!1)return;const M=s.value[g.value.axis];if(!M)return;const T=((o.value.getBoundingClientRect()[g.value.direction]-O[g.value.client])*-1-(l.value[g.value.offset]-M))*100*v.value/o.value[g.value.offset];g.value.scroll==="scrollLeft"?n.wrapElement[g.value.scroll]=T*f/100:n.wrapElement[g.value.scroll]=T*d/100},w=()=>{u=!1,s.value[g.value.axis]=0,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",w),$(),c&&(r.value=!1)},k=()=>{c=!1,r.value=!!t.size},E=()=>{c=!0,r.value=u};Rt(()=>{$(),document.removeEventListener("mouseup",w)});const $=()=>{document.onselectstart!==h&&(document.onselectstart=h)};return At(_t(n,"scrollbarElement"),"mousemove",k),At(_t(n,"scrollbarElement"),"mouseleave",E),(O,M)=>(x(),oe(An,{name:i(a).b("fade"),persisted:""},{default:Q(()=>[it(j("div",{ref_key:"instance",ref:o,class:N([i(a).e("bar"),i(a).is(g.value.key)]),onMousedown:y,onClick:M[0]||(M[0]=Ze(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:l,class:N(i(a).e("thumb")),style:We(p.value),onMousedown:m},null,38)],34),[[Ot,e.always||r.value]])]),_:1},8,["name"]))}}),vy=eL,tL=le({__name:"bar",props:J_,setup(e,{expose:t}){const n=e,a=Le(oh),o=_(0),l=_(0),s=_(""),r=_(""),u=_(1),c=_(1);return t({handleScroll:h=>{if(h){const g=h.offsetHeight-Es,p=h.offsetWidth-Es;l.value=h.scrollTop*100/g*u.value,o.value=h.scrollLeft*100/p*c.value}},update:()=>{const h=a==null?void 0:a.wrapElement;if(!h)return;const g=h.offsetHeight-Es,p=h.offsetWidth-Es,v=g**2/h.scrollHeight,m=p**2/h.scrollWidth,y=Math.max(v,n.minSize),b=Math.max(m,n.minSize);u.value=v/(g-v)/(y/(g-y)),c.value=m/(p-m)/(b/(p-b)),r.value=y+Es(x(),F(He,null,[q(vy,{move:o.value,ratio:c.value,size:s.value,always:e.always},null,8,["move","ratio","size","always"]),q(vy,{move:l.value,ratio:u.value,size:r.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),nL=tL;const aL=["tabindex"],nf="ElScrollbar";var oL=le({name:nf,__name:"scrollbar",props:G_,emits:gC,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("scrollbar");let s,r,u,c=0,d=0,f="";const h={bottom:!1,top:!1,right:!1,left:!1},g=_(),p=_(),v=_(),m=_(),y=S(()=>{const R={},B=tn(a.height),K=tn(a.maxHeight);return B&&(R.height=B),K&&(R.maxHeight=K),[a.wrapStyle,R]}),b=S(()=>[a.wrapClass,l.e("wrap"),{[l.em("wrap","hidden-default")]:!a.native}]),C=S(()=>[l.e("view"),a.viewClass]),w=R=>h[R]??!1,k={top:"bottom",bottom:"top",left:"right",right:"left"},E=R=>{const B=k[f];if(!B)return;const K=R[f],Y=R[B];K&&!h[f]&&(h[f]=!0),!Y&&h[B]&&(h[B]=!1)},$=()=>{var R;if(p.value){(R=m.value)==null||R.handleScroll(p.value);const B=c,K=d;c=p.value.scrollTop,d=p.value.scrollLeft;const Y={bottom:c+p.value.clientHeight>=p.value.scrollHeight-a.distance,top:c<=a.distance&&B!==0,right:d+p.value.clientWidth>=p.value.scrollWidth-a.distance&&K!==d,left:d<=a.distance&&K!==0};if(o("scroll",{scrollTop:c,scrollLeft:d}),B!==c&&(f=c>B?"bottom":"top"),K!==d&&(f=d>K?"right":"left"),a.distance>0){if(w(f))return;E(Y)}Y[f]&&o("end-reached",f)}};function O(R,B){nt(R)?p.value.scrollTo(R):Ke(R)&&Ke(B)&&p.value.scrollTo(R,B)}const M=R=>{if(!Ke(R)){dt(nf,"value must be a number");return}p.value.scrollTop=R},T=R=>{if(!Ke(R)){dt(nf,"value must be a number");return}p.value.scrollLeft=R},A=()=>{var R;(R=m.value)==null||R.update(),h[f]=!1};return ie(()=>a.noresize,R=>{R?(s==null||s(),r==null||r(),u==null||u()):({stop:s}=Gt(v,A),{stop:r}=Gt(p,A),u=At("resize",A))},{immediate:!0}),ie(()=>[a.maxHeight,a.height],()=>{a.native||Ae(()=>{var R;A(),p.value&&((R=m.value)==null||R.handleScroll(p.value))})}),wt(oh,It({scrollbarElement:g,wrapElement:p})),Ri(()=>{p.value&&(p.value.scrollTop=c,p.value.scrollLeft=d)}),ft(()=>{a.native||Ae(()=>{A()})}),Ua(()=>A()),t({wrapRef:p,update:A,scrollTo:O,setScrollTop:M,setScrollLeft:T,handleScroll:$}),(R,B)=>(x(),F("div",{ref_key:"scrollbarRef",ref:g,class:N(i(l).b())},[j("div",{ref_key:"wrapRef",ref:p,class:N(b.value),style:We(y.value),tabindex:e.tabindex,onScroll:$},[(x(),oe(st(e.tag),{id:e.id,ref_key:"resizeRef",ref:v,class:N(C.value),style:We(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:Q(()=>[ne(R.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,aL),e.native?ae("v-if",!0):(x(),oe(nL,{key:0,ref_key:"barRef",ref:m,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),lL=oL;const Wa=lt(lL),sL=["aria-expanded","aria-owns"],rL={key:0},iL=["id","aria-selected","onClick"],hy="ElAutocomplete";var uL=le({name:hy,inheritAttrs:!1,__name:"autocomplete",props:U_,emits:q_,setup(e,{expose:t,emit:n}){const a=e,o=n,l=S(()=>jo(a,Object.keys(tu))),s=Jo(),r=nn(),u=ve("autocomplete"),c=_(),d=_(),f=_(),h=_();let g=!1,p=!1;const v=_([]),m=_(-1),y=_(""),b=_(!1),C=_(!1),w=_(!1),k=_n(),E=S(()=>s.style),$=S(()=>(v.value.length>0||w.value)&&b.value),O=S(()=>!a.hideLoading&&w.value),M=S(()=>c.value?Array.from(c.value.$el.querySelectorAll("input")):[]),T=()=>{$.value&&(y.value=`${c.value.$el.offsetWidth}px`)},A=()=>{m.value=-1},R=async te=>{if(C.value)return;const ee=H=>{w.value=!1,!C.value&&(be(H)?(v.value=H,m.value=a.highlightFirstItem?0:-1):Xt(hy,"autocomplete suggestions must be an array"))};if(w.value=!0,be(a.fetchSuggestions))ee(a.fetchSuggestions);else{const H=await a.fetchSuggestions(te,ee);be(H)&&ee(H)}},B=Hi(R,S(()=>a.debounce)),K=te=>{const ee=!!te;if(o(mn,te),o(tt,te),C.value=!1,b.value||(b.value=ee),!a.triggerOnFocus&&!te){C.value=!0,v.value=[];return}B(te)},Y=te=>{var ee;r.value||(((ee=te.target)==null?void 0:ee.tagName)!=="INPUT"||M.value.includes(document.activeElement))&&(b.value=!0)},z=te=>{o(ht,te)},P=te=>{if(p)p=!1;else{b.value=!0,o("focus",te);const ee=a.modelValue??"";a.triggerOnFocus&&!g&&B(String(ee))}},I=te=>{setTimeout(()=>{var ee;if((ee=f.value)!=null&&ee.isFocusInsideContent()){p=!0;return}b.value&&U(),o("blur",te)})},L=()=>{b.value=!1,o(tt,""),o("clear")},D=async()=>{var te;(te=c.value)!=null&&te.isComposing||($.value&&m.value>=0&&m.value{$.value&&(te.preventDefault(),te.stopPropagation(),U())},U=()=>{b.value=!1},W=()=>{var te;(te=c.value)==null||te.focus()},X=()=>{var te;(te=c.value)==null||te.blur()},J=async te=>{o(mn,te[a.valueKey]),o(tt,te[a.valueKey]),o("select",te),v.value=[],m.value=-1},fe=te=>{var ye,Ne;if(!$.value||w.value)return;if(te<0){if(!a.loopNavigation){m.value=-1;return}te=v.value.length-1}te>=v.value.length&&(te=a.loopNavigation?0:v.value.length-1);const[ee,H]=ue(),Z=H[te],se=ee.scrollTop,{offsetTop:pe,scrollHeight:ge}=Z;pe+ge>se+ee.clientHeight&&(ee.scrollTop=pe+ge-ee.clientHeight),pe{const te=d.value.querySelector(`.${u.be("suggestion","wrap")}`);return[te,te.querySelectorAll(`.${u.be("suggestion","list")} li`)]},he=Nv(h,te=>{var H;if((H=f.value)!=null&&H.isFocusInsideContent())return;const ee=p;p=!1,$.value&&(ee?I(new FocusEvent("blur",te)):U())}),re=te=>{switch(Ft(te)){case Ce.up:te.preventDefault(),fe(m.value-1);break;case Ce.down:te.preventDefault(),fe(m.value+1);break;case Ce.enter:case Ce.numpadEnter:te.preventDefault(),D();break;case Ce.tab:U();break;case Ce.esc:V(te);break;case Ce.home:te.preventDefault(),fe(0);break;case Ce.end:te.preventDefault(),fe(v.value.length-1);break;case Ce.pageUp:te.preventDefault(),fe(Math.max(0,m.value-10));break;case Ce.pageDown:te.preventDefault(),fe(Math.min(v.value.length-1,m.value+10));break}};return Rt(()=>{he==null||he()}),ft(()=>{var ee;const te=(ee=c.value)==null?void 0:ee.ref;te&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:k.value},{key:"aria-activedescendant",value:`${k.value}-item-${m.value}`}].forEach(({key:H,value:Z})=>te.setAttribute(H,Z)),g=te.hasAttribute("readonly"))}),t({highlightedIndex:m,activated:b,loading:w,inputRef:c,popperRef:f,suggestions:v,handleSelect:J,handleKeyEnter:D,focus:W,blur:X,close:U,highlight:fe,getData:R}),(te,ee)=>(x(),oe(i(Mn),{ref_key:"popperRef",ref:f,visible:$.value,placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[i(u).e("popper"),e.popperClass],"popper-style":e.popperStyle,teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${i(u).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:T,onHide:A},{content:Q(()=>[j("div",{ref_key:"regionRef",ref:d,class:N([i(u).b("suggestion"),i(u).is("loading",O.value)]),style:We({[e.fitInputWidth?"width":"minWidth"]:y.value,outline:"none"}),role:"region"},[te.$slots.header?(x(),F("div",{key:0,class:N(i(u).be("suggestion","header")),onClick:ee[0]||(ee[0]=Ze(()=>{},["stop"]))},[ne(te.$slots,"header")],2)):ae("v-if",!0),q(i(Wa),{id:i(k),tag:"ul","wrap-class":i(u).be("suggestion","wrap"),"view-class":i(u).be("suggestion","list"),role:"listbox"},{default:Q(()=>[O.value?(x(),F("li",rL,[ne(te.$slots,"loading",{},()=>[q(i(Be),{class:N(i(u).is("loading"))},{default:Q(()=>[q(i(wo))]),_:1},8,["class"])])])):(x(!0),F(He,{key:1},yt(v.value,(H,Z)=>(x(),F("li",{id:`${i(k)}-item-${Z}`,key:Z,class:N({highlighted:m.value===Z}),role:"option","aria-selected":m.value===Z,onClick:se=>J(H)},[ne(te.$slots,"default",{item:H},()=>[bt(ke(H[e.valueKey]),1)])],10,iL))),128))]),_:3},8,["id","wrap-class","view-class"]),te.$slots.footer?(x(),F("div",{key:1,class:N(i(u).be("suggestion","footer")),onClick:ee[1]||(ee[1]=Ze(()=>{},["stop"]))},[ne(te.$slots,"footer")],2)):ae("v-if",!0)],6)]),default:Q(()=>[j("div",{ref_key:"listboxRef",ref:h,class:N([i(u).b(),te.$attrs.class]),style:We(E.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":$.value,"aria-owns":i(k)},[q(i(qn),ut({ref_key:"inputRef",ref:c},ut(l.value,te.$attrs),{"model-value":e.modelValue,disabled:i(r),onInput:K,onChange:z,onFocus:P,onBlur:I,onClear:L,onKeydown:re,onMousedown:Y}),na({_:2},[te.$slots.prepend?{name:"prepend",fn:Q(()=>[ne(te.$slots,"prepend")]),key:"0"}:void 0,te.$slots.append?{name:"append",fn:Q(()=>[ne(te.$slots,"append")]),key:"1"}:void 0,te.$slots.prefix?{name:"prefix",fn:Q(()=>[ne(te.$slots,"prefix")]),key:"2"}:void 0,te.$slots.suffix?{name:"suffix",fn:Q(()=>[ne(te.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,sL)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}}),cL=uL;const dL=lt(cL),fL=Se({size:{type:[Number,String],values:qa,validator:e=>Ke(e)},shape:{type:String,values:["circle","square"]},icon:{type:Bt},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:G(String),default:"cover"}}),pL={error:e=>e instanceof Event},bC=Symbol("avatarGroupContextKey"),vL={size:{type:G([Number,String]),values:qa,validator:e=>Ke(e)},shape:{type:G(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:G(String),default:"light"},placement:{type:G(String),values:So,default:"top"},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,collapseClass:String,collapseStyle:{type:G([String,Array,Object])}},hL=["src","alt","srcset"];var mL=le({name:"ElAvatar",__name:"avatar",props:fL,emits:pL,setup(e,{emit:t}){const n=e,a=t,o=Le(bC,void 0),l=ve("avatar"),s=_(!1),r=S(()=>n.size??(o==null?void 0:o.size)),u=S(()=>n.shape??(o==null?void 0:o.shape)??"circle"),c=S(()=>{const{icon:g}=n,p=[l.b()];return De(r.value)&&p.push(l.m(r.value)),g&&p.push(l.m("icon")),u.value&&p.push(l.m(u.value)),p}),d=S(()=>Ke(r.value)?l.cssVarBlock({size:tn(r.value)}):void 0),f=S(()=>({objectFit:n.fit}));ie(()=>[n.src,n.srcSet],()=>s.value=!1);function h(g){s.value=!0,a("error",g)}return(g,p)=>(x(),F("span",{class:N(c.value),style:We(d.value)},[(e.src||e.srcSet)&&!s.value?(x(),F("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:We(f.value),onError:h},null,44,hL)):e.icon?(x(),oe(i(Be),{key:1},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1})):ne(g.$slots,"default",{key:2})],6))}}),wC=mL,CC=le({name:"ElAvatarGroup",props:vL,setup(e,{slots:t}){const n=ve("avatar-group");return wt(bC,It({size:_t(e,"size"),shape:_t(e,"shape")})),()=>{var l;const a=ma(((l=t.default)==null?void 0:l.call(t))??[]);let o=a;if(e.collapseAvatars&&a.length>e.maxCollapseAvatars){o=a.slice(0,e.maxCollapseAvatars);const s=a.slice(e.maxCollapseAvatars);o.push(q(Mn,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>q(wC,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[bt("+ "),s.length]}),content:()=>q("div",{class:n.e("collapse-avatars")},[s.map((r,u)=>Ht(r)?mo(r,{key:r.key??u}):r)])}))}return q("div",{class:n.b()},[o])}}});const gL=lt(wC,{AvatarGroup:CC}),yL=Zt(CC),bL={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},wL={click:e=>e instanceof MouseEvent},CL=(e,t,n)=>{const a=jt(),o=jt(),l=_(!1),s=()=>{a.value&&(l.value=a.value.scrollTop>=e.visibilityHeight)},r=u=>{var c;(c=a.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)};return At(o,"scroll",l1(s,300,!0)),ft(()=>{o.value=document,a.value=document.documentElement,e.target&&(a.value=document.querySelector(e.target)??void 0,a.value||Xt(n,`target does not exist: ${e.target}`),o.value=a.value),s()}),{visible:l,handleClick:r}},my="ElBacktop";var SL=le({name:my,__name:"backtop",props:bL,emits:wL,setup(e,{emit:t}){const n=e,a=t,o=ve("backtop"),{handleClick:l,visible:s}=CL(n,a,my),r=S(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(u,c)=>(x(),oe(An,{name:`${i(o).namespace.value}-fade-in`},{default:Q(()=>[i(s)?(x(),F("div",{key:0,style:We(r.value),class:N(i(o).b()),onClick:c[0]||(c[0]=Ze((...d)=>i(l)&&i(l)(...d),["stop"]))},[ne(u.$slots,"default",{},()=>[q(i(Be),{class:N(i(o).e("icon"))},{default:Q(()=>[q(i(Y3))]),_:1},8,["class"])])],6)):ae("v-if",!0)]),_:3},8,["name"]))}}),kL=SL;const EL=lt(kL),xL=Se({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:G([String,Object,Array])},offset:{type:G(Array),default:()=>[0,0]},badgeClass:{type:String}});var TL=le({name:"ElBadge",__name:"badge",props:xL,setup(e,{expose:t}){const n=e,a=ve("badge"),o=S(()=>n.isDot?"":Ke(n.value)&&Ke(n.max)?n.max[{backgroundColor:n.color,marginRight:tn(-n.offset[0]),marginTop:tn(n.offset[1])},n.badgeStyle??{}]);return t({content:o}),(s,r)=>(x(),F("div",{class:N(i(a).b())},[ne(s.$slots,"default"),q(An,{name:`${i(a).namespace.value}-zoom-in-center`},{default:Q(()=>[!e.hidden&&(o.value||e.isDot||s.$slots.content)?(x(),F("sup",{key:0,class:N([i(a).e("content"),i(a).em("content",e.type),i(a).is("fixed",!!s.$slots.default),i(a).is("dot",e.isDot),i(a).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:We(l.value)},[ne(s.$slots,"content",{value:o.value},()=>[bt(ke(o.value),1)])],6)):ae("v-if",!0)]),_:3},8,["name"])],2))}}),$L=TL;const SC=lt($L),OL=Se({separator:{type:String,default:"/"},separatorIcon:{type:Bt}}),kC=Symbol("breadcrumbKey"),NL=Se({to:{type:G([String,Object]),default:""},replace:Boolean}),ML=["aria-label"];var IL=le({name:"ElBreadcrumb",__name:"breadcrumb",props:OL,setup(e){const{t}=St(),n=e,a=ve("breadcrumb"),o=_();return wt(kC,n),ft(()=>{const l=o.value.querySelectorAll(`.${a.e("item")}`);l.length&&l[l.length-1].setAttribute("aria-current","page")}),(l,s)=>(x(),F("div",{ref_key:"breadcrumb",ref:o,class:N(i(a).b()),"aria-label":i(t)("el.breadcrumb.label"),role:"navigation"},[ne(l.$slots,"default")],10,ML))}}),PL=IL,RL=le({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:NL,setup(e){const t=e,n=ct(),a=Le(kC,void 0),o=ve("breadcrumb"),l=n.appContext.config.globalProperties.$router,s=()=>{!t.to||!l||(t.replace?l.replace(t.to):l.push(t.to))};return(r,u)=>{var c,d;return x(),F("span",{class:N(i(o).e("item"))},[j("span",{class:N([i(o).e("inner"),i(o).is("link",!!e.to)]),role:"link",onClick:s},[ne(r.$slots,"default")],2),(c=i(a))!=null&&c.separatorIcon?(x(),oe(i(Be),{key:0,class:N(i(o).e("separator"))},{default:Q(()=>[(x(),oe(st(i(a).separatorIcon)))]),_:1},8,["class"])):(x(),F("span",{key:1,class:N(i(o).e("separator")),role:"presentation"},ke((d=i(a))==null?void 0:d.separator),3))],2)}}}),EC=RL;const AL=lt(PL,{BreadcrumbItem:EC}),_L=Zt(EC),np=["default","primary","success","warning","info","danger","text",""],LL=["button","submit","reset"],ap=Se({size:wn,disabled:{type:Boolean,default:void 0},type:{type:String,values:np,default:""},icon:{type:Bt},nativeType:{type:String,values:LL,default:"button"},loading:Boolean,loadingIcon:{type:Bt,default:()=>wo},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:G([String,Object]),default:"button"}}),DL={click:e=>e instanceof MouseEvent},xC=Symbol(),yc=_();function al(e,t=void 0){const n=ct()?Le(xC,yc):yc;return e?S(()=>{var a;return((a=n.value)==null?void 0:a[e])??t}):n}function wd(e,t){const n=al(),a=ve(e,S(()=>{var r;return((r=n.value)==null?void 0:r.namespace)||Gr})),o=St(S(()=>{var r;return(r=n.value)==null?void 0:r.locale})),l=Ui(S(()=>{var r;return((r=n.value)==null?void 0:r.zIndex)||R1})),s=S(()=>{var r;return i(t)||((r=n.value)==null?void 0:r.size)||""});return lh(S(()=>i(n)||{})),{ns:a,locale:o,zIndex:l,size:s}}const lh=(e,t,n=!1)=>{const a=!!ct(),o=a?al():void 0,l=(t==null?void 0:t.provide)??(a?wt:void 0);if(!l){dt("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const s=S(()=>{const r=i(e);return o!=null&&o.value?BL(o.value,r):r});return l(xC,s),l(v1,S(()=>s.value.locale)),l(h1,S(()=>s.value.namespace)),l(A1,S(()=>s.value.zIndex)),l(U1,{size:S(()=>s.value.size||"")}),l(G1,S(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(n||!yc.value)&&(yc.value=s.value),s},BL=(e,t)=>{const n=[...new Set([...fi(e),...fi(t)])],a={};for(const o of n)a[o]=t[o]!==void 0?t[o]:e[o];return a},VL=Se({a11y:{type:Boolean,default:!0},locale:{type:G(Object)},size:wn,button:{type:G(Object)},card:{type:G(Object)},dialog:{type:G(Object)},link:{type:G(Object)},experimentalFeatures:{type:G(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:G(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:G(Object)},...gs}),Wn={placement:"top"},FL=le({name:"ElConfigProvider",props:VL,setup(e,{slots:t}){const n=lh(e);return ie(()=>e.message,a=>{var o;Object.assign(Wn,((o=n==null?void 0:n.value)==null?void 0:o.message)??{},a??{})},{immediate:!0,deep:!0}),()=>ne(t,"default",{config:n==null?void 0:n.value})}}),zL=lt(FL),TC=Symbol("buttonGroupContextKey"),HL=(e,t)=>{co({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},S(()=>e.type==="text"));const n=Le(TC,void 0),a=al("button"),{form:o}=In(),l=yn(S(()=>n==null?void 0:n.size)),s=nn(),r=_(),u=cn(),c=S(()=>{var b;return e.type||(n==null?void 0:n.type)||((b=a.value)==null?void 0:b.type)||""}),d=S(()=>{var b;return e.autoInsertSpace??((b=a.value)==null?void 0:b.autoInsertSpace)??!1}),f=S(()=>{var b;return e.plain??((b=a.value)==null?void 0:b.plain)??!1}),h=S(()=>{var b;return e.round??((b=a.value)==null?void 0:b.round)??!1}),g=S(()=>{var b;return e.text??((b=a.value)==null?void 0:b.text)??!1}),p=S(()=>{var b;return e.dashed??((b=a.value)==null?void 0:b.dashed)??!1}),v=S(()=>e.tag==="button"?{ariaDisabled:s.value||e.loading,disabled:s.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),m=S(()=>{var C;const b=(C=u.default)==null?void 0:C.call(u);if(d.value&&(b==null?void 0:b.length)===1){const w=b[0];if((w==null?void 0:w.type)===dr){const k=w.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(k.trim())}}return!1});return{_disabled:s,_size:l,_type:c,_ref:r,_props:v,_plain:f,_round:h,_text:g,_dashed:p,shouldAddSpace:m,handleClick:b=>{if(s.value||e.loading){b.stopPropagation();return}e.nativeType==="reset"&&(o==null||o.resetFields()),t("click",b)}}};function Vn(e,t){KL(e)&&(e="100%");const n=WL(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ku(e){return Math.min(1,Math.max(0,e))}function KL(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function WL(e){return typeof e=="string"&&e.indexOf("%")!==-1}function $C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Eu(e){return Number(e)<=1?`${Number(e)*100}%`:e}function Ul(e){return e.length===1?"0"+e:String(e)}function jL(e,t,n){return{r:Vn(e,255)*255,g:Vn(t,255)*255,b:Vn(n,255)*255}}function gy(e,t,n){e=Vn(e,255),t=Vn(t,255),n=Vn(n,255);const a=Math.max(e,t,n),o=Math.min(e,t,n);let l=0,s=0;const r=(a+o)/2;if(a===o)s=0,l=0;else{const u=a-o;switch(s=r>.5?u/(2-a-o):u/(a+o),a){case e:l=(t-n)/u+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function YL(e,t,n){let a,o,l;if(e=Vn(e,360),t=Vn(t,100),n=Vn(n,100),t===0)o=n,l=n,a=n;else{const s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;a=af(r,s,e+1/3),o=af(r,s,e),l=af(r,s,e-1/3)}return{r:a*255,g:o*255,b:l*255}}function yy(e,t,n){e=Vn(e,255),t=Vn(t,255),n=Vn(n,255);const a=Math.max(e,t,n),o=Math.min(e,t,n);let l=0;const s=a,r=a-o,u=a===0?0:r/a;if(a===o)l=0;else{switch(a){case e:l=(t-n)/r+(t>16,g:(e&65280)>>8,b:e&255}}const op={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function JL(e){let t={r:0,g:0,b:0},n=1,a=null,o=null,l=null,s=!1,r=!1;return typeof e=="string"&&(e=t8(e)),typeof e=="object"&&(fa(e.r)&&fa(e.g)&&fa(e.b)?(t=jL(e.r,e.g,e.b),s=!0,r=String(e.r).substr(-1)==="%"?"prgb":"rgb"):fa(e.h)&&fa(e.s)&&fa(e.v)?(a=Eu(e.s),o=Eu(e.v),t=UL(e.h,a,o),s=!0,r="hsv"):fa(e.h)&&fa(e.s)&&fa(e.l)?(a=Eu(e.s),l=Eu(e.l),t=YL(e.h,a,l),s=!0,r="hsl"):fa(e.c)&&fa(e.m)&&fa(e.y)&&fa(e.k)&&(t=GL(e.c,e.m,e.y,e.k),s=!0,r="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=$C(n),{ok:s,format:e.format||r,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const QL="[-\\+]?\\d+%?",e8="[-\\+]?\\d*\\.\\d+%?",bl="(?:"+e8+")|(?:"+QL+")",of="[\\s|\\(]+("+bl+")[,|\\s]+("+bl+")[,|\\s]+("+bl+")\\s*\\)?",xu="[\\s|\\(]+("+bl+")[,|\\s]+("+bl+")[,|\\s]+("+bl+")[,|\\s]+("+bl+")\\s*\\)?",ka={CSS_UNIT:new RegExp(bl),rgb:new RegExp("rgb"+of),rgba:new RegExp("rgba"+xu),hsl:new RegExp("hsl"+of),hsla:new RegExp("hsla"+xu),hsv:new RegExp("hsv"+of),hsva:new RegExp("hsva"+xu),cmyk:new RegExp("cmyk"+xu),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function t8(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(op[e])e=op[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=ka.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=ka.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ka.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=ka.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ka.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=ka.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ka.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=ka.hex8.exec(e),n?{r:pa(n[1]),g:pa(n[2]),b:pa(n[3]),a:Cy(n[4]),format:t?"name":"hex8"}:(n=ka.hex6.exec(e),n?{r:pa(n[1]),g:pa(n[2]),b:pa(n[3]),format:t?"name":"hex"}:(n=ka.hex4.exec(e),n?{r:pa(n[1]+n[1]),g:pa(n[2]+n[2]),b:pa(n[3]+n[3]),a:Cy(n[4]+n[4]),format:t?"name":"hex8"}:(n=ka.hex3.exec(e),n?{r:pa(n[1]+n[1]),g:pa(n[2]+n[2]),b:pa(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function fa(e){return typeof e=="number"?!Number.isNaN(e):ka.CSS_UNIT.test(e)}class rn{constructor(t="",n={}){if(t instanceof rn)return t;typeof t=="number"&&(t=ZL(t)),this.originalInput=t;const a=JL(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,a,o;const l=t.r/255,s=t.g/255,r=t.b/255;return l<=.03928?n=l/12.92:n=Math.pow((l+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),.2126*n+.7152*a+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=$C(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=yy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=yy(this.r,this.g,this.b),n=Math.round(t.h*360),a=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${a}%, ${o}%)`:`hsva(${n}, ${a}%, ${o}%, ${this.roundA})`}toHsl(){const t=gy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=gy(this.r,this.g,this.b),n=Math.round(t.h*360),a=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${a}%, ${o}%)`:`hsla(${n}, ${a}%, ${o}%, ${this.roundA})`}toHex(t=!1){return by(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return qL(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),a=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${a})`:`rgba(${t}, ${n}, ${a}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(Vn(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(Vn(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...wy(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:a,k:o}=wy(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${a}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+by(this.r,this.g,this.b,!1);for(const[n,a]of Object.entries(op))if(t===a)return n;return!1}toString(t){const n=!!t;t=t??this.format;let a=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(a=this.toRgbString()),t==="prgb"&&(a=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(a=this.toHexString()),t==="hex3"&&(a=this.toHexString(!0)),t==="hex4"&&(a=this.toHex8String(!0)),t==="hex8"&&(a=this.toHex8String()),t==="name"&&(a=this.toName()),t==="hsl"&&(a=this.toHslString()),t==="hsv"&&(a=this.toHsvString()),t==="cmyk"&&(a=this.toCmykString()),a||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new rn(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=ku(n.l),new rn(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new rn(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=ku(n.l),new rn(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=ku(n.s),new rn(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=ku(n.s),new rn(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),a=(n.h+t)%360;return n.h=a<0?360+a:a,new rn(n)}mix(t,n=50){const a=this.toRgb(),o=new rn(t).toRgb(),l=n/100,s={r:(o.r-a.r)*l+a.r,g:(o.g-a.g)*l+a.g,b:(o.b-a.b)*l+a.b,a:(o.a-a.a)*l+a.a};return new rn(s)}analogous(t=6,n=30){const a=this.toHsl(),o=360/n,l=[this];for(a.h=(a.h-(o*t>>1)+720)%360;--t;)a.h=(a.h+o)%360,l.push(new rn(a));return l}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new rn(t)}monochromatic(t=6){const n=this.toHsv(),{h:a}=n,{s:o}=n;let{v:l}=n;const s=[],r=1/t;for(;t--;)s.push(new rn({h:a,s:o,v:l})),l=(l+r)%1;return s}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new rn({h:(n+72)%360,s:t.s,l:t.l}),new rn({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),a=new rn(t).toRgb(),o=n.a+a.a*(1-n.a);return new rn({r:(n.r*n.a+a.r*a.a*(1-n.a))/o,g:(n.g*n.a+a.g*a.a*(1-n.a))/o,b:(n.b*n.a+a.b*a.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:a}=n,o=[this],l=360/t;for(let s=1;s{let a={},o=e.color;if(o){const l=o.match(/var\((.*?)\)/);l&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(l[1]));const s=new rn(o),r=e.dark?s.tint(20).toString():il(s,20);if(e.plain)a=n.cssVarBlock({"bg-color":e.dark?il(s,90):s.tint(90).toString(),"text-color":o,"border-color":e.dark?il(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":r,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":r}),t.value&&(a[n.cssVarBlockName("disabled-bg-color")]=e.dark?il(s,90):s.tint(90).toString(),a[n.cssVarBlockName("disabled-text-color")]=e.dark?il(s,50):s.tint(50).toString(),a[n.cssVarBlockName("disabled-border-color")]=e.dark?il(s,80):s.tint(80).toString());else{const u=e.dark?il(s,30):s.tint(30).toString(),c=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(a=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":r,"active-border-color":r}),t.value){const d=e.dark?il(s,50):s.tint(50).toString();a[n.cssVarBlockName("disabled-bg-color")]=d,a[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,a[n.cssVarBlockName("disabled-border-color")]=d}}}return a})}var a8=le({name:"ElButton",__name:"button",props:ap,emits:DL,setup(e,{expose:t,emit:n}){const a=e,o=n,l=n8(a),s=ve("button"),{_ref:r,_size:u,_type:c,_disabled:d,_props:f,_plain:h,_round:g,_text:p,_dashed:v,shouldAddSpace:m,handleClick:y}=HL(a,o),b=S(()=>[s.b(),s.m(c.value),s.m(u.value),s.is("disabled",d.value),s.is("loading",a.loading),s.is("plain",h.value),s.is("round",g.value),s.is("circle",a.circle),s.is("text",p.value),s.is("dashed",v.value),s.is("link",a.link),s.is("has-bg",a.bg)]);return t({ref:r,size:u,type:c,disabled:d,shouldAddSpace:m}),(C,w)=>(x(),oe(st(e.tag),ut({ref_key:"_ref",ref:r},i(f),{class:b.value,style:i(l),onClick:i(y)}),{default:Q(()=>[e.loading?(x(),F(He,{key:0},[C.$slots.loading?ne(C.$slots,"loading",{key:0}):(x(),oe(i(Be),{key:1,class:N(i(s).is("loading"))},{default:Q(()=>[(x(),oe(st(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||C.$slots.icon?(x(),oe(i(Be),{key:1},{default:Q(()=>[e.icon?(x(),oe(st(e.icon),{key:0})):ne(C.$slots,"icon",{key:1})]),_:3})):ae("v-if",!0),C.$slots.default?(x(),F("span",{key:2,class:N({[i(s).em("text","expand")]:i(m)})},[ne(C.$slots,"default")],2)):ae("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),o8=a8;const l8={size:ap.size,type:ap.type,direction:{type:G(String),values:["horizontal","vertical"],default:"horizontal"}};var s8=le({name:"ElButtonGroup",__name:"button-group",props:l8,setup(e){const t=e;wt(TC,It({size:_t(t,"size"),type:_t(t,"type")}));const n=ve("button");return(a,o)=>(x(),F("div",{class:N([i(n).b("group"),i(n).bm("group",t.direction)])},[ne(a.$slots,"default")],2))}}),OC=s8;const xn=lt(o8,{ButtonGroup:OC}),NC=Zt(OC),r8=e=>be(e)&&e.length===2&&e.every(t=>kl(t)),i8=Se({modelValue:{type:Date},range:{type:G(Array),validator:r8},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:G(Function)}}),u8={[tt]:e=>kl(e),[mn]:e=>kl(e)},Sy=["hours","minutes","seconds"],ja="EP_PICKER_BASE",sh="ElPopperOptions",MC=Symbol("commonPickerContextKey"),or="HH:mm:ss",ml="YYYY-MM-DD",c8={date:ml,dates:ml,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${ml} ${or}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:ml,datetimerange:`${ml} ${or}`};var ol=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ll(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var IC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){var n=1e3,a=6e4,o=36e5,l="millisecond",s="second",r="minute",u="hour",c="day",d="week",f="month",h="quarter",g="year",p="date",v="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|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,b={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("_"),ordinal:function(K){var Y=["th","st","nd","rd"],z=K%100;return"["+K+(Y[(z-20)%10]||Y[z]||Y[0])+"]"}},C=function(K,Y,z){var P=String(K);return!P||P.length>=Y?K:""+Array(Y+1-P.length).join(z)+K},w={s:C,z:function(K){var Y=-K.utcOffset(),z=Math.abs(Y),P=Math.floor(z/60),I=z%60;return(Y<=0?"+":"-")+C(P,2,"0")+":"+C(I,2,"0")},m:function K(Y,z){if(Y.date()1)return K(D[0])}else{var V=Y.name;E[V]=Y,I=V}return!P&&I&&(k=I),I||!P&&k},T=function(K,Y){if(O(K))return K.clone();var z=typeof Y=="object"?Y:{};return z.date=K,z.args=arguments,new R(z)},A=w;A.l=M,A.i=O,A.w=function(K,Y){return T(K,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var R=function(){function K(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[$]=!0}var Y=K.prototype;return Y.parse=function(z){this.$d=function(P){var I=P.date,L=P.utc;if(I===null)return new Date(NaN);if(A.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var D=I.match(m);if(D){var V=D[2]-1||0,U=(D[7]||"0").substring(0,3);return L?new Date(Date.UTC(D[1],V,D[3]||1,D[4]||0,D[5]||0,D[6]||0,U)):new Date(D[1],V,D[3]||1,D[4]||0,D[5]||0,D[6]||0,U)}}return new Date(I)}(z),this.init()},Y.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},Y.$utils=function(){return A},Y.isValid=function(){return this.$d.toString()!==v},Y.isSame=function(z,P){var I=T(z);return this.startOf(P)<=I&&I<=this.endOf(P)},Y.isAfter=function(z,P){return T(z)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),PC=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),RC=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),ky=function(e,t){const n=kl(e),a=kl(t);return n&&a?e.getTime()===t.getTime():!n&&!a?e===t:!1},AC=function(e,t){const n=be(e),a=be(t);return n&&a?e.length!==t.length?!1:e.every((o,l)=>ky(o,t[l])):!n&&!a?ky(e,t):!1},Ey=function(e,t,n){const a=ta(t)||t==="x"?ot(e).locale(n):ot(e,t).locale(n);return a.isValid()?a:void 0},xy=function(e,t,n){return ta(t)?e:t==="x"?+e:ot(e).locale(n).format(t)},sf=(e,t)=>{const n=[],a=t==null?void 0:t();for(let o=0;obe(e)?e.map(t=>t.toDate()):e.toDate(),rh=Se({disabledHours:{type:G(Function)},disabledMinutes:{type:G(Function)},disabledSeconds:{type:G(Function)}}),_C=Se({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),ih=Se({automaticDropdown:{type:Boolean,default:!0},id:{type:G([Array,String])},name:{type:G([Array,String])},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:G([String,Object]),default:xo},editable:{type:Boolean,default:!0},saveOnBlur:{type:Boolean,default:!0},prefixIcon:{type:G([String,Object]),default:""},size:wn,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:G(Object),default:()=>({})},modelValue:{type:G([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:G([Date,Array])},defaultTime:{type:G([Date,Array])},isRange:Boolean,...rh,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:G([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:G(String),values:So,default:"bottom"},fallbackPlacements:{type:G(Array),default:["bottom","top","right","left"]},...gs,...Zn(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),f8=Se({id:{type:G(Array)},name:{type:G(Array)},modelValue:{type:G([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),LC=(e,t)=>{const{lang:n}=St(),a=_(!1),o=_(!1),l=_(null),s=S(()=>{const{modelValue:p}=e;return!p||be(p)&&!p.filter(Boolean).length}),r=p=>{if(!AC(e.modelValue,p)){let v;be(p)?v=p.map(m=>xy(m,e.valueFormat,n.value)):p&&(v=xy(p,e.valueFormat,n.value)),t(tt,p&&v,n.value)}},u=S(()=>{let p;if(s.value?c.value.getDefaultValue&&(p=c.value.getDefaultValue()):be(e.modelValue)?p=e.modelValue.map(v=>Ey(v,e.valueFormat,n.value)):p=Ey(e.modelValue??"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const v=c.value.getRangeAvailableTime(p);Qt(v,p)||(p=v,s.value||r(Hu(p)))}return be(p)&&p.some(v=>!v)&&(p=[]),p}),c=_({});return{parsedValue:u,pickerActualVisible:o,pickerOptions:c,pickerVisible:a,userInput:l,valueIsEmpty:s,emitInput:r,onCalendarChange:p=>{t("calendar-change",p)},onPanelChange:(p,v,m)=>{t("panel-change",p,v,m)},onPick:(p="",v=!1)=>{a.value=v;let m;be(p)?m=p.map(y=>y.toDate()):m=p&&p.toDate(),l.value=null,r(m)},onSetPickerOption:p=>{c.value[p[0]]=p[1],c.value.panelReady=!0}}},p8=["id","name","placeholder","value","disabled"],v8=["id","name","placeholder","value","disabled"];var h8=le({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:f8,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const a=e,o=n,{formItem:l}=In(),{inputId:s}=Ca(It({id:S(()=>{var O;return(O=a.id)==null?void 0:O[0]})}),{formItemContext:l}),r=sd(),u=ve("date"),c=ve("range"),d=_(),f=_(),{wrapperRef:h,isFocused:g}=nl(d,{disabled:S(()=>a.disabled)}),p=O=>{o("click",O)},v=O=>{o("mouseenter",O)},m=O=>{o("mouseleave",O)},y=O=>{o("touchstart",O)},b=O=>{o("startInput",O)},C=O=>{o("endInput",O)},w=O=>{o("startChange",O)},k=O=>{o("endChange",O)};return t({focus:()=>{var O;(O=d.value)==null||O.focus()},blur:()=>{var O,M;(O=d.value)==null||O.blur(),(M=f.value)==null||M.blur()}}),(O,M)=>(x(),F("div",{ref_key:"wrapperRef",ref:h,class:N([i(u).is("active",i(g)),O.$attrs.class]),style:We(O.$attrs.style),onClick:p,onMouseenter:v,onMouseleave:m,onTouchstartPassive:y},[ne(O.$slots,"prefix"),j("input",ut(i(r),{id:i(s),ref_key:"inputRef",ref:d,name:O.name&&O.name[0],placeholder:O.startPlaceholder,value:O.modelValue&&O.modelValue[0],class:i(c).b("input"),disabled:O.disabled,onInput:b,onChange:w}),null,16,p8),ne(O.$slots,"range-separator"),j("input",ut(i(r),{id:O.id&&O.id[1],ref_key:"endInputRef",ref:f,name:O.name&&O.name[1],placeholder:O.endPlaceholder,value:O.modelValue&&O.modelValue[1],class:i(c).b("input"),disabled:O.disabled,onInput:C,onChange:k}),null,16,v8),ne(O.$slots,"suffix")],38))}}),m8=h8,g8=le({name:"Picker",__name:"picker",props:ih,emits:[tt,ht,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const a=e,o=n,l=Jo(),s=ve("date"),r=ve("input"),u=ve("range"),{formItem:c}=In(),d=Le(sh,{}),f=Ji(a,null),h=_(),g=_(),p=_(null);let v=!1;const m=nn(),y=LC(a,o),{parsedValue:b,pickerActualVisible:C,userInput:w,pickerVisible:k,pickerOptions:E,valueIsEmpty:$,emitInput:O,onPick:M,onSetPickerOption:T,onCalendarChange:A,onPanelChange:R}=y,{isFocused:B,handleFocus:K,handleBlur:Y}=nl(g,{disabled:m,beforeFocus(){return a.readonly},afterFocus(){a.automaticDropdown&&(k.value=!0)},beforeBlur(ce){var Re;return!v&&((Re=h.value)==null?void 0:Re.isFocusInsideContent(ce))},afterBlur(){var ce,Re;te.value&&!a.saveOnBlur?$.value||(Re=(ce=E.value).handleCancel)==null||Re.call(ce):Ve(),k.value=!1,v=!1,a.validateEvent&&(c==null||c.validate("blur").catch(vt=>dt(vt)))}}),z=_(!1),P=S(()=>[s.b("editor"),s.bm("editor",a.type),r.e("wrapper"),s.is("disabled",m.value),s.is("active",k.value),u.b("editor"),Te?u.bm("editor",Te.value):"",l.class]),I=S(()=>[r.e("icon"),u.e("close-icon"),pe.value?"":u.em("close-icon","hidden")]);ie(k,ce=>{ce?Ae(()=>{ce&&(p.value=a.modelValue)}):(w.value=null,Ae(()=>{L(a.modelValue)}))});const L=(ce,Re)=>{(Re||!AC(ce,p.value))&&(o(ht,ce),Re&&(p.value=ce),a.validateEvent&&(c==null||c.validate("change").catch(vt=>dt(vt))))},D=ce=>{o("keydown",ce)},V=S(()=>g.value?Array.from(g.value.$el.querySelectorAll("input")):[]),U=(ce,Re,vt)=>{const Vt=V.value;Vt.length&&(!vt||vt==="min"?(Vt[0].setSelectionRange(ce,Re),Vt[0].focus()):vt==="max"&&(Vt[1].setSelectionRange(ce,Re),Vt[1].focus()))},W=()=>{C.value=!0},X=()=>{o("visible-change",!0)},J=()=>{C.value=!1,k.value=!1,o("visible-change",!1)},fe=()=>{k.value=!0},ue=()=>{k.value=!1},he=S(()=>{const ce=$e(b.value);return be(w.value)?[w.value[0]||ce&&ce[0]||"",w.value[1]||ce&&ce[1]||""]:w.value!==null?w.value:te.value&&$.value&&!a.saveOnBlur||!te.value&&$.value||!k.value&&$.value?"":ce?ee.value||H.value||Z.value?ce.join(", "):ce:""}),re=S(()=>a.type.includes("time")),te=S(()=>a.type.startsWith("time")),ee=S(()=>a.type==="dates"),H=S(()=>a.type==="months"),Z=S(()=>a.type==="years"),se=S(()=>a.prefixIcon||(re.value?Q1:K3)),pe=S(()=>a.clearable&&!m.value&&!a.readonly&&!$.value&&(z.value||B.value)),ge=ce=>{a.readonly||m.value||(pe.value&&(ce==null||ce.stopPropagation(),E.value.handleClear?E.value.handleClear():O(f.valueOnClear.value),L(f.valueOnClear.value,!0),J()),o("clear"))},ye=async ce=>{var Re;a.readonly||m.value||(((Re=ce.target)==null?void 0:Re.tagName)!=="INPUT"||B.value||!a.automaticDropdown)&&(k.value=!0)},Ne=()=>{a.readonly||m.value||!$.value&&a.clearable&&(z.value=!0)},_e=()=>{z.value=!1},Me=ce=>{var Re;a.readonly||m.value||(((Re=ce.touches[0].target)==null?void 0:Re.tagName)!=="INPUT"||B.value||!a.automaticDropdown)&&(k.value=!0)},me=S(()=>a.type.includes("range")),Te=yn(),we=S(()=>{var ce,Re;return(Re=(ce=i(h))==null?void 0:ce.popperRef)==null?void 0:Re.contentRef}),Ie=Nv(g,ce=>{const Re=i(we),vt=bn(g);Re&&(ce.target===Re||ce.composedPath().includes(Re))||ce.target===vt||vt&&ce.composedPath().includes(vt)||(k.value=!1)});Rt(()=>{Ie==null||Ie()});const Ve=()=>{if(!(te.value&&!a.saveOnBlur)){if(w.value){const ce=Xe(he.value);ce&&(Pe(ce)&&O(Hu(ce)),w.value=null)}w.value===""&&(O(f.valueOnClear.value),L(f.valueOnClear.value,!0),w.value=null)}},Xe=ce=>ce?E.value.parseUserInput(ce):null,$e=ce=>ce?be(ce)?ce.map(Re=>Re.format(a.format)):ce.format(a.format):null,Pe=ce=>E.value.isValidValue(ce),je=async ce=>{if(a.readonly||m.value)return;const Re=Ft(ce);if(D(ce),Re===Ce.esc){k.value===!0&&(k.value=!1,ce.preventDefault(),ce.stopPropagation());return}if(Re===Ce.down&&(E.value.handleFocusPicker&&(ce.preventDefault(),ce.stopPropagation()),k.value===!1&&(k.value=!0,await Ae()),E.value.handleFocusPicker)){E.value.handleFocusPicker();return}if(Re===Ce.tab){v=!0;return}if(Re===Ce.enter||Re===Ce.numpadEnter){k.value?(w.value===null||w.value===""||Pe(Xe(he.value)))&&(Ve(),k.value=!1):k.value=!0,ce.preventDefault(),ce.stopPropagation();return}if(w.value){ce.stopPropagation();return}E.value.handleKeydownInput&&E.value.handleKeydownInput(ce)},xt=ce=>{w.value=ce,k.value||(k.value=!0)},Mt=ce=>{const Re=ce.target;w.value?w.value=[Re.value,w.value[1]]:w.value=[Re.value,null]},Ue=ce=>{const Re=ce.target;w.value?w.value=[w.value[0],Re.value]:w.value=[null,Re.value]},rt=()=>{var Vt;const ce=w.value,Re=Xe(ce&&ce[0]),vt=i(b);if(Re&&Re.isValid()){w.value=[$e(Re),((Vt=he.value)==null?void 0:Vt[1])||null];const qt=[Re,vt&&(vt[1]||null)];Pe(qt)&&(O(Hu(qt)),w.value=null)}},mt=()=>{var Vt;const ce=i(w),Re=Xe(ce&&ce[1]),vt=i(b);if(Re&&Re.isValid()){w.value=[((Vt=i(he))==null?void 0:Vt[0])||null,$e(Re)];const qt=[vt&&vt[0],Re];Pe(qt)&&(O(Hu(qt)),w.value=null)}},de=()=>{var ce;(ce=g.value)==null||ce.focus()},Fe=()=>{var ce;(ce=g.value)==null||ce.blur()};return wt(ja,{props:a,emptyValues:f}),wt(MC,y),t({focus:de,blur:Fe,handleOpen:fe,handleClose:ue,onPick:M}),(ce,Re)=>(x(),oe(i(Mn),ut({ref_key:"refPopper",ref:h,visible:i(k),effect:"light",pure:"",trigger:"click"},ce.$attrs,{role:"dialog",teleported:"",transition:`${i(s).namespace.value}-zoom-in-top`,"popper-class":[`${i(s).namespace.value}-picker__popper`,ce.popperClass],"popper-style":ce.popperStyle,"popper-options":i(d),"fallback-placements":ce.fallbackPlacements,"gpu-acceleration":!1,placement:ce.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:W,onShow:X,onHide:J}),{default:Q(()=>[me.value?(x(),oe(m8,{key:1,id:ce.id,ref_key:"inputRef",ref:g,"model-value":he.value,name:ce.name,disabled:i(m),readonly:!ce.editable||ce.readonly,"start-placeholder":ce.startPlaceholder,"end-placeholder":ce.endPlaceholder,class:N(P.value),style:We(ce.$attrs.style),"aria-label":ce.ariaLabel,tabindex:ce.tabindex,autocomplete:"off",role:"combobox",onClick:ye,onFocus:i(K),onBlur:i(Y),onStartInput:Mt,onStartChange:rt,onEndInput:Ue,onEndChange:mt,onMousedown:ye,onMouseenter:Ne,onMouseleave:_e,onTouchstartPassive:Me,onKeydown:je},{prefix:Q(()=>[se.value?(x(),oe(i(Be),{key:0,class:N([i(r).e("icon"),i(u).e("icon")])},{default:Q(()=>[(x(),oe(st(se.value)))]),_:1},8,["class"])):ae("v-if",!0)]),"range-separator":Q(()=>[ne(ce.$slots,"range-separator",{},()=>[j("span",{class:N(i(u).b("separator"))},ke(ce.rangeSeparator),3)])]),suffix:Q(()=>[ce.clearIcon?(x(),oe(i(Be),{key:0,class:N(I.value),onMousedown:Ze(i(Pt),["prevent"]),onClick:ge},{default:Q(()=>[(x(),oe(st(ce.clearIcon)))]),_:1},8,["class","onMousedown"])):ae("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(x(),oe(i(qn),{key:0,id:ce.id,ref_key:"inputRef",ref:g,"container-role":"combobox","model-value":he.value,name:ce.name,size:i(Te),disabled:i(m),placeholder:ce.placeholder,class:N([i(s).b("editor"),i(s).bm("editor",ce.type),i(s).is("focus",i(k)),ce.$attrs.class]),style:We(ce.$attrs.style),readonly:!ce.editable||ce.readonly||ee.value||H.value||Z.value||ce.type==="week","aria-label":ce.ariaLabel,tabindex:ce.tabindex,"validate-event":!1,onInput:xt,onFocus:i(K),onBlur:i(Y),onKeydown:je,onChange:Ve,onMousedown:ye,onMouseenter:Ne,onMouseleave:_e,onTouchstartPassive:Me,onClick:Re[0]||(Re[0]=Ze(()=>{},["stop"]))},{prefix:Q(()=>[se.value?(x(),oe(i(Be),{key:0,class:N(i(r).e("icon")),onMousedown:Ze(ye,["prevent"]),onTouchstartPassive:Me},{default:Q(()=>[(x(),oe(st(se.value)))]),_:1},8,["class"])):ae("v-if",!0)]),suffix:Q(()=>[pe.value&&ce.clearIcon?(x(),oe(i(Be),{key:0,class:N(`${i(r).e("icon")} clear-icon`),onMousedown:Ze(i(Pt),["prevent"]),onClick:ge},{default:Q(()=>[(x(),oe(st(ce.clearIcon)))]),_:1},8,["class","onMousedown"])):ae("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:Q(()=>[ne(ce.$slots,"default",{visible:i(k),actualVisible:i(C),parsedValue:i(b),format:ce.format,dateFormat:ce.dateFormat,timeFormat:ce.timeFormat,unlinkPanels:ce.unlinkPanels,type:ce.type,defaultValue:ce.defaultValue,showNow:ce.showNow,showConfirm:ce.showConfirm,showFooter:ce.showFooter,showWeekNumber:ce.showWeekNumber,onPick:Re[1]||(Re[1]=(...vt)=>i(M)&&i(M)(...vt)),onSelectRange:U,onSetPickerOption:Re[2]||(Re[2]=(...vt)=>i(T)&&i(T)(...vt)),onCalendarChange:Re[3]||(Re[3]=(...vt)=>i(A)&&i(A)(...vt)),onClear:ge,onPanelChange:Re[4]||(Re[4]=(...vt)=>i(R)&&i(R)(...vt)),onMousedown:Re[5]||(Re[5]=Ze(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}}),DC=g8;const dl=new Map;if(Nt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of dl.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function Ty(e,t){let n=[];return be(t.arg)?n=t.arg:ra(t.arg)&&n.push(t.arg),function(a,o){const l=t.instance.popperRef,s=a.target,r=o==null?void 0:o.target,u=!t||!t.instance,c=!s||!r,d=e.contains(s)||e.contains(r),f=e===s,h=n.length&&n.some(p=>p==null?void 0:p.contains(s))||n.length&&n.includes(r),g=l&&(l.contains(s)||l.contains(r));u||c||d||f||h||g||t.value(a,o)}}const Nl={beforeMount(e,t){dl.has(e)||dl.set(e,[]),dl.get(e).push({documentHandler:Ty(e,t),bindingFn:t.value})},updated(e,t){dl.has(e)||dl.set(e,[]);const n=dl.get(e),a=n.findIndex(l=>l.bindingFn===t.oldValue),o={documentHandler:Ty(e,t),bindingFn:t.value};a>=0?n.splice(a,1,o):n.push(o)},unmounted(e){dl.delete(e)}},y8=100,b8=600,Tu="_RepeatClick",bc={beforeMount(e,t){const n=t.value,{interval:a=y8,delay:o=b8}=ze(n)?{}:n;let l,s;const r=()=>ze(n)?n():n.handler(),u=()=>{s&&(clearTimeout(s),s=void 0),l&&(clearInterval(l),l=void 0)},c=d=>{d.button===0&&(u(),r(),document.addEventListener("mouseup",u,{once:!0}),s=setTimeout(()=>{l=setInterval(()=>{r()},a)},o))};e[Tu]={start:c,clear:u},e.addEventListener("mousedown",c)},unmounted(e){if(!e[Tu])return;const{start:t,clear:n}=e[Tu];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[Tu]=null}},lp="_trap-focus-children",ql=[],$y=e=>{if(ql.length===0)return;const t=Ft(e),n=ql[ql.length-1][lp];if(n.length>0&&t===Ce.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const a=e.shiftKey,o=e.target===n[0],l=e.target===n[n.length-1];o&&a&&(e.preventDefault(),n[n.length-1].focus()),l&&!a&&(e.preventDefault(),n[0].focus())}},w8={beforeMount(e){e[lp]=kg(e),ql.push(e),ql.length<=1&&document.addEventListener("keydown",$y)},updated(e){Ae(()=>{e[lp]=kg(e)})},unmounted(){ql.shift(),ql.length===0&&document.removeEventListener("keydown",$y)}};var Oy=!1,Hl,sp,rp,Ku,Wu,BC,ju,ip,up,cp,VC,dp,fp,FC,zC;function sa(){if(!Oy){Oy=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(dp=/\b(iPhone|iP[ao]d)/.exec(e),fp=/\b(iP[ao]d)/.exec(e),cp=/Android/i.exec(e),FC=/FBAN\/\w+;/i.exec(e),zC=/Mobile/i.exec(e),VC=!!/Win64/.exec(e),t){Hl=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Hl&&document&&document.documentMode&&(Hl=document.documentMode);var a=/(?:Trident\/(\d+.\d+))/.exec(e);BC=a?parseFloat(a[1])+4:Hl,sp=t[2]?parseFloat(t[2]):NaN,rp=t[3]?parseFloat(t[3]):NaN,Ku=t[4]?parseFloat(t[4]):NaN,Ku?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Wu=t&&t[1]?parseFloat(t[1]):NaN):Wu=NaN}else Hl=sp=rp=Wu=Ku=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ju=o?parseFloat(o[1].replace("_",".")):!0}else ju=!1;ip=!!n[2],up=!!n[3]}else ju=ip=up=!1}}var pp={ie:function(){return sa()||Hl},ieCompatibilityMode:function(){return sa()||BC>Hl},ie64:function(){return pp.ie()&&VC},firefox:function(){return sa()||sp},opera:function(){return sa()||rp},webkit:function(){return sa()||Ku},safari:function(){return pp.webkit()},chrome:function(){return sa()||Wu},windows:function(){return sa()||ip},osx:function(){return sa()||ju},linux:function(){return sa()||up},iphone:function(){return sa()||dp},mobile:function(){return sa()||dp||fp||cp||zC},nativeApp:function(){return sa()||FC},android:function(){return sa()||cp},ipad:function(){return sa()||fp}},C8=pp,S8=!!(typeof window<"u"&&window.document&&window.document.createElement),k8={canUseDOM:S8},HC=k8,KC;HC.canUseDOM&&(KC=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function E8(e,t){if(!HC.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var o=document.createElement("div");o.setAttribute(n,"return;"),a=typeof o[n]=="function"}return!a&&KC&&e==="wheel"&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}var x8=E8,Ny=10,My=40,Iy=800;function WC(e){var t=0,n=0,a=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),a=t*Ny,o=n*Ny,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||o)&&e.deltaMode&&(e.deltaMode==1?(a*=My,o*=My):(a*=Iy,o*=Iy)),a&&!t&&(t=a<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:a,pixelY:o}}WC.getEventType=function(){return C8.firefox()?"DOMMouseScroll":x8("wheel")?"wheel":"mousewheel"};var T8=WC;/**
+* Checks if an event is supported in the current execution environment.
+*
+* NOTE: This will not work correctly for non-generic events such as `change`,
+* `reset`, `load`, `error`, and `select`.
+*
+* Borrows from Modernizr.
+*
+* @param {string} eventNameSuffix Event name, e.g. "click".
+* @param {?boolean} capture Check if the capture phase is supported.
+* @return {boolean} True if the event is supported.
+* @internal
+* @license Modernizr 3.0.0pre (Custom Build) | MIT
+*/const Yu="_Mousewheel",Py=function(e,t){if(e&&e.addEventListener){jC(e);const n=function(a){const o=T8(a);t&&Reflect.apply(t,this,[a,o])};e[Yu]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},jC=e=>{var t;(t=e[Yu])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[Yu].wheelHandler),e[Yu]=null)},$8={beforeMount(e,t){Py(e,t.value)},unmounted(e){jC(e)},updated(e,t){t.value!==t.oldValue&&Py(e,t.value)}},O8=Se({..._C,datetimeRole:String,parsedValue:{type:G(Object)}}),YC=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const a=(s,r,u,c)=>{const d={hour:e,minute:t,second:n};let f=s;return["hour","minute","second"].forEach(h=>{if(d[h]){let g;const p=d[h];switch(h){case"minute":g=p(f.hour(),r,c);break;case"second":g=p(f.hour(),f.minute(),r,c);break;default:g=p(r,c);break}if(g!=null&&g.length&&!g.includes(f[h]())){const v=u?0:g.length-1;f=f[h](g[v])}}}),f},o={};return{timePickerOptions:o,getAvailableTime:a,onSetOption:([s,r])=>{o[s]=r}}},rf=e=>{const t=(a,o)=>a||o,n=a=>a!==!0;return e.map(t).filter(n)},UC=(e,t,n)=>({getHoursList:(s,r)=>sf(24,e&&(()=>e==null?void 0:e(s,r))),getMinutesList:(s,r,u)=>sf(60,t&&(()=>t==null?void 0:t(s,r,u))),getSecondsList:(s,r,u,c)=>sf(60,n&&(()=>n==null?void 0:n(s,r,u,c)))}),qC=(e,t,n)=>{const{getHoursList:a,getMinutesList:o,getSecondsList:l}=UC(e,t,n);return{getAvailableHours:(c,d)=>rf(a(c,d)),getAvailableMinutes:(c,d,f)=>rf(o(c,d,f)),getAvailableSeconds:(c,d,f,h)=>rf(l(c,d,f,h))}},GC=(e,t)=>{const n=_(e.parsedValue);return ie(()=>e.visible,a=>{const o=om(t.modelValue),l=om(t.valueOnClear);if(a&&o===l){n.value=l;return}a||(n.value=e.parsedValue)}),n},N8=Se({role:{type:String,required:!0},spinnerDate:{type:G(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:G(String),default:""},...rh}),M8=["onClick"],I8=["onMouseenter"];var P8=le({__name:"basic-time-spinner",props:N8,emits:[ht,"select-range","set-option"],setup(e,{emit:t}){const n=e,{isRange:a,format:o,saveOnBlur:l}=Le(ja).props,s=t,r=ve("time"),{getHoursList:u,getMinutesList:c,getSecondsList:d}=UC(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let f=!1;const h={hours:!1,minutes:!1,seconds:!1},g=_(),p={hours:_(),minutes:_(),seconds:_()},v=S(()=>n.showSeconds?Sy:Sy.slice(0,2)),m=S(()=>{const{spinnerDate:V}=n;return{hours:V.hour(),minutes:V.minute(),seconds:V.second()}}),y=S(()=>{const{hours:V,minutes:U}=i(m),{role:W,spinnerDate:X}=n,J=a?void 0:X;return{hours:u(W,J),minutes:c(V,W,J),seconds:d(V,U,W,J)}}),b=S(()=>{const{hours:V,minutes:U,seconds:W}=i(m);return{hours:lf(V,23),minutes:lf(U,59),seconds:lf(W,59)}}),C=yo(V=>{f=!1,E(V)},200),w=V=>{if(!n.amPmMode)return"";const U=n.amPmMode==="A";let W=V<12?" am":" pm";return U&&(W=W.toUpperCase()),W},k=V=>{let U=[0,0];const W=o||or,X=W.indexOf("HH"),J=W.indexOf("mm"),fe=W.indexOf("ss");switch(V){case"hours":X!==-1&&(U=[X,X+2]);break;case"minutes":J!==-1&&(U=[J,J+2]);break;case"seconds":fe!==-1&&(U=[fe,fe+2]);break}const[ue,he]=U;s("select-range",ue,he),g.value=V},E=V=>{M(V,i(m)[V])},$=()=>{E("hours"),E("minutes"),E("seconds")},O=V=>V.querySelector(`.${r.namespace.value}-scrollbar__wrap`),M=(V,U)=>{if(n.arrowControl)return;const W=i(p[V]);W&&W.$el&&(l||(h[V]=!0,za(()=>{h[V]=!1})),O(W.$el).scrollTop=Math.max(0,U*T(V)))},T=V=>{var W;const U=(W=i(p[V]))==null?void 0:W.$el.querySelector("li");return U&&Number.parseFloat(Ao(U,"height"))||0},A=()=>{B(1)},R=()=>{B(-1)},B=V=>{g.value||k("hours");const U=g.value,W=i(m)[U],X=K(U,W,V,g.value==="hours"?24:60);Y(U,X),M(U,X),Ae(()=>k(U))},K=(V,U,W,X)=>{let J=(U+W+X)%X;const fe=i(y)[V];for(;fe[J]&&J!==U;)J=(J+W+X)%X;return J},Y=(V,U)=>{if(i(y)[V][U])return;const{hours:W,minutes:X,seconds:J}=i(m);let fe;switch(V){case"hours":fe=n.spinnerDate.hour(U).minute(X).second(J);break;case"minutes":fe=n.spinnerDate.hour(W).minute(U).second(J);break;case"seconds":fe=n.spinnerDate.hour(W).minute(X).second(U);break}s(ht,fe)},z=(V,{value:U,disabled:W})=>{W||(Y(V,U),k(V),M(V,U))},P=V=>{if(!l&&h[V])return;const U=i(p[V]);U&&(f=!0,C(V),Y(V,Math.min(Math.round((O(U.$el).scrollTop-(I(V)*.5-10)/T(V)+3)/T(V)),V==="hours"?23:59)))},I=V=>i(p[V]).$el.offsetHeight,L=()=>{const V=U=>{const W=i(p[U]);W&&W.$el&&(O(W.$el).onscroll=()=>{P(U)})};V("hours"),V("minutes"),V("seconds")};ft(()=>{Ae(()=>{!n.arrowControl&&L(),$(),n.role==="start"&&k("hours")})});const D=(V,U)=>{p[U].value=V??void 0};return s("set-option",[`${n.role}_scrollDown`,B]),s("set-option",[`${n.role}_emitSelectRange`,k]),ie(()=>n.spinnerDate,()=>{f||$()}),(V,U)=>(x(),F("div",{class:N([i(r).b("spinner"),{"has-seconds":V.showSeconds}])},[V.arrowControl?ae("v-if",!0):(x(!0),F(He,{key:0},yt(v.value,W=>(x(),oe(i(Wa),{key:W,ref_for:!0,ref:X=>D(X,W),class:N(i(r).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":i(r).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:X=>k(W),onMousemove:X=>E(W)},{default:Q(()=>[(x(!0),F(He,null,yt(y.value[W],(X,J)=>(x(),F("li",{key:J,class:N([i(r).be("spinner","item"),i(r).is("active",J===m.value[W]),i(r).is("disabled",X)]),onClick:fe=>z(W,{value:J,disabled:X})},[W==="hours"?(x(),F(He,{key:0},[bt(ke(("0"+(V.amPmMode?J%12||12:J)).slice(-2))+ke(w(J)),1)],64)):(x(),F(He,{key:1},[bt(ke(("0"+J).slice(-2)),1)],64))],10,M8))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),V.arrowControl?(x(!0),F(He,{key:1},yt(v.value,W=>(x(),F("div",{key:W,class:N([i(r).be("spinner","wrapper"),i(r).is("arrow")]),onMouseenter:X=>k(W)},[it((x(),oe(i(Be),{class:N(["arrow-up",i(r).be("spinner","arrow")])},{default:Q(()=>[q(i(md))]),_:1},8,["class"])),[[i(bc),R]]),it((x(),oe(i(Be),{class:N(["arrow-down",i(r).be("spinner","arrow")])},{default:Q(()=>[q(i(Eo))]),_:1},8,["class"])),[[i(bc),A]]),j("ul",{class:N(i(r).be("spinner","list"))},[(x(!0),F(He,null,yt(b.value[W],(X,J)=>(x(),F("li",{key:J,class:N([i(r).be("spinner","item"),i(r).is("active",X===m.value[W]),i(r).is("disabled",y.value[W][X])])},[i(Ke)(X)?(x(),F(He,{key:0},[W==="hours"?(x(),F(He,{key:0},[bt(ke(("0"+(V.amPmMode?X%12||12:X)).slice(-2))+ke(w(X)),1)],64)):(x(),F(He,{key:1},[bt(ke(("0"+X).slice(-2)),1)],64))],64)):ae("v-if",!0)],2))),128))],2)],42,I8))),128)):ae("v-if",!0)],2))}}),vp=P8,R8=le({__name:"panel-time-pick",props:O8,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,a=t,o=Le(ja),{arrowControl:l,disabledHours:s,disabledMinutes:r,disabledSeconds:u,defaultValue:c}=o.props,{getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}=qC(s,r,u),g=ve("time"),{t:p,lang:v}=St(),m=_([0,2]),y=GC(n,{modelValue:S(()=>o.props.modelValue),valueOnClear:S(()=>o!=null&&o.emptyValues?o.emptyValues.valueOnClear.value:null)}),b=S(()=>kt(n.actualVisible)?`${g.namespace.value}-zoom-in-top`:""),C=S(()=>n.format.includes("ss")),w=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),k=I=>{const L=ot(I).locale(v.value),D=Y(L);return L.isSame(D)},E=()=>{const I=y.value;a("pick",I,!1),Ae(()=>{y.value=I})},$=(I=!1,L=!1)=>{L||a("pick",n.parsedValue,I)},O=I=>{n.visible&&a("pick",Y(I).millisecond(0),!0)},M=(I,L)=>{a("select-range",I,L),m.value=[I,L]},T=I=>{const L=n.format,D=L.indexOf("HH"),V=L.indexOf("mm"),U=L.indexOf("ss"),W=[],X=[];D!==-1&&(W.push(D),X.push("hours")),V!==-1&&(W.push(V),X.push("minutes")),U!==-1&&C.value&&(W.push(U),X.push("seconds"));const J=(W.indexOf(m.value[0])+I+W.length)%W.length;R.start_emitSelectRange(X[J])},A=I=>{const L=Ft(I),{left:D,right:V,up:U,down:W}=Ce;if([D,V].includes(L)){T(L===D?-1:1),I.preventDefault();return}if([U,W].includes(L)){const X=L===U?-1:1;R.start_scrollDown(X),I.preventDefault();return}},{timePickerOptions:R,onSetOption:B,getAvailableTime:K}=YC({getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}),Y=I=>K(I,n.datetimeRole||"",!0),z=I=>I?ot(I,n.format).locale(v.value):null,P=()=>ot(c).locale(v.value);return a("set-picker-option",["isValidValue",k]),a("set-picker-option",["parseUserInput",z]),a("set-picker-option",["handleKeydownInput",A]),a("set-picker-option",["getRangeAvailableTime",Y]),a("set-picker-option",["getDefaultValue",P]),a("set-picker-option",["handleCancel",E]),(I,L)=>(x(),oe(An,{name:b.value},{default:Q(()=>[I.actualVisible||I.visible?(x(),F("div",{key:0,class:N(i(g).b("panel"))},[j("div",{class:N([i(g).be("panel","content"),{"has-seconds":C.value}])},[q(vp,{ref:"spinner",role:I.datetimeRole||"start","arrow-control":i(l),"show-seconds":C.value,"am-pm-mode":w.value,"spinner-date":I.parsedValue,"disabled-hours":i(s),"disabled-minutes":i(r),"disabled-seconds":i(u),onChange:O,onSetOption:i(B),onSelectRange:M},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),j("div",{class:N(i(g).be("panel","footer"))},[j("button",{type:"button",class:N([i(g).be("panel","btn"),"cancel"]),onClick:E},ke(i(p)("el.datepicker.cancel")),3),j("button",{type:"button",class:N([i(g).be("panel","btn"),"confirm"]),onClick:L[0]||(L[0]=D=>$())},ke(i(p)("el.datepicker.confirm")),3)],2)],2)):ae("v-if",!0)]),_:1},8,["name"]))}}),wc=R8;const A8=Se({..._C,parsedValue:{type:G(Array)}}),_8=["disabled"];var L8=le({__name:"panel-time-range",props:A8,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,a=t,o=(ee,H)=>{const Z=[];for(let se=ee;se<=H;se++)Z.push(se);return Z},{t:l,lang:s}=St(),r=ve("time"),u=ve("picker"),c=Le(ja),{arrowControl:d,disabledHours:f,disabledMinutes:h,disabledSeconds:g,defaultValue:p}=c.props,v=S(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),k.value?"has-seconds":""]),m=S(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),k.value?"has-seconds":""]),y=S(()=>n.parsedValue[0]),b=S(()=>n.parsedValue[1]),C=GC(n,{modelValue:S(()=>c.props.modelValue),valueOnClear:S(()=>c!=null&&c.emptyValues?c.emptyValues.valueOnClear.value:null)}),w=()=>{const ee=C.value;a("pick",ee,!1),Ae(()=>{C.value=ee})},k=S(()=>n.format.includes("ss")),E=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),$=(ee=!1)=>{a("pick",[y.value,b.value],ee)},O=ee=>{A(ee.millisecond(0),b.value)},M=ee=>{A(y.value,ee.millisecond(0))},T=ee=>{const H=ee.map(se=>ot(se).locale(s.value)),Z=U(H);return H[0].isSame(Z[0])&&H[1].isSame(Z[1])},A=(ee,H)=>{n.visible&&a("pick",[ee,H],!0)},R=S(()=>y.value>b.value),B=_([0,2]),K=(ee,H)=>{a("select-range",ee,H,"min"),B.value=[ee,H]},Y=S(()=>k.value?11:8),z=(ee,H)=>{a("select-range",ee,H,"max");const Z=i(Y);B.value=[ee+Z,H+Z]},P=ee=>{const H=k.value?[0,3,6,11,14,17]:[0,3,8,11],Z=["hours","minutes"].concat(k.value?["seconds"]:[]),se=(H.indexOf(B.value[0])+ee+H.length)%H.length,pe=H.length/2;se{const H=Ft(ee),{left:Z,right:se,up:pe,down:ge}=Ce;if([Z,se].includes(H)){P(H===Z?-1:1),ee.preventDefault();return}if([pe,ge].includes(H)){const ye=H===pe?-1:1;fe[`${B.value[0]{const Z=f?f(ee):[],se=ee==="start",pe=(H||(se?b.value:y.value)).hour();return Gd(Z,se?o(pe+1,23):o(0,pe-1))},D=(ee,H,Z)=>{const se=h?h(ee,H):[],pe=H==="start",ge=Z||(pe?b.value:y.value);if(ee!==ge.hour())return se;const ye=ge.minute();return Gd(se,pe?o(ye+1,59):o(0,ye-1))},V=(ee,H,Z,se)=>{const pe=g?g(ee,H,Z):[],ge=Z==="start",ye=se||(ge?b.value:y.value),Ne=ye.hour(),_e=ye.minute();if(ee!==Ne||H!==_e)return pe;const Me=ye.second();return Gd(pe,ge?o(Me+1,59):o(0,Me-1))},U=([ee,H])=>[ue(ee,"start",!0,H),ue(H,"end",!1,ee)],{getAvailableHours:W,getAvailableMinutes:X,getAvailableSeconds:J}=qC(L,D,V),{timePickerOptions:fe,getAvailableTime:ue,onSetOption:he}=YC({getAvailableHours:W,getAvailableMinutes:X,getAvailableSeconds:J}),re=ee=>ee?be(ee)?ee.map(H=>ot(H,n.format).locale(s.value)):ot(ee,n.format).locale(s.value):null,te=()=>{if(be(p))return p.map(H=>ot(H).locale(s.value));const ee=ot(p).locale(s.value);return[ee,ee.add(60,"m")]};return a("set-picker-option",["parseUserInput",re]),a("set-picker-option",["isValidValue",T]),a("set-picker-option",["handleKeydownInput",I]),a("set-picker-option",["getDefaultValue",te]),a("set-picker-option",["getRangeAvailableTime",U]),a("set-picker-option",["handleCancel",w]),(ee,H)=>ee.actualVisible?(x(),F("div",{key:0,class:N([i(r).b("range-picker"),i(u).b("panel")])},[j("div",{class:N(i(r).be("range-picker","content"))},[j("div",{class:N(i(r).be("range-picker","cell"))},[j("div",{class:N(i(r).be("range-picker","header"))},ke(i(l)("el.datepicker.startTime")),3),j("div",{class:N(v.value)},[q(vp,{ref:"minSpinner",role:"start","show-seconds":k.value,"am-pm-mode":E.value,"arrow-control":i(d),"spinner-date":y.value,"disabled-hours":L,"disabled-minutes":D,"disabled-seconds":V,onChange:O,onSetOption:i(he),onSelectRange:K},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),j("div",{class:N(i(r).be("range-picker","cell"))},[j("div",{class:N(i(r).be("range-picker","header"))},ke(i(l)("el.datepicker.endTime")),3),j("div",{class:N(m.value)},[q(vp,{ref:"maxSpinner",role:"end","show-seconds":k.value,"am-pm-mode":E.value,"arrow-control":i(d),"spinner-date":b.value,"disabled-hours":L,"disabled-minutes":D,"disabled-seconds":V,onChange:M,onSetOption:i(he),onSelectRange:z},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),j("div",{class:N(i(r).be("panel","footer"))},[j("button",{type:"button",class:N([i(r).be("panel","btn"),"cancel"]),onClick:H[0]||(H[0]=Z=>w())},ke(i(l)("el.datepicker.cancel")),3),j("button",{type:"button",class:N([i(r).be("panel","btn"),"confirm"]),disabled:R.value,onClick:H[1]||(H[1]=Z=>$())},ke(i(l)("el.datepicker.confirm")),11,_8)],2)],2)):ae("v-if",!0)}}),D8=L8,XC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){var n={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"},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,l=/\d\d/,s=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,u={},c=function(m){return(m=+m)+(m>68?1900:2e3)},d=function(m){return function(y){this[m]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),C=60*b[1]+(+b[2]||0);return C===0?0:b[0]==="+"?-C:C}(m)}],h=function(m){var y=u[m];return y&&(y.indexOf?y:y.s.concat(y.f))},g=function(m,y){var b,C=u.meridiem;if(C){for(var w=1;w<=24;w+=1)if(m.indexOf(C(w,0,y))>-1){b=w>12;break}}else b=m===(y?"pm":"PM");return b},p={A:[r,function(m){this.afternoon=g(m,!1)}],a:[r,function(m){this.afternoon=g(m,!0)}],Q:[o,function(m){this.month=3*(m-1)+1}],S:[o,function(m){this.milliseconds=100*+m}],SS:[l,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[s,d("seconds")],ss:[s,d("seconds")],m:[s,d("minutes")],mm:[s,d("minutes")],H:[s,d("hours")],h:[s,d("hours")],HH:[s,d("hours")],hh:[s,d("hours")],D:[s,d("day")],DD:[l,d("day")],Do:[r,function(m){var y=u.ordinal,b=m.match(/\d+/);if(this.day=b[0],y)for(var C=1;C<=31;C+=1)y(C).replace(/\[|\]/g,"")===m&&(this.day=C)}],w:[s,d("week")],ww:[l,d("week")],M:[s,d("month")],MM:[l,d("month")],MMM:[r,function(m){var y=h("months"),b=(h("monthsShort")||y.map(function(C){return C.slice(0,3)})).indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[r,function(m){var y=h("months").indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,d("year")],YY:[l,function(m){this.year=c(m)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function v(m){var y,b;y=m,b=u&&u.formats;for(var C=(m=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,A,R){var B=R&&R.toUpperCase();return A||b[R]||n[R]||b[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(K,Y,z){return Y||z.slice(1)})})).match(a),w=C.length,k=0;k-1)return new Date((I==="X"?1e3:1)*P);var V=v(I)(P),U=V.year,W=V.month,X=V.day,J=V.hours,fe=V.minutes,ue=V.seconds,he=V.milliseconds,re=V.zone,te=V.week,ee=new Date,H=X||(U||W?1:ee.getDate()),Z=U||ee.getFullYear(),se=0;U&&!W||(se=W>0?W-1:ee.getMonth());var pe,ge=J||0,ye=fe||0,Ne=ue||0,_e=he||0;return re?new Date(Date.UTC(Z,se,H,ge,ye,Ne,_e+60*re.offset*1e3)):L?new Date(Date.UTC(Z,se,H,ge,ye,Ne,_e)):(pe=new Date(Z,se,H,ge,ye,Ne,_e),te&&(pe=D(pe).week(te).toDate()),pe)}catch{return new Date("")}}(E,M,$,b),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),R&&E!=this.format(M)&&(this.$d=new Date("")),u={}}else if(M instanceof Array)for(var K=M.length,Y=1;Y<=K;Y+=1){O[1]=M[Y-1];var z=b.apply(this,O);if(z.isValid()){this.$d=z.$d,this.$L=z.$L,this.init();break}Y===K&&(this.$d=new Date(""))}else w.call(this,k)}}})})(XC);var B8=XC.exports;const uh=ll(B8);ot.extend(uh);var V8=le({name:"ElTimePicker",install:null,props:{...ih,isRange:Boolean},emits:[tt],setup(e,t){const n=_(),[a,o]=e.isRange?["timerange",D8]:["time",wc],l=s=>t.emit(tt,s);return wt(sh,e.popperOptions),t.expose({focus:()=>{var s;(s=n.value)==null||s.focus()},blur:()=>{var s;(s=n.value)==null||s.blur()},handleOpen:()=>{var s;(s=n.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=n.value)==null||s.handleClose()}}),()=>{const s=e.format??or;return q(DC,ut(e,{ref:n,type:a,format:s,"onUpdate:modelValue":l}),{default:r=>q(o,r,null)})}}});const F8=lt(V8),Go=Se({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:qa},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),z8={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},H8=["aria-label"],K8=["aria-label"];var W8=le({name:"ElTag",__name:"tag",props:Go,emits:z8,setup(e,{emit:t}){const n=e,a=t,o=yn(),{t:l}=St(),s=ve("tag"),r=S(()=>{const{type:f,hit:h,effect:g,closable:p,round:v}=n;return[s.b(),s.is("closable",p),s.m(f||"primary"),s.m(o.value),s.m(g),s.is("hit",h),s.is("round",v)]}),u=f=>{a("close",f)},c=f=>{a("click",f)},d=f=>{var h,g,p;(p=(g=(h=f==null?void 0:f.component)==null?void 0:h.subTree)==null?void 0:g.component)!=null&&p.bum&&(f.component.subTree.component.bum=null)};return(f,h)=>e.disableTransitions?(x(),F("span",{key:0,class:N(r.value),style:We({backgroundColor:e.color}),onClick:c},[j("span",{class:N(i(s).e("content"))},[ne(f.$slots,"default")],2),e.closable?(x(),F("button",{key:0,"aria-label":i(l)("el.tag.close"),class:N(i(s).e("close")),type:"button",onClick:Ze(u,["stop"])},[q(i(Be),null,{default:Q(()=>[q(i(Ma))]),_:1})],10,H8)):ae("v-if",!0)],6)):(x(),oe(An,{key:1,name:`${i(s).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:d},{default:Q(()=>[j("span",{class:N(r.value),style:We({backgroundColor:e.color}),onClick:c},[j("span",{class:N(i(s).e("content"))},[ne(f.$slots,"default")],2),e.closable?(x(),F("button",{key:0,"aria-label":i(l)("el.tag.close"),class:N(i(s).e("close")),type:"button",onClick:Ze(u,["stop"])},[q(i(Be),null,{default:Q(()=>[q(i(Ma))]),_:1})],10,K8)):ae("v-if",!0)],6)]),_:3},8,["name"]))}}),j8=W8;const zo=lt(j8),ZC=Symbol("ElSelectGroup"),nu=Symbol("ElSelect"),Cc={label:"label",value:"value",disabled:"disabled",options:"options"};function au(e){const t=_({...Cc,...e.props});let n={...e.props};return ie(()=>e.props,r=>{Qt(r,n)||(t.value={...Cc,...r},n={...r})},{deep:!0}),{aliasProps:t,getLabel:r=>hn(r,t.value.label),getValue:r=>hn(r,t.value.value),getDisabled:r=>hn(r,t.value.disabled),getOptions:r=>hn(r,t.value.options)}}const JC=Se({name:String,id:String,modelValue:{type:G([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:wn,effect:{type:G(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},popperOptions:{type:G(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:G(Function)},filterMethod:{type:G(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:G(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:Lt.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Bt,default:xo},fitInputWidth:Boolean,suffixIcon:{type:Bt,default:Eo},tagType:{...Go.type,default:"info"},tagEffect:{...Go.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:G(String),values:So,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:Lt.appendTo,options:{type:G(Array)},props:{type:G(Object),default:()=>Cc},...gs,...Zn(["ariaLabel"])});gC.scroll;const hp="ElOption",Y8=Se({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function U8(e,t){const n=Le(nu);n||Xt(hp,"usage: ");const a=Le(ZC,{disabled:!1}),o=S(()=>d(En(n.props.modelValue),e.value)),l=S(()=>{if(n.props.multiple){const g=En(n.props.modelValue??[]);return!o.value&&g.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),s=S(()=>e.label??(nt(e.value)?"":e.value)),r=S(()=>e.value||e.label||""),u=S(()=>e.disabled||t.groupDisabled||l.value),c=ct(),d=(g=[],p)=>{if(nt(e.value)){const v=n.props.valueKey;return g&&g.some(m=>Kt(hn(m,v))===hn(p,v))}else return g&&g.includes(p)},f=()=>{u.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},h=g=>{t.visible=new RegExp(Pv(g),"i").test(String(s.value))||e.created};return ie(()=>s.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ie(()=>e.value,(g,p)=>{const{remote:v,valueKey:m}=n.props;if((v?g!==p:!Qt(g,p))&&(n.onOptionDestroy(p,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!v){if(m&&nt(g)&&nt(p)&&g[m]===p[m])return;n.setSelected()}}),ie(()=>a.disabled,()=>{t.groupDisabled=a.disabled},{immediate:!0}),{select:n,currentLabel:s,currentValue:r,itemSelected:o,isDisabled:u,hoverItem:f,updateOption:h}}var q8=le({name:hp,componentName:hp,props:Y8,setup(e){const t=ve("select"),n=_n(),a=S(()=>[t.be("dropdown","item"),t.is("disabled",i(r)),t.is("selected",i(s)),t.is("hovering",i(h))]),o=It({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:l,itemSelected:s,isDisabled:r,select:u,hoverItem:c,updateOption:d}=U8(e,o),{visible:f,hover:h}=$n(o),g=ct().proxy;u.onOptionCreate(g),Rt(()=>{const v=g.value;Ae(()=>{const{selected:m}=u.states,y=m.some(b=>b.value===g.value);u.states.cachedOptions.get(v)===g&&!y&&u.states.cachedOptions.delete(v)}),u.onOptionDestroy(v,g)});function p(){r.value||u.handleOptionSelect(g)}return{ns:t,id:n,containerKls:a,currentLabel:l,itemSelected:s,isDisabled:r,select:u,visible:f,hover:h,states:o,hoverItem:c,updateOption:d,selectOptionClick:p}}});const G8=["id","aria-disabled","aria-selected"];function X8(e,t,n,a,o,l){return it((x(),F("li",{id:e.id,class:N(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s)),onClick:t[1]||(t[1]=Ze((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))},[ne(e.$slots,"default",{},()=>[j("span",null,ke(e.currentLabel),1)])],42,G8)),[[Ot,e.visible]])}var ch=Cn(q8,[["render",X8]]),Z8=le({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=ve("select"),n=_(),a=ct(),o=_([]);wt(ZC,It({...$n(e)}));const l=S(()=>o.value.some(c=>c.visible===!0)),s=c=>{var d;return c.type.name==="ElOption"&&!!((d=c.component)!=null&&d.proxy)},r=c=>{const d=En(c),f=[];return d.forEach(h=>{var g;Ht(h)&&(s(h)?f.push(h.component.proxy):be(h.children)&&h.children.length?f.push(...r(h.children)):(g=h.component)!=null&&g.subTree&&f.push(...r(h.component.subTree)))}),f},u=()=>{o.value=r(a.subTree)};return ft(()=>{u()}),Ki(n,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:l,ns:t}}});function J8(e,t,n,a,o,l){return it((x(),F("ul",{ref:"groupRef",class:N(e.ns.be("group","wrap"))},[j("li",{class:N(e.ns.be("group","title"))},ke(e.label),3),j("li",null,[j("ul",{class:N(e.ns.b("group"))},[ne(e.$slots,"default")],2)])],2)),[[Ot,e.visible]])}var dh=Cn(Z8,[["render",J8]]),Q8=le({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Le(nu),t=ve("select"),n=S(()=>e.props.popperClass),a=S(()=>e.props.multiple),o=S(()=>e.props.fitInputWidth),l=_("");function s(){var u;const r=(u=e.selectRef)==null?void 0:u.offsetWidth;r?l.value=`${r-fw}px`:l.value=""}return ft(()=>{s(),Gt(e.selectRef,s)}),{ns:t,minWidth:l,popperClass:n,isMultiple:a,isFitInputWidth:o}}});function eD(e,t,n,a,o,l){return x(),F("div",{class:N([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:We({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(x(),F("div",{key:0,class:N(e.ns.be("dropdown","header"))},[ne(e.$slots,"header")],2)):ae("v-if",!0),ne(e.$slots,"default"),e.$slots.footer?(x(),F("div",{key:1,class:N(e.ns.be("dropdown","footer"))},[ne(e.$slots,"footer")],2)):ae("v-if",!0)],6)}var tD=Cn(Q8,[["render",eD]]);const nD=(e,t)=>{const{t:n}=St(),a=cn(),o=_n(),l=ve("select"),s=ve("input"),r=It({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),u=_(),c=_(),d=_(),f=_(),h=_(),g=_(),p=_(),v=_(),m=_(),y=_(),b=_(),C=_(!1),w=_(),k=_(!1),{form:E,formItem:$}=In(),{inputId:O}=Ca(e,{formItemContext:$}),{valueOnClear:M,isEmptyValue:T}=Ji(e),{isComposing:A,handleCompositionStart:R,handleCompositionUpdate:B,handleCompositionEnd:K}=Zi({afterComposition:Ee=>xt(Ee)}),Y=nn(),{wrapperRef:z,isFocused:P,handleBlur:I}=nl(h,{disabled:Y,afterFocus(){e.automaticDropdown&&!C.value&&(C.value=!0,r.menuVisibleOnFocus=!0)},beforeBlur(Ee){var Je,Et;return((Je=d.value)==null?void 0:Je.isFocusInsideContent(Ee))||((Et=f.value)==null?void 0:Et.isFocusInsideContent(Ee))},afterBlur(){var Ee;C.value=!1,r.menuVisibleOnFocus=!1,e.validateEvent&&((Ee=$==null?void 0:$.validate)==null||Ee.call($,"blur").catch(Je=>dt(Je)))}}),L=S(()=>be(e.modelValue)?e.modelValue.length>0:!T(e.modelValue)),D=S(()=>(E==null?void 0:E.statusIcon)??!1),V=S(()=>e.clearable&&!Y.value&&L.value&&(P.value||r.inputHovering)),U=S(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),W=S(()=>l.is("reverse",!!(U.value&&C.value))),X=S(()=>($==null?void 0:$.validateState)||""),J=S(()=>X.value&&yd[X.value]),fe=S(()=>e.remote?e.debounce:0),ue=S(()=>e.remote&&!r.inputValue&&r.options.size===0),he=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&r.inputValue&&r.options.size>0&&re.value===0?e.noMatchText||n("el.select.noMatch"):r.options.size===0?e.noDataText||n("el.select.noData"):null),re=S(()=>te.value.filter(Ee=>Ee.visible).length),te=S(()=>{const Ee=Array.from(r.options.values()),Je=[];return r.optionValues.forEach(Et=>{const Ut=Ee.findIndex(gn=>gn.value===Et);Ut>-1&&Je.push(Ee[Ut])}),Je.length>=Ee.length?Je:Ee}),ee=S(()=>Array.from(r.cachedOptions.values())),H=S(()=>{const Ee=te.value.filter(Je=>!Je.created).some(Je=>Je.currentLabel===r.inputValue);return e.filterable&&e.allowCreate&&r.inputValue!==""&&!Ee}),Z=()=>{e.filterable&&ze(e.filterMethod)||e.filterable&&e.remote&&ze(e.remoteMethod)||te.value.forEach(Ee=>{var Je;(Je=Ee.updateOption)==null||Je.call(Ee,r.inputValue)})},se=yn(),pe=S(()=>["small"].includes(se.value)?"small":"default"),ge=S({get(){return C.value&&(e.loading||!ue.value||e.remote&&!!a.empty)&&(!k.value||!ta(r.previousQuery))},set(Ee){C.value=Ee}}),ye=S(()=>{if(e.multiple&&!kt(e.modelValue))return En(e.modelValue).length===0&&!r.inputValue;const Ee=be(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||kt(Ee)?!r.inputValue:!0}),Ne=S(()=>{const Ee=e.placeholder??n("el.select.placeholder");return e.multiple||!L.value?Ee:r.selectedLabel}),_e=S(()=>pc?null:"mouseenter");ie(()=>e.modelValue,(Ee,Je)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(r.inputValue="",Me("")),Te(),!Qt(Ee,Je)&&e.validateEvent&&($==null||$.validate("change").catch(Et=>dt(Et)))},{flush:"post",deep:!0}),ie(()=>C.value,Ee=>{Ee?Me(r.inputValue):(r.inputValue="",r.previousQuery=null,r.isBeforeHide=!0,r.menuVisibleOnFocus=!1)}),ie(()=>r.options.entries(),()=>{Nt&&(Te(),e.defaultFirstOption&&(e.filterable||e.remote)&&re.value&&me())},{flush:"post"}),ie([()=>r.hoveringIndex,te],([Ee])=>{Ke(Ee)&&Ee>-1?w.value=te.value[Ee]||{}:w.value={},te.value.forEach(Je=>{Je.hover=w.value===Je})}),da(()=>{r.isBeforeHide||Z()});const Me=Ee=>{r.previousQuery===Ee||A.value||(r.previousQuery=Ee,e.filterable&&ze(e.filterMethod)?e.filterMethod(Ee):e.filterable&&e.remote&&ze(e.remoteMethod)&&e.remoteMethod(Ee),e.defaultFirstOption&&(e.filterable||e.remote)&&re.value?Ae(me):Ae(Ie))},me=()=>{const Ee=te.value.filter(Ut=>Ut.visible&&!Ut.disabled&&!Ut.states.groupDisabled),Je=Ee.find(Ut=>Ut.created),Et=Ee[0];r.hoveringIndex=Re(te.value.map(Ut=>Ut.value),Je||Et)},Te=()=>{if(e.multiple)r.selectedLabel="";else{const Je=we(be(e.modelValue)?e.modelValue[0]:e.modelValue);r.selectedLabel=Je.currentLabel,r.selected=[Je];return}const Ee=[];kt(e.modelValue)||En(e.modelValue).forEach(Je=>{Ee.push(we(Je))}),r.selected=Ee},we=Ee=>{let Je;const Et=ei(Ee);for(let Ut=r.cachedOptions.size-1;Ut>=0;Ut--){const gn=ee.value[Ut];if(Et?hn(gn.value,e.valueKey)===hn(Ee,e.valueKey):gn.value===Ee){Je={index:te.value.filter(On=>!On.created).indexOf(gn),value:Ee,currentLabel:gn.currentLabel,get isDisabled(){return gn.isDisabled}};break}}return Je||{index:-1,value:Ee,currentLabel:Et?Ee.label:Ee??""}},Ie=()=>{const Ee=r.selected.length;if(Ee>0){const Je=r.selected[Ee-1];r.hoveringIndex=te.value.findIndex(Et=>Sn(Je)===Sn(Et))}else r.hoveringIndex=-1},Ve=()=>{r.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},Xe=()=>{r.collapseItemWidth=y.value.getBoundingClientRect().width},$e=()=>{var Ee,Je;(Je=(Ee=d.value)==null?void 0:Ee.updatePopper)==null||Je.call(Ee)},Pe=()=>{var Ee,Je;(Je=(Ee=f.value)==null?void 0:Ee.updatePopper)==null||Je.call(Ee)},je=()=>{r.inputValue.length>0&&!C.value&&(C.value=!0),Me(r.inputValue)},xt=Ee=>{if(r.inputValue=Ee.target.value,e.remote)k.value=!0,Mt();else return je()},Mt=Hi(()=>{je(),k.value=!1},fe),Ue=Ee=>{Qt(e.modelValue,Ee)||t(ht,Ee)},rt=Ee=>qw(Ee,Je=>{const Et=r.cachedOptions.get(Je);return!(Et!=null&&Et.disabled)&&!(Et!=null&&Et.states.groupDisabled)}),mt=Ee=>{const Je=Ft(Ee);if(e.multiple&&Je!==Ce.delete&&Ee.target.value.length<=0){const Et=En(e.modelValue).slice(),Ut=rt(Et);if(Ut<0)return;const gn=Et[Ut];Et.splice(Ut,1),t(tt,Et),Ue(Et),t("remove-tag",gn)}},de=(Ee,Je)=>{const Et=r.selected.indexOf(Je);if(Et>-1&&!Y.value){const Ut=En(e.modelValue).slice();Ut.splice(Et,1),t(tt,Ut),Ue(Ut),t("remove-tag",Je.value)}Ee.stopPropagation(),et()},Fe=Ee=>{Ee.stopPropagation();const Je=e.multiple?[]:M.value;if(e.multiple)for(const Et of r.selected)Et.isDisabled&&Je.push(Et.value);t(tt,Je),Ue(Je),r.hoveringIndex=-1,C.value=!1,t("clear"),et()},ce=Ee=>{if(e.multiple){const Je=En(e.modelValue??[]).slice(),Et=Re(Je,Ee);Et>-1?Je.splice(Et,1):(e.multipleLimit<=0||Je.length{vt(Ee)})},Re=(Ee,Je)=>kt(Je)?-1:nt(Je.value)?Ee.findIndex(Et=>Qt(hn(Et,e.valueKey),Sn(Je))):Ee.indexOf(Je.value),vt=Ee=>{var Ut,gn,On,$o,Cr;const Je=be(Ee)?Ee[Ee.length-1]:Ee;let Et=null;if(!pn(Je==null?void 0:Je.value)){const Rl=te.value.filter(bs=>bs.value===Je.value);Rl.length>0&&(Et=Rl[0].$el)}if(d.value&&Et){const Rl=($o=(On=(gn=(Ut=d.value)==null?void 0:Ut.popperRef)==null?void 0:gn.contentRef)==null?void 0:On.querySelector)==null?void 0:$o.call(On,`.${l.be("dropdown","wrap")}`);Rl&&_v(Rl,Et)}(Cr=b.value)==null||Cr.handleScroll()},Vt=Ee=>{r.options.set(Ee.value,Ee),r.cachedOptions.set(Ee.value,Ee)},qt=(Ee,Je)=>{r.options.get(Ee)===Je&&r.options.delete(Ee)},Oe=S(()=>{var Ee,Je;return(Je=(Ee=d.value)==null?void 0:Ee.popperRef)==null?void 0:Je.contentRef}),Ye=()=>{r.isBeforeHide=!1,Ae(()=>{var Ee;(Ee=b.value)==null||Ee.update(),vt(r.selected)})},et=()=>{var Ee;(Ee=h.value)==null||Ee.focus()},vn=()=>{var Ee;if(C.value){C.value=!1,Ae(()=>{var Je;return(Je=h.value)==null?void 0:Je.blur()});return}(Ee=h.value)==null||Ee.blur()},zt=Ee=>{Fe(Ee)},on=Ee=>{if(C.value=!1,P.value){const Je=new FocusEvent("blur",Ee);Ae(()=>I(Je))}},qe=()=>{r.inputValue.length>0?r.inputValue="":C.value=!1},Qe=Ee=>{var Je;Y.value||e.filterable&&C.value&&Ee&&!((Je=p.value)!=null&&Je.contains(Ee.target))||(pc&&(r.inputHovering=!0),r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:C.value=!C.value)},pt=()=>{if(!C.value)Qe();else{const Ee=te.value[r.hoveringIndex];Ee&&!Ee.isDisabled&&ce(Ee)}},Sn=Ee=>nt(Ee.value)?hn(Ee.value,e.valueKey):Ee.value,Qa=S(()=>te.value.filter(Ee=>Ee.visible).every(Ee=>Ee.isDisabled)),Ia=S(()=>e.multiple?e.collapseTags?r.selected.slice(0,e.maxCollapseTags):r.selected:[]),ru=S(()=>e.multiple?e.collapseTags?r.selected.slice(e.maxCollapseTags):[]:[]),Pl=Ee=>{if(!C.value){C.value=!0;return}if(!(r.options.size===0||re.value===0||A.value)&&!Qa.value){Ee==="next"?(r.hoveringIndex++,r.hoveringIndex===r.options.size&&(r.hoveringIndex=0)):Ee==="prev"&&(r.hoveringIndex--,r.hoveringIndex<0&&(r.hoveringIndex=r.options.size-1));const Je=te.value[r.hoveringIndex];(Je.isDisabled||!Je.visible)&&Pl(Ee),Ae(()=>vt(w.value))}},iu=(Ee,Je,Et,Ut)=>{for(let gn=Je;gn>=0&&gn{const Et=r.options.size;if(Et===0)return;const Ut=jl(Ee,0,Et-1),gn=te.value,On=Je==="up"?-1:1,$o=iu(gn,Ut,On,Et)??iu(gn,Ut-On,-On,Et);$o!=null&&(r.hoveringIndex=$o,Ae(()=>vt(w.value)))},Od=Ee=>{const Je=Ft(Ee);let Et=!0;switch(Je){case Ce.up:Pl("prev");break;case Ce.down:Pl("next");break;case Ce.enter:case Ce.numpadEnter:A.value||pt();break;case Ce.esc:qe();break;case Ce.backspace:Et=!1,mt(Ee);return;case Ce.home:if(!C.value)return;To(0,"down");break;case Ce.end:if(!C.value)return;To(r.options.size-1,"up");break;case Ce.pageUp:if(!C.value)return;To(r.hoveringIndex-10,"up");break;case Ce.pageDown:if(!C.value)return;To(r.hoveringIndex+10,"down");break;default:Et=!1;break}Et&&(Ee.preventDefault(),Ee.stopPropagation())},Nd=()=>{if(!c.value)return 0;const Ee=window.getComputedStyle(c.value);return Number.parseFloat(Ee.gap||"6px")},Md=S(()=>{const Ee=Nd(),Je=e.filterable?Ee+Zc:0;return{maxWidth:`${y.value&&e.maxCollapseTags===1?r.selectionWidth-r.collapseItemWidth-Ee-Je:r.selectionWidth-Je}px`}}),Id=S(()=>({maxWidth:`${r.selectionWidth}px`})),Pd=Ee=>{t("popup-scroll",Ee)};Gt(c,Ve),Gt(z,$e),Gt(m,Pe),Gt(y,Xe);let sl;return ie(()=>ge.value,Ee=>{Ee?sl=Gt(v,$e).stop:(sl==null||sl(),sl=void 0),t("visible-change",Ee)}),ft(()=>{Te()}),{inputId:O,contentId:o,nsSelect:l,nsInput:s,states:r,isFocused:P,expanded:C,optionsArray:te,hoverOption:w,selectSize:se,filteredOptionsCount:re,updateTooltip:$e,updateTagTooltip:Pe,debouncedOnInputChange:Mt,onInput:xt,deletePrevTag:mt,deleteTag:de,deleteSelected:Fe,handleOptionSelect:ce,scrollToOption:vt,hasModelValue:L,shouldShowPlaceholder:ye,currentPlaceholder:Ne,mouseEnterEventName:_e,needStatusIcon:D,showClearBtn:V,iconComponent:U,iconReverse:W,validateState:X,validateIcon:J,showNewOption:H,updateOptions:Z,collapseTagSize:pe,setSelected:Te,selectDisabled:Y,emptyText:he,handleCompositionStart:R,handleCompositionUpdate:B,handleCompositionEnd:K,handleKeydown:Od,onOptionCreate:Vt,onOptionDestroy:qt,handleMenuEnter:Ye,focus:et,blur:vn,handleClearClick:zt,handleClickOutside:on,handleEsc:qe,toggleMenu:Qe,selectOption:pt,getValueKey:Sn,navigateOptions:Pl,dropdownMenuVisible:ge,showTagList:Ia,collapseTagList:ru,popupScroll:Pd,getOption:we,tagStyle:Md,collapseTagStyle:Id,popperRef:Oe,inputRef:h,tooltipRef:d,tagTooltipRef:f,prefixRef:g,suffixRef:p,selectRef:u,wrapperRef:z,selectionRef:c,scrollbarRef:b,menuRef:v,tagMenuRef:m,collapseItemRef:y}};var aD=le({name:"ElOptions",setup(e,{slots:t}){const n=Le(nu);let a=[];return()=>{var r,u;const o=(r=t.default)==null?void 0:r.call(t),l=[];function s(c){be(c)&&c.forEach(d=>{var h,g,p,v;const f=(h=(d==null?void 0:d.type)||{})==null?void 0:h.name;f==="ElOptionGroup"?s(!De(d.children)&&!be(d.children)&&ze((g=d.children)==null?void 0:g.default)?(p=d.children)==null?void 0:p.default():d.children):f==="ElOption"?l.push((v=d.props)==null?void 0:v.value):be(d.children)&&s(d.children)})}return o.length&&s((u=o[0])==null?void 0:u.children),Qt(l,a)||(a=l,n&&(n.states.optionValues=l)),o}}});const Ry="ElSelect",bi=new WeakMap,oD=e=>(...t)=>{var o,l;const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&((o=t[2])!=null&&o.includes("ElTreeSelect")))return;const a=(l=bi.get(e))==null?void 0:l.originalWarnHandler;if(a){a(...t);return}console.warn(...t)},lD=e=>{let t=bi.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:oD(e),count:0},bi.set(e,t)),t};var sD=le({name:Ry,componentName:Ry,components:{ElSelectMenu:tD,ElOption:ch,ElOptions:aD,ElOptionGroup:dh,ElTag:zo,ElScrollbar:Wa,ElTooltip:Mn,ElIcon:Be},directives:{ClickOutside:Nl},props:JC,emits:[tt,ht,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const a=ct(),o=lD(a.appContext);o.count+=1,a.appContext.config.warnHandler=o.handler;const l=S(()=>{const{modelValue:b,multiple:C}=e,w=C?[]:void 0;return be(b)?C?b:w:C?w:b}),s=It({...$n(e),modelValue:l}),r=nD(s,t),{calculatorRef:u,inputStyle:c}=Iv(),{getLabel:d,getValue:f,getOptions:h,getDisabled:g}=au(e),p=b=>({label:d(b),value:f(b),disabled:g(b)}),v=b=>b.reduce((C,w)=>(C.push(w),w.children&&w.children.length>0&&C.push(...v(w.children)),C),[]),m=b=>{ma(b||[]).forEach(C=>{var w;if(nt(C)&&(C.type.name==="ElOption"||C.type.name==="ElTree")){const k=C.type.name;if(k==="ElTree")v(((w=C.props)==null?void 0:w.data)||[]).forEach(E=>{E.currentLabel=E.label||(nt(E.value)?"":E.value),r.onOptionCreate(E)});else if(k==="ElOption"){const E={...C.props};E.currentLabel=E.label||(nt(E.value)?"":E.value),r.onOptionCreate(E)}}})};ie(()=>{var b;return[e.persistent||r.expanded.value||!n.default||(b=n.default)==null?void 0:b.call(n),l.value]},()=>{var b;e.persistent||r.expanded.value||(r.states.options.clear(),m((b=n.default)==null?void 0:b.call(n)))},{immediate:!0}),wt(nu,It({props:s,states:r.states,selectRef:r.selectRef,optionsArray:r.optionsArray,setSelected:r.setSelected,handleOptionSelect:r.handleOptionSelect,onOptionCreate:r.onOptionCreate,onOptionDestroy:r.onOptionDestroy}));const y=S(()=>e.multiple?r.states.selected.map(b=>b.currentLabel):r.states.selectedLabel);return Rt(()=>{const b=bi.get(a.appContext);b&&(b.count-=1,b.count<=0&&(a.appContext.config.warnHandler=b.originalWarnHandler,bi.delete(a.appContext)))}),{...r,modelValue:l,selectedLabel:y,calculatorRef:u,inputStyle:c,getLabel:d,getValue:f,getOptions:h,getDisabled:g,getOptionProps:p}}});const rD=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],iD=["textContent"],uD={key:1};function cD(e,t,n,a,o,l){const s=$t("el-tag"),r=$t("el-tooltip"),u=$t("el-icon"),c=$t("el-option"),d=$t("el-option-group"),f=$t("el-options"),h=$t("el-scrollbar"),g=$t("el-select-menu"),p=sv("click-outside");return it((x(),F("div",ut({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[Vr(e.mouseEnterEventName)]:t[11]||(t[11]=v=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=v=>e.states.inputHovering=!1)}),[q(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=v=>e.states.isBeforeHide=!1)},{default:Q(()=>{var v;return[j("div",{ref:"wrapperRef",class:N([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Ze((...m)=>e.toggleMenu&&e.toggleMenu(...m),["prevent"]))},[e.$slots.prefix?(x(),F("div",{key:0,ref:"prefixRef",class:N(e.nsSelect.e("prefix"))},[ne(e.$slots,"prefix")],2)):ae("v-if",!0),j("div",{ref:"selectionRef",class:N([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ne(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var m,y,b,C,w,k,E,$,O,M,T,A,R;return[(x(!0),F(He,null,yt(e.showTagList,B=>(x(),F("div",{key:e.getValueKey(B),class:N(e.nsSelect.e("selected-item"))},[q(s,{closable:!e.selectDisabled&&!B.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:We(e.tagStyle),onClose:K=>e.deleteTag(K,B)},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))},[ne(e.$slots,"label",{index:B.index,label:B.currentLabel,value:B.value},()=>[bt(ke(B.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(x(),oe(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":((m=e.tagTooltip)==null?void 0:m.fallbackPlacements)??["bottom","top","right","left"],effect:((y=e.tagTooltip)==null?void 0:y.effect)??e.effect,placement:((b=e.tagTooltip)==null?void 0:b.placement)??"bottom","popper-class":((C=e.tagTooltip)==null?void 0:C.popperClass)??e.popperClass,"popper-style":((w=e.tagTooltip)==null?void 0:w.popperStyle)??e.popperStyle,teleported:((k=e.tagTooltip)==null?void 0:k.teleported)??e.teleported,"append-to":((E=e.tagTooltip)==null?void 0:E.appendTo)??e.appendTo,"popper-options":(($=e.tagTooltip)==null?void 0:$.popperOptions)??e.popperOptions,transition:(O=e.tagTooltip)==null?void 0:O.transition,"show-after":(M=e.tagTooltip)==null?void 0:M.showAfter,"hide-after":(T=e.tagTooltip)==null?void 0:T.hideAfter,"auto-close":(A=e.tagTooltip)==null?void 0:A.autoClose,offset:(R=e.tagTooltip)==null?void 0:R.offset},{default:Q(()=>[j("div",{ref:"collapseItemRef",class:N(e.nsSelect.e("selected-item"))},[q(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:We(e.collapseTagStyle)},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))}," + "+ke(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Q(()=>[j("div",{ref:"tagMenuRef",class:N(e.nsSelect.e("selection"))},[(x(!0),F(He,null,yt(e.collapseTagList,B=>(x(),F("div",{key:e.getValueKey(B),class:N(e.nsSelect.e("selected-item"))},[q(s,{class:"in-tooltip",closable:!e.selectDisabled&&!B.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:K=>e.deleteTag(K,B)},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))},[ne(e.$slots,"label",{index:B.index,label:B.currentLabel,value:B.value},()=>[bt(ke(B.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):ae("v-if",!0)]}):ae("v-if",!0),j("div",{class:N([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[j("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:N([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:We(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((v=e.hoverOption)==null?void 0:v.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...m)=>e.handleKeydown&&e.handleKeydown(...m)),onCompositionstart:t[1]||(t[1]=(...m)=>e.handleCompositionStart&&e.handleCompositionStart(...m)),onCompositionupdate:t[2]||(t[2]=(...m)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...m)),onCompositionend:t[3]||(t[3]=(...m)=>e.handleCompositionEnd&&e.handleCompositionEnd(...m)),onInput:t[4]||(t[4]=(...m)=>e.onInput&&e.onInput(...m)),onChange:t[5]||(t[5]=Ze(()=>{},["stop"])),onClick:t[6]||(t[6]=Ze((...m)=>e.toggleMenu&&e.toggleMenu(...m),["stop"]))},null,46,rD),e.filterable?(x(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:N(e.nsSelect.e("input-calculator")),textContent:ke(e.states.inputValue)},null,10,iD)):ae("v-if",!0)],2),e.shouldShowPlaceholder?(x(),F("div",{key:1,class:N([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ne(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[j("span",null,ke(e.currentPlaceholder),1)]):(x(),F("span",uD,ke(e.currentPlaceholder),1))],2)):ae("v-if",!0)],2),j("div",{ref:"suffixRef",class:N(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(x(),oe(u,{key:0,class:N([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:Q(()=>[(x(),oe(st(e.iconComponent)))]),_:1},8,["class"])):ae("v-if",!0),e.showClearBtn&&e.clearIcon?(x(),oe(u,{key:1,class:N([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class","onClick"])):ae("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(x(),oe(u,{key:2,class:N([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Q(()=>[(x(),oe(st(e.validateIcon)))]),_:1},8,["class"])):ae("v-if",!0)],2)],2)]}),content:Q(()=>[q(g,{ref:"menuRef"},{default:Q(()=>[e.$slots.header?(x(),F("div",{key:0,class:N(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Ze(()=>{},["stop"]))},[ne(e.$slots,"header")],2)):ae("v-if",!0),it(q(h,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:N([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:Q(()=>[e.showNewOption?(x(),oe(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):ae("v-if",!0),q(f,null,{default:Q(()=>[ne(e.$slots,"default",{},()=>[(x(!0),F(He,null,yt(e.options,(v,m)=>{var y;return x(),F(He,{key:m},[(y=e.getOptions(v))!=null&&y.length?(x(),oe(d,{key:0,label:e.getLabel(v),disabled:e.getDisabled(v)},{default:Q(()=>[(x(!0),F(He,null,yt(e.getOptions(v),b=>(x(),oe(c,ut({key:e.getValue(b)},{ref_for:!0},e.getOptionProps(b)),null,16))),128))]),_:2},1032,["label","disabled"])):(x(),oe(c,ut({key:1,ref_for:!0},e.getOptionProps(v)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[Ot,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(x(),F("div",{key:1,class:N(e.nsSelect.be("dropdown","loading"))},[ne(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(x(),F("div",{key:2,class:N(e.nsSelect.be("dropdown","empty"))},[ne(e.$slots,"empty",{},()=>[j("span",null,ke(e.emptyText),1)])],2)):ae("v-if",!0),e.$slots.footer?(x(),F("div",{key:3,class:N(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Ze(()=>{},["stop"]))},[ne(e.$slots,"footer")],2)):ae("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[p,e.handleClickOutside,e.popperRef]])}var dD=Cn(sD,[["render",cD]]);const Ml=lt(dD,{Option:ch,OptionGroup:dh}),Sc=Zt(ch),fD=Zt(dh),pD=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Sl(t).map((a,o)=>n-(t-o-1))},vD=e=>Sl(e.daysInMonth()).map((t,n)=>n+1),hD=e=>Sl(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),mD=Se({selectedDay:{type:G(Object)},range:{type:G(Array)},date:{type:G(Object),required:!0},hideHeader:{type:Boolean}}),gD={pick:e=>nt(e)};var QC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a,o){var l=a.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},r=function(f,h,g,p,v){var m=f.name?f:f.$locale(),y=s(m[h]),b=s(m[g]),C=y||b.map(function(k){return k.slice(0,p)});if(!v)return C;var w=m.weekStart;return C.map(function(k,E){return C[(E+(w||0))%7]})},u=function(){return o.Ls[o.locale()]},c=function(f,h){return f.formats[h]||function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,v,m){return v||m.slice(1)})}(f.formats[h.toUpperCase()])},d=function(){var f=this;return{months:function(h){return h?h.format("MMMM"):r(f,"months")},monthsShort:function(h){return h?h.format("MMM"):r(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):r(f,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):r(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):r(f,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(f.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return d.bind(this)()},o.localeData=function(){var f=u();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(h){return c(f,h)},meridiem:f.meridiem,ordinal:f.ordinal}},o.months=function(){return r(u(),"months")},o.monthsShort=function(){return r(u(),"monthsShort","months",3)},o.weekdays=function(f){return r(u(),"weekdays",null,null,f)},o.weekdaysShort=function(f){return r(u(),"weekdaysShort","weekdays",3,f)},o.weekdaysMin=function(f){return r(u(),"weekdaysMin","weekdays",2,f)}}})})(QC);var yD=QC.exports;const eS=ll(yD),bD=(e,t)=>{ot.extend(eS);const n=ot.localeData().firstDayOfWeek(),{t:a,lang:o}=St(),l=ot().locale(o.value),s=S(()=>!!e.range&&!!e.range.length),r=S(()=>{let h=[];if(s.value){const[g,p]=e.range,v=Sl(p.date()-g.date()+1).map(b=>({text:g.date()+b,type:"current"}));let m=v.length%7;m=m===0?0:7-m;const y=Sl(m).map((b,C)=>({text:C+1,type:"next"}));h=v.concat(y)}else{const g=e.date.startOf("month").day(),p=pD(e.date,(g-n+7)%7).map(y=>({text:y,type:"prev"})),v=vD(e.date).map(y=>({text:y,type:"current"}));h=[...p,...v];const m=Sl(7-(h.length%7||7)).map((y,b)=>({text:b+1,type:"next"}));h=h.concat(m)}return hD(h)}),u=S(()=>{const h=n;return h===0?Wd.map(g=>a(`el.datepicker.weeks.${g}`)):Wd.slice(h).concat(Wd.slice(0,h)).map(g=>a(`el.datepicker.weeks.${g}`))}),c=(h,g)=>{switch(g){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:l,isInRange:s,rows:r,weekDays:u,getFormattedDate:c,handlePickDay:({text:h,type:g})=>{t("pick",c(h,g))},getSlotData:({text:h,type:g})=>{const p=c(h,g);return{isSelected:p.isSame(e.selectedDay),type:`${g}-month`,day:p.format("YYYY-MM-DD"),date:p.toDate()}}}},wD={key:0},CD=["onClick"];var SD=le({name:"DateTable",__name:"date-table",props:mD,emits:gD,setup(e,{expose:t,emit:n}){const a=e,{isInRange:o,now:l,rows:s,weekDays:r,getFormattedDate:u,handlePickDay:c,getSlotData:d}=bD(a,n),f=ve("calendar-table"),h=ve("calendar-day"),g=({text:p,type:v})=>{const m=[v];if(v==="current"){const y=u(p,v);y.isSame(a.selectedDay,"day")&&m.push(h.is("selected")),y.isSame(l,"day")&&m.push(h.is("today"))}return m};return t({getFormattedDate:u}),(p,v)=>(x(),F("table",{class:N([i(f).b(),i(f).is("range",i(o))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?ae("v-if",!0):(x(),F("thead",wD,[j("tr",null,[(x(!0),F(He,null,yt(i(r),m=>(x(),F("th",{key:m,scope:"col"},ke(m),1))),128))])])),j("tbody",null,[(x(!0),F(He,null,yt(i(s),(m,y)=>(x(),F("tr",{key:y,class:N({[i(f).e("row")]:!0,[i(f).em("row","hide-border")]:y===0&&e.hideHeader})},[(x(!0),F(He,null,yt(m,(b,C)=>(x(),F("td",{key:C,class:N(g(b)),onClick:w=>i(c)(b)},[j("div",{class:N(i(h).b())},[ne(p.$slots,"date-cell",{data:i(d)(b)},()=>[j("span",null,ke(b.text),1)])],2)],10,CD))),128))],2))),128))])],2))}}),Ay=SD;const kD=(e,t)=>{const n=e.endOf("month"),a=t.startOf("month"),o=n.isSame(a,"week")?a.add(1,"week"):a;return[[e,n],[o.startOf("week"),t]]},ED=(e,t)=>{const n=e.endOf("month"),a=e.add(1,"month").startOf("month"),o=n.isSame(a,"week")?a.add(1,"week"):a,l=o.endOf("month"),s=t.startOf("month"),r=l.isSame(s,"week")?s.add(1,"week"):s;return[[e,n],[o.startOf("week"),l],[r.startOf("week"),t]]},xD=(e,t,n)=>{const{lang:a}=St(),o=_(),l=ot().locale(a.value),s=S({get(){return e.modelValue?u.value:o.value},set(y){if(!y)return;o.value=y;const b=y.toDate();t(mn,b),t(tt,b)}}),r=S(()=>{if(!e.range||!be(e.range)||e.range.length!==2||e.range.some(C=>!kl(C)))return[];const[y,b]=e.range.map(C=>ot(C).locale(a.value));return y.isAfter(b)?(dt(n,"end time should be greater than start time"),[]):y.isSame(b,"month")?g(y,b):y.add(1,"month").month()!==b.month()?(dt(n,"start time and end time interval must not exceed two months"),[]):g(y,b)}),u=S(()=>e.modelValue?ot(e.modelValue).locale(a.value):s.value||(r.value.length?r.value[0][0]:l)),c=S(()=>u.value.subtract(1,"month").date(1)),d=S(()=>u.value.add(1,"month").date(1)),f=S(()=>u.value.subtract(1,"year").date(1)),h=S(()=>u.value.add(1,"year").date(1)),g=(y,b)=>{const C=y.startOf("week"),w=b.endOf("week"),k=C.get("month"),E=w.get("month");return k===E?[[C,w]]:(k+1)%12===E?kD(C,w):k+2===E||(k+1)%11===E?ED(C,w):(dt(n,"start time and end time interval must not exceed two months"),[])},p=y=>{s.value=y},v=y=>{const b={"prev-month":c.value,"next-month":d.value,"prev-year":f.value,"next-year":h.value,today:l}[y];b.isSame(u.value,"day")||p(b)};return{calculateValidatedDateRange:g,date:u,realSelectedDay:s,pickDay:p,selectDate:v,validatedRange:r,handleDateChange:y=>{y==="today"?v("today"):p(y)}}},TD=Se({date:{type:G(Object),required:!0},formatter:{type:G(Function)}}),$D={"date-change":e=>nt(e)||De(e)};var OD=le({name:"SelectController",__name:"select-controller",props:TD,emits:$D,setup(e,{emit:t}){const n=e,a=t,o=ve("calendar-select"),{t:l,lang:s}=St(),r=Array.from({length:12},(p,v)=>{const m=v+1;return{value:m,label:ze(n.formatter)?n.formatter(m,"month"):m}}),u=S(()=>n.date.year()),c=S(()=>n.date.month()+1),d=S(()=>{const p=[];for(let v=-10;v<10;v++){const m=u.value+v;if(m>0){const y=ze(n.formatter)?n.formatter(m,"year"):m;p.push({value:m,label:y})}}return p}),f=p=>{a("date-change",ot(new Date(p,c.value-1,1)).locale(s.value))},h=p=>{a("date-change",ot(new Date(u.value,p-1,1)).locale(s.value))},g=()=>{a("date-change","today")};return(p,v)=>(x(),F(He,null,[q(i(Ml),{"model-value":u.value,size:"small",class:N(i(o).e("year")),"validate-event":!1,options:d.value,onChange:f},null,8,["model-value","class","options"]),q(i(Ml),{"model-value":c.value,size:"small",class:N(i(o).e("month")),"validate-event":!1,options:i(r),onChange:h},null,8,["model-value","class","options"]),q(i(xn),{size:"small",onClick:g},{default:Q(()=>[bt(ke(i(l)("el.datepicker.today")),1)]),_:1})],64))}}),ND=OD;const _y="ElCalendar";var MD=le({name:_y,__name:"calendar",props:i8,emits:u8,setup(e,{expose:t,emit:n}){const a=ve("calendar"),{calculateValidatedDateRange:o,date:l,pickDay:s,realSelectedDay:r,selectDate:u,validatedRange:c,handleDateChange:d}=xD(e,n,_y),{t:f}=St(),h=S(()=>{const g=`el.datepicker.month${l.value.format("M")}`;return`${l.value.year()} ${f("el.datepicker.year")} ${f(g)}`});return t({selectedDay:r,pickDay:s,selectDate:u,calculateValidatedDateRange:o}),(g,p)=>(x(),F("div",{class:N(i(a).b())},[j("div",{class:N(i(a).e("header"))},[ne(g.$slots,"header",{date:h.value},()=>[j("div",{class:N(i(a).e("title"))},ke(h.value),3),i(c).length===0&&e.controllerType==="button"?(x(),F("div",{key:0,class:N(i(a).e("button-group"))},[q(i(NC),null,{default:Q(()=>[q(i(xn),{size:"small",onClick:p[0]||(p[0]=v=>i(u)("prev-month"))},{default:Q(()=>[bt(ke(i(f)("el.datepicker.prevMonth")),1)]),_:1}),q(i(xn),{size:"small",onClick:p[1]||(p[1]=v=>i(u)("today"))},{default:Q(()=>[bt(ke(i(f)("el.datepicker.today")),1)]),_:1}),q(i(xn),{size:"small",onClick:p[2]||(p[2]=v=>i(u)("next-month"))},{default:Q(()=>[bt(ke(i(f)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):i(c).length===0&&e.controllerType==="select"?(x(),F("div",{key:1,class:N(i(a).e("select-controller"))},[q(ND,{date:i(l),formatter:e.formatter,onDateChange:i(d)},null,8,["date","formatter","onDateChange"])],2)):ae("v-if",!0)])],2),i(c).length===0?(x(),F("div",{key:0,class:N(i(a).e("body"))},[q(Ay,{date:i(l),"selected-day":i(r),onPick:i(s)},na({_:2},[g.$slots["date-cell"]?{name:"date-cell",fn:Q(v=>[ne(g.$slots,"date-cell",Do(Bo(v)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(x(),F("div",{key:1,class:N(i(a).e("body"))},[(x(!0),F(He,null,yt(i(c),(v,m)=>(x(),oe(Ay,{key:m,date:v[0],"selected-day":i(r),range:v,"hide-header":m!==0,onPick:i(s)},na({_:2},[g.$slots["date-cell"]?{name:"date-cell",fn:Q(y=>[ne(g.$slots,"date-cell",ut({ref_for:!0},y))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}}),ID=MD;const PD=lt(ID),RD=Se({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:G([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var AD=le({name:"ElCard",__name:"card",props:RD,setup(e){const t=al("card"),n=ve("card");return(a,o)=>{var l;return x(),F("div",{class:N([i(n).b(),i(n).is(`${e.shadow||((l=i(t))==null?void 0:l.shadow)||"always"}-shadow`)])},[a.$slots.header||e.header?(x(),F("div",{key:0,class:N([i(n).e("header"),e.headerClass])},[ne(a.$slots,"header",{},()=>[bt(ke(e.header),1)])],2)):ae("v-if",!0),j("div",{class:N([i(n).e("body"),e.bodyClass]),style:We(e.bodyStyle)},[ne(a.$slots,"default")],6),a.$slots.footer||e.footer?(x(),F("div",{key:1,class:N([i(n).e("footer"),e.footerClass])},[ne(a.$slots,"footer",{},()=>[bt(ke(e.footer),1)])],2)):ae("v-if",!0)],2)}}}),_D=AD;const LD=lt(_D),DD=Se({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),BD={change:(e,t)=>[e,t].every(Ke)},tS=Symbol("carouselContextKey"),wi="ElCarouselItem",VD=Se({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Ly=300,FD=(e,t,n)=>{const{children:a,addChild:o,removeChild:l,ChildrenSorter:s}=hd(ct(),wi),r=cn(),u=_(-1),c=_(null),d=_(!1),f=_(),h=_(0),g=_(!0),p=S(()=>e.arrow!=="never"&&!i(y)),v=S(()=>a.value.some(J=>J.props.label.toString().length>0)),m=S(()=>e.type==="card"),y=S(()=>e.direction==="vertical"),b=S(()=>e.height!=="auto"?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"}),C=gl(J=>{M(J)},Ly,{trailing:!0}),w=gl(J=>{P(J)},Ly),k=J=>g.value?u.value<=1?J<=1:J>1:!0;function E(){c.value&&(clearInterval(c.value),c.value=null)}function $(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>O(),e.interval))}const O=()=>{u.valuere.props.name===J);he.length>0&&(J=a.value.indexOf(he[0]))}if(J=Number(J),Number.isNaN(J)||J!==Math.floor(J)){dt(n,"index must be integer.");return}const fe=a.value.length,ue=u.value;J<0?u.value=e.loop?fe-1:0:J>=fe?u.value=e.loop?0:fe-1:u.value=J,ue===u.value&&T(ue),D()}function T(J){a.value.forEach((fe,ue)=>{fe.translateItem(ue,u.value,J)})}function A(J,fe){var ge,ye,Ne,_e;const ue=i(a),he=ue.length;if(he===0||!J.states.inStage)return!1;const re=fe+1,te=fe-1,ee=he-1,H=ue[ee].states.active,Z=ue[0].states.active,se=(ye=(ge=ue[re])==null?void 0:ge.states)==null?void 0:ye.active,pe=(_e=(Ne=ue[te])==null?void 0:Ne.states)==null?void 0:_e.active;return fe===ee&&Z||se?"left":fe===0&&H||pe?"right":!1}function R(){d.value=!0,e.pauseOnHover&&E()}function B(){d.value=!1,$()}function K(J){i(y)||a.value.forEach((fe,ue)=>{J===A(fe,ue)&&(fe.states.hover=!0)})}function Y(){i(y)||a.value.forEach(J=>{J.states.hover=!1})}function z(J){u.value=J}function P(J){e.trigger==="hover"&&J!==u.value&&(u.value=J)}function I(){M(u.value-1)}function L(){M(u.value+1)}function D(){E(),(!e.pauseOnHover||!d.value)&&$()}function V(J){e.height==="auto"&&(h.value=J)}function U(){var ue;const J=(ue=r.default)==null?void 0:ue.call(r);if(!J)return null;const fe=ma(J).filter(he=>Ht(he)&&he.type.name===wi);return(fe==null?void 0:fe.length)===2&&e.loop&&!m.value?(g.value=!0,fe):(g.value=!1,null)}ie(()=>u.value,(J,fe)=>{T(fe),g.value&&(J=J%2,fe=fe%2),fe>-1&&t(ht,J,fe)});const W=S({get:()=>g.value?u.value%2:u.value,set:J=>u.value=J});ie(()=>e.autoplay,J=>{J?$():E()}),ie(()=>e.loop,()=>{M(u.value)}),ie(()=>e.interval,()=>{D()});const X=jt();return ft(()=>{ie(()=>a.value,()=>{a.value.length>0&&M(e.initialIndex)},{immediate:!0}),X.value=Gt(f.value,()=>{T()}),$()}),Rt(()=>{E(),f.value&&X.value&&X.value.stop()}),wt(tS,{root:f,isCardType:m,isVertical:y,items:a,loop:e.loop,cardScale:e.cardScale,addItem:o,removeItem:l,setActiveItem:M,setContainerHeight:V}),{root:f,activeIndex:u,exposeActiveIndex:W,arrowDisplay:p,hasLabel:v,hover:d,isCardType:m,items:a,isVertical:y,containerStyle:b,isItemsTwoLength:g,handleButtonEnter:K,handleButtonLeave:Y,handleIndicatorClick:z,handleMouseEnter:R,handleMouseLeave:B,setActiveItem:M,prev:I,next:L,PlaceholderItem:U,isTwoLengthShow:k,ItemsSorter:s,throttledArrowClick:C,throttledIndicatorHover:w}},zD=["aria-label"],HD=["aria-label"],KD=["onMouseenter","onClick"],WD=["aria-label"],jD={key:0},YD={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},Dy="ElCarousel";var UD=le({name:Dy,__name:"carousel",props:DD,emits:BD,setup(e,{expose:t,emit:n}){const a=e,{root:o,activeIndex:l,exposeActiveIndex:s,arrowDisplay:r,hasLabel:u,hover:c,isCardType:d,items:f,isVertical:h,containerStyle:g,handleButtonEnter:p,handleButtonLeave:v,handleIndicatorClick:m,handleMouseEnter:y,handleMouseLeave:b,setActiveItem:C,prev:w,next:k,PlaceholderItem:E,isTwoLengthShow:$,ItemsSorter:O,throttledArrowClick:M,throttledIndicatorHover:T}=FD(a,n,Dy),A=ve("carousel"),{t:R}=St(),B=S(()=>{const P=[A.b(),A.m(a.direction)];return i(d)&&P.push(A.m("card")),P.push(A.is("vertical-outside",i(h)&&a.indicatorPosition==="outside")),P}),K=S(()=>{const P=[A.e("indicators"),A.em("indicators",a.direction)];return i(u)&&P.push(A.em("indicators","labels")),a.indicatorPosition==="outside"&&P.push(A.em("indicators","outside")),i(h)&&P.push(A.em("indicators","right")),P});function Y(P){if(!a.motionBlur)return;const I=i(h)?`${A.namespace.value}-transitioning-vertical`:`${A.namespace.value}-transitioning`;P.currentTarget.classList.add(I)}function z(P){if(!a.motionBlur)return;const I=i(h)?`${A.namespace.value}-transitioning-vertical`:`${A.namespace.value}-transitioning`;P.currentTarget.classList.remove(I)}return t({activeIndex:s,setActiveItem:C,prev:w,next:k}),(P,I)=>(x(),F("div",{ref_key:"root",ref:o,class:N(B.value),onMouseenter:I[6]||(I[6]=Ze((...L)=>i(y)&&i(y)(...L),["stop"])),onMouseleave:I[7]||(I[7]=Ze((...L)=>i(b)&&i(b)(...L),["stop"]))},[i(r)?(x(),oe(An,{key:0,name:"carousel-arrow-left",persisted:""},{default:Q(()=>[it(j("button",{type:"button",class:N([i(A).e("arrow"),i(A).em("arrow","left")]),"aria-label":i(R)("el.carousel.leftArrow"),onMouseenter:I[0]||(I[0]=L=>i(p)("left")),onMouseleave:I[1]||(I[1]=(...L)=>i(v)&&i(v)(...L)),onClick:I[2]||(I[2]=Ze(L=>i(M)(i(l)-1),["stop"]))},[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1})],42,zD),[[Ot,(e.arrow==="always"||i(c))&&(e.loop||i(l)>0)]])]),_:1})):ae("v-if",!0),i(r)?(x(),oe(An,{key:1,name:"carousel-arrow-right",persisted:""},{default:Q(()=>[it(j("button",{type:"button",class:N([i(A).e("arrow"),i(A).em("arrow","right")]),"aria-label":i(R)("el.carousel.rightArrow"),onMouseenter:I[3]||(I[3]=L=>i(p)("right")),onMouseleave:I[4]||(I[4]=(...L)=>i(v)&&i(v)(...L)),onClick:I[5]||(I[5]=Ze(L=>i(M)(i(l)+1),["stop"]))},[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})],42,HD),[[Ot,(e.arrow==="always"||i(c))&&(e.loop||i(l)[e.indicatorPosition!=="none"?(x(),F("ul",{key:0,class:N(K.value)},[(x(!0),F(He,null,yt(i(f),(L,D)=>it((x(),F("li",{key:D,class:N([i(A).e("indicator"),i(A).em("indicator",e.direction),i(A).is("active",D===i(l))]),onMouseenter:V=>i(T)(D),onClick:Ze(V=>i(m)(D),["stop"])},[j("button",{class:N(i(A).e("button")),"aria-label":i(R)("el.carousel.indicator",{index:D+1})},[i(u)?(x(),F("span",jD,ke(L.props.label),1)):ae("v-if",!0)],10,WD)],42,KD)),[[Ot,i($)(D)]])),128))],2)):ae("v-if",!0)]),_:1}),e.motionBlur?(x(),F("svg",YD,[...I[8]||(I[8]=[j("defs",null,[j("filter",{id:"elCarouselHorizontal"},[j("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),j("filter",{id:"elCarouselVertical"},[j("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):ae("v-if",!0)],34))}}),qD=UD;const GD=e=>{const t=Le(tS),n=ct();t||dt(wi,"usage: "),n||dt(wi,"compositional hook can only be invoked inside setups");const a=_(),o=_(!1),l=_(0),s=_(1),r=_(!1),u=_(!1),c=_(!1),d=_(!1),{isCardType:f,isVertical:h,cardScale:g}=t;function p(w,k,E){const $=E-1,O=k-1,M=k+1,T=E/2;return k===0&&w===$?-1:k===$&&w===0?E:w=T?E+1:w>M&&w-k>=T?-2:w}function v(w,k){var $,O;const E=i(h)?(($=t.root.value)==null?void 0:$.offsetHeight)||0:((O=t.root.value)==null?void 0:O.offsetWidth)||0;return c.value?E*((2-g)*(w-k)+1)/4:w{const $=i(f),O=t.items.value.length??NaN,M=w===k;!$&&!kt(E)&&(d.value=M||w===E),!M&&O>2&&t.loop&&(w=p(w,k,O));const T=i(h);r.value=M,$?(c.value=Math.round(Math.abs(w-k))<=1,l.value=v(w,k),s.value=i(r)?1:g):l.value=m(w,k,T),u.value=!0,M&&a.value&&t.setContainerHeight(a.value.offsetHeight)};function b(){if(t&&i(f)){const w=t.items.value.findIndex(({uid:k})=>k===n.uid);t.setActiveItem(w)}}const C={props:e,states:It({hover:o,translate:l,scale:s,active:r,ready:u,inStage:c,animating:d}),uid:n.uid,getVnode:()=>n.vnode,translateItem:y};return t.addItem(C),Rt(()=>{t.removeItem(C)}),{carouselItemRef:a,active:r,animating:d,hover:o,inStage:c,isVertical:h,translate:l,isCardType:f,scale:s,ready:u,handleItemClick:b}};var XD=le({name:wi,__name:"carousel-item",props:VD,setup(e){const t=e,n=ve("carousel"),{carouselItemRef:a,active:o,animating:l,hover:s,inStage:r,isVertical:u,translate:c,isCardType:d,scale:f,ready:h,handleItemClick:g}=GD(t),p=S(()=>[n.e("item"),n.is("active",o.value),n.is("in-stage",r.value),n.is("hover",s.value),n.is("animating",l.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&u.value}]),v=S(()=>({transform:[`${`translate${i(u)?"Y":"X"}`}(${i(c)}px)`,`scale(${i(f)})`].join(" ")}));return(m,y)=>it((x(),F("div",{ref_key:"carouselItemRef",ref:a,class:N(p.value),style:We(v.value),onClick:y[0]||(y[0]=(...b)=>i(g)&&i(g)(...b))},[i(d)?it((x(),F("div",{key:0,class:N(i(n).e("mask"))},null,2)),[[Ot,!i(o)]]):ae("v-if",!0),ne(m.$slots,"default")],6)),[[Ot,i(h)]])}}),nS=XD;const ZD=lt(qD,{CarouselItem:nS}),JD=Zt(nS),aS=Se({modelValue:{type:G([Number,String,Array,Object])},options:{type:G(Array),default:()=>[]},props:{type:G(Object),default:()=>({})}}),QD={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:Pt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},e6=Se({...aS,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),By=e=>!0,t6={[tt]:By,[ht]:By,close:()=>!0,"expand-change":e=>e},n6=e=>S(()=>({...QD,...e.props})),oS={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:wn,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...Zn(["ariaControls"])},lS={[tt]:e=>De(e)||Ke(e)||Dt(e),change:e=>De(e)||Ke(e)||Dt(e)},br=Symbol("checkboxGroupContextKey"),a6=Se({modelValue:{type:G(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:wn,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:G(Array)},props:{type:G(Object),default:()=>sS},type:{type:String,values:["checkbox","button"],default:"checkbox"},...Zn(["ariaLabel"])}),o6={[tt]:e=>be(e),change:e=>be(e)},sS={label:"label",value:"value",disabled:"disabled"},l6=({model:e,isChecked:t})=>{const n=Le(br,void 0),a=Le(ys,void 0),o=S(()=>{var r,u;const l=(r=n==null?void 0:n.max)==null?void 0:r.value,s=(u=n==null?void 0:n.min)==null?void 0:u.value;return!kt(l)&&e.value.length>=l&&!t.value||!kt(s)&&e.value.length<=s&&t.value});return{isDisabled:nn(S(()=>{var l;return n===void 0?(a==null?void 0:a.disabled)??o.value:((l=n.disabled)==null?void 0:l.value)||o.value})),isLimitDisabled:o}},s6=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:o,isLabeledByFormItem:l})=>{const s=Le(br,void 0),{formItem:r}=In(),{emit:u}=ct();function c(p){return[!0,e.trueValue,e.trueLabel].includes(p)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(p,v){u(ht,c(p),v)}function f(p){if(n.value)return;const v=p.target;u(ht,c(v.checked),p)}async function h(p){n.value||!a.value&&!o.value&&l.value&&(p.composedPath().some(v=>v.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Ae(),d(t.value,p)))}const g=S(()=>(s==null?void 0:s.validateEvent)||e.validateEvent);return ie(()=>e.modelValue,()=>{g.value&&(r==null||r.validate("change").catch(p=>dt(p)))}),{handleChange:f,onClickRoot:h}},r6=e=>{const t=_(!1),{emit:n}=ct(),a=Le(br,void 0),o=S(()=>kt(a)===!1),l=_(!1),s=S({get(){var r;return o.value?(r=a==null?void 0:a.modelValue)==null?void 0:r.value:e.modelValue??t.value},set(r){var u,c;o.value&&be(r)?(l.value=((u=a==null?void 0:a.max)==null?void 0:u.value)!==void 0&&r.length>(a==null?void 0:a.max.value)&&r.length>s.value.length,l.value===!1&&((c=a==null?void 0:a.changeEvent)==null||c.call(a,r))):(n(tt,r),t.value=r)}});return{model:s,isGroup:o,isLimitExceeded:l}},i6=(e,t,{model:n})=>{const a=Le(br,void 0),o=_(!1),l=S(()=>ia(e.value)?e.label:e.value),s=S(()=>{const r=n.value;return Dt(r)?r:be(r)?nt(l.value)?r.map(Kt).some(u=>Qt(u,l.value)):r.map(Kt).includes(l.value):r!=null?r===e.trueValue||r===e.trueLabel:!!r});return{checkboxButtonSize:yn(S(()=>{var r;return(r=a==null?void 0:a.size)==null?void 0:r.value}),{prop:!0}),isChecked:s,isFocused:o,checkboxSize:yn(S(()=>{var r;return(r=a==null?void 0:a.size)==null?void 0:r.value})),hasOwnLabel:S(()=>!!t.default||!ia(l.value)),actualValue:l}},rS=(e,t)=>{const{formItem:n}=In(),{model:a,isGroup:o,isLimitExceeded:l}=r6(e),{isFocused:s,isChecked:r,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=i6(e,t,{model:a}),{isDisabled:h}=l6({model:a,isChecked:r}),{inputId:g,isLabeledByFormItem:p}=Ca(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:v,onClickRoot:m}=s6(e,{model:a,isLimitExceeded:l,hasOwnLabel:d,isDisabled:h,isLabeledByFormItem:p});return(()=>{function b(){be(a.value)&&!a.value.includes(f.value)?a.value.push(f.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&b()})(),co({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>o.value&&ia(e.value))),co({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.trueLabel)),co({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.falseLabel)),{inputId:g,isLabeledByFormItem:p,isChecked:r,isDisabled:h,isFocused:s,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:a,actualValue:f,handleChange:v,onClickRoot:m}},u6=["id","indeterminate","name","tabindex","disabled"];var c6=le({name:"ElCheckbox",__name:"checkbox",props:oS,emits:lS,setup(e){const t=e,{inputId:n,isLabeledByFormItem:a,isChecked:o,isDisabled:l,isFocused:s,checkboxSize:r,hasOwnLabel:u,model:c,actualValue:d,handleChange:f,onClickRoot:h}=rS(t,cn()),g=S(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:d.value}),p=ve("checkbox"),v=S(()=>[p.b(),p.m(r.value),p.is("disabled",l.value),p.is("bordered",t.border),p.is("checked",o.value)]),m=S(()=>[p.e("input"),p.is("disabled",l.value),p.is("checked",o.value),p.is("indeterminate",t.indeterminate),p.is("focus",s.value)]);return(y,b)=>(x(),oe(st(!i(u)&&i(a)?"span":"label"),{for:!i(u)&&i(a)?null:i(n),class:N(v.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:i(h)},{default:Q(()=>[j("span",{class:N(m.value)},[it(j("input",ut({id:i(n),"onUpdate:modelValue":b[0]||(b[0]=C=>Yt(c)?c.value=C:null),class:i(p).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:i(l)},g.value,{onChange:b[1]||(b[1]=(...C)=>i(f)&&i(f)(...C)),onFocus:b[2]||(b[2]=C=>s.value=!0),onBlur:b[3]||(b[3]=C=>s.value=!1),onClick:b[4]||(b[4]=Ze(()=>{},["stop"]))}),null,16,u6),[[rw,i(c)]]),j("span",{class:N(i(p).e("inner"))},null,2)],2),i(u)?(x(),F("span",{key:0,class:N(i(p).e("label"))},[ne(y.$slots,"default"),y.$slots.default?ae("v-if",!0):(x(),F(He,{key:0},[bt(ke(e.label),1)],64))],2)):ae("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),iS=c6;const d6=["name","tabindex","disabled"];var f6=le({name:"ElCheckboxButton",__name:"checkbox-button",props:oS,emits:lS,setup(e){const t=e,{isFocused:n,isChecked:a,isDisabled:o,checkboxButtonSize:l,model:s,actualValue:r,handleChange:u}=rS(t,cn()),c=S(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:r.value}),d=Le(br,void 0),f=ve("checkbox"),h=S(()=>{var v,m;const p=((v=d==null?void 0:d.fill)==null?void 0:v.value)??"";return{backgroundColor:p,borderColor:p,color:((m=d==null?void 0:d.textColor)==null?void 0:m.value)??"",boxShadow:p?`-1px 0 0 0 ${p}`:void 0}}),g=S(()=>[f.b("button"),f.bm("button",l.value),f.is("disabled",o.value),f.is("checked",a.value),f.is("focus",n.value)]);return(p,v)=>(x(),F("label",{class:N(g.value)},[it(j("input",ut({"onUpdate:modelValue":v[0]||(v[0]=m=>Yt(s)?s.value=m:null),class:i(f).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:i(o)},c.value,{onChange:v[1]||(v[1]=(...m)=>i(u)&&i(u)(...m)),onFocus:v[2]||(v[2]=m=>n.value=!0),onBlur:v[3]||(v[3]=m=>n.value=!1),onClick:v[4]||(v[4]=Ze(()=>{},["stop"]))}),null,16,d6),[[rw,i(s)]]),p.$slots.default||e.label?(x(),F("span",{key:0,class:N(i(f).be("button","inner")),style:We(i(a)?h.value:void 0)},[ne(p.$slots,"default",{},()=>[bt(ke(e.label),1)])],6)):ae("v-if",!0)],2))}}),fh=f6,p6=le({name:"ElCheckboxGroup",__name:"checkbox-group",props:a6,emits:o6,setup(e,{emit:t}){const n=e,a=t,o=ve("checkbox"),l=nn(),{formItem:s}=In(),{inputId:r,isLabeledByFormItem:u}=Ca(n,{formItemContext:s}),c=async p=>{a(tt,p),await Ae(),a(ht,p)},d=S({get(){return n.modelValue},set(p){c(p)}}),f=S(()=>({...sS,...n.props})),h=p=>{const{label:v,value:m,disabled:y}=f.value,b={label:p[v],value:p[m],disabled:p[y]};return{...Vi(p,[v,m,y]),...b}},g=S(()=>n.type==="button"?fh:iS);return wt(br,{...jo($n(n),["size","min","max","validateEvent","fill","textColor"]),disabled:l,modelValue:d,changeEvent:c}),ie(()=>n.modelValue,(p,v)=>{n.validateEvent&&!Qt(p,v)&&(s==null||s.validate("change").catch(m=>dt(m)))}),(p,v)=>{var m;return x(),oe(st(e.tag),{id:i(r),class:N(i(o).b("group")),role:"group","aria-label":i(u)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":i(u)?(m=i(s))==null?void 0:m.labelId:void 0},{default:Q(()=>[ne(p.$slots,"default",{},()=>[(x(!0),F(He,null,yt(e.options,(y,b)=>(x(),oe(st(g.value),ut({key:b},{ref_for:!0},h(y)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),uS=p6;const Ya=lt(iS,{CheckboxButton:fh,CheckboxGroup:uS}),v6=Zt(fh),ph=Zt(uS),cS=Se({modelValue:{type:[String,Number,Boolean],default:void 0},size:wn,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),h6=Se({...cS,border:Boolean}),dS={[tt]:e=>De(e)||Ke(e)||Dt(e),[ht]:e=>De(e)||Ke(e)||Dt(e)},fS=Symbol("radioGroupKey"),m6=Se({...cS}),pS={label:"label",value:"value",disabled:"disabled"},g6=Se({id:{type:String,default:void 0},size:wn,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:G(Array)},props:{type:G(Object),default:()=>pS},type:{type:String,values:["radio","button"],default:"radio"},...Zn(["ariaLabel"])}),y6=dS,vS=(e,t)=>{const n=_(),a=Le(fS,void 0),o=S(()=>!!a),l=S(()=>ia(e.value)?e.label:e.value),s=S({get(){return o.value?a.modelValue:e.modelValue},set(f){o.value?a.changeEvent(f):t&&t(tt,f),n.value.checked=e.modelValue===l.value}}),r=yn(S(()=>a==null?void 0:a.size)),u=nn(S(()=>a==null?void 0:a.disabled)),c=_(!1),d=S(()=>u.value||o.value&&s.value!==l.value?-1:0);return co({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},S(()=>o.value&&ia(e.value))),{radioRef:n,isGroup:o,radioGroup:a,focus:c,size:r,disabled:u,tabIndex:d,modelValue:s,actualValue:l}},b6=["value","name","disabled","checked"];var w6=le({name:"ElRadio",__name:"radio",props:h6,emits:dS,setup(e,{emit:t}){const n=e,a=t,o=ve("radio"),{radioRef:l,radioGroup:s,focus:r,size:u,disabled:c,modelValue:d,actualValue:f}=vS(n,a);function h(){Ae(()=>a(ht,d.value))}return(g,p)=>{var v;return x(),F("label",{class:N([i(o).b(),i(o).is("disabled",i(c)),i(o).is("focus",i(r)),i(o).is("bordered",e.border),i(o).is("checked",i(d)===i(f)),i(o).m(i(u))])},[j("span",{class:N([i(o).e("input"),i(o).is("disabled",i(c)),i(o).is("checked",i(d)===i(f))])},[it(j("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":p[0]||(p[0]=m=>Yt(d)?d.value=m:null),class:N(i(o).e("original")),value:i(f),name:e.name||((v=i(s))==null?void 0:v.name),disabled:i(c),checked:i(d)===i(f),type:"radio",onFocus:p[1]||(p[1]=m=>r.value=!0),onBlur:p[2]||(p[2]=m=>r.value=!1),onChange:h,onClick:p[3]||(p[3]=Ze(()=>{},["stop"]))},null,42,b6),[[iw,i(d)]]),j("span",{class:N(i(o).e("inner"))},null,2)],2),j("span",{class:N(i(o).e("label")),onKeydown:p[4]||(p[4]=Ze(()=>{},["stop"]))},[ne(g.$slots,"default",{},()=>[bt(ke(e.label),1)])],34)],2)}}}),hS=w6;const C6=["value","name","disabled"];var S6=le({name:"ElRadioButton",__name:"radio-button",props:m6,setup(e){const t=e,n=ve("radio"),{radioRef:a,focus:o,size:l,disabled:s,modelValue:r,radioGroup:u,actualValue:c}=vS(t),d=S(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return(f,h)=>{var g;return x(),F("label",{class:N([i(n).b("button"),i(n).is("active",i(r)===i(c)),i(n).is("disabled",i(s)),i(n).is("focus",i(o)),i(n).bm("button",i(l))])},[it(j("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=p=>Yt(r)?r.value=p:null),class:N(i(n).be("button","original-radio")),value:i(c),type:"radio",name:e.name||((g=i(u))==null?void 0:g.name),disabled:i(s),onFocus:h[1]||(h[1]=p=>o.value=!0),onBlur:h[2]||(h[2]=p=>o.value=!1),onClick:h[3]||(h[3]=Ze(()=>{},["stop"]))},null,42,C6),[[iw,i(r)]]),j("span",{class:N(i(n).be("button","inner")),style:We(i(r)===i(c)?d.value:{}),onKeydown:h[4]||(h[4]=Ze(()=>{},["stop"]))},[ne(f.$slots,"default",{},()=>[bt(ke(e.label),1)])],38)],2)}}}),vh=S6;const k6=["id","aria-label","aria-labelledby"];var E6=le({name:"ElRadioGroup",__name:"radio-group",props:g6,emits:y6,setup(e,{emit:t}){const n=e,a=t,o=ve("radio"),l=_n(),s=_(),{formItem:r}=In(),{inputId:u,isLabeledByFormItem:c}=Ca(n,{formItemContext:r}),d=v=>{a(tt,v),Ae(()=>a(ht,v))};ft(()=>{const v=s.value.querySelectorAll("[type=radio]"),m=v[0];!Array.from(v).some(y=>y.checked)&&m&&(m.tabIndex=0)});const f=S(()=>n.name||l.value),h=S(()=>({...pS,...n.props})),g=v=>{const{label:m,value:y,disabled:b}=h.value,C={label:v[m],value:v[y],disabled:v[b]};return{...Vi(v,[m,y,b]),...C}},p=S(()=>n.type==="button"?vh:hS);return wt(fS,It({...$n(n),changeEvent:d,name:f})),ie(()=>n.modelValue,(v,m)=>{n.validateEvent&&!Qt(v,m)&&(r==null||r.validate("change").catch(y=>dt(y)))}),(v,m)=>(x(),F("div",{id:i(u),ref_key:"radioGroupRef",ref:s,class:N(i(o).b("group")),role:"radiogroup","aria-label":i(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":i(c)?i(r).labelId:void 0},[ne(v.$slots,"default",{},()=>[(x(!0),F(He,null,yt(e.options,(y,b)=>(x(),oe(st(p.value),ut({key:b},{ref_for:!0},g(y)),null,16))),128))])],10,k6))}}),mS=E6;const gS=lt(hS,{RadioButton:vh,RadioGroup:mS}),x6=Zt(mS),T6=Zt(vh),Cd=Symbol();function $6(e){return!!(be(e)?e.every(({type:t})=>t===fn):(e==null?void 0:e.type)===fn)}var O6=le({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=ve("cascader-node"),{renderLabelFn:n}=Le(Cd),{node:a}=e,{data:o,label:l}=a,s=()=>{const r=n==null?void 0:n({node:a,data:o});return $6(r)?l:r??l};return()=>q("span",{class:t.e("label")},[s()])}});const N6=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var M6=le({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,a=t,o=Le(Cd),l=ve("cascader-node"),s=S(()=>o.isHoverMenu),r=S(()=>o.config.multiple),u=S(()=>o.config.checkStrictly),c=S(()=>o.config.showPrefix),d=S(()=>{var M;return(M=o.checkedNodes[0])==null?void 0:M.uid}),f=S(()=>n.node.isDisabled),h=S(()=>n.node.isLeaf),g=S(()=>u.value&&!h.value||!f.value),p=S(()=>m(o.expandingNode)),v=S(()=>u.value&&o.checkedNodes.some(m)),m=M=>{var R;const{level:T,uid:A}=n.node;return((R=M==null?void 0:M.pathNodes[T-1])==null?void 0:R.uid)===A},y=()=>{p.value||o.expandNode(n.node)},b=M=>{const{node:T}=n;M!==T.checked&&o.handleCheckChange(T,M)},C=()=>{o.lazyLoad(n.node,()=>{h.value||y()})},w=M=>{s.value&&(k(),!h.value&&a("expand",M))},k=()=>{const{node:M}=n;!g.value||M.loading||(M.loaded?y():C())},E=()=>{h.value&&!f.value&&!u.value&&!r.value?O(!0):(o.config.checkOnClickNode&&(r.value||u.value)||h.value&&o.config.checkOnClickLeaf)&&!f.value?$(!n.node.checked):s.value||k()},$=M=>{u.value?(b(M),n.node.loaded&&y()):O(M)},O=M=>{n.node.loaded?(b(M),!u.value&&y()):C()};return(M,T)=>(x(),F("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!h.value,"aria-owns":h.value?void 0:e.menuId,"aria-expanded":p.value,tabindex:g.value?-1:void 0,class:N([i(l).b(),i(l).is("selectable",u.value),i(l).is("active",e.node.checked),i(l).is("disabled",!g.value),p.value&&"in-active-path",v.value&&"in-checked-path"]),onMouseenter:w,onFocus:w,onClick:E},[ae(" prefix "),r.value&&c.value?(x(),oe(i(Ya),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:f.value,onClick:T[0]||(T[0]=Ze(()=>{},["stop"])),"onUpdate:modelValue":$},null,8,["model-value","indeterminate","disabled"])):u.value&&c.value?(x(),oe(i(gS),{key:1,"model-value":d.value,label:e.node.uid,disabled:f.value,"onUpdate:modelValue":$,onClick:T[1]||(T[1]=Ze(()=>{},["stop"]))},{default:Q(()=>[ae(`
+        Add an empty element to avoid render label,
+        do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
+      `),T[2]||(T[2]=j("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):h.value&&e.node.checked?(x(),oe(i(Be),{key:2,class:N(i(l).e("prefix"))},{default:Q(()=>[q(i(Qi))]),_:1},8,["class"])):ae("v-if",!0),ae(" content "),q(i(O6),{node:e.node},null,8,["node"]),ae(" postfix "),h.value?ae("v-if",!0):(x(),F(He,{key:3},[e.node.loading?(x(),oe(i(Be),{key:0,class:N([i(l).is("loading"),i(l).e("postfix")])},{default:Q(()=>[q(i(wo))]),_:1},8,["class"])):(x(),oe(i(Be),{key:1,class:N(["arrow-right",i(l).e("postfix")])},{default:Q(()=>[q(i(Xn))]),_:1},8,["class"]))],64))],42,N6))}}),I6=M6,P6=le({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=ct(),a=ve("cascader-menu"),{t:o}=St(),l=_n();let s,r;const u=Le(Cd),c=_(),d=S(()=>!t.nodes.length),f=S(()=>!u.initialLoaded),h=S(()=>`${l.value}-${t.index}`),g=y=>{s=y.target},p=y=>{var b;if(!(!u.isHoverMenu||!s||!c.value))if(s.contains(y.target)){v();const C=n.vnode.el,{left:w}=C.getBoundingClientRect(),{offsetWidth:k,offsetHeight:E}=C,$=y.clientX-w,O=s.offsetTop,M=O+s.offsetHeight,T=((b=C.querySelector(`.${a.e("wrap")}`))==null?void 0:b.scrollTop)||0;c.value.innerHTML=`
+          
+          
+        `}else r||(r=window.setTimeout(m,u.config.hoverThreshold))},v=()=>{r&&(clearTimeout(r),r=void 0)},m=()=>{c.value&&(c.value.innerHTML="",v())};return(y,b)=>(x(),oe(i(Wa),{key:h.value,tag:"ul",role:"menu",class:N(i(a).b()),"wrap-class":i(a).e("wrap"),"view-class":[i(a).e("list"),i(a).is("empty",d.value)],onMousemove:p,onMouseleave:m},{default:Q(()=>{var C;return[(x(!0),F(He,null,yt(e.nodes,w=>(x(),oe(I6,{key:w.uid,node:w,"menu-id":h.value,onExpand:g},null,8,["node","menu-id"]))),128)),f.value?(x(),F("div",{key:0,class:N(i(a).e("empty-text"))},[q(i(Be),{size:"14",class:N(i(a).is("loading"))},{default:Q(()=>[q(i(wo))]),_:1},8,["class"]),bt(" "+ke(i(o)("el.cascader.loading")),1)],2)):d.value?(x(),F("div",{key:1,class:N(i(a).e("empty-text"))},[ne(y.$slots,"empty",{},()=>[bt(ke(i(o)("el.cascader.noData")),1)])],2)):(C=i(u))!=null&&C.isHoverMenu?(x(),F(He,{key:2},[ae(" eslint-disable vue/html-self-closing "),(x(),F("svg",{ref_key:"hoverZone",ref:c,class:N(i(a).e("hover-zone"))},null,2))],2112)):ae("v-if",!0),ae(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}),R6=P6;let A6=0;const _6=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var mp=class gp{constructor(t,n,a,o=!1){this.data=t,this.config=n,this.parent=a,this.root=o,this.uid=A6++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:l,label:s,children:r}=n,u=t[r],c=_6(this);this.level=o?0:a?a.level+1:1,this.value=t[l],this.label=t[s],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=u,this.children=(u||[]).map(d=>new gp(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!ta(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:o,checkStrictly:l}=a;return(ze(o)?o(t,this):!!t[o])||!l&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:o}=this,{lazy:l,leaf:s}=n,r=ze(s)?s(t,this):t[s];return kt(r)?l&&!o?!1:!(be(a)&&a.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,o=new gp(t,this.config,this);return be(n)?n.push(t):this.childrenData=[t],a.push(o),o}calcText(t,n){const a=t?this.pathLabels.join(n):this.label;return this.text=a,a}broadcast(t){this.children.forEach(n=>{var a;n&&(n.broadcast(t),(a=n.onParentCheck)==null||a.call(n,t))})}emit(){var n;const{parent:t}=this;t&&((n=t.onChildCheck)==null||n.call(t),t.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(o=>!o.isDisabled),a=n.length?n.every(o=>o.checked):!1;this.setCheckState(a)}setCheckState(t){const n=this.children.length,a=this.children.reduce((o,l)=>o+(l.checked?1:l.indeterminate?.5:0),0);this.checked=this.loaded&&this.children.filter(o=>!o.isDisabled).every(o=>o.loaded&&o.checked)&&t,this.indeterminate=this.loaded&&a!==n&&a>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:a}=this.config;n||!a?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const yp=(e,t)=>e.reduce((n,a)=>(a.isLeaf?n.push(a):(!t&&n.push(a),n=n.concat(yp(a.children,t))),n),[]);var Vy=class{constructor(e,t){this.config=t;const n=(e||[]).map(a=>new mp(a,this.config));this.nodes=n,this.allNodes=yp(n,!1),this.leafNodes=yp(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new mp(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.length>0?e.forEach(n=>this.appendNode(n,t)):t&&t.isLeaf&&this.leafNodes.push(t)}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.children.forEach(t=>{this.appendAllNodesAndLeafNodes(t)})}getNodeByValue(e,t=!1){return ia(e)?null:this.getFlattedNodes(t).find(n=>Qt(n.value,e)||Qt(n.pathValues,e))||null}getSameNode(e){return e&&this.getFlattedNodes(!1).find(({value:t,level:n})=>Qt(e.value,t)&&e.level===n)||null}};const Fy=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},L6=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():i1(e)&&e.click()},D6=(e,t)=>{const n=t.slice(0),a=n.map(l=>l.uid),o=e.reduce((l,s)=>{const r=a.indexOf(s.uid);return r>-1&&(l.push(s),n.splice(r,1),a.splice(r,1)),l},[]);return o.push(...n),o};var B6=le({name:"ElCascaderPanel",__name:"index",props:e6,emits:t6,setup(e,{expose:t,emit:n}){const a=e,o=n;let l=!1;const s=ve("cascader"),r=n6(a),u=cn();let c;const d=_(!0),f=_(!1),h=_([]),g=_(),p=_([]),v=_(),m=_([]),y=S(()=>r.value.expandTrigger==="hover"),b=S(()=>a.renderLabel||u.default),C=()=>{const{options:P}=a,I=r.value;l=!1,c=new Vy(P,I),p.value=[c.getNodes()],I.lazy&&ta(a.options)?(d.value=!1,w(void 0,L=>{L&&(c=new Vy(L,I),p.value=[c.getNodes()]),d.value=!0,R(!1,!0)})):R(!1,!0)},w=(P,I)=>{const L=r.value;P=P||new mp({},L,void 0,!0),P.loading=!0;const D=U=>{const W=P,X=W.root?null:W;W.loading=!1,W.loaded=!0,W.childrenData=W.childrenData||[],U&&(c==null||c.appendNodes(U,X)),U&&(I==null||I(U)),P.level===0&&(f.value=!0)},V=()=>{P.loading=!1,P.loaded=!1,P.level===0&&(d.value=!0)};L.lazyLoad(P,D,V)},k=(P,I)=>{var U;const{level:L}=P,D=p.value.slice(0,L);let V;P.isLeaf?V=P.pathNodes[L-2]:(V=P,D.push(P.children)),((U=v.value)==null?void 0:U.uid)!==(V==null?void 0:V.uid)&&(v.value=P,p.value=D,!I&&o("expand-change",(P==null?void 0:P.pathValues)||[]))},E=(P,I,L=!0)=>{const{checkStrictly:D,multiple:V}=r.value,U=m.value[0];l=!0,!V&&(U==null||U.doCheck(!1)),P.doCheck(I),A(),L&&!V&&!D&&o("close"),!L&&!V&&$(P)},$=P=>{P&&(P=P.parent,$(P),P&&k(P))},O=P=>c==null?void 0:c.getFlattedNodes(P),M=P=>{var I;return(I=O(P))==null?void 0:I.filter(({checked:L})=>L!==!1)},T=()=>{m.value.forEach(P=>P.doCheck(!1)),A(),p.value=p.value.slice(0,1),v.value=void 0,o("expand-change",[])},A=()=>{const{checkStrictly:P,multiple:I}=r.value,L=m.value,D=D6(L,M(!P)),V=D.map(U=>U.valueByOption);m.value=D,g.value=I?V:V[0]??null},R=(P=!1,I=!1)=>{const{modelValue:L}=a,{lazy:D,multiple:V,checkStrictly:U}=r.value,W=!U;if(!(!d.value||l||!I&&Qt(L,g.value)))if(D&&!P){const X=Zg(mI(Un(L))).map(J=>c==null?void 0:c.getNodeByValue(J)).filter(J=>!!J&&!J.loaded&&!J.loading);X.length?X.forEach(J=>{w(J,()=>R(!1,I))}):R(!0,I)}else B(Zg((V?Un(L):[L]).map(X=>c==null?void 0:c.getNodeByValue(X,W))),I),g.value=Fo(L??void 0)},B=(P,I=!0)=>{const{checkStrictly:L}=r.value,D=m.value,V=P.filter(X=>!!X&&(L||X.isLeaf)),U=c==null?void 0:c.getSameNode(v.value),W=I&&U||V[0];W?W.pathNodes.forEach(X=>k(X,!0)):v.value=void 0,D.forEach(X=>X.doCheck(!1)),It(V).forEach(X=>X.doCheck(!0)),m.value=V,Ae(K)},K=()=>{Nt&&h.value.forEach(P=>{const I=P==null?void 0:P.$el;if(I){const L=I.querySelector(`.${s.namespace.value}-scrollbar__wrap`);let D=I.querySelector(`.${s.b("node")}.in-active-path`);if(!D){const V=I.querySelectorAll(`.${s.b("node")}.${s.is("active")}`);D=V[V.length-1]}_v(L,D)}})},Y=P=>{var D,V;const I=P.target,L=Ft(P);switch(L){case Ce.up:case Ce.down:P.preventDefault(),Vu(u1(I,L===Ce.up?-1:1,`.${s.b("node")}[tabindex="-1"]`));break;case Ce.left:{P.preventDefault();const U=(D=h.value[Fy(I)-1])==null?void 0:D.$el.querySelector(`.${s.b("node")}[aria-expanded="true"]`);Vu(U);break}case Ce.right:{P.preventDefault();const U=(V=h.value[Fy(I)+1])==null?void 0:V.$el.querySelector(`.${s.b("node")}[tabindex="-1"]`);Vu(U);break}case Ce.enter:case Ce.numpadEnter:L6(I);break}};wt(Cd,It({config:r,expandingNode:v,checkedNodes:m,isHoverMenu:y,initialLoaded:d,renderLabelFn:b,lazyLoad:w,expandNode:k,handleCheckChange:E})),ie(r,(P,I)=>{Qt(P,I)||C()},{immediate:!0}),ie(()=>a.options,C,{deep:!0}),ie(()=>a.modelValue,()=>{l=!1,R()},{deep:!0}),ie(()=>g.value,P=>{Qt(P,a.modelValue)||(o(tt,P),o(ht,P))});const z=()=>{f.value||C()};return ov(()=>h.value=[]),ft(()=>!ta(a.modelValue)&&R()),t({menuList:h,menus:p,checkedNodes:m,handleKeyDown:Y,handleCheckChange:E,getFlattedNodes:O,getCheckedNodes:M,clearCheckedNodes:T,calculateCheckedValue:A,scrollToExpandingNode:K,loadLazyRootNodes:z}),(P,I)=>(x(),F("div",{class:N([i(s).b("panel"),i(s).is("bordered",e.border)]),onKeydown:Y},[(x(!0),F(He,null,yt(p.value,(L,D)=>(x(),oe(R6,{key:D,ref_for:!0,ref:V=>h.value[D]=V,index:D,nodes:[...L]},{empty:Q(()=>[ne(P.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}}),V6=B6;const yS=lt(V6),F6=Se({...aS,size:wn,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:Bt,default:xo},filterable:Boolean,filterMethod:{type:G(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:G(Function),default:()=>!0},placement:{type:G(String),values:So,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,teleported:Lt.teleported,effect:{type:G(String),default:"light"},tagType:{...Go.type,default:"info"},tagEffect:{...Go.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...gs}),zy=e=>!0,z6={[tt]:zy,[ht]:zy,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Dt(e),expandChange:e=>!!e,removeTag:e=>!!e},H6=["placeholder"],K6=["onClick"];var W6=le({name:"ElCascader",__name:"cascader",props:F6,emits:z6,setup(e,{expose:t,emit:n}){const a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Oe})=>{const{modifiersData:Ye,placement:et}=Oe;["right","left","bottom","top"].includes(et)||Ye.arrow&&(Ye.arrow.x=35)},requires:["arrow"]}]},o=e,l=n,s=Jo(),r=cn();let u=0,c=0;const d=ve("cascader"),f=ve("input"),h={small:7,default:11,large:15},{t:g}=St(),{formItem:p}=In(),v=nn(),{valueOnClear:m}=Ji(o),{isComposing:y,handleComposition:b}=Zi({afterComposition(Oe){var et;const Ye=(et=Oe.target)==null?void 0:et.value;Re(Ye)}}),C=_(),w=_(),k=_(),E=_(),$=_(),O=_(),M=_(!1),T=_(!1),A=_(!1),R=_(""),B=_(""),K=_([]),Y=_([]),z=S(()=>o.props.multiple?o.collapseTags?K.value.slice(0,o.maxCollapseTags):K.value:[]),P=S(()=>o.props.multiple?o.collapseTags?K.value.slice(o.maxCollapseTags):[]:[]),I=S(()=>s.style),L=S(()=>o.placeholder??g("el.cascader.placeholder")),D=S(()=>B.value||K.value.length>0||y.value?"":L.value),V=yn(),U=S(()=>V.value==="small"?"small":"default"),W=S(()=>!!o.props.multiple),X=S(()=>!o.filterable||W.value),J=S(()=>W.value?B.value:R.value),fe=S(()=>{var Oe;return((Oe=$.value)==null?void 0:Oe.checkedNodes)||[]}),{wrapperRef:ue,isFocused:he,handleBlur:re}=nl(k,{disabled:v,beforeBlur(Oe){var Ye,et;return((Ye=C.value)==null?void 0:Ye.isFocusInsideContent(Oe))||((et=w.value)==null?void 0:et.isFocusInsideContent(Oe))},afterBlur(){var Oe;o.validateEvent&&((Oe=p==null?void 0:p.validate)==null||Oe.call(p,"blur").catch(Ye=>dt(Ye)))}}),te=S(()=>!o.clearable||v.value||A.value||!T.value&&!he.value?!1:!!fe.value.length),ee=S(()=>{const{showAllLevels:Oe,separator:Ye}=o,et=fe.value;return et.length?W.value?"":et[0].calcText(Oe,Ye):""}),H=S(()=>(p==null?void 0:p.validateState)||""),Z=S({get(){return Fo(o.modelValue)},set(Oe){const Ye=Oe??m.value;l(tt,Ye),l(ht,Ye),o.validateEvent&&(p==null||p.validate("change").catch(et=>dt(et)))}}),se=S(()=>[d.b(),d.m(V.value),d.is("disabled",v.value),s.class]),pe=S(()=>[f.e("icon"),"icon-arrow-down",d.is("reverse",M.value)]),ge=S(()=>d.is("focus",he.value)),ye=S(()=>{var Oe,Ye;return(Ye=(Oe=C.value)==null?void 0:Oe.popperRef)==null?void 0:Ye.contentRef}),Ne=Oe=>{he.value&&re(new FocusEvent("blur",Oe)),_e(!1)},_e=Oe=>{var Ye,et;v.value||(Oe=Oe??!M.value,Oe!==M.value&&(M.value=Oe,(et=(Ye=k.value)==null?void 0:Ye.input)==null||et.setAttribute("aria-expanded",`${Oe}`),Oe?(Me(),$.value&&Ae($.value.scrollToExpandingNode)):o.filterable&&rt(),l("visibleChange",Oe)))},Me=()=>{Ae(()=>{var Oe;(Oe=C.value)==null||Oe.updatePopper()})},me=()=>{A.value=!1},Te=Oe=>{const{showAllLevels:Ye,separator:et}=o;return{node:Oe,key:Oe.uid,text:Oe.calcText(Ye,et),hitState:!1,closable:!v.value&&!Oe.isDisabled}},we=Oe=>{var et;const Ye=Oe.node;Ye.doCheck(!1),(et=$.value)==null||et.calculateCheckedValue(),l("removeTag",Ye.valueByOption)},Ie=()=>{switch(o.showCheckedStrategy){case"child":return fe.value;case"parent":{const Oe=je(!1),Ye=Oe.map(et=>et.value);return Oe.filter(et=>!et.parent||!Ye.includes(et.parent.value))}default:return[]}},Ve=()=>{if(!W.value)return;const Oe=Ie(),Ye=[];Oe.forEach(et=>Ye.push(Te(et))),K.value=Ye},Xe=()=>{var zt,on;const{filterMethod:Oe,showAllLevels:Ye,separator:et}=o,vn=(on=(zt=$.value)==null?void 0:zt.getFlattedNodes(!o.props.checkStrictly))==null?void 0:on.filter(qe=>qe.isDisabled?!1:(qe.calcText(Ye,et),Oe(qe,J.value)));W.value&&K.value.forEach(qe=>{qe.hitState=!1}),A.value=!0,Y.value=vn,Me()},$e=()=>{var Ye;let Oe;A.value&&O.value?Oe=O.value.$el.querySelector(`.${d.e("suggestion-item")}`):Oe=(Ye=$.value)==null?void 0:Ye.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),Oe&&(Oe.focus(),!A.value&&Oe.click())},Pe=()=>{var vn,zt,on;const Oe=(vn=k.value)==null?void 0:vn.input,Ye=E.value,et=(zt=O.value)==null?void 0:zt.$el;if(!(!Nt||!Oe)){if(et){const qe=et.querySelector(`.${d.e("suggestion-list")}`);qe.style.minWidth=`${Oe.offsetWidth}px`}if(Ye){const{offsetHeight:qe}=Ye,Qe=K.value.length>0?`${Math.max(qe,u)-2}px`:`${u}px`;if(Oe.style.height=Qe,r.prefix){const pt=(on=k.value)==null?void 0:on.$el.querySelector(`.${f.e("prefix")}`);let Sn=0;pt&&(Sn=pt.offsetWidth,Sn>0&&(Sn+=h[V.value||"default"])),Ye.style.left=`${Sn}px`}else Ye.style.left="0";Me()}}},je=Oe=>{var Ye;return(Ye=$.value)==null?void 0:Ye.getCheckedNodes(Oe)},xt=Oe=>{Me(),l("expandChange",Oe)},Mt=Oe=>{if(!y.value)switch(Ft(Oe)){case Ce.enter:case Ce.numpadEnter:_e();break;case Ce.down:_e(!0),Ae($e),Oe.preventDefault();break;case Ce.esc:M.value===!0&&(Oe.preventDefault(),Oe.stopPropagation(),_e(!1));break;case Ce.tab:_e(!1);break}},Ue=()=>{var Oe;(Oe=$.value)==null||Oe.clearCheckedNodes(),!M.value&&o.filterable&&rt(),_e(!1),l("clear")},rt=()=>{const{value:Oe}=ee;R.value=Oe,B.value=Oe},mt=Oe=>{var et,vn;const{checked:Ye}=Oe;W.value?(et=$.value)==null||et.handleCheckChange(Oe,!Ye,!1):(!Ye&&((vn=$.value)==null||vn.handleCheckChange(Oe,!0,!1)),_e(!1))},de=Oe=>{const Ye=Oe.target,et=Ft(Oe);switch(et){case Ce.up:case Ce.down:Oe.preventDefault(),Vu(u1(Ye,et===Ce.up?-1:1,`.${d.e("suggestion-item")}[tabindex="-1"]`));break;case Ce.enter:case Ce.numpadEnter:Ye.click();break}},Fe=()=>{const Oe=K.value[K.value.length-1];c=B.value?0:c+1,!(!Oe||!c||o.collapseTags&&K.value.length>1)&&(Oe.hitState?we(Oe):Oe.hitState=!0)},ce=Hi(()=>{const{value:Oe}=J;if(!Oe)return;const Ye=o.beforeFilter(Oe);ns(Ye)?Ye.then(Xe).catch(()=>{}):Ye!==!1?Xe():me()},S(()=>o.debounce)),Re=(Oe,Ye)=>{!M.value&&_e(!0),!(Ye!=null&&Ye.isComposing)&&(Oe?ce():me())},vt=Oe=>Number.parseFloat(tP(f.cssVarName("input-height"),Oe).value)-2,Vt=()=>{var Oe;(Oe=k.value)==null||Oe.focus()},qt=()=>{var Oe;(Oe=k.value)==null||Oe.blur()};return ie(A,Me),ie([fe,v,()=>o.collapseTags,()=>o.maxCollapseTags],Ve),ie(K,()=>{Ae(()=>Pe())}),ie(V,async()=>{await Ae();const Oe=k.value.input;u=vt(Oe)||u,Pe()}),ie(ee,rt,{immediate:!0}),ie(()=>M.value,Oe=>{var Ye;Oe&&o.props.lazy&&o.props.lazyLoad&&((Ye=$.value)==null||Ye.loadLazyRootNodes())}),ft(()=>{const Oe=k.value.input,Ye=vt(Oe);u=Oe.offsetHeight||Ye,Gt(Oe,Pe)}),t({getCheckedNodes:je,cascaderPanelRef:$,togglePopperVisible:_e,contentRef:ye,presentText:ee,focus:Vt,blur:qt}),(Oe,Ye)=>(x(),oe(i(Mn),{ref_key:"tooltipRef",ref:C,visible:M.value,teleported:e.teleported,"popper-class":[i(d).e("dropdown"),e.popperClass],"popper-style":e.popperStyle,"popper-options":a,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${i(d).namespace.value}-zoom-in-top`,effect:e.effect,pure:"",persistent:e.persistent,onHide:me},{default:Q(()=>[it((x(),F("div",{ref_key:"wrapperRef",ref:ue,class:N(se.value),style:We(I.value),onClick:Ye[8]||(Ye[8]=()=>_e(X.value?void 0:!0)),onKeydown:Mt,onMouseenter:Ye[9]||(Ye[9]=et=>T.value=!0),onMouseleave:Ye[10]||(Ye[10]=et=>T.value=!1)},[q(i(qn),{ref_key:"inputRef",ref:k,modelValue:R.value,"onUpdate:modelValue":Ye[1]||(Ye[1]=et=>R.value=et),placeholder:D.value,readonly:X.value,disabled:i(v),"validate-event":!1,size:i(V),class:N(ge.value),tabindex:W.value&&e.filterable&&!i(v)?-1:void 0,onCompositionstart:i(b),onCompositionupdate:i(b),onCompositionend:i(b),onInput:Re},na({suffix:Q(()=>[te.value?(x(),oe(i(Be),{key:"clear",class:N([i(f).e("icon"),"icon-circle-close"]),onClick:Ze(Ue,["stop"])},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class"])):(x(),oe(i(Be),{key:"arrow-down",class:N(pe.value),onClick:Ye[0]||(Ye[0]=Ze(et=>_e(),["stop"]))},{default:Q(()=>[q(i(Eo))]),_:1},8,["class"]))]),_:2},[Oe.$slots.prefix?{name:"prefix",fn:Q(()=>[ne(Oe.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),W.value?(x(),F("div",{key:0,ref_key:"tagWrapper",ref:E,class:N([i(d).e("tags"),i(d).is("validate",!!H.value)])},[ne(Oe.$slots,"tag",{data:K.value,deleteTag:we},()=>[(x(!0),F(He,null,yt(z.value,et=>(x(),oe(i(zo),{key:et.key,type:e.tagType,size:U.value,effect:e.tagEffect,hit:et.hitState,closable:et.closable,"disable-transitions":"",onClose:vn=>we(et)},{default:Q(()=>[j("span",null,ke(et.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),e.collapseTags&&K.value.length>e.maxCollapseTags?(x(),oe(i(Mn),{key:0,ref_key:"tagTooltipRef",ref:w,disabled:M.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,effect:e.effect,persistent:e.persistent},{default:Q(()=>[q(i(zo),{closable:!1,size:U.value,type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:Q(()=>[j("span",{class:N(i(d).e("tags-text"))}," + "+ke(K.value.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:Q(()=>[q(i(Wa),{"max-height":e.maxCollapseTagsTooltipHeight},{default:Q(()=>[j("div",{class:N(i(d).e("collapse-tags"))},[(x(!0),F(He,null,yt(P.value,(et,vn)=>(x(),F("div",{key:vn,class:N(i(d).e("collapse-tag"))},[(x(),oe(i(zo),{key:et.key,class:"in-tooltip",type:e.tagType,size:U.value,effect:e.tagEffect,hit:et.hitState,closable:et.closable,"disable-transitions":"",onClose:zt=>we(et)},{default:Q(()=>[j("span",null,ke(et.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):ae("v-if",!0),e.filterable&&!i(v)?it((x(),F("input",{key:1,"onUpdate:modelValue":Ye[2]||(Ye[2]=et=>B.value=et),type:"text",class:N(i(d).e("search-input")),placeholder:ee.value?"":L.value,onInput:Ye[3]||(Ye[3]=et=>Re(B.value,et)),onClick:Ye[4]||(Ye[4]=Ze(et=>_e(!0),["stop"])),onKeydown:Jt(Fe,["delete"]),onCompositionstart:Ye[5]||(Ye[5]=(...et)=>i(b)&&i(b)(...et)),onCompositionupdate:Ye[6]||(Ye[6]=(...et)=>i(b)&&i(b)(...et)),onCompositionend:Ye[7]||(Ye[7]=(...et)=>i(b)&&i(b)(...et))},null,42,H6)),[[sw,B.value]]):ae("v-if",!0)],2)):ae("v-if",!0)],38)),[[i(Nl),Ne,ye.value]])]),content:Q(()=>[Oe.$slots.header?(x(),F("div",{key:0,class:N(i(d).e("header")),onClick:Ye[11]||(Ye[11]=Ze(()=>{},["stop"]))},[ne(Oe.$slots,"header")],2)):ae("v-if",!0),it(q(i(yS),{ref_key:"cascaderPanelRef",ref:$,modelValue:Z.value,"onUpdate:modelValue":Ye[12]||(Ye[12]=et=>Z.value=et),options:e.options,props:o.props,border:!1,"render-label":Oe.$slots.default,onExpandChange:xt,onClose:Ye[13]||(Ye[13]=et=>Oe.$nextTick(()=>_e(!1)))},{empty:Q(()=>[ne(Oe.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[Ot,!A.value]]),e.filterable?it((x(),oe(i(Wa),{key:1,ref_key:"suggestionPanel",ref:O,tag:"ul",class:N(i(d).e("suggestion-panel")),"view-class":i(d).e("suggestion-list"),onKeydown:de},{default:Q(()=>[Y.value.length?(x(!0),F(He,{key:0},yt(Y.value,et=>(x(),F("li",{key:et.uid,class:N([i(d).e("suggestion-item"),i(d).is("checked",et.checked)]),tabindex:-1,onClick:vn=>mt(et)},[ne(Oe.$slots,"suggestion-item",{item:et},()=>[j("span",null,ke(et.text),1),et.checked?(x(),oe(i(Be),{key:0},{default:Q(()=>[q(i(Qi))]),_:1})):ae("v-if",!0)])],10,K6))),128)):ne(Oe.$slots,"empty",{key:1},()=>[j("li",{class:N(i(d).e("empty-text"))},ke(i(g)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Ot,A.value]]):ae("v-if",!0),Oe.$slots.footer?(x(),F("div",{key:2,class:N(i(d).e("footer")),onClick:Ye[14]||(Ye[14]=Ze(()=>{},["stop"]))},[ne(Oe.$slots,"footer")],2)):ae("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}}),j6=W6;const Y6=lt(j6),U6=Se({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),q6={"update:checked":e=>Dt(e),[ht]:e=>Dt(e)};var G6=le({name:"ElCheckTag",__name:"check-tag",props:U6,emits:q6,setup(e,{emit:t}){const n=e,a=t,o=ve("check-tag"),l=S(()=>[o.b(),o.is("checked",n.checked),o.is("disabled",n.disabled),o.m(n.type||"primary")]),s=()=>{if(n.disabled)return;const r=!n.checked;a(ht,r),a("update:checked",r)};return(r,u)=>(x(),F("span",{class:N(l.value),onClick:s},[ne(r.$slots,"default")],2))}}),X6=G6;const Z6=lt(X6),J6=Se({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:G([Number,Object]),default:()=>en({})},sm:{type:G([Number,Object]),default:()=>en({})},md:{type:G([Number,Object]),default:()=>en({})},lg:{type:G([Number,Object]),default:()=>en({})},xl:{type:G([Number,Object]),default:()=>en({})}}),Q6=["start","center","end","space-around","space-between","space-evenly"],eB=["top","middle","bottom"],tB=Se({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Q6,default:"start"},align:{type:String,values:eB}}),bS=Symbol("rowContextKey");var nB=le({name:"ElRow",__name:"row",props:tB,setup(e){const t=e,n=ve("row");wt(bS,{gutter:S(()=>t.gutter)});const a=S(()=>{const l={};return t.gutter&&(l.marginRight=l.marginLeft=`-${t.gutter/2}px`),l}),o=S(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(l,s)=>(x(),oe(st(e.tag),{class:N(o.value),style:We(a.value)},{default:Q(()=>[ne(l.$slots,"default")]),_:3},8,["class","style"]))}}),aB=nB;const oB=lt(aB);var lB=le({name:"ElCol",__name:"col",props:J6,setup(e){const t=e,{gutter:n}=Le(bS,{gutter:S(()=>0)}),a=ve("col"),o=S(()=>{const s={};return n.value&&(s.paddingLeft=s.paddingRight=`${n.value/2}px`),s}),l=S(()=>{const s=[];return["span","offset","pull","push"].forEach(r=>{const u=t[r];Ke(u)&&(r==="span"?s.push(a.b(`${t[r]}`)):u>0&&s.push(a.b(`${r}-${t[r]}`)))}),["xs","sm","md","lg","xl"].forEach(r=>{Ke(t[r])?s.push(a.b(`${r}-${t[r]}`)):nt(t[r])&&Object.entries(t[r]).forEach(([u,c])=>{s.push(u!=="span"?a.b(`${r}-${u}-${c}`):a.b(`${r}-${c}`))})}),n.value&&s.push(a.is("guttered")),[a.b(),s]});return(s,r)=>(x(),oe(st(e.tag),{class:N(l.value),style:We(o.value)},{default:Q(()=>[ne(s.$slots,"default")]),_:3},8,["class","style"]))}}),sB=lB;const rB=lt(sB),Hy=e=>Ke(e)||De(e)||be(e),iB=Se({accordion:Boolean,modelValue:{type:G([Array,String,Number]),default:()=>en([])},expandIconPosition:{type:G([String]),default:"right"},beforeCollapse:{type:G(Function)}}),uB={[tt]:Hy,[ht]:Hy},wS=Symbol("collapseContextKey"),cB=Se({title:{type:String,default:""},name:{type:G([String,Number]),default:void 0},icon:{type:Bt,default:Xn},disabled:Boolean});var dB=le({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=ve("collapse-transition"),n=o=>{o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom},a={beforeEnter(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.style.height&&(o.dataset.elExistsHeight=o.style.height),o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0},enter(o){requestAnimationFrame(()=>{o.dataset.oldOverflow=o.style.overflow,o.dataset.elExistsHeight?o.style.maxHeight=o.dataset.elExistsHeight:o.scrollHeight!==0?o.style.maxHeight=`${o.scrollHeight}px`:o.style.maxHeight=0,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom,o.style.overflow="hidden"})},afterEnter(o){o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow},enterCancelled(o){n(o)},beforeLeave(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.dataset.oldOverflow=o.style.overflow,o.style.maxHeight=`${o.scrollHeight}px`,o.style.overflow="hidden"},leave(o){o.scrollHeight!==0&&(o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0)},afterLeave(o){n(o)},leaveCancelled(o){n(o)}};return(o,l)=>(x(),oe(An,ut({name:i(t).b()},KE(a)),{default:Q(()=>[ne(o.$slots,"default")]),_:3},16,["name"]))}}),fB=dB;const Sd=lt(fB),Ky="ElCollapse",pB=(e,t)=>{const n=_(En(e.modelValue)),a=s=>{n.value=s;const r=e.accordion?n.value[0]:n.value;t(tt,r),t(ht,r)},o=s=>{if(e.accordion)a([n.value[0]===s?"":s]);else{const r=[...n.value],u=r.indexOf(s);u>-1?r.splice(u,1):r.push(s),a(r)}},l=async s=>{const{beforeCollapse:r}=e;if(!r){o(s);return}const u=r(s);[ns(u),Dt(u)].includes(!0)||Xt(Ky,"beforeCollapse must return type `Promise` or `boolean`"),ns(u)?u.then(c=>{c!==!1&&o(s)}).catch(c=>{dt(Ky,`some error occurred: ${c}`)}):u&&o(s)};return ie(()=>e.modelValue,()=>n.value=En(e.modelValue),{deep:!0}),wt(wS,{activeNames:n,handleItemClick:l}),{activeNames:n,setActiveNames:a}},vB=e=>{const t=ve("collapse");return{rootKls:S(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}};var hB=le({name:"ElCollapse",__name:"collapse",props:iB,emits:uB,setup(e,{expose:t,emit:n}){const a=e,{activeNames:o,setActiveNames:l}=pB(a,n),{rootKls:s}=vB(a);return t({activeNames:o,setActiveNames:l}),(r,u)=>(x(),F("div",{class:N(i(s))},[ne(r.$slots,"default")],2))}}),mB=hB;const gB=e=>{const t=Le(wS),{namespace:n}=ve("collapse"),a=_(!1),o=_(!1),l=jv(),s=S(()=>l.current++),r=S(()=>e.name??`${n.value}-id-${l.prefix}-${i(s)}`),u=S(()=>t==null?void 0:t.activeNames.value.includes(i(r)));return{focusing:a,id:s,isActive:u,handleFocus:()=>{setTimeout(()=>{o.value?o.value=!1:a.value=!0},50)},handleHeaderClick:h=>{var g;e.disabled||(g=h.target)!=null&&g.closest("input, textarea, select")||(t==null||t.handleItemClick(i(r)),a.value=!1,o.value=!0)},handleEnterClick:h=>{var g;(g=h.target)!=null&&g.closest("input, textarea, select")||(h.preventDefault(),t==null||t.handleItemClick(i(r)))}}},yB=(e,{focusing:t,isActive:n,id:a})=>{const o=ve("collapse"),l=S(()=>[o.b("item"),o.is("active",i(n)),o.is("disabled",e.disabled)]),s=S(()=>[o.be("item","header"),o.is("active",i(n)),{focusing:i(t)&&!e.disabled}]),r=S(()=>[o.be("item","arrow"),o.is("active",i(n))]);return{itemTitleKls:S(()=>[o.be("item","title")]),arrowKls:r,headKls:s,rootKls:l,itemWrapperKls:S(()=>o.be("item","wrap")),itemContentKls:S(()=>o.be("item","content")),scopedContentId:S(()=>o.b(`content-${i(a)}`)),scopedHeadId:S(()=>o.b(`head-${i(a)}`))}},bB=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],wB=["id","aria-hidden","aria-labelledby"];var CB=le({name:"ElCollapseItem",__name:"collapse-item",props:cB,setup(e,{expose:t}){const n=e,{focusing:a,id:o,isActive:l,handleFocus:s,handleHeaderClick:r,handleEnterClick:u}=gB(n),{arrowKls:c,headKls:d,rootKls:f,itemTitleKls:h,itemWrapperKls:g,itemContentKls:p,scopedContentId:v,scopedHeadId:m}=yB(n,{focusing:a,isActive:l,id:o});return t({isActive:l}),(y,b)=>(x(),F("div",{class:N(i(f))},[j("div",{id:i(m),class:N(i(d)),"aria-expanded":i(l),"aria-controls":i(v),"aria-describedby":i(v),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"button",onClick:b[0]||(b[0]=(...C)=>i(r)&&i(r)(...C)),onKeydown:b[1]||(b[1]=Jt(Ze((...C)=>i(u)&&i(u)(...C),["stop"]),["space","enter"])),onFocus:b[2]||(b[2]=(...C)=>i(s)&&i(s)(...C)),onBlur:b[3]||(b[3]=C=>a.value=!1)},[j("span",{class:N(i(h))},[ne(y.$slots,"title",{isActive:i(l)},()=>[bt(ke(e.title),1)])],2),ne(y.$slots,"icon",{isActive:i(l)},()=>[q(i(Be),{class:N(i(c))},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1},8,["class"])])],42,bB),q(i(Sd),null,{default:Q(()=>[it(j("div",{id:i(v),role:"region",class:N(i(g)),"aria-hidden":!i(l),"aria-labelledby":i(m)},[j("div",{class:N(i(p))},[ne(y.$slots,"default")],2)],10,wB),[[Ot,i(l)]])]),_:3})],2))}}),CS=CB;const SB=lt(mB,{CollapseItem:CS}),kB=Zt(CS),SS=Se({modelValue:{type:G(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:{type:G(String)},disabled:Boolean,predefine:{type:G(Array)},validateEvent:{type:Boolean,default:!0}}),EB={[tt]:e=>De(e)||pn(e)},kS=Symbol("colorCommonPickerKey"),ES=Symbol("colorPickerPanelContextKey"),xS=Se({color:{type:G(Object),required:!0},vertical:Boolean,disabled:Boolean}),xB=xS,Wy=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},bp=(e,t)=>Math.abs(Wy(e)-Wy(t)),TS=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};let uf=!1;function wp(e,t){if(!Nt)return;const n=function(l){var s;(s=t.drag)==null||s.call(t,l)},a=function(l){var s;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",a),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",a),document.onselectstart=null,document.ondragstart=null,uf=!1,(s=t.end)==null||s.call(t,l)},o=function(l){var s;uf||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",a),document.addEventListener("touchmove",n),document.addEventListener("touchend",a),uf=!0,(s=t.start)==null||s.call(t,l))};e.addEventListener("mousedown",o),e.addEventListener("touchstart",o,{passive:!1})}const $S=(e,{key:t,minValue:n,maxValue:a})=>{const o=ct(),l=jt(),s=jt(),r=S(()=>e.color.get(t));function u(h){var g;e.disabled||(h.target!==l.value&&c(h),(g=l.value)==null||g.focus())}function c(h){if(!s.value||!l.value||e.disabled)return;const g=o.vnode.el.getBoundingClientRect(),{clientX:p,clientY:v}=TS(h);let m;if(e.vertical){let y=v-g.top;y=Math.max(l.value.offsetHeight/2,y),y=Math.min(y,g.height-l.value.offsetHeight/2),m=Math.round((y-l.value.offsetHeight/2)/(g.height-l.value.offsetHeight)*a)}else{let y=p-g.left;y=Math.max(l.value.offsetWidth/2,y),y=Math.min(y,g.width-l.value.offsetWidth/2),m=Math.round((y-l.value.offsetWidth/2)/(g.width-l.value.offsetWidth)*a)}e.color.set(t,m)}function d(h){if(e.disabled)return;const{shiftKey:g}=h,p=Ft(h),v=g?10:1,m=t==="hue"?-1:1;let y=!0;switch(p){case Ce.left:case Ce.down:f(-v*m);break;case Ce.right:case Ce.up:f(v*m);break;case Ce.home:e.color.set(t,t==="hue"?a:n);break;case Ce.end:e.color.set(t,t==="hue"?n:a);break;case Ce.pageDown:f(-4*m);break;case Ce.pageUp:f(4*m);break;default:y=!1;break}y&&h.preventDefault()}function f(h){let g=r.value+h;g=ga?a:g,e.color.set(t,g)}return{thumb:l,bar:s,currentValue:r,handleDrag:c,handleClick:u,handleKeydown:d}},OS=(e,{namespace:t,maxValue:n,bar:a,thumb:o,currentValue:l,handleDrag:s,getBackground:r})=>{const u=ct(),c=ve(t),d=_(0),f=_(0),h=_();function g(){if(!o.value||e.vertical)return 0;const C=u.vnode.el,w=l.value;return C?Math.round(w*(C.offsetWidth-o.value.offsetWidth/2)/n):0}function p(){if(!o.value)return 0;const C=u.vnode.el;if(!e.vertical)return 0;const w=l.value;return C?Math.round(w*(C.offsetHeight-o.value.offsetHeight/2)/n):0}function v(){d.value=g(),f.value=p(),h.value=r==null?void 0:r()}ft(()=>{if(!a.value||!o.value)return;const C={drag:w=>{s(w)},end:w=>{s(w)}};wp(a.value,C),wp(o.value,C),v()}),ie(l,()=>v()),ie(()=>e.color.value,()=>v());const m=S(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),y=S(()=>c.e("bar")),b=S(()=>c.e("thumb"));return{rootKls:m,barKls:y,barStyle:S(()=>({background:h.value})),thumbKls:b,thumbStyle:S(()=>({left:tn(d.value),top:tn(f.value)})),thumbLeft:d,thumbTop:f,update:v}},TB=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],jy=0,cf=100;var $B=le({name:"ElColorAlphaSlider",__name:"alpha-slider",props:xS,setup(e,{expose:t}){const n=e,{currentValue:a,bar:o,thumb:l,handleDrag:s,handleClick:r,handleKeydown:u}=$S(n,{key:"alpha",minValue:jy,maxValue:cf}),{rootKls:c,barKls:d,barStyle:f,thumbKls:h,thumbStyle:g,update:p}=OS(n,{namespace:"color-alpha-slider",maxValue:cf,currentValue:a,bar:o,thumb:l,handleDrag:s,getBackground:b}),{t:v}=St(),m=S(()=>v("el.colorpicker.alphaLabel")),y=S(()=>v("el.colorpicker.alphaDescription",{alpha:a.value,color:n.color.value}));function b(){if(n.color&&n.color.value){const{r:C,g:w,b:k}=n.color.toRgb();return`linear-gradient(to right, rgba(${C}, ${w}, ${k}, 0) 0%, rgba(${C}, ${w}, ${k}, 1) 100%)`}return""}return t({update:p,bar:o,thumb:l}),(C,w)=>(x(),F("div",{class:N(i(c))},[j("div",{ref_key:"bar",ref:o,class:N(i(d)),style:We(i(f)),onClick:w[0]||(w[0]=(...k)=>i(r)&&i(r)(...k))},null,6),j("div",{ref_key:"thumb",ref:l,class:N(i(h)),style:We(i(g)),"aria-label":m.value,"aria-valuenow":i(a),"aria-valuetext":y.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":jy,"aria-valuemax":cf,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:w[1]||(w[1]=(...k)=>i(u)&&i(u)(...k))},null,46,TB)],2))}}),OB=$B;const NB=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],Yy=0,df=360;var MB=le({name:"ElColorHueSlider",__name:"hue-slider",props:xB,setup(e,{expose:t}){const n=e,{currentValue:a,bar:o,thumb:l,handleDrag:s,handleClick:r,handleKeydown:u}=$S(n,{key:"hue",minValue:Yy,maxValue:df}),{rootKls:c,barKls:d,thumbKls:f,thumbStyle:h,thumbTop:g,update:p}=OS(n,{namespace:"color-hue-slider",maxValue:df,currentValue:a,bar:o,thumb:l,handleDrag:s}),{t:v}=St(),m=S(()=>v("el.colorpicker.hueLabel")),y=S(()=>v("el.colorpicker.hueDescription",{hue:a.value,color:n.color.value}));return t({bar:o,thumb:l,thumbTop:g,update:p}),(b,C)=>(x(),F("div",{class:N(i(c))},[j("div",{ref_key:"bar",ref:o,class:N(i(d)),onClick:C[0]||(C[0]=(...w)=>i(r)&&i(r)(...w))},null,2),j("div",{ref_key:"thumb",ref:l,class:N(i(f)),style:We(i(h)),"aria-label":m.value,"aria-valuenow":i(a),"aria-valuetext":y.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":Yy,"aria-valuemax":df,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:C[1]||(C[1]=(...w)=>i(u)&&i(u)(...w))},null,46,NB)],2))}}),IB=MB;const PB=Se({colors:{type:G(Array),required:!0},color:{type:G(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var kc=class{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new rn,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const t in e)Tt(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange()}set(e,t){if(arguments.length===1&&typeof e=="object"){for(const n in e)Tt(e,n)&&this.set(n,e[n]);return}this[`_${e}`]=t,this._isValid=!0,this.doOnChange()}get(e){return["hue","saturation","value","alpha"].includes(e)?Math.round(this[`_${e}`]):this[`_${e}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(e){const t=new rn(e);if(this._isValid=t.isValid,t.isValid){const{h:n,s:a,v:o,a:l}=t.toHsv();this._hue=n,this._saturation=a*100,this._value=o*100,this._alpha=l*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(e){const t=new rn({h:e._hue,s:e._saturation/100,v:e._value/100,a:e._alpha/100});return this._tiny.equals(t)}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:a,format:o,enableAlpha:l}=this;let s=o||(l?"rgb":"hex");o==="hex"&&l&&(s="hex8"),this._tiny=new rn({h:e,s:t/100,v:n/100,a:a/100}),this.value=this._isValid?this._tiny.toString(s):""}};const RB=e=>{const{currentColor:t}=Le(ES),n=_(o(e.colors,e.color));ie(()=>t.value,l=>{const s=new kc({value:l,enableAlpha:e.enableAlpha});n.value.forEach(r=>{r.selected=s.compare(r)})}),da(()=>{n.value=o(e.colors,e.color)});function a(l){e.color.fromString(e.colors[l])}function o(l,s){return l.map(r=>{const u=new kc({value:r,enableAlpha:e.enableAlpha});return u.selected=u.compare(s),u})}return{rgbaColors:n,handleSelect:a}},AB=e=>{const t=ve("color-predefine"),n=S(()=>[t.b(),t.is("disabled",e.disabled)]),a=S(()=>t.e("colors"));function o(l){return[t.e("color-selector"),t.is("alpha",l.get("alpha")<100),{selected:l.selected}]}return{rootKls:n,colorsKls:a,colorSelectorKls:o}},_B=["disabled","aria-label","onClick"];var LB=le({name:"ElColorPredefine",__name:"predefine",props:PB,setup(e){const t=e,{rgbaColors:n,handleSelect:a}=RB(t),{rootKls:o,colorsKls:l,colorSelectorKls:s}=AB(t),{t:r}=St(),u=c=>r("el.colorpicker.predefineDescription",{value:c});return(c,d)=>(x(),F("div",{class:N(i(o))},[j("div",{class:N(i(l))},[(x(!0),F(He,null,yt(i(n),(f,h)=>(x(),F("button",{key:e.colors[h],type:"button",disabled:e.disabled,"aria-label":u(f.value),class:N(i(s)(f)),onClick:g=>i(a)(h)},[j("div",{style:We({backgroundColor:f.value})},null,4)],10,_B))),128))],2)],2))}}),DB=LB;const BB=Se({color:{type:G(Object),required:!0},disabled:Boolean}),VB=e=>{const t=ct(),n=_(),a=_(0),o=_(0),l=_("hsl(0, 100%, 50%)"),s=S(()=>e.color.get("saturation")),r=S(()=>e.color.get("value")),u=S(()=>e.color.get("hue"));function c(p){var v;e.disabled||(p.target!==n.value&&d(p),(v=n.value)==null||v.focus({preventScroll:!0}))}function d(p){if(e.disabled)return;const v=t.vnode.el.getBoundingClientRect(),{clientX:m,clientY:y}=TS(p);let b=m-v.left,C=y-v.top;b=Math.max(0,b),b=Math.min(b,v.width),C=Math.max(0,C),C=Math.min(C,v.height),o.value=b,a.value=C,e.color.set({saturation:b/v.width*100,value:100-C/v.height*100})}function f(p){if(e.disabled)return;const{shiftKey:v}=p,m=Ft(p),y=v?10:1;let b=!0;switch(m){case Ce.left:h(-y);break;case Ce.right:h(y);break;case Ce.up:g(y);break;case Ce.down:g(-y);break;default:b=!1;break}b&&p.preventDefault()}function h(p){let v=s.value+p;v=v<0?0:v>100?100:v,e.color.set("saturation",v)}function g(p){let v=r.value+p;v=v<0?0:v>100?100:v,e.color.set("value",v)}return{cursorRef:n,cursorTop:a,cursorLeft:o,background:l,saturation:s,brightness:r,hue:u,handleClick:c,handleDrag:d,handleKeydown:f}},FB=(e,{cursorTop:t,cursorLeft:n,background:a,handleDrag:o})=>{const l=ct(),s=ve("color-svpanel");function r(){const u=e.color.get("saturation"),c=e.color.get("value"),{clientWidth:d,clientHeight:f}=l.vnode.el;n.value=u*d/100,t.value=(100-c)*f/100,a.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}return ft(()=>{wp(l.vnode.el,{drag:u=>{o(u)},end:u=>{o(u)}}),r()}),ie([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>r()),{rootKls:S(()=>s.b()),cursorKls:S(()=>s.e("cursor")),rootStyle:S(()=>({backgroundColor:a.value})),cursorStyle:S(()=>({top:tn(t.value),left:tn(n.value)})),update:r}},zB=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var HB=le({name:"ElSvPanel",__name:"sv-panel",props:BB,setup(e,{expose:t}){const n=e,{cursorRef:a,cursorTop:o,cursorLeft:l,background:s,saturation:r,brightness:u,handleClick:c,handleDrag:d,handleKeydown:f}=VB(n),{rootKls:h,cursorKls:g,rootStyle:p,cursorStyle:v,update:m}=FB(n,{cursorTop:o,cursorLeft:l,background:s,handleDrag:d}),{t:y}=St(),b=S(()=>y("el.colorpicker.svLabel")),C=S(()=>y("el.colorpicker.svDescription",{saturation:r.value,brightness:u.value,color:n.color.value}));return t({update:m}),(w,k)=>(x(),F("div",{class:N(i(h)),style:We(i(p)),onClick:k[1]||(k[1]=(...E)=>i(c)&&i(c)(...E))},[j("div",{ref_key:"cursorRef",ref:a,class:N(i(g)),style:We(i(v)),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":b.value,"aria-valuenow":`${i(r)},${i(u)}`,"aria-valuetext":C.value,onKeydown:k[0]||(k[0]=(...E)=>i(f)&&i(f)(...E))},null,46,zB)],6))}}),KB=HB;const NS=(e,t)=>{const n=It(new kc({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return ie(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(tt,n.value)}),{color:n}};var WB=le({name:"ElColorPickerPanel",__name:"color-picker-panel",props:SS,emits:EB,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("color-picker-panel"),{formItem:s}=In(),r=nn(),u=_(),c=_(),d=_(),f=_(),h=_(""),{color:g}=Le(kS,()=>NS(a,o),!0);function p(){g.fromString(h.value),g.value!==h.value&&(h.value=g.value)}function v(){var y;a.validateEvent&&((y=s==null?void 0:s.validate)==null||y.call(s,"blur").catch(b=>dt(b)))}function m(){var y,b,C;(y=u.value)==null||y.update(),(b=c.value)==null||b.update(),(C=d.value)==null||C.update()}return ft(()=>{a.modelValue&&(h.value=g.value),Ae(m)}),ie(()=>a.modelValue,y=>{y!==g.value&&(y?g.fromString(y):g.clear())}),ie(()=>g.value,y=>{o(tt,y),h.value=y,a.validateEvent&&(s==null||s.validate("change").catch(b=>dt(b)))}),wt(ES,{currentColor:S(()=>g.value)}),t({color:g,inputRef:f,update:m}),(y,b)=>(x(),F("div",{class:N([i(l).b(),i(l).is("disabled",i(r)),i(l).is("border",e.border)]),onFocusout:v},[j("div",{class:N(i(l).e("wrapper"))},[q(IB,{ref_key:"hueRef",ref:u,class:"hue-slider",color:i(g),vertical:"",disabled:i(r)},null,8,["color","disabled"]),q(KB,{ref_key:"svRef",ref:c,color:i(g),disabled:i(r)},null,8,["color","disabled"])],2),e.showAlpha?(x(),oe(OB,{key:0,ref_key:"alphaRef",ref:d,color:i(g),disabled:i(r)},null,8,["color","disabled"])):ae("v-if",!0),e.predefine?(x(),oe(DB,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:i(g),colors:e.predefine,disabled:i(r)},null,8,["enable-alpha","color","colors","disabled"])):ae("v-if",!0),j("div",{class:N(i(l).e("footer"))},[q(i(qn),{ref_key:"inputRef",ref:f,modelValue:h.value,"onUpdate:modelValue":b[0]||(b[0]=C=>h.value=C),"validate-event":!1,size:"small",disabled:i(r),onChange:p},null,8,["modelValue","disabled"]),ne(y.$slots,"footer")],2)],34))}}),jB=WB;const MS=lt(jB),YB=Se({persistent:{type:Boolean,default:!0},modelValue:{type:G(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:{type:G(String)},disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:wn,popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,tabindex:{type:[String,Number],default:0},teleported:Lt.teleported,appendTo:Lt.appendTo,predefine:{type:G(Array)},validateEvent:{type:Boolean,default:!0},...gs,...Zn(["ariaLabel"])}),UB={[tt]:e=>De(e)||pn(e),[ht]:e=>De(e)||pn(e),activeChange:e=>De(e)||pn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},qB=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var GB=le({name:"ElColorPicker",__name:"color-picker",props:YB,emits:UB,setup(e,{expose:t,emit:n}){const a=e,o=n,{t:l}=St(),s=ve("color"),{formItem:r}=In(),u=yn(),c=nn(),{valueOnClear:d,isEmptyValue:f}=Ji(a,null),h=NS(a,o),{inputId:g,isLabeledByFormItem:p}=Ca(a,{formItemContext:r}),v=_(),m=_(),y=_(),b=_(!1),C=_(!1);let w=!0;const{isFocused:k,handleFocus:E,handleBlur:$}=nl(m,{disabled:c,beforeBlur(te){var ee;return(ee=v.value)==null?void 0:ee.isFocusInsideContent(te)},afterBlur(){var te;z(!1),D(),a.validateEvent&&((te=r==null?void 0:r.validate)==null||te.call(r,"blur").catch(ee=>dt(ee)))}}),O=zI(()=>{var te;return((te=y.value)==null?void 0:te.color)??h.color}),M=S(()=>jo(a,Object.keys(SS))),T=S(()=>!a.modelValue&&!C.value?"transparent":Y(O,a.showAlpha)),A=S(()=>!a.modelValue&&!C.value?"":O.value),R=S(()=>p.value?void 0:a.ariaLabel||l("el.colorpicker.defaultLabel")),B=S(()=>p.value?r==null?void 0:r.labelId:void 0),K=S(()=>[s.b("picker"),s.is("disabled",c.value),s.bm("picker",u.value),s.is("focused",k.value)]);function Y(te,ee){const{r:H,g:Z,b:se,a:pe}=te.toRgb();return ee?`rgba(${H}, ${Z}, ${se}, ${pe})`:`rgb(${H}, ${Z}, ${se})`}function z(te){b.value=te}const P=yo(z,100,{leading:!0});function I(){c.value||z(!0)}function L(){P(!1),D()}function D(){Ae(()=>{a.modelValue?O.fromString(a.modelValue):(O.value="",Ae(()=>{C.value=!1}))})}function V(){c.value||(b.value&&D(),P(!b.value))}function U(){const te=f(O.value)?d.value:O.value;o(tt,te),o(ht,te),a.validateEvent&&(r==null||r.validate("change").catch(ee=>dt(ee))),P(!1),Ae(()=>{const ee=new kc({enableAlpha:a.showAlpha,format:a.colorFormat||"",value:a.modelValue});O.compare(ee)||D()})}function W(){P(!1),o(tt,d.value),o(ht,d.value),a.modelValue!==d.value&&a.validateEvent&&(r==null||r.validate("change").catch(te=>dt(te))),D(),o("clear")}function X(){var te,ee;(ee=(te=y==null?void 0:y.value)==null?void 0:te.inputRef)==null||ee.focus()}function J(){b.value&&(L(),k.value&&he())}function fe(te){te.preventDefault(),te.stopPropagation(),z(!1),D()}function ue(te){switch(Ft(te)){case Ce.enter:case Ce.numpadEnter:case Ce.space:te.preventDefault(),te.stopPropagation(),I();break;case Ce.esc:fe(te);break}}function he(){m.value.focus()}function re(){m.value.blur()}return ie(()=>A.value,te=>{w&&o("activeChange",te),w=!0}),ie(()=>O.value,()=>{!a.modelValue&&!C.value&&(C.value=!0)}),ie(()=>a.modelValue,te=>{te?te&&te!==O.value&&(w=!1,O.fromString(te)):C.value=!1}),ie(()=>b.value,()=>{y.value&&Ae(y.value.update)}),wt(kS,h),t({color:O,show:I,hide:L,focus:he,blur:re}),(te,ee)=>(x(),oe(i(Mn),{ref_key:"popper",ref:v,visible:b.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[i(s).be("picker","panel"),e.popperClass],"popper-style":e.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:e.teleported,transition:`${i(s).namespace.value}-zoom-in-top`,persistent:e.persistent,"append-to":e.appendTo,onShow:X,onHide:ee[2]||(ee[2]=H=>z(!1))},{content:Q(()=>[it((x(),oe(i(MS),ut({ref_key:"pickerPanelRef",ref:y},M.value,{border:!1,"validate-event":!1,onKeydown:Jt(fe,["esc"])}),{footer:Q(()=>[j("div",null,[e.clearable?(x(),oe(i(xn),{key:0,class:N(i(s).be("footer","link-btn")),text:"",size:"small",onClick:W},{default:Q(()=>[bt(ke(i(l)("el.colorpicker.clear")),1)]),_:1},8,["class"])):ae("v-if",!0),q(i(xn),{plain:"",size:"small",class:N(i(s).be("footer","btn")),onClick:U},{default:Q(()=>[bt(ke(i(l)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[i(Nl),J,m.value]])]),default:Q(()=>[j("div",ut({id:i(g),ref_key:"triggerRef",ref:m},te.$attrs,{class:K.value,role:"button","aria-label":R.value,"aria-labelledby":B.value,"aria-description":i(l)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":i(c),tabindex:i(c)?void 0:e.tabindex,onKeydown:ue,onFocus:ee[0]||(ee[0]=(...H)=>i(E)&&i(E)(...H)),onBlur:ee[1]||(ee[1]=(...H)=>i($)&&i($)(...H))}),[j("div",{class:N(i(s).be("picker","trigger")),onClick:V},[j("span",{class:N([i(s).be("picker","color"),i(s).is("alpha",e.showAlpha)])},[j("span",{class:N(i(s).be("picker","color-inner")),style:We({backgroundColor:T.value})},[it(q(i(Be),{class:N([i(s).be("picker","icon"),i(s).is("icon-arrow-down")])},{default:Q(()=>[q(i(Eo))]),_:1},8,["class"]),[[Ot,e.modelValue||C.value]]),it(q(i(Be),{class:N([i(s).be("picker","empty"),i(s).is("icon-close")])},{default:Q(()=>[q(i(Ma))]),_:1},8,["class"]),[[Ot,!e.modelValue&&!C.value]])],6)],2)],2)],16,qB)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}}),XB=GB;const ZB=lt(XB);var JB=le({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(e){const t=e,n=cn(),a=ve("container"),o=S(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(l=>{const s=l.type.name;return s==="ElHeader"||s==="ElFooter"}):!1);return(l,s)=>(x(),F("section",{class:N([i(a).b(),i(a).is("vertical",o.value)])},[ne(l.$slots,"default")],2))}}),QB=JB,eV=le({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ve("aside"),a=S(()=>t.width?n.cssVarBlock({width:t.width}):{});return(o,l)=>(x(),F("aside",{class:N(i(n).b()),style:We(a.value)},[ne(o.$slots,"default")],6))}}),IS=eV,tV=le({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ve("footer"),a=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,l)=>(x(),F("footer",{class:N(i(n).b()),style:We(a.value)},[ne(o.$slots,"default")],6))}}),PS=tV,nV=le({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ve("header"),a=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,l)=>(x(),F("header",{class:N(i(n).b()),style:We(a.value)},[ne(o.$slots,"default")],6))}}),RS=nV,aV=le({name:"ElMain",__name:"main",setup(e){const t=ve("main");return(n,a)=>(x(),F("main",{class:N(i(t).b())},[ne(n.$slots,"default")],2))}}),AS=aV;const oV=lt(QB,{Aside:IS,Footer:PS,Header:RS,Main:AS}),lV=Zt(IS),sV=Zt(PS),rV=Zt(RS),iV=Zt(AS),uV=Se({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:G([Number,Object]),default:0},valueStyle:{type:G([String,Object,Array])}}),cV={finish:()=>!0,[ht]:e=>Ke(e)},dV=Se({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:G([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:G([String,Object,Array])}});var fV=le({name:"ElStatistic",__name:"statistic",props:dV,setup(e,{expose:t}){const n=e,a=ve("statistic"),o=S(()=>{const{value:l,formatter:s,precision:r,decimalSeparator:u,groupSeparator:c}=n;if(ze(s))return s(l);if(!Ke(l)||Number.isNaN(l))return l;let[d,f=""]=String(l).split(".");return f=f.padEnd(r,"0").slice(0,r>0?r:0),d=d.replace(/\B(?=(\d{3})+(?!\d))/g,c),[d,f].join(f?u:"")});return t({displayValue:o}),(l,s)=>(x(),F("div",{class:N(i(a).b())},[l.$slots.title||e.title?(x(),F("div",{key:0,class:N(i(a).e("head"))},[ne(l.$slots,"title",{},()=>[bt(ke(e.title),1)])],2)):ae("v-if",!0),j("div",{class:N(i(a).e("content"))},[l.$slots.prefix||e.prefix?(x(),F("div",{key:0,class:N(i(a).e("prefix"))},[ne(l.$slots,"prefix",{},()=>[j("span",null,ke(e.prefix),1)])],2)):ae("v-if",!0),j("span",{class:N(i(a).e("number")),style:We(e.valueStyle)},ke(o.value),7),l.$slots.suffix||e.suffix?(x(),F("div",{key:1,class:N(i(a).e("suffix"))},[ne(l.$slots,"suffix",{},()=>[j("span",null,ke(e.suffix),1)])],2)):ae("v-if",!0)],2)],2))}}),pV=fV;const _S=lt(pV),vV=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],Uy=e=>Ke(e)?new Date(e).getTime():e.valueOf(),qy=(e,t)=>{let n=e;return vV.reduce((a,[o,l])=>{const s=new RegExp(`${o}+(?![^\\[\\]]*\\])`,"g");if(s.test(a)){const r=Math.floor(n/l);return n-=r*l,a.replace(s,u=>String(r).padStart(u.length,"0"))}return a},t).replace(/\[([^\]]*)]/g,"$1")};var hV=le({name:"ElCountdown",__name:"countdown",props:uV,emits:cV,setup(e,{expose:t,emit:n}){const a=e,o=n;let l;const s=_(0),r=S(()=>qy(s.value,a.format)),u=f=>qy(f,a.format),c=()=>{l&&(Yo(l),l=void 0)},d=()=>{const f=Uy(a.value),h=()=>{let g=f-Date.now();o(ht,g),g<=0?(g=0,c(),o("finish")):l=za(h),s.value=g};l=za(h)};return ft(()=>{s.value=Uy(a.value)-Date.now(),ie(()=>[a.value,a.format],()=>{c(),d()},{immediate:!0})}),Rt(()=>{c()}),t({displayValue:r}),(f,h)=>(x(),oe(i(_S),{value:s.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:u},na({_:2},[yt(f.$slots,(g,p)=>({name:p,fn:Q(()=>[ne(f.$slots,p)])}))]),1032,["value","title","prefix","suffix","value-style"]))}}),mV=hV;const gV=lt(mV),yV=Se({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:G([Date,Array,String,Number]),default:""},defaultValue:{type:G([Date,Array])},defaultTime:{type:G([Date,Array])},isRange:Boolean,...rh,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:G(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),hh=Symbol("rootPickerContextKey"),ou="ElIsDefaultFormat",bV=["date","dates","year","years","month","months","week","range"],mh=Se({cellClassName:{type:G(Function)},disabledDate:{type:G(Function)},date:{type:G(Object),required:!0},minDate:{type:G(Object)},maxDate:{type:G(Object)},parsedValue:{type:G([Object,Array])},rangeState:{type:G(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),LS=Se({type:{type:G(String),required:!0,values:uT},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),gh=Se({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:G(Array)}}),yh=e=>({type:String,values:bV,default:e}),wV=Se({...LS,parsedValue:{type:G([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Ci=e=>{if(!be(e))return!1;const[t,n]=e;return ot.isDayjs(t)&&ot.isDayjs(n)&&ot(t).isValid()&&ot(n).isValid()&&t.isSameOrBefore(n)},kd=(e,{lang:t,step:n=1,unit:a,unlinkPanels:o})=>{let l;if(be(e)){let[s,r]=e.map(u=>ot(u).locale(t));return o||(r=s.add(n,a)),[s,r]}else e?l=ot(e):l=ot();return l=l.locale(t),[l,l.add(n,a)]},CV=(e,t,{columnIndexOffset:n,startDate:a,nextEndDate:o,now:l,unit:s,relativeDateGetter:r,setCellMetadata:u,setRowMetadata:c})=>{for(let d=0;d{const o=ot().locale(a).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second());return Sl(o.daysInMonth()).map(l=>o.add(l,"day").toDate())},lr=(e,t,n,a,o)=>{const l=ot().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),s=Ec(e,t,n,a).find(r=>!(o!=null&&o(r)));return s?ot(s).locale(a):l.locale(a)},xc=(e,t,n)=>{const a=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const o=e.month();if(!Ec(e,a,o,t).every(n))return lr(e,a,o,t,n);for(let l=0;l<12;l++)if(!Ec(e,a,l,t).every(n))return lr(e,a,l,t,n);return e},sr=(e,t,n,a)=>{if(be(e))return e.map(o=>sr(o,t,n,a));if(De(e)){const o=a!=null&&a.value?ot(e):ot(e,t);if(!o.isValid())return o}return ot(e,t).locale(n)},SV=Se({...mh,showWeekNumber:Boolean,selectionMode:yh("date")}),kV=["changerange","pick","select"],Tc=(e="")=>["normal","today"].includes(e),EV=(e,t)=>{const{lang:n}=St(),a=_(),o=_(),l=_(),s=_(),r=_([[],[],[],[],[],[]]);let u=!1;const c=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(L=>L.toLowerCase()),f=S(()=>c>3?7-c:-c),h=S(()=>{const L=e.date.startOf("month");return L.subtract(L.day()||7,"day")}),g=S(()=>d.concat(d).slice(c,c+7)),p=S(()=>dc(i(w)).some(L=>L.isCurrent)),v=S(()=>{const L=e.date.startOf("month");return{startOfMonthDay:L.day()||7,dateCountOfMonth:L.daysInMonth(),dateCountOfLastMonth:L.subtract(1,"month").daysInMonth()}}),m=S(()=>e.selectionMode==="dates"?Un(e.parsedValue):[]),y=(L,{count:D,rowIndex:V,columnIndex:U})=>{const{startOfMonthDay:W,dateCountOfMonth:X,dateCountOfLastMonth:J}=i(v),fe=i(f);if(V>=0&&V<=1){const ue=W+fe<0?7+W+fe:W+fe;if(U+V*7>=ue)return L.text=D,!0;L.text=J-(ue-U%7)+1+V*7,L.type="prev-month"}else return D<=X?L.text=D:(L.text=D-X,L.type="next-month"),!0;return!1},b=(L,{columnIndex:D,rowIndex:V},U)=>{const{disabledDate:W,cellClassName:X}=e,J=i(m),fe=y(L,{count:U,rowIndex:V,columnIndex:D}),ue=L.dayjs.toDate();return L.selected=J.find(he=>he.isSame(L.dayjs,"day")),L.isSelected=!!L.selected,L.isCurrent=E(L),L.disabled=W==null?void 0:W(ue),L.customClass=X==null?void 0:X(ue),fe},C=L=>{if(e.selectionMode==="week"){const[D,V]=e.showWeekNumber?[1,7]:[0,6],U=I(L[D+1]);L[D].inRange=U,L[D].start=U,L[V].inRange=U,L[V].end=U}},w=S(()=>{const{minDate:L,maxDate:D,rangeState:V,showWeekNumber:U}=e,W=i(f),X=i(r),J="day";let fe=1;if(CV({row:6,column:7},X,{startDate:L,columnIndexOffset:U?1:0,nextEndDate:V.endDate||D||V.selecting&&L||null,now:ot().locale(i(n)).startOf(J),unit:J,relativeDateGetter:ue=>i(h).add(ue-W,J),setCellMetadata:(...ue)=>{b(...ue,fe)&&(fe+=1)},setRowMetadata:C}),U)for(let ue=0;ue<6;ue++)X[ue][1].dayjs&&(X[ue][0]={type:"week",text:X[ue][1].dayjs.week()});return X});ie(()=>e.date,async()=>{var L;(L=i(a))!=null&&L.contains(document.activeElement)&&(await Ae(),await k())});const k=async()=>{var L;return(L=i(o))==null?void 0:L.focus()},E=L=>e.selectionMode==="date"&&Tc(L.type)&&$(L,e.parsedValue),$=(L,D)=>D?ot(D).locale(i(n)).isSame(e.date.date(Number(L.text)),"day"):!1,O=(L,D)=>{const V=i(v).startOfMonthDay,U=i(f),W=V+U<0?7+V+U:V+U,X=L*7+(D-(e.showWeekNumber?1:0));return e.date.startOf("month").subtract(W,"day").add(X,"day")},M=L=>{var W;if(!e.rangeState.selecting)return;let D=L.target;if(D.tagName==="SPAN"&&(D=(W=D.parentNode)==null?void 0:W.parentNode),D.tagName==="DIV"&&(D=D.parentNode),D.tagName!=="TD")return;const V=D.parentNode.rowIndex-1,U=D.cellIndex;i(w)[V][U].disabled||(V!==i(l)||U!==i(s))&&(l.value=V,s.value=U,t("changerange",{selecting:!0,endDate:O(V,U)}))},T=L=>!i(p)&&(L==null?void 0:L.text)===1&&Tc(L.type)||L.isCurrent,A=L=>{u||i(p)||e.selectionMode!=="date"||P(L,!0)},R=L=>{L.target.closest("td")&&(u=!0)},B=L=>{L.target.closest("td")&&(u=!1)},K=L=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:L,maxDate:null}),t("select",!0)):(L>=e.minDate?t("pick",{minDate:e.minDate,maxDate:L}):t("pick",{minDate:L,maxDate:e.minDate}),t("select",!1))},Y=L=>{const D=L.week(),V=`${L.year()}w${D}`;t("pick",{year:L.year(),week:D,value:V,date:L.startOf("week")})},z=(L,D)=>{t("pick",D?Un(e.parsedValue).filter(V=>(V==null?void 0:V.valueOf())!==L.valueOf()):Un(e.parsedValue).concat([L]))},P=(L,D=!1)=>{if(e.disabled)return;const V=L.target.closest("td");if(!V)return;const U=V.parentNode.rowIndex-1,W=V.cellIndex,X=i(w)[U][W];if(X.disabled||X.type==="week")return;const J=O(U,W);switch(e.selectionMode){case"range":K(J);break;case"date":t("pick",J,D);break;case"week":Y(J);break;case"dates":z(J,!!X.selected);break}},I=L=>{if(e.selectionMode!=="week")return!1;let D=e.date.startOf("day");if(L.type==="prev-month"&&(D=D.subtract(1,"month")),L.type==="next-month"&&(D=D.add(1,"month")),D=D.date(Number.parseInt(L.text,10)),e.parsedValue&&!be(e.parsedValue)){const V=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(V,"day").isSame(D,"day")}return!1};return{WEEKS:g,rows:w,tbodyRef:a,currentCellRef:o,focus:k,isCurrent:E,isWeekActive:I,isSelectedCell:T,handlePickDate:P,handleMouseUp:B,handleMouseDown:R,handleMouseMove:M,handleFocus:A}},xV=(e,{isCurrent:t,isWeekActive:n})=>{const a=ve("date-table"),{t:o}=St(),l=S(()=>[a.b(),a.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),s=S(()=>o("el.datepicker.dateTablePrompt")),r=c=>{const d=[];return Tc(c.type)&&!c.disabled?(d.push("available"),c.type==="today"&&d.push("today")):d.push(c.type),t(c)&&d.push("current"),c.inRange&&(Tc(c.type)||e.selectionMode==="week")&&(d.push("in-range"),c.start&&d.push("start-date"),c.end&&d.push("end-date")),(c.disabled||e.disabled)&&d.push("disabled"),c.selected&&d.push("selected"),c.customClass&&d.push(c.customClass),d.join(" ")},u=c=>[a.e("row"),{current:n(c)}];return{tableKls:l,tableLabel:s,weekHeaderClass:a.e("week-header"),getCellClasses:r,getRowKls:u,t:o}},TV=Se({cell:{type:G(Object)}});var bh=le({name:"ElDatePickerCell",props:TV,setup(e){const t=ve("date-table-cell"),{slots:n}=Le(hh);return()=>{const{cell:a}=e;return ne(n,"default",{...a},()=>[q("div",{class:t.b()},[q("span",{class:t.e("text")},[(a==null?void 0:a.renderText)??(a==null?void 0:a.text)])])])}}});const $V=["aria-label"],OV=["aria-label"],NV=["aria-current","aria-selected","tabindex","aria-disabled"];var MV=le({__name:"basic-date-table",props:SV,emits:kV,setup(e,{expose:t,emit:n}){const a=e,{WEEKS:o,rows:l,tbodyRef:s,currentCellRef:r,focus:u,isCurrent:c,isWeekActive:d,isSelectedCell:f,handlePickDate:h,handleMouseUp:g,handleMouseDown:p,handleMouseMove:v,handleFocus:m}=EV(a,n),{tableLabel:y,tableKls:b,getCellClasses:C,getRowKls:w,weekHeaderClass:k,t:E}=xV(a,{isCurrent:c,isWeekActive:d});let $=!1;return Rt(()=>{$=!0}),t({focus:u}),(O,M)=>(x(),F("table",{"aria-label":i(y),class:N(i(b)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:M[1]||(M[1]=(...T)=>i(h)&&i(h)(...T)),onMousemove:M[2]||(M[2]=(...T)=>i(v)&&i(v)(...T)),onMousedown:M[3]||(M[3]=(...T)=>i(p)&&i(p)(...T)),onMouseup:M[4]||(M[4]=(...T)=>i(g)&&i(g)(...T))},[j("tbody",{ref_key:"tbodyRef",ref:s},[j("tr",null,[O.showWeekNumber?(x(),F("th",{key:0,scope:"col",class:N(i(k))},null,2)):ae("v-if",!0),(x(!0),F(He,null,yt(i(o),(T,A)=>(x(),F("th",{key:A,"aria-label":i(E)("el.datepicker.weeksFull."+T),scope:"col"},ke(i(E)("el.datepicker.weeks."+T)),9,OV))),128))]),(x(!0),F(He,null,yt(i(l),(T,A)=>(x(),F("tr",{key:A,class:N(i(w)(O.showWeekNumber?T[2]:T[1]))},[(x(!0),F(He,null,yt(T,(R,B)=>(x(),F("td",{key:`${A}.${B}`,ref_for:!0,ref:K=>!i($)&&i(f)(R)&&(r.value=K),class:N(i(C)(R)),"aria-current":R.isCurrent?"date":void 0,"aria-selected":R.isCurrent,tabindex:O.disabled?void 0:i(f)(R)?0:-1,"aria-disabled":O.disabled,onFocus:M[0]||(M[0]=(...K)=>i(m)&&i(m)(...K))},[q(i(bh),{cell:R},null,8,["cell"])],42,NV))),128))],2))),128))],512)],42,$V))}}),Cp=MV;const IV=Se({...mh,selectionMode:yh("month")}),PV=["aria-label"],RV=["aria-selected","aria-label","tabindex","onKeydown"];var AV=le({__name:"basic-month-table",props:IV,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("month-table"),{t:s,lang:r}=St(),u=_(),c=_(),d=_(a.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),f=_([[],[],[]]),h=_(),g=_(),p=S(()=>{var E,$,O;const w=f.value,k=ot().locale(r.value).startOf("month");for(let M=0;M<3;M++){const T=w[M];for(let A=0;A<4;A++){const R=T[A]||(T[A]={row:M,column:A,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});R.type="normal";const B=M*4+A,K=a.date.startOf("year").month(B),Y=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;R.inRange=!!(a.minDate&&K.isSameOrAfter(a.minDate,"month")&&Y&&K.isSameOrBefore(Y,"month"))||!!(a.minDate&&K.isSameOrBefore(a.minDate,"month")&&Y&&K.isSameOrAfter(Y,"month")),(E=a.minDate)!=null&&E.isSameOrAfter(Y)?(R.start=!!(Y&&K.isSame(Y,"month")),R.end=a.minDate&&K.isSame(a.minDate,"month")):(R.start=!!(a.minDate&&K.isSame(a.minDate,"month")),R.end=!!(Y&&K.isSame(Y,"month"))),k.isSame(K)&&(R.type="today");const z=K.toDate();R.text=B,R.disabled=(($=a.disabledDate)==null?void 0:$.call(a,z))||!1,R.date=z,R.customClass=(O=a.cellClassName)==null?void 0:O.call(a,z),R.dayjs=K,R.timestamp=K.valueOf(),R.isSelected=y(R)}}return w}),v=()=>{var w;(w=c.value)==null||w.focus()},m=w=>{const k={},E=a.date.year(),$=new Date,O=w.text;return k.disabled=a.disabled||(a.disabledDate?Ec(a.date,E,O,r.value).every(a.disabledDate):!1),k.current=Un(a.parsedValue).some(M=>ot.isDayjs(M)&&M.year()===E&&M.month()===O),k.today=$.getFullYear()===E&&$.getMonth()===O,w.customClass&&(k[w.customClass]=!0),w.inRange&&(k["in-range"]=!0,w.start&&(k["start-date"]=!0),w.end&&(k["end-date"]=!0)),k},y=w=>{const k=a.date.year(),E=w.text;return Un(a.date).some($=>$.year()===k&&$.month()===E)},b=w=>{var O;if(!a.rangeState.selecting)return;let k=w.target;if(k.tagName==="SPAN"&&(k=(O=k.parentNode)==null?void 0:O.parentNode),k.tagName==="DIV"&&(k=k.parentNode),k.tagName!=="TD")return;const E=k.parentNode.rowIndex,$=k.cellIndex;p.value[E][$].disabled||(E!==h.value||$!==g.value)&&(h.value=E,g.value=$,o("changerange",{selecting:!0,endDate:a.date.startOf("year").month(E*4+$)}))},C=w=>{var M;if(a.disabled)return;const k=(M=w.target)==null?void 0:M.closest("td");if((k==null?void 0:k.tagName)!=="TD"||fo(k,"disabled"))return;const E=k.cellIndex,$=k.parentNode.rowIndex*4+E,O=a.date.startOf("year").month($);if(a.selectionMode==="months"){if(w.type==="keydown"){o("pick",Un(a.parsedValue),!1);return}const T=lr(a.date,a.date.year(),$,r.value,a.disabledDate);o("pick",fo(k,"current")?Un(a.parsedValue).filter(A=>(A==null?void 0:A.year())!==T.year()||(A==null?void 0:A.month())!==T.month()):Un(a.parsedValue).concat([ot(T)]))}else a.selectionMode==="range"?a.rangeState.selecting?(a.minDate&&O>=a.minDate?o("pick",{minDate:a.minDate,maxDate:O}):o("pick",{minDate:O,maxDate:a.minDate}),o("select",!1)):(o("pick",{minDate:O,maxDate:null}),o("select",!0)):o("pick",$)};return ie(()=>a.date,async()=>{var w,k;(w=u.value)!=null&&w.contains(document.activeElement)&&(await Ae(),(k=c.value)==null||k.focus())}),t({focus:v}),(w,k)=>(x(),F("table",{role:"grid","aria-label":i(s)("el.datepicker.monthTablePrompt"),class:N(i(l).b()),onClick:C,onMousemove:b},[j("tbody",{ref_key:"tbodyRef",ref:u},[(x(!0),F(He,null,yt(p.value,(E,$)=>(x(),F("tr",{key:$},[(x(!0),F(He,null,yt(E,(O,M)=>(x(),F("td",{key:M,ref_for:!0,ref:T=>O.isSelected&&(c.value=T),class:N(m(O)),"aria-selected":!!O.isSelected,"aria-label":i(s)(`el.datepicker.month${+O.text+1}`),tabindex:O.isSelected?0:-1,onKeydown:[Jt(Ze(C,["prevent","stop"]),["space"]),Jt(Ze(C,["prevent","stop"]),["enter"])]},[q(i(bh),{cell:{...O,renderText:i(s)("el.datepicker.months."+d.value[O.text])}},null,8,["cell"])],42,RV))),128))]))),128))],512)],42,PV))}}),Si=AV;const _V=Se({...mh,selectionMode:yh("year")}),LV=["aria-label"],DV=["aria-selected","aria-label","tabindex","onKeydown"];var BV=le({__name:"basic-year-table",props:_V,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const a=(k,E)=>{const $=ot(String(k)).locale(E).startOf("year");return Sl($.endOf("year").dayOfYear()).map(O=>$.add(O,"day").toDate())},o=e,l=n,s=ve("year-table"),{t:r,lang:u}=St(),c=_(),d=_(),f=S(()=>Math.floor(o.date.year()/10)*10),h=_([[],[],[]]),g=_(),p=_(),v=S(()=>{var $,O,M;const k=h.value,E=ot().locale(u.value).startOf("year");for(let T=0;T<3;T++){const A=k[T];for(let R=0;R<4&&!(T*4+R>=10);R++){let B=A[R];B||(B={row:T,column:R,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),B.type="normal";const K=T*4+R+f.value,Y=ot().year(K),z=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;B.inRange=!!(o.minDate&&Y.isSameOrAfter(o.minDate,"year")&&z&&Y.isSameOrBefore(z,"year"))||!!(o.minDate&&Y.isSameOrBefore(o.minDate,"year")&&z&&Y.isSameOrAfter(z,"year")),($=o.minDate)!=null&&$.isSameOrAfter(z)?(B.start=!!(z&&Y.isSame(z,"year")),B.end=!!(o.minDate&&Y.isSame(o.minDate,"year"))):(B.start=!!(o.minDate&&Y.isSame(o.minDate,"year")),B.end=!!(z&&Y.isSame(z,"year"))),E.isSame(Y)&&(B.type="today"),B.text=K;const P=Y.toDate();B.disabled=((O=o.disabledDate)==null?void 0:O.call(o,P))||!1,B.date=P,B.customClass=(M=o.cellClassName)==null?void 0:M.call(o,P),B.dayjs=Y,B.timestamp=Y.valueOf(),B.isSelected=b(B),A[R]=B}}return k}),m=()=>{var k;(k=d.value)==null||k.focus()},y=k=>{const E={},$=ot().locale(u.value),O=k.text;return E.disabled=o.disabled||(o.disabledDate?a(O,u.value).every(o.disabledDate):!1),E.today=$.year()===O,E.current=Un(o.parsedValue).some(M=>M.year()===O),k.customClass&&(E[k.customClass]=!0),k.inRange&&(E["in-range"]=!0,k.start&&(E["start-date"]=!0),k.end&&(E["end-date"]=!0)),E},b=k=>{const E=k.text;return Un(o.date).some($=>$.year()===E)},C=k=>{var T;if(o.disabled)return;const E=(T=k.target)==null?void 0:T.closest("td");if(!E||!E.textContent||fo(E,"disabled"))return;const $=E.cellIndex,O=E.parentNode.rowIndex*4+$+f.value,M=ot().year(O);if(o.selectionMode==="range")o.rangeState.selecting?(o.minDate&&M>=o.minDate?l("pick",{minDate:o.minDate,maxDate:M}):l("pick",{minDate:M,maxDate:o.minDate}),l("select",!1)):(l("pick",{minDate:M,maxDate:null}),l("select",!0));else if(o.selectionMode==="years"){if(k.type==="keydown"){l("pick",Un(o.parsedValue),!1);return}const A=xc(M.startOf("year"),u.value,o.disabledDate);l("pick",fo(E,"current")?Un(o.parsedValue).filter(R=>(R==null?void 0:R.year())!==O):Un(o.parsedValue).concat([A]))}else l("pick",O)},w=k=>{var M;if(!o.rangeState.selecting)return;const E=(M=k.target)==null?void 0:M.closest("td");if(!E)return;const $=E.parentNode.rowIndex,O=E.cellIndex;v.value[$][O].disabled||($!==g.value||O!==p.value)&&(g.value=$,p.value=O,l("changerange",{selecting:!0,endDate:ot().year(f.value).add($*4+O,"year")}))};return ie(()=>o.date,async()=>{var k,E;(k=c.value)!=null&&k.contains(document.activeElement)&&(await Ae(),(E=d.value)==null||E.focus())}),t({focus:m}),(k,E)=>(x(),F("table",{role:"grid","aria-label":i(r)("el.datepicker.yearTablePrompt"),class:N(i(s).b()),onClick:C,onMousemove:w},[j("tbody",{ref_key:"tbodyRef",ref:c},[(x(!0),F(He,null,yt(v.value,($,O)=>(x(),F("tr",{key:O},[(x(!0),F(He,null,yt($,(M,T)=>(x(),F("td",{key:`${O}_${T}`,ref_for:!0,ref:A=>M.isSelected&&(d.value=A),class:N(["available",y(M)]),"aria-selected":M.isSelected,"aria-label":String(M.text),tabindex:M.isSelected?0:-1,onKeydown:[Jt(Ze(C,["prevent","stop"]),["space"]),Jt(Ze(C,["prevent","stop"]),["enter"])]},[q(i(bh),{cell:M},null,8,["cell"])],42,DV))),128))]))),128))],512)],42,LV))}}),ki=BV;const VV=["disabled","onClick"],FV=["aria-label","disabled"],zV=["aria-label","disabled"],HV=["tabindex","aria-disabled"],KV=["tabindex","aria-disabled"],WV=["aria-label","disabled"],jV=["aria-label","disabled"];var YV=le({__name:"panel-date-pick",props:wV,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(de,Fe,ce)=>!0,a=e,o=t,l=ve("picker-panel"),s=ve("date-picker"),r=Jo(),u=cn(),{t:c,lang:d}=St(),f=Le(ja),h=Le(ou,void 0),{shortcuts:g,disabledDate:p,cellClassName:v,defaultTime:m}=f.props,y=_t(f.props,"defaultValue"),b=_(),C=_(ot().locale(d.value)),w=_(!1);let k=!1;const E=S(()=>ot(m).locale(d.value)),$=S(()=>C.value.month()),O=S(()=>C.value.year()),M=_([]),T=_(null),A=_(null),R=de=>M.value.length>0?n(de,M.value,a.format||"HH:mm:ss"):!0,B=de=>m&&!Ne.value&&!w.value&&!k?E.value.year(de.year()).month(de.month()).date(de.date()):re.value?de.millisecond(0):de.startOf("day"),K=(de,...Fe)=>{de?be(de)?o("pick",de.map(B),...Fe):o("pick",B(de),...Fe):o("pick",de,...Fe),T.value=null,A.value=null,w.value=!1,k=!1},Y=async(de,Fe)=>{if(V.value==="date"&&ot.isDayjs(de)){const ce=Mr(a.parsedValue);let Re=ce?ce.year(de.year()).month(de.month()).date(de.date()):de;R(Re),C.value=Re,K(Re,re.value||Fe)}else V.value==="week"?K(de.date):V.value==="dates"&&K(de,!0)},z=de=>{const Fe=de?"add":"subtract";C.value=C.value[Fe](1,"month"),mt("month")},P=de=>{const Fe=C.value,ce=de?"add":"subtract";C.value=I.value==="year"?Fe[ce](10,"year"):Fe[ce](1,"year"),mt("year")},I=_("date"),L=S(()=>{const de=c("el.datepicker.year");if(I.value==="year"){const Fe=Math.floor(O.value/10)*10;return de?`${Fe} ${de} - ${Fe+9} ${de}`:`${Fe} - ${Fe+9}`}return`${O.value} ${de}`}),D=de=>{const Fe=ze(de.value)?de.value():de.value;if(Fe){k=!0,K(ot(Fe).locale(d.value));return}de.onClick&&de.onClick({attrs:r,slots:u,emit:o})},V=S(()=>{const{type:de}=a;return["week","month","months","year","years","dates"].includes(de)?de:"date"}),U=S(()=>V.value==="dates"||V.value==="months"||V.value==="years"),W=S(()=>V.value==="date"?I.value:V.value),X=S(()=>!!g.length),J=async(de,Fe)=>{V.value==="month"?(C.value=lr(C.value,C.value.year(),de,d.value,p),K(C.value,!1)):V.value==="months"?K(de,Fe??!0):(C.value=lr(C.value,C.value.year(),de,d.value,p),I.value="date",["month","year","date","week"].includes(V.value)&&(K(C.value,!0),await Ae(),xt())),mt("month")},fe=async(de,Fe)=>{V.value==="year"?(C.value=xc(C.value.startOf("year").year(de),d.value,p),K(C.value,!1)):V.value==="years"?K(de,Fe??!0):(C.value=xc(C.value.year(de),d.value,p),I.value="month",["month","year","date","week"].includes(V.value)&&(K(C.value,!0),await Ae(),xt())),mt("year")},ue=nn(),he=async de=>{ue.value||(I.value=de,await Ae(),xt())},re=S(()=>a.type==="datetime"||a.type==="datetimerange"),te=S(()=>{const de=re.value||V.value==="dates",Fe=V.value==="years",ce=V.value==="months",Re=I.value==="date",vt=I.value==="year",Vt=I.value==="month";return de&&Re||Fe&&vt||ce&&Vt}),ee=S(()=>!U.value&&a.showNow||a.showConfirm),H=S(()=>p?a.parsedValue?be(a.parsedValue)?p(a.parsedValue[0].toDate()):p(a.parsedValue.toDate()):!0:!1),Z=()=>{if(U.value)K(a.parsedValue);else{let de=Mr(a.parsedValue);if(!de){const Fe=ot(m).locale(d.value),ce=je();de=Fe.year(ce.year()).month(ce.month()).date(ce.date())}C.value=de,K(de)}},se=S(()=>p?p(ot().locale(d.value).toDate()):!1),pe=()=>{const de=ot().locale(d.value).toDate();w.value=!0,(!p||!p(de))&&R(de)&&(C.value=ot().locale(d.value),K(C.value))},ge=S(()=>a.timeFormat||RC(a.format)||or),ye=S(()=>a.dateFormat||PC(a.format)||ml),Ne=S(()=>{if(A.value)return A.value;if(!(!a.parsedValue&&!y.value))return(Mr(a.parsedValue)||C.value).format(ge.value)}),_e=S(()=>{if(T.value)return T.value;if(!(!a.parsedValue&&!y.value))return(Mr(a.parsedValue)||C.value).format(ye.value)}),Me=_(!1),me=()=>{Me.value=!0},Te=()=>{Me.value=!1},we=de=>({hour:de.hour(),minute:de.minute(),second:de.second(),year:de.year(),month:de.month(),date:de.date()}),Ie=(de,Fe,ce)=>{const{hour:Re,minute:vt,second:Vt}=we(de),qt=Mr(a.parsedValue);C.value=qt?qt.hour(Re).minute(vt).second(Vt):de,K(C.value,!0),ce||(Me.value=Fe)},Ve=de=>{const Fe=ot(de,ge.value).locale(d.value);if(Fe.isValid()&&R(Fe)){const{year:ce,month:Re,date:vt}=we(C.value);C.value=Fe.year(ce).month(Re).date(vt),A.value=null,Me.value=!1,K(C.value,!0)}},Xe=de=>{const Fe=sr(de,ye.value,d.value,h);if(Fe.isValid()){if(p&&p(Fe.toDate()))return;const{hour:ce,minute:Re,second:vt}=we(C.value);C.value=Fe.hour(ce).minute(Re).second(vt),T.value=null,K(C.value,!0)}},$e=de=>ot.isDayjs(de)&&de.isValid()&&(p?!p(de.toDate()):!0),Pe=de=>sr(de,a.format,d.value,h),je=()=>{const de=ot(y.value).locale(d.value);if(!y.value){const Fe=E.value;return ot().hour(Fe.hour()).minute(Fe.minute()).second(Fe.second()).locale(d.value)}return de},xt=()=>{var de;["week","month","year","date"].includes(V.value)&&((de=b.value)==null||de.focus())},Mt=()=>{xt(),V.value==="week"&&rt(Ce.down)},Ue=de=>{const Fe=Ft(de);[Ce.up,Ce.down,Ce.left,Ce.right,Ce.home,Ce.end,Ce.pageUp,Ce.pageDown].includes(Fe)&&(rt(Fe),de.stopPropagation(),de.preventDefault()),[Ce.enter,Ce.space,Ce.numpadEnter].includes(Fe)&&T.value===null&&A.value===null&&(de.preventDefault(),K(C.value,!1))},rt=de=>{const{up:Fe,down:ce,left:Re,right:vt,home:Vt,end:qt,pageUp:Oe,pageDown:Ye}=Ce,et={year:{[Fe]:-4,[ce]:4,[Re]:-1,[vt]:1,offset:(zt,on)=>zt.setFullYear(zt.getFullYear()+on)},month:{[Fe]:-4,[ce]:4,[Re]:-1,[vt]:1,offset:(zt,on)=>zt.setMonth(zt.getMonth()+on)},week:{[Fe]:-1,[ce]:1,[Re]:-1,[vt]:1,offset:(zt,on)=>zt.setDate(zt.getDate()+on*7)},date:{[Fe]:-7,[ce]:7,[Re]:-1,[vt]:1,[Vt]:zt=>-zt.getDay(),[qt]:zt=>-zt.getDay()+6,[Oe]:zt=>-new Date(zt.getFullYear(),zt.getMonth(),0).getDate(),[Ye]:zt=>new Date(zt.getFullYear(),zt.getMonth()+1,0).getDate(),offset:(zt,on)=>zt.setDate(zt.getDate()+on)}},vn=C.value.toDate();for(;Math.abs(C.value.diff(vn,"year",!0))<1;){const zt=et[W.value];if(!zt)return;if(zt.offset(vn,ze(zt[de])?zt[de](vn):zt[de]??0),p&&p(vn))break;const on=ot(vn).locale(d.value);C.value=on,o("pick",on,!0);break}},mt=de=>{o("panel-change",C.value.toDate(),de,I.value)};return ie(()=>V.value,de=>{if(["month","year"].includes(de)){I.value=de;return}else if(de==="years"){I.value="year";return}else if(de==="months"){I.value="month";return}I.value="date"},{immediate:!0}),ie(()=>y.value,de=>{de&&(C.value=je())},{immediate:!0}),ie(()=>a.parsedValue,de=>{if(de){if(U.value||be(de))return;C.value=de}else C.value=je()},{immediate:!0}),o("set-picker-option",["isValidValue",$e]),o("set-picker-option",["parseUserInput",Pe]),o("set-picker-option",["handleFocusPicker",Mt]),(de,Fe)=>(x(),F("div",{class:N([i(l).b(),i(s).b(),i(l).is("border",de.border),i(l).is("disabled",i(ue)),{"has-sidebar":de.$slots.sidebar||X.value,"has-time":re.value}])},[j("div",{class:N(i(l).e("body-wrapper"))},[ne(de.$slots,"sidebar",{class:N(i(l).e("sidebar"))}),X.value?(x(),F("div",{key:0,class:N(i(l).e("sidebar"))},[(x(!0),F(He,null,yt(i(g),(ce,Re)=>(x(),F("button",{key:Re,type:"button",disabled:i(ue),class:N(i(l).e("shortcut")),onClick:vt=>D(ce)},ke(ce.text),11,VV))),128))],2)):ae("v-if",!0),j("div",{class:N(i(l).e("body"))},[re.value?(x(),F("div",{key:0,class:N(i(s).e("time-header"))},[j("span",{class:N(i(s).e("editor-wrap"))},[q(i(qn),{placeholder:i(c)("el.datepicker.selectDate"),"model-value":_e.value,size:"small","validate-event":!1,disabled:i(ue),readonly:!de.editable,onInput:Fe[0]||(Fe[0]=ce=>T.value=ce),onChange:Xe},null,8,["placeholder","model-value","disabled","readonly"])],2),it((x(),F("span",{class:N(i(s).e("editor-wrap"))},[q(i(qn),{placeholder:i(c)("el.datepicker.selectTime"),"model-value":Ne.value,size:"small","validate-event":!1,disabled:i(ue),readonly:!de.editable,onFocus:me,onInput:Fe[1]||(Fe[1]=ce=>A.value=ce),onChange:Ve},null,8,["placeholder","model-value","disabled","readonly"]),q(i(wc),{visible:Me.value,format:ge.value,"parsed-value":C.value,onPick:Ie},null,8,["visible","format","parsed-value"])],2)),[[i(Nl),Te]])],2)):ae("v-if",!0),it(j("div",{class:N([i(s).e("header"),(I.value==="year"||I.value==="month")&&i(s).em("header","bordered")])},[j("span",{class:N(i(s).e("prev-btn"))},[j("button",{type:"button","aria-label":i(c)("el.datepicker.prevYear"),class:N(["d-arrow-left",i(l).e("icon-btn")]),disabled:i(ue),onClick:Fe[2]||(Fe[2]=ce=>P(!1))},[ne(de.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,FV),it(j("button",{type:"button","aria-label":i(c)("el.datepicker.prevMonth"),class:N([i(l).e("icon-btn"),"arrow-left"]),disabled:i(ue),onClick:Fe[3]||(Fe[3]=ce=>z(!1))},[ne(de.$slots,"prev-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1})])],10,zV),[[Ot,I.value==="date"]])],2),j("span",{role:"button",class:N(i(s).e("header-label")),"aria-live":"polite",tabindex:de.disabled?void 0:0,"aria-disabled":de.disabled,onKeydown:Fe[4]||(Fe[4]=Jt(ce=>he("year"),["enter"])),onClick:Fe[5]||(Fe[5]=ce=>he("year"))},ke(L.value),43,HV),it(j("span",{role:"button","aria-live":"polite",tabindex:de.disabled?void 0:0,"aria-disabled":de.disabled,class:N([i(s).e("header-label"),{active:I.value==="month"}]),onKeydown:Fe[6]||(Fe[6]=Jt(ce=>he("month"),["enter"])),onClick:Fe[7]||(Fe[7]=ce=>he("month"))},ke(i(c)(`el.datepicker.month${$.value+1}`)),43,KV),[[Ot,I.value==="date"]]),j("span",{class:N(i(s).e("next-btn"))},[it(j("button",{type:"button","aria-label":i(c)("el.datepicker.nextMonth"),class:N([i(l).e("icon-btn"),"arrow-right"]),disabled:i(ue),onClick:Fe[8]||(Fe[8]=ce=>z(!0))},[ne(de.$slots,"next-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})])],10,WV),[[Ot,I.value==="date"]]),j("button",{type:"button","aria-label":i(c)("el.datepicker.nextYear"),class:N([i(l).e("icon-btn"),"d-arrow-right"]),disabled:i(ue),onClick:Fe[9]||(Fe[9]=ce=>P(!0))},[ne(de.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,jV)],2)],2),[[Ot,I.value!=="time"]]),j("div",{class:N(i(l).e("content")),onKeydown:Ue},[I.value==="date"?(x(),oe(Cp,{key:0,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"parsed-value":de.parsedValue,"disabled-date":i(p),disabled:i(ue),"cell-class-name":i(v),"show-week-number":de.showWeekNumber,onPick:Y},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):ae("v-if",!0),I.value==="year"?(x(),oe(ki,{key:1,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"disabled-date":i(p),disabled:i(ue),"parsed-value":de.parsedValue,"cell-class-name":i(v),onPick:fe},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):ae("v-if",!0),I.value==="month"?(x(),oe(Si,{key:2,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"parsed-value":de.parsedValue,"disabled-date":i(p),disabled:i(ue),"cell-class-name":i(v),onPick:J},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):ae("v-if",!0)],34)],2)],2),de.showFooter&&te.value&&ee.value?(x(),F("div",{key:0,class:N(i(l).e("footer"))},[it(q(i(xn),{text:"",size:"small",class:N(i(l).e("link-btn")),disabled:se.value,onClick:pe},{default:Q(()=>[bt(ke(i(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Ot,!U.value&&de.showNow]]),de.showConfirm?(x(),oe(i(xn),{key:0,plain:"",size:"small",class:N(i(l).e("link-btn")),disabled:H.value,onClick:Z},{default:Q(()=>[bt(ke(i(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ae("v-if",!0)],2)):ae("v-if",!0)],2))}}),UV=YV;const qV=Se({...LS,...gh}),GV=e=>{const{emit:t}=ct(),n=Jo(),a=cn();return l=>{const s=ze(l.value)?l.value():l.value;if(s){t("pick",[ot(s[0]).locale(e.value),ot(s[1]).locale(e.value)]);return}l.onClick&&l.onClick({attrs:n,slots:a,emit:t})}},wh=(e,{defaultValue:t,defaultTime:n,leftDate:a,rightDate:o,step:l,unit:s,sortDates:r})=>{const{emit:u}=ct(),{pickerNs:c}=Le(hh),d=ve("date-range-picker"),{t:f,lang:h}=St(),g=GV(h),p=_(),v=_(),m=_({endDate:null,selecting:!1}),y=E=>{m.value=E},b=(E=!1)=>{const $=i(p),O=i(v);Ci([$,O])&&u("pick",[$,O],E)},C=E=>{m.value.selecting=E,E||(m.value.endDate=null)},w=E=>{if(be(E)&&E.length===2){const[$,O]=E;p.value=$,a.value=$,v.value=O,r(i(p),i(v))}else k()},k=()=>{let[E,$]=kd(i(t),{lang:i(h),step:l,unit:s,unlinkPanels:e.unlinkPanels});const O=T=>T.diff(T.startOf("d"),"ms"),M=i(n);if(M){let T=0,A=0;if(be(M)){const[R,B]=M.map(ot);T=O(R),A=O(B)}else{const R=O(ot(M));T=R,A=R}E=E.startOf("d").add(T,"ms"),$=$.startOf("d").add(A,"ms")}p.value=void 0,v.value=void 0,a.value=E,o.value=$};return ie(t,E=>{E&&k()},{immediate:!0}),ie(()=>e.parsedValue,E=>{(!(E!=null&&E.length)||!Qt(E,[p.value,v.value]))&&w(E)},{immediate:!0}),ie(()=>e.visible,()=>{e.visible&&w(e.parsedValue)},{immediate:!0}),{minDate:p,maxDate:v,rangeState:m,lang:h,ppNs:c,drpNs:d,handleChangeRange:y,handleRangeConfirm:b,handleShortcutClick:g,onSelect:C,parseValue:w,t:f}},XV=(e,t,n,a)=>{const o=_("date"),l=_(),s=_("date"),r=_(),{disabledDate:u}=Le(ja).props,{t:c,lang:d}=St(),f=S(()=>n.value.year()),h=S(()=>n.value.month()),g=S(()=>a.value.year()),p=S(()=>a.value.month());function v(k,E){const $=c("el.datepicker.year");if(k.value==="year"){const O=Math.floor(E.value/10)*10;return $?`${O} ${$} - ${O+9} ${$}`:`${O} - ${O+9}`}return`${E.value} ${$}`}function m(k){k==null||k.focus()}async function y(k,E){if(e.disabled)return;const $=k==="left"?o:s,O=k==="left"?l:r;$.value=E,await Ae(),m(O.value)}async function b(k,E,$){if(e.disabled)return;const O=E==="left",M=O?n:a,T=O?a:n,A=O?o:s,R=O?l:r;k==="year"&&(M.value=xc(M.value.year($),d.value,u)),k==="month"&&(M.value=lr(M.value,M.value.year(),$,d.value,u)),e.unlinkPanels||(T.value=E==="left"?M.value.add(1,"month"):M.value.subtract(1,"month")),A.value=k==="year"?"month":"date",await Ae(),m(R.value),C(k)}function C(k){t("panel-change",[n.value.toDate(),a.value.toDate()],k)}function w(k,E,$){const O=$?"add":"subtract";return k==="year"?E[O](10,"year"):E[O](1,"year")}return{leftCurrentView:o,rightCurrentView:s,leftCurrentViewRef:l,rightCurrentViewRef:r,leftYear:f,rightYear:g,leftMonth:h,rightMonth:p,leftYearLabel:S(()=>v(o,f)),rightYearLabel:S(()=>v(s,g)),showLeftPicker:k=>y("left",k),showRightPicker:k=>y("right",k),handleLeftYearPick:k=>b("year","left",k),handleRightYearPick:k=>b("year","right",k),handleLeftMonthPick:k=>b("month","left",k),handleRightMonthPick:k=>b("month","right",k),handlePanelChange:C,adjustDateByView:w}},ZV=["disabled","onClick"],JV=["aria-label","disabled"],QV=["aria-label","disabled"],eF=["disabled","aria-label"],tF=["disabled","aria-label"],nF=["tabindex","aria-disabled"],aF=["tabindex","aria-disabled"],oF=["disabled","aria-label"],lF=["disabled","aria-label"],sF=["aria-label","disabled"],rF=["disabled","aria-label"],iF=["tabindex","aria-disabled"],uF=["tabindex","aria-disabled"],$u="month";var cF=le({__name:"panel-date-range",props:qV,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,a=t,o=Le(ja),l=Le(ou,void 0),{disabledDate:s,cellClassName:r,defaultTime:u,clearable:c}=o.props,d=_t(o.props,"format"),f=_t(o.props,"shortcuts"),h=_t(o.props,"defaultValue"),{lang:g}=St(),p=_(ot().locale(g.value)),v=_(ot().locale(g.value).add(1,$u)),{minDate:m,maxDate:y,rangeState:b,ppNs:C,drpNs:w,handleChangeRange:k,handleRangeConfirm:E,handleShortcutClick:$,onSelect:O,parseValue:M,t:T}=wh(n,{defaultValue:h,defaultTime:u,leftDate:p,rightDate:v,unit:$u,sortDates:on});ie(()=>n.visible,qe=>{!qe&&b.value.selecting&&(M(n.parsedValue),O(!1))});const A=_({min:null,max:null}),R=_({min:null,max:null}),{leftCurrentView:B,rightCurrentView:K,leftCurrentViewRef:Y,rightCurrentViewRef:z,leftYear:P,rightYear:I,leftMonth:L,rightMonth:D,leftYearLabel:V,rightYearLabel:U,showLeftPicker:W,showRightPicker:X,handleLeftYearPick:J,handleRightYearPick:fe,handleLeftMonthPick:ue,handleRightMonthPick:he,handlePanelChange:re,adjustDateByView:te}=XV(n,a,p,v),ee=S(()=>!!f.value.length),H=S(()=>A.value.min!==null?A.value.min:m.value?m.value.format(ye.value):""),Z=S(()=>A.value.max!==null?A.value.max:y.value||m.value?(y.value||m.value).format(ye.value):""),se=S(()=>R.value.min!==null?R.value.min:m.value?m.value.format(ge.value):""),pe=S(()=>R.value.max!==null?R.value.max:y.value||m.value?(y.value||m.value).format(ge.value):""),ge=S(()=>n.timeFormat||RC(d.value||"")||or),ye=S(()=>n.dateFormat||PC(d.value||"")||ml),Ne=qe=>Ci(qe)&&(s?!s(qe[0].toDate())&&!s(qe[1].toDate()):!0),_e=()=>{p.value=te(B.value,p.value,!1),n.unlinkPanels||(v.value=p.value.add(1,"month")),re("year")},Me=()=>{p.value=p.value.subtract(1,"month"),n.unlinkPanels||(v.value=p.value.add(1,"month")),re("month")},me=()=>{n.unlinkPanels?v.value=te(K.value,v.value,!0):(p.value=te(K.value,p.value,!0),v.value=p.value.add(1,"month")),re("year")},Te=()=>{n.unlinkPanels?v.value=v.value.add(1,"month"):(p.value=p.value.add(1,"month"),v.value=p.value.add(1,"month")),re("month")},we=()=>{p.value=te(B.value,p.value,!0),re("year")},Ie=()=>{p.value=p.value.add(1,"month"),re("month")},Ve=()=>{v.value=te(K.value,v.value,!1),re("year")},Xe=()=>{v.value=v.value.subtract(1,"month"),re("month")},$e=S(()=>{const qe=(L.value+1)%12,Qe=L.value+1>=12?1:0;return n.unlinkPanels&&new Date(P.value+Qe,qe)n.unlinkPanels&&I.value*12+D.value-(P.value*12+L.value+1)>=12),je=nn(),xt=S(()=>!(m.value&&y.value&&!b.value.selecting&&Ci([m.value,y.value])&&!je.value)),Mt=S(()=>n.type==="datetime"||n.type==="datetimerange"),Ue=(qe,Qe)=>{if(qe)return u?ot(u[Qe]||u).locale(g.value).year(qe.year()).month(qe.month()).date(qe.date()):qe},rt=(qe,Qe=!0)=>{const pt=qe.minDate,Sn=qe.maxDate,Qa=Ue(pt,0),Ia=Ue(Sn,1);y.value===Ia&&m.value===Qa||(a("calendar-change",[pt.toDate(),Sn&&Sn.toDate()]),y.value=Ia,m.value=Qa,!Mt.value&&Qe&&(Qe=!Qa||!Ia),E(Qe))},mt=_(!1),de=_(!1),Fe=()=>{mt.value=!1},ce=()=>{de.value=!1},Re=(qe,Qe)=>{A.value[Qe]=qe;const pt=ot(qe,ye.value).locale(g.value);if(pt.isValid()){if(s&&s(pt.toDate()))return;Qe==="min"?(p.value=pt,m.value=(m.value||p.value).year(pt.year()).month(pt.month()).date(pt.date()),!n.unlinkPanels&&(!y.value||y.value.isBefore(m.value))&&(v.value=pt.add(1,"month"),y.value=m.value.add(1,"month"))):(v.value=pt,y.value=(y.value||v.value).year(pt.year()).month(pt.month()).date(pt.date()),!n.unlinkPanels&&(!m.value||m.value.isAfter(y.value))&&(p.value=pt.subtract(1,"month"),m.value=y.value.subtract(1,"month"))),on(m.value,y.value),E(!0)}},vt=(qe,Qe)=>{A.value[Qe]=null},Vt=(qe,Qe)=>{R.value[Qe]=qe;const pt=ot(qe,ge.value).locale(g.value);pt.isValid()&&(Qe==="min"?(mt.value=!0,m.value=(m.value||p.value).hour(pt.hour()).minute(pt.minute()).second(pt.second()),p.value=m.value):(de.value=!0,y.value=(y.value||v.value).hour(pt.hour()).minute(pt.minute()).second(pt.second()),v.value=y.value))},qt=(qe,Qe)=>{R.value[Qe]=null,Qe==="min"?(p.value=m.value,mt.value=!1,(!y.value||y.value.isBefore(m.value))&&(y.value=m.value)):(v.value=y.value,de.value=!1,y.value&&y.value.isBefore(m.value)&&(m.value=y.value)),E(!0)},Oe=(qe,Qe,pt)=>{R.value.min||(qe&&(m.value=(m.value||p.value).hour(qe.hour()).minute(qe.minute()).second(qe.second())),pt||(mt.value=Qe),(!y.value||y.value.isBefore(m.value))&&(y.value=m.value,v.value=qe,Ae(()=>{M(n.parsedValue)})),E(!0))},Ye=(qe,Qe,pt)=>{R.value.max||(qe&&(y.value=(y.value||v.value).hour(qe.hour()).minute(qe.minute()).second(qe.second())),pt||(de.value=Qe),y.value&&y.value.isBefore(m.value)&&(m.value=y.value),E(!0))},et=()=>{vn(),a("clear")},vn=()=>{let qe=null;o!=null&&o.emptyValues&&(qe=o.emptyValues.valueOnClear.value),p.value=kd(i(h),{lang:i(g),unit:"month",unlinkPanels:n.unlinkPanels})[0],v.value=p.value.add(1,"month"),y.value=void 0,m.value=void 0,E(!0),a("pick",qe)},zt=qe=>sr(qe,d.value||"",g.value,l);function on(qe,Qe){if(n.unlinkPanels&&Qe){const pt=(qe==null?void 0:qe.year())||0,Sn=(qe==null?void 0:qe.month())||0,Qa=Qe.year(),Ia=Qe.month();v.value=pt===Qa&&Sn===Ia?Qe.add(1,$u):Qe}else v.value=p.value.add(1,$u),Qe&&(v.value=v.value.hour(Qe.hour()).minute(Qe.minute()).second(Qe.second()))}return a("set-picker-option",["isValidValue",Ne]),a("set-picker-option",["parseUserInput",zt]),a("set-picker-option",["handleClear",vn]),(qe,Qe)=>(x(),F("div",{class:N([i(C).b(),i(w).b(),i(C).is("border",qe.border),i(C).is("disabled",i(je)),{"has-sidebar":qe.$slots.sidebar||ee.value,"has-time":Mt.value}])},[j("div",{class:N(i(C).e("body-wrapper"))},[ne(qe.$slots,"sidebar",{class:N(i(C).e("sidebar"))}),ee.value?(x(),F("div",{key:0,class:N(i(C).e("sidebar"))},[(x(!0),F(He,null,yt(f.value,(pt,Sn)=>(x(),F("button",{key:Sn,type:"button",disabled:i(je),class:N(i(C).e("shortcut")),onClick:Qa=>i($)(pt)},ke(pt.text),11,ZV))),128))],2)):ae("v-if",!0),j("div",{class:N(i(C).e("body"))},[Mt.value?(x(),F("div",{key:0,class:N(i(w).e("time-header"))},[j("span",{class:N(i(w).e("editors-wrap"))},[j("span",{class:N(i(w).e("time-picker-wrap"))},[q(i(qn),{size:"small",disabled:i(b).selecting||i(je),placeholder:i(T)("el.datepicker.startDate"),class:N(i(w).e("editor")),"model-value":H.value,"validate-event":!1,readonly:!qe.editable,onInput:Qe[0]||(Qe[0]=pt=>Re(pt,"min")),onChange:Qe[1]||(Qe[1]=pt=>vt(pt,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),it((x(),F("span",{class:N(i(w).e("time-picker-wrap"))},[q(i(qn),{size:"small",class:N(i(w).e("editor")),disabled:i(b).selecting||i(je),placeholder:i(T)("el.datepicker.startTime"),"model-value":se.value,"validate-event":!1,readonly:!qe.editable,onFocus:Qe[2]||(Qe[2]=pt=>mt.value=!0),onInput:Qe[3]||(Qe[3]=pt=>Vt(pt,"min")),onChange:Qe[4]||(Qe[4]=pt=>qt(pt,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),q(i(wc),{visible:mt.value,format:ge.value,"datetime-role":"start","parsed-value":i(m)||p.value,onPick:Oe},null,8,["visible","format","parsed-value"])],2)),[[i(Nl),Fe]])],2),j("span",null,[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})]),j("span",{class:N([i(w).e("editors-wrap"),"is-right"])},[j("span",{class:N(i(w).e("time-picker-wrap"))},[q(i(qn),{size:"small",class:N(i(w).e("editor")),disabled:i(b).selecting||i(je),placeholder:i(T)("el.datepicker.endDate"),"model-value":Z.value,readonly:!i(m)||!qe.editable,"validate-event":!1,onInput:Qe[5]||(Qe[5]=pt=>Re(pt,"max")),onChange:Qe[6]||(Qe[6]=pt=>vt(pt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),it((x(),F("span",{class:N(i(w).e("time-picker-wrap"))},[q(i(qn),{size:"small",class:N(i(w).e("editor")),disabled:i(b).selecting||i(je),placeholder:i(T)("el.datepicker.endTime"),"model-value":pe.value,readonly:!i(m)||!qe.editable,"validate-event":!1,onFocus:Qe[7]||(Qe[7]=pt=>i(m)&&(de.value=!0)),onInput:Qe[8]||(Qe[8]=pt=>Vt(pt,"max")),onChange:Qe[9]||(Qe[9]=pt=>qt(pt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),q(i(wc),{"datetime-role":"end",visible:de.value,format:ge.value,"parsed-value":i(y)||v.value,onPick:Ye},null,8,["visible","format","parsed-value"])],2)),[[i(Nl),ce]])],2)],2)):ae("v-if",!0),j("div",{class:N([[i(C).e("content"),i(w).e("content")],"is-left"])},[j("div",{class:N(i(w).e("header"))},[j("button",{type:"button",class:N([i(C).e("icon-btn"),"d-arrow-left"]),"aria-label":i(T)("el.datepicker.prevYear"),disabled:i(je),onClick:_e},[ne(qe.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,JV),it(j("button",{type:"button",class:N([i(C).e("icon-btn"),"arrow-left"]),"aria-label":i(T)("el.datepicker.prevMonth"),disabled:i(je),onClick:Me},[ne(qe.$slots,"prev-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1})])],10,QV),[[Ot,i(B)==="date"]]),qe.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!Pe.value||i(je),class:N([[i(C).e("icon-btn"),i(C).is("disabled",!Pe.value||i(je))],"d-arrow-right"]),"aria-label":i(T)("el.datepicker.nextYear"),onClick:we},[ne(qe.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,eF)):ae("v-if",!0),qe.unlinkPanels&&i(B)==="date"?(x(),F("button",{key:1,type:"button",disabled:!$e.value||i(je),class:N([[i(C).e("icon-btn"),i(C).is("disabled",!$e.value||i(je))],"arrow-right"]),"aria-label":i(T)("el.datepicker.nextMonth"),onClick:Ie},[ne(qe.$slots,"next-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})])],10,tF)):ae("v-if",!0),j("div",null,[j("span",{role:"button",class:N(i(w).e("header-label")),"aria-live":"polite",tabindex:qe.disabled?void 0:0,"aria-disabled":qe.disabled,onKeydown:Qe[10]||(Qe[10]=Jt(pt=>i(W)("year"),["enter"])),onClick:Qe[11]||(Qe[11]=pt=>i(W)("year"))},ke(i(V)),43,nF),it(j("span",{role:"button","aria-live":"polite",tabindex:qe.disabled?void 0:0,"aria-disabled":qe.disabled,class:N([i(w).e("header-label"),{active:i(B)==="month"}]),onKeydown:Qe[12]||(Qe[12]=Jt(pt=>i(W)("month"),["enter"])),onClick:Qe[13]||(Qe[13]=pt=>i(W)("month"))},ke(i(T)(`el.datepicker.month${p.value.month()+1}`)),43,aF),[[Ot,i(B)==="date"]])])],2),i(B)==="date"?(x(),oe(Cp,{key:0,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"range",date:p.value,"min-date":i(m),"max-date":i(y),"range-state":i(b),"disabled-date":i(s),"cell-class-name":i(r),"show-week-number":qe.showWeekNumber,disabled:i(je),onChangerange:i(k),onPick:rt,onSelect:i(O)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ae("v-if",!0),i(B)==="year"?(x(),oe(ki,{key:1,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"year",date:p.value,"disabled-date":i(s),"parsed-value":qe.parsedValue,disabled:i(je),onPick:i(J)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ae("v-if",!0),i(B)==="month"?(x(),oe(Si,{key:2,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"month",date:p.value,"parsed-value":qe.parsedValue,"disabled-date":i(s),disabled:i(je),onPick:i(ue)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ae("v-if",!0)],2),j("div",{class:N([[i(C).e("content"),i(w).e("content")],"is-right"])},[j("div",{class:N(i(w).e("header"))},[qe.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!Pe.value||i(je),class:N([[i(C).e("icon-btn"),i(C).is("disabled",!Pe.value||i(je))],"d-arrow-left"]),"aria-label":i(T)("el.datepicker.prevYear"),onClick:Ve},[ne(qe.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,oF)):ae("v-if",!0),qe.unlinkPanels&&i(K)==="date"?(x(),F("button",{key:1,type:"button",disabled:!$e.value||i(je),class:N([[i(C).e("icon-btn"),i(C).is("disabled",!$e.value||i(je))],"arrow-left"]),"aria-label":i(T)("el.datepicker.prevMonth"),onClick:Xe},[ne(qe.$slots,"prev-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1})])],10,lF)):ae("v-if",!0),j("button",{type:"button","aria-label":i(T)("el.datepicker.nextYear"),class:N([i(C).e("icon-btn"),"d-arrow-right"]),disabled:i(je),onClick:me},[ne(qe.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,sF),it(j("button",{type:"button",class:N([i(C).e("icon-btn"),"arrow-right"]),disabled:i(je),"aria-label":i(T)("el.datepicker.nextMonth"),onClick:Te},[ne(qe.$slots,"next-month",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})])],10,rF),[[Ot,i(K)==="date"]]),j("div",null,[j("span",{role:"button",class:N(i(w).e("header-label")),"aria-live":"polite",tabindex:qe.disabled?void 0:0,"aria-disabled":qe.disabled,onKeydown:Qe[14]||(Qe[14]=Jt(pt=>i(X)("year"),["enter"])),onClick:Qe[15]||(Qe[15]=pt=>i(X)("year"))},ke(i(U)),43,iF),it(j("span",{role:"button","aria-live":"polite",tabindex:qe.disabled?void 0:0,"aria-disabled":qe.disabled,class:N([i(w).e("header-label"),{active:i(K)==="month"}]),onKeydown:Qe[16]||(Qe[16]=Jt(pt=>i(X)("month"),["enter"])),onClick:Qe[17]||(Qe[17]=pt=>i(X)("month"))},ke(i(T)(`el.datepicker.month${v.value.month()+1}`)),43,uF),[[Ot,i(K)==="date"]])])],2),i(K)==="date"?(x(),oe(Cp,{key:0,ref_key:"rightCurrentViewRef",ref:z,"selection-mode":"range",date:v.value,"min-date":i(m),"max-date":i(y),"range-state":i(b),"disabled-date":i(s),"cell-class-name":i(r),"show-week-number":qe.showWeekNumber,disabled:i(je),onChangerange:i(k),onPick:rt,onSelect:i(O)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ae("v-if",!0),i(K)==="year"?(x(),oe(ki,{key:1,ref_key:"rightCurrentViewRef",ref:z,"selection-mode":"year",date:v.value,"disabled-date":i(s),"parsed-value":qe.parsedValue,disabled:i(je),onPick:i(fe)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ae("v-if",!0),i(K)==="month"?(x(),oe(Si,{key:2,ref_key:"rightCurrentViewRef",ref:z,"selection-mode":"month",date:v.value,"parsed-value":qe.parsedValue,"disabled-date":i(s),disabled:i(je),onPick:i(he)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ae("v-if",!0)],2)],2)],2),qe.showFooter&&Mt.value&&(qe.showConfirm||i(c))?(x(),F("div",{key:0,class:N(i(C).e("footer"))},[i(c)?(x(),oe(i(xn),{key:0,text:"",size:"small",class:N(i(C).e("link-btn")),onClick:et},{default:Q(()=>[bt(ke(i(T)("el.datepicker.clear")),1)]),_:1},8,["class"])):ae("v-if",!0),qe.showConfirm?(x(),oe(i(xn),{key:1,plain:"",size:"small",class:N(i(C).e("link-btn")),disabled:xt.value,onClick:Qe[18]||(Qe[18]=pt=>i(E)(!1))},{default:Q(()=>[bt(ke(i(T)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ae("v-if",!0)],2)):ae("v-if",!0)],2))}}),dF=cF;const fF=Se({...gh}),pF=["pick","set-picker-option","calendar-change"],vF=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:a}=St();return{leftPrevYear:()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},leftNextYear:()=>{t.value=t.value.add(1,"year")},rightPrevYear:()=>{n.value=n.value.subtract(1,"year")},leftLabel:S(()=>`${t.value.year()} ${a("el.datepicker.year")}`),rightLabel:S(()=>`${n.value.year()} ${a("el.datepicker.year")}`),leftYear:S(()=>t.value.year()),rightYear:S(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year())}},hF=["disabled","onClick"],mF=["disabled"],gF=["disabled"],yF=["disabled"],bF=["disabled"],Ou="year";var wF=le({name:"DatePickerMonthRange",__name:"panel-month-range",props:fF,emits:pF,setup(e,{emit:t}){const n=e,a=t,{lang:o}=St(),l=Le(ja),s=Le(ou,void 0),{shortcuts:r,disabledDate:u,cellClassName:c}=l.props,d=_t(l.props,"format"),f=_t(l.props,"defaultValue"),h=_(ot().locale(o.value)),g=_(ot().locale(o.value).add(1,Ou)),{minDate:p,maxDate:v,rangeState:m,ppNs:y,drpNs:b,handleChangeRange:C,handleRangeConfirm:w,handleShortcutClick:k,onSelect:E,parseValue:$}=wh(n,{defaultValue:f,leftDate:h,rightDate:g,unit:Ou,sortDates:V}),O=S(()=>!!r.length),{leftPrevYear:M,rightNextYear:T,leftNextYear:A,rightPrevYear:R,leftLabel:B,rightLabel:K,leftYear:Y,rightYear:z}=vF({unlinkPanels:_t(n,"unlinkPanels"),leftDate:h,rightDate:g}),P=S(()=>n.unlinkPanels&&z.value>Y.value+1),I=(W,X=!0)=>{const J=W.minDate,fe=W.maxDate;v.value===fe&&p.value===J||(a("calendar-change",[J.toDate(),fe&&fe.toDate()]),v.value=fe,p.value=J,X&&w())},L=()=>{let W=null;l!=null&&l.emptyValues&&(W=l.emptyValues.valueOnClear.value),h.value=kd(i(f),{lang:i(o),unit:"year",unlinkPanels:n.unlinkPanels})[0],g.value=h.value.add(1,"year"),a("pick",W)},D=W=>sr(W,d.value,o.value,s);function V(W,X){n.unlinkPanels&&X?g.value=((W==null?void 0:W.year())||0)===X.year()?X.add(1,Ou):X:g.value=h.value.add(1,Ou)}const U=nn();return ie(()=>n.visible,W=>{!W&&m.value.selecting&&($(n.parsedValue),E(!1))}),a("set-picker-option",["isValidValue",Ci]),a("set-picker-option",["parseUserInput",D]),a("set-picker-option",["handleClear",L]),(W,X)=>(x(),F("div",{class:N([i(y).b(),i(b).b(),i(y).is("border",W.border),i(y).is("disabled",i(U)),{"has-sidebar":!!W.$slots.sidebar||O.value}])},[j("div",{class:N(i(y).e("body-wrapper"))},[ne(W.$slots,"sidebar",{class:N(i(y).e("sidebar"))}),O.value?(x(),F("div",{key:0,class:N(i(y).e("sidebar"))},[(x(!0),F(He,null,yt(i(r),(J,fe)=>(x(),F("button",{key:fe,type:"button",class:N(i(y).e("shortcut")),disabled:i(U),onClick:ue=>i(k)(J)},ke(J.text),11,hF))),128))],2)):ae("v-if",!0),j("div",{class:N(i(y).e("body"))},[j("div",{class:N([[i(y).e("content"),i(b).e("content")],"is-left"])},[j("div",{class:N(i(b).e("header"))},[j("button",{type:"button",class:N([i(y).e("icon-btn"),"d-arrow-left"]),disabled:i(U),onClick:X[0]||(X[0]=(...J)=>i(M)&&i(M)(...J))},[ne(W.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,mF),W.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!P.value||i(U),class:N([[i(y).e("icon-btn"),i(y).is("disabled",!P.value||i(U))],"d-arrow-right"]),onClick:X[1]||(X[1]=(...J)=>i(A)&&i(A)(...J))},[ne(W.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,gF)):ae("v-if",!0),j("div",null,ke(i(B)),1)],2),q(Si,{"selection-mode":"range",date:h.value,"min-date":i(p),"max-date":i(v),"range-state":i(m),"disabled-date":i(u),disabled:i(U),"cell-class-name":i(c),onChangerange:i(C),onPick:I,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),j("div",{class:N([[i(y).e("content"),i(b).e("content")],"is-right"])},[j("div",{class:N(i(b).e("header"))},[W.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!P.value||i(U),class:N([[i(y).e("icon-btn"),i(y).is("disabled",!P.value||i(U))],"d-arrow-left"]),onClick:X[2]||(X[2]=(...J)=>i(R)&&i(R)(...J))},[ne(W.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,yF)):ae("v-if",!0),j("button",{type:"button",class:N([i(y).e("icon-btn"),"d-arrow-right"]),disabled:i(U),onClick:X[3]||(X[3]=(...J)=>i(T)&&i(T)(...J))},[ne(W.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,bF),j("div",null,ke(i(K)),1)],2),q(Si,{"selection-mode":"range",date:g.value,"min-date":i(p),"max-date":i(v),"range-state":i(m),"disabled-date":i(u),disabled:i(U),"cell-class-name":i(c),onChangerange:i(C),onPick:I,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}}),CF=wF;const SF=Se({...gh}),kF=["pick","set-picker-option","calendar-change"],EF=({unlinkPanels:e,leftDate:t,rightDate:n})=>({leftPrevYear:()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},leftNextYear:()=>{t.value=t.value.add(10,"year")},rightPrevYear:()=>{n.value=n.value.subtract(10,"year")},leftLabel:S(()=>{const r=Math.floor(t.value.year()/10)*10;return`${r}-${r+9}`}),rightLabel:S(()=>{const r=Math.floor(n.value.year()/10)*10;return`${r}-${r+9}`}),leftYear:S(()=>Math.floor(t.value.year()/10)*10+9),rightYear:S(()=>Math.floor(n.value.year()/10)*10)}),xF=["disabled","onClick"],TF=["disabled"],$F=["disabled"],OF=["disabled"],NF=["disabled"],xs=10,Ir="year";var MF=le({name:"DatePickerYearRange",__name:"panel-year-range",props:SF,emits:kF,setup(e,{emit:t}){const n=e,a=t,{lang:o}=St(),l=_(ot().locale(o.value)),s=_(ot().locale(o.value).add(xs,Ir)),r=Le(ou,void 0),u=Le(ja),{shortcuts:c,disabledDate:d,cellClassName:f}=u.props,h=_t(u.props,"format"),g=_t(u.props,"defaultValue"),{minDate:p,maxDate:v,rangeState:m,ppNs:y,drpNs:b,handleChangeRange:C,handleRangeConfirm:w,handleShortcutClick:k,onSelect:E,parseValue:$}=wh(n,{defaultValue:g,leftDate:l,rightDate:s,step:xs,unit:Ir,sortDates:fe}),{leftPrevYear:O,rightNextYear:M,leftNextYear:T,rightPrevYear:A,leftLabel:R,rightLabel:B,leftYear:K,rightYear:Y}=EF({unlinkPanels:_t(n,"unlinkPanels"),leftDate:l,rightDate:s}),z=nn(),P=S(()=>!!c.length),I=S(()=>[y.b(),b.b(),y.is("border",n.border),y.is("disabled",z.value),{"has-sidebar":!!cn().sidebar||P.value}]),L=S(()=>({content:[y.e("content"),b.e("content"),"is-left"],arrowLeftBtn:[y.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[y.e("icon-btn"),y.is("disabled",!V.value||z.value),"d-arrow-right"]})),D=S(()=>({content:[y.e("content"),b.e("content"),"is-right"],arrowLeftBtn:[y.e("icon-btn"),y.is("disabled",!V.value||z.value),"d-arrow-left"],arrowRightBtn:[y.e("icon-btn"),"d-arrow-right"]})),V=S(()=>n.unlinkPanels&&Y.value>K.value+1),U=(ue,he=!0)=>{const re=ue.minDate,te=ue.maxDate;v.value===te&&p.value===re||(a("calendar-change",[re.toDate(),te&&te.toDate()]),v.value=te,p.value=re,he&&w())},W=ue=>sr(ue,h.value,o.value,r),X=ue=>Ci(ue)&&(d?!d(ue[0].toDate())&&!d(ue[1].toDate()):!0),J=()=>{let ue=null;u!=null&&u.emptyValues&&(ue=u.emptyValues.valueOnClear.value);const he=kd(i(g),{lang:i(o),step:xs,unit:Ir,unlinkPanels:n.unlinkPanels});l.value=he[0],s.value=he[1],a("pick",ue)};function fe(ue,he){if(n.unlinkPanels&&he){const re=(ue==null?void 0:ue.year())||0,te=he.year();s.value=re+xs>te?he.add(xs,Ir):he}else s.value=l.value.add(xs,Ir)}return ie(()=>n.visible,ue=>{!ue&&m.value.selecting&&($(n.parsedValue),E(!1))}),a("set-picker-option",["isValidValue",X]),a("set-picker-option",["parseUserInput",W]),a("set-picker-option",["handleClear",J]),(ue,he)=>(x(),F("div",{class:N(I.value)},[j("div",{class:N(i(y).e("body-wrapper"))},[ne(ue.$slots,"sidebar",{class:N(i(y).e("sidebar"))}),P.value?(x(),F("div",{key:0,class:N(i(y).e("sidebar"))},[(x(!0),F(He,null,yt(i(c),(re,te)=>(x(),F("button",{key:te,type:"button",class:N(i(y).e("shortcut")),disabled:i(z),onClick:ee=>i(k)(re)},ke(re.text),11,xF))),128))],2)):ae("v-if",!0),j("div",{class:N(i(y).e("body"))},[j("div",{class:N(L.value.content)},[j("div",{class:N(i(b).e("header"))},[j("button",{type:"button",class:N(L.value.arrowLeftBtn),disabled:i(z),onClick:he[0]||(he[0]=(...re)=>i(O)&&i(O)(...re))},[ne(ue.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,TF),ue.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!V.value||i(z),class:N(L.value.arrowRightBtn),onClick:he[1]||(he[1]=(...re)=>i(T)&&i(T)(...re))},[ne(ue.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,$F)):ae("v-if",!0),j("div",null,ke(i(R)),1)],2),q(ki,{"selection-mode":"range",date:l.value,"min-date":i(p),"max-date":i(v),"range-state":i(m),"disabled-date":i(d),disabled:i(z),"cell-class-name":i(f),onChangerange:i(C),onPick:U,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),j("div",{class:N(D.value.content)},[j("div",{class:N(i(b).e("header"))},[ue.unlinkPanels?(x(),F("button",{key:0,type:"button",disabled:!V.value||i(z),class:N(D.value.arrowLeftBtn),onClick:he[2]||(he[2]=(...re)=>i(A)&&i(A)(...re))},[ne(ue.$slots,"prev-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i(Tl))]),_:1})])],10,OF)):ae("v-if",!0),j("button",{type:"button",class:N(D.value.arrowRightBtn),disabled:i(z),onClick:he[3]||(he[3]=(...re)=>i(M)&&i(M)(...re))},[ne(ue.$slots,"next-year",{},()=>[q(i(Be),null,{default:Q(()=>[q(i($l))]),_:1})])],10,NF),j("div",null,ke(i(B)),1)],2),q(ki,{"selection-mode":"range",date:s.value,"min-date":i(p),"max-date":i(v),"range-state":i(m),"disabled-date":i(d),disabled:i(z),"cell-class-name":i(f),onChangerange:i(C),onPick:U,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}}),IF=MF;const PF=function(e){switch(e){case"daterange":case"datetimerange":return dF;case"monthrange":return CF;case"yearrange":return IF;default:return UV}};var DS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a){var o=a.prototype,l=o.format;o.format=function(s){var r=this,u=this.$locale();if(!this.isValid())return l.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((r.$M+1)/3);case"Do":return u.ordinal(r.$D);case"gggg":return r.weekYear();case"GGGG":return r.isoWeekYear();case"wo":return u.ordinal(r.week(),"W");case"w":case"ww":return c.s(r.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(r.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(r.$H===0?24:r.$H),f==="k"?1:2,"0");case"X":return Math.floor(r.$d.getTime()/1e3);case"x":return r.$d.getTime();case"z":return"["+r.offsetName()+"]";case"zzz":return"["+r.offsetName("long")+"]";default:return f}});return l.bind(this)(d)}}})})(DS);var RF=DS.exports;const AF=ll(RF);var BS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){var n="week",a="year";return function(o,l,s){var r=l.prototype;r.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=s(this).startOf(a).add(1,a).date(c),f=s(this).endOf(n);if(d.isBefore(f))return 1}var h=s(this).startOf(a).date(c).startOf(n).subtract(1,"millisecond"),g=this.diff(h,n,!0);return g<0?s(this).startOf("week").week():Math.ceil(g)},r.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(BS);var _F=BS.exports;const LF=ll(_F);var VS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a){a.prototype.weekYear=function(){var o=this.month(),l=this.week(),s=this.year();return l===1&&o===11?s+1:o===0&&l>=52?s-1:s}}})})(VS);var DF=VS.exports;const BF=ll(DF);var FS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a,o){a.prototype.dayOfYear=function(l){var s=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return l==null?s:this.add(l-s,"day")}}})})(FS);var VF=FS.exports;const FF=ll(VF);var zS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a){a.prototype.isSameOrAfter=function(o,l){return this.isSame(o,l)||this.isAfter(o,l)}}})})(zS);var zF=zS.exports;const HF=ll(zF);var HS={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ol,function(){return function(n,a){a.prototype.isSameOrBefore=function(o,l){return this.isSame(o,l)||this.isBefore(o,l)}}})})(HS);var KF=HS.exports;const WF=ll(KF);function jF(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}ot.extend(eS);ot.extend(AF);ot.extend(uh);ot.extend(LF);ot.extend(BF);ot.extend(FF);ot.extend(HF);ot.extend(WF);var YF=le({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:yV,emits:[tt,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:a}){const o=ve("picker-panel");kt(Le(ja,void 0))&&wt(ja,{props:It({...$n(e)})}),wt(hh,{slots:t,pickerNs:o});const{parsedValue:l,onCalendarChange:s,onPanelChange:r,onSetPickerOption:u,onPick:c}=Le(MC,()=>LC(e,n),!0);return()=>q(PF(e.type),ut(Vi(a,"onPick"),e,{parsedValue:l.value,"onSet-picker-option":u,"onCalendar-change":s,"onPanel-change":r,onClear:()=>n("clear"),onPick:c}),jF(t)?t:{default:()=>[t]})}});const KS=lt(YF),UF=Se({...ih,type:{type:G(String),default:"date"}});function qF(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}var GF=le({name:"ElDatePicker",install:null,props:UF,emits:[tt],setup(e,{expose:t,emit:n,slots:a}){wt(ou,S(()=>!e.format)),wt(sh,It(_t(e,"popperOptions")));const o=_();t({focus:()=>{var s;(s=o.value)==null||s.focus()},blur:()=>{var s;(s=o.value)==null||s.blur()},handleOpen:()=>{var s;(s=o.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=o.value)==null||s.handleClose()}});const l=s=>{n(tt,s)};return()=>{const s=e.format??(c8[e.type]||ml);return q(DC,ut(e,{format:s,type:e.type,ref:o,"onUpdate:modelValue":l}),{default:r=>q(KS,ut({disabled:e.disabled,editable:e.editable,border:!1},r),qF(a)?a:{default:()=>[a]}),"range-separator":a["range-separator"]})}}});const XF=lt(GF),ZF=Se({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:wn,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),WS="ElDescriptionsItem",JF=Se({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:Wm,default:"left"},labelAlign:{type:String,values:Wm},className:{type:String,default:""},labelClassName:{type:String,default:""}}),jS=le({name:WS,props:JF}),Ch=Symbol("elDescriptions"),QF=Se({row:{type:G(Array),default:()=>[]}});var Pr=le({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:Le(Ch,{})}},render(){var v;const e=k3(this.cell),t=(((v=this.cell)==null?void 0:v.dirs)||[]).map(m=>{const{dir:y,arg:b,modifiers:C,value:w}=m;return[y,w,b,C]}),{border:n,direction:a}=this.descriptions,o=a==="vertical",l=()=>{var m,y,b;return((b=(y=(m=this.cell)==null?void 0:m.children)==null?void 0:y.label)==null?void 0:b.call(y))||e.label},s=()=>{var m,y,b;return(b=(y=(m=this.cell)==null?void 0:m.children)==null?void 0:y.default)==null?void 0:b.call(y)},r=e.span,u=e.rowspan,c=e.align?`is-${e.align}`:"",d=e.labelAlign?`is-${e.labelAlign}`:c,f=e.className,h=e.labelClassName,g={width:tn(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:tn(e.minWidth)},p=ve("descriptions");switch(this.type){case"label":return it(Ge(this.tag,{style:g,class:[p.e("cell"),p.e("label"),p.is("bordered-label",n),p.is("vertical-label",o),d,h],colSpan:o?r:1,rowspan:o?1:u},l()),t);case"content":return it(Ge(this.tag,{style:g,class:[p.e("cell"),p.e("content"),p.is("bordered-content",n),p.is("vertical-content",o),c,f],colSpan:o?r:r*2-1,rowspan:o?u*2-1:u},s()),t);default:{const m=l(),y={},b=tn(e.labelWidth??this.descriptions.labelWidth);return b&&(y.width=b,y.display="inline-block"),it(Ge("td",{style:g,class:[p.e("cell"),c],colSpan:r,rowspan:u},[pn(m)?void 0:Ge("span",{style:y,class:[p.e("label"),h]},m),Ge("span",{class:[p.e("content"),f]},s())]),t)}}}});const ez={key:1};var tz=le({name:"ElDescriptionsRow",__name:"descriptions-row",props:QF,setup(e){const t=Le(Ch,{});return(n,a)=>i(t).direction==="vertical"?(x(),F(He,{key:0},[j("tr",null,[(x(!0),F(He,null,yt(e.row,(o,l)=>(x(),oe(i(Pr),{key:`tr1-${l}`,cell:o,tag:"th",type:"label"},null,8,["cell"]))),128))]),j("tr",null,[(x(!0),F(He,null,yt(e.row,(o,l)=>(x(),oe(i(Pr),{key:`tr2-${l}`,cell:o,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(x(),F("tr",ez,[(x(!0),F(He,null,yt(e.row,(o,l)=>(x(),F(He,{key:`tr3-${l}`},[i(t).border?(x(),F(He,{key:0},[q(i(Pr),{cell:o,tag:"td",type:"label"},null,8,["cell"]),q(i(Pr),{cell:o,tag:"td",type:"content"},null,8,["cell"])],64)):(x(),oe(i(Pr),{key:1,cell:o,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),nz=tz,az=le({name:"ElDescriptions",__name:"description",props:ZF,setup(e){const t=e,n=ve("descriptions"),a=yn(),o=cn();wt(Ch,t);const l=S(()=>[n.b(),n.m(a.value)]),s=(u,c,d,f=!1)=>(u.props||(u.props={}),c>d&&(u.props.span=d),f&&(u.props.span=c),u),r=()=>{if(!o.default)return[];const u=ma(o.default()).filter(p=>{var v;return((v=p==null?void 0:p.type)==null?void 0:v.name)===WS}),c=[];let d=[],f=t.column,h=0;const g=[];return u.forEach((p,v)=>{var C,w,k;const m=((C=p.props)==null?void 0:C.span)||1,y=((w=p.props)==null?void 0:w.rowspan)||1,b=c.length;if(g[b]||(g[b]=0),y>1)for(let E=1;E0&&(f-=g[b],g[b]=0),vf?f:m),v===u.length-1){const E=t.column-h%t.column;d.push(s(p,E,f,!0)),c.push(d);return}m(x(),F("div",{class:N(l.value)},[e.title||e.extra||u.$slots.title||u.$slots.extra?(x(),F("div",{key:0,class:N(i(n).e("header"))},[j("div",{class:N(i(n).e("title"))},[ne(u.$slots,"title",{},()=>[bt(ke(e.title),1)])],2),j("div",{class:N(i(n).e("extra"))},[ne(u.$slots,"extra",{},()=>[bt(ke(e.extra),1)])],2)],2)):ae("v-if",!0),j("div",{class:N(i(n).e("body"))},[j("table",{class:N([i(n).e("table"),i(n).is("bordered",e.border)])},[j("tbody",null,[(x(!0),F(He,null,yt(r(),(d,f)=>(x(),oe(nz,{key:f,row:d},null,8,["row"]))),128))])],2)],2)],2))}}),oz=az;const lz=lt(oz,{DescriptionsItem:jS}),sz=Zt(jS),YS=Se({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:Bt},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),rz={close:()=>!0},US=Se({...YS,appendToBody:Boolean,appendTo:{type:zi.to.type,default:"body"},beforeClose:{type:G(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:G([String,Object]),default:void 0}}),qS={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[tt]:e=>Dt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},iz=Se({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:G([String,Array,Object])},zIndex:{type:G([String,Number])}}),uz={click:e=>e instanceof MouseEvent},cz="overlay";var dz=le({name:"ElOverlay",props:iz,emits:uz,setup(e,{slots:t,emit:n}){const a=ve(cz),o=u=>{n("click",u)},{onClick:l,onMousedown:s,onMouseup:r}=Wv(e.customMaskEvent?void 0:o);return()=>e.mask?q("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:l,onMousedown:s,onMouseup:r},[ne(t,"default")],Pa.STYLE|Pa.CLASS|Pa.PROPS,["onClick","onMouseup","onMousedown"]):Ge("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ne(t,"default")])}});const Sh=dz,GS=Symbol("dialogInjectionKey"),ff="dialog-fade",fz="ElDialog",XS=(e,t)=>{const n=ct().emit,{nextZIndex:a}=Ui();let o="";const l=_n(),s=_n(),r=_(!1),u=_(!1),c=_(!1),d=_(e.zIndex??a()),f=_(!1);let h,g;const p=al(),v=S(()=>{var D;return((D=p.value)==null?void 0:D.namespace)??Gr}),m=S(()=>{var D;return(D=p.value)==null?void 0:D.dialog}),y=S(()=>{const D={},V=`--${v.value}-dialog`;if(!e.fullscreen){e.top&&(D[`${V}-margin-top`]=e.top);const U=tn(e.width);U&&(D[`${V}-width`]=U)}return D}),b=S(()=>{var D;return(e.draggable??((D=m.value)==null?void 0:D.draggable)??!1)&&!e.fullscreen}),C=S(()=>{var D;return e.alignCenter??((D=m.value)==null?void 0:D.alignCenter)??!1}),w=S(()=>{var D;return e.overflow??((D=m.value)==null?void 0:D.overflow)??!1}),k=S(()=>C.value?{display:"flex"}:{}),E=S(()=>{var U;const D=e.transition??((U=m.value)==null?void 0:U.transition)??ff,V={name:D,onAfterEnter:$,onBeforeLeave:M,onAfterLeave:O};if(nt(D)){const W={...D},X=(J,fe)=>ue=>{be(J)?J.forEach(he=>{ze(he)&&he(ue)}):ze(J)&&J(ue),fe()};return W.onAfterEnter=X(W.onAfterEnter,$),W.onBeforeLeave=X(W.onBeforeLeave,M),W.onAfterLeave=X(W.onAfterLeave,O),W.name||(W.name=ff,dt(fz,`transition.name is missing when using object syntax, fallback to '${ff}'`)),W}return V});function $(){n("opened")}function O(){n("closed"),n(tt,!1),e.destroyOnClose&&(c.value=!1),f.value=!1}function M(){f.value=!0,n("close")}function T(){g==null||g(),h==null||h(),e.openDelay&&e.openDelay>0?{stop:h}=Zs(()=>K(),e.openDelay):K()}function A(){h==null||h(),g==null||g(),e.closeDelay&&e.closeDelay>0?{stop:g}=Zs(()=>Y(),e.closeDelay):Y()}function R(){function D(V){V||(u.value=!0,r.value=!1)}e.beforeClose?e.beforeClose(D):A()}function B(){e.closeOnClickModal&&R()}function K(){Nt&&(r.value=!0)}function Y(){r.value=!1}function z(){n("openAutoFocus")}function P(){n("closeAutoFocus")}function I(D){var V;((V=D.detail)==null?void 0:V.focusReason)==="pointer"&&D.preventDefault()}e.lockScroll&&ud(r);function L(){e.closeOnPressEscape&&R()}return ie(()=>e.zIndex,()=>{d.value=e.zIndex??a()}),ie(()=>e.modelValue,D=>{D?(u.value=!1,f.value=!1,T(),c.value=!0,d.value=e.zIndex??a(),Ae(()=>{n("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):r.value&&A()}),ie(()=>e.fullscreen,D=>{t.value&&(D?(o=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=o)}),ft(()=>{e.modelValue&&(r.value=!0,c.value=!0,T())}),{afterEnter:$,afterLeave:O,beforeLeave:M,handleClose:R,onModalClick:B,close:A,doClose:Y,onOpenAutoFocus:z,onCloseAutoFocus:P,onCloseRequested:L,onFocusoutPrevented:I,titleId:l,bodyId:s,closed:u,style:y,overlayDialogStyle:k,rendered:c,visible:r,zIndex:d,transitionConfig:E,_draggable:b,_alignCenter:C,_overflow:w,closing:f}},kh=(...e)=>t=>{e.forEach(n=>{n.value=t})},pz=["aria-level"],vz=["aria-label"],hz=["id"];var mz=le({name:"ElDialogContent",__name:"dialog-content",props:YS,emits:rz,setup(e,{expose:t}){const{t:n}=St(),{Close:a}=aC,o=e,{dialogRef:l,headerRef:s,bodyId:r,ns:u,style:c}=Le(GS),{focusTrapRef:d}=Le(vC),f=kh(d,l),h=S(()=>!!o.draggable),{resetPosition:g,updatePosition:p,isDragging:v}=p1(l,s,h,S(()=>!!o.overflow)),m=S(()=>[u.b(),u.is("fullscreen",o.fullscreen),u.is("draggable",h.value),u.is("dragging",v.value),u.is("align-center",!!o.alignCenter),{[u.m("center")]:o.center}]);return t({resetPosition:g,updatePosition:p}),(y,b)=>(x(),F("div",{ref:i(f),class:N(m.value),style:We(i(c)),tabindex:"-1"},[j("header",{ref_key:"headerRef",ref:s,class:N([i(u).e("header"),e.headerClass,{"show-close":e.showClose}])},[ne(y.$slots,"header",{},()=>[j("span",{role:"heading","aria-level":e.ariaLevel,class:N(i(u).e("title"))},ke(e.title),11,pz)]),e.showClose?(x(),F("button",{key:0,"aria-label":i(n)("el.dialog.close"),class:N(i(u).e("headerbtn")),type:"button",onClick:b[0]||(b[0]=C=>y.$emit("close"))},[q(i(Be),{class:N(i(u).e("close"))},{default:Q(()=>[(x(),oe(st(e.closeIcon||i(a))))]),_:1},8,["class"])],10,vz)):ae("v-if",!0)],2),j("div",{id:i(r),class:N([i(u).e("body"),e.bodyClass])},[ne(y.$slots,"default")],10,hz),y.$slots.footer?(x(),F("footer",{key:0,class:N([i(u).e("footer"),e.footerClass])},[ne(y.$slots,"footer")],2)):ae("v-if",!0)],6))}}),gz=mz;const yz=["aria-label","aria-labelledby","aria-describedby"];var bz=le({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:US,emits:qS,setup(e,{expose:t}){const n=e,a=cn();co({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},S(()=>!!a.title));const o=ve("dialog"),l=_(),s=_(),r=_(),{visible:u,titleId:c,bodyId:d,style:f,overlayDialogStyle:h,rendered:g,transitionConfig:p,zIndex:v,_draggable:m,_alignCenter:y,_overflow:b,handleClose:C,onModalClick:w,onOpenAutoFocus:k,onCloseAutoFocus:E,onCloseRequested:$,onFocusoutPrevented:O,closing:M}=XS(n,l);wt(GS,{dialogRef:l,headerRef:s,bodyId:d,ns:o,rendered:g,style:f});const T=Wv(w),A=S(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:u,dialogContentRef:r,resetPosition:()=>{var B;(B=r.value)==null||B.resetPosition()},handleClose:C}),(B,K)=>(x(),oe(i(gr),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:Q(()=>[q(An,ut(i(p),{persisted:""}),{default:Q(()=>[it(q(i(Sh),{"custom-mask-event":"",mask:e.modal,"overlay-class":[e.modalClass??"",`${i(o).namespace.value}-modal-dialog`,i(o).is("penetrable",A.value)],"z-index":i(v)},{default:Q(()=>[j("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(c),"aria-describedby":i(d),class:N([`${i(o).namespace.value}-overlay-dialog`,i(o).is("closing",i(M))]),style:We(i(h)),onClick:K[0]||(K[0]=(...Y)=>i(T).onClick&&i(T).onClick(...Y)),onMousedown:K[1]||(K[1]=(...Y)=>i(T).onMousedown&&i(T).onMousedown(...Y)),onMouseup:K[2]||(K[2]=(...Y)=>i(T).onMouseup&&i(T).onMouseup(...Y))},[q(i(yr),{loop:"",trapped:i(u),"focus-start-el":"container",onFocusAfterTrapped:i(k),onFocusAfterReleased:i(E),onFocusoutPrevented:i(O),onReleaseRequested:i($)},{default:Q(()=>[i(g)?(x(),oe(gz,ut({key:0,ref_key:"dialogContentRef",ref:r},B.$attrs,{center:e.center,"align-center":i(y),"close-icon":e.closeIcon,draggable:i(m),overflow:i(b),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:i(C)}),na({header:Q(()=>[B.$slots.title?ne(B.$slots,"title",{key:1}):ne(B.$slots,"header",{key:0,close:i(C),titleId:i(c),titleClass:i(o).e("title")})]),default:Q(()=>[ne(B.$slots,"default")]),_:2},[B.$slots.footer?{name:"footer",fn:Q(()=>[ne(B.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):ae("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,yz)]),_:3},8,["mask","overlay-class","z-index"]),[[Ot,i(u)]])]),_:3},16)]),_:3},8,["to","disabled"]))}}),wz=bz;const Cz=lt(wz),Sz=Se({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:G(String),default:"solid"}});var kz=le({name:"ElDivider",__name:"divider",props:Sz,setup(e){const t=e,n=ve("divider"),a=S(()=>n.cssVar({"border-style":t.borderStyle}));return(o,l)=>(x(),F("div",{class:N([i(n).b(),i(n).m(e.direction)]),style:We(a.value),role:"separator"},[o.$slots.default&&e.direction!=="vertical"?(x(),F("div",{key:0,class:N([i(n).e("text"),i(n).is(e.contentPosition)])},[ne(o.$slots,"default")],2)):ae("v-if",!0)],6))}}),Ez=kz;const ZS=lt(Ez),xz=Se({...US,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Tz={...qS,"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"};function $z(e,t,n){const{width:a,height:o}=Mv(),l=S(()=>["ltr","rtl"].includes(e.direction)),s=S(()=>["ltr","ttb"].includes(e.direction)?1:-1),r=S(()=>l.value?a.value:o.value),u=S(()=>a1(c.value+s.value*d.value,4,r.value)),c=_(0),d=_(0),f=_(!1),h=_(!1);let g=[],p=[];const v=()=>{var k;const w=(k=t.value)==null?void 0:k.closest('[aria-modal="true"]');return w?l.value?w.offsetWidth:w.offsetHeight:100};ie(()=>[e.size,e.resizable],()=>{h.value=!1,c.value=0,d.value=0,b()});const m=w=>{e.resizable&&(h.value||(c.value=v(),h.value=!0),g=[w.pageX,w.pageY],f.value=!0,n("resize-start",w,c.value),p.push(At(window,"mouseup",b),At(window,"mousemove",y)))},y=w=>{const{pageX:k,pageY:E}=w,$=k-g[0],O=E-g[1];d.value=l.value?$:O,n("resize",w,u.value)},b=w=>{f.value&&(g=[],c.value=u.value,d.value=0,f.value=!1,p.forEach(k=>k==null?void 0:k()),p=[],w&&n("resize-end",w,c.value))},C=At(t,"mousedown",m);return Rt(()=>{C(),b()}),{size:S(()=>h.value?`${u.value}px`:tn(e.size)),isResizing:f,isHorizontal:l}}const Oz=["aria-label","aria-labelledby","aria-describedby"],Nz=["id","aria-level"],Mz=["aria-label"],Iz=["id"];var Pz=le({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:xz,emits:Tz,setup(e,{expose:t,emit:n}){const a=e,o=n,l=cn();co({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},S(()=>!!l.title));const s=_(),r=_(),u=_(),c=ve("drawer"),{t:d}=St(),{afterEnter:f,afterLeave:h,beforeLeave:g,visible:p,rendered:v,titleId:m,bodyId:y,zIndex:b,onModalClick:C,onOpenAutoFocus:w,onCloseAutoFocus:k,onFocusoutPrevented:E,onCloseRequested:$,handleClose:O}=XS(a,s),{isHorizontal:M,size:T,isResizing:A}=$z(a,u,o),R=S(()=>a.modalPenetrable&&!a.modal);return t({handleClose:O,afterEnter:f,afterLeave:h}),(B,K)=>(x(),oe(i(gr),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:Q(()=>[q(An,{name:i(c).b("fade"),onAfterEnter:i(f),onAfterLeave:i(h),onBeforeLeave:i(g),persisted:""},{default:Q(()=>[it(q(i(Sh),{mask:e.modal,"overlay-class":[i(c).is("drawer"),e.modalClass??"",`${i(c).namespace.value}-modal-drawer`,i(c).is("penetrable",R.value)],"z-index":i(b),onClick:i(C)},{default:Q(()=>[q(i(yr),{loop:"",trapped:i(p),"focus-trap-el":s.value,"focus-start-el":r.value,onFocusAfterTrapped:i(w),onFocusAfterReleased:i(k),onFocusoutPrevented:i(E),onReleaseRequested:i($)},{default:Q(()=>[j("div",ut({ref_key:"drawerRef",ref:s,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(m),"aria-describedby":i(y)},B.$attrs,{class:[i(c).b(),e.direction,i(p)&&"open",i(c).is("dragging",i(A))],style:{[i(M)?"width":"height"]:i(T)},role:"dialog",onClick:K[1]||(K[1]=Ze(()=>{},["stop"]))}),[j("span",{ref_key:"focusStartRef",ref:r,class:N(i(c).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(x(),F("header",{key:0,class:N([i(c).e("header"),e.headerClass])},[B.$slots.title?ne(B.$slots,"title",{key:1},()=>[ae(" DEPRECATED SLOT ")]):ne(B.$slots,"header",{key:0,close:i(O),titleId:i(m),titleClass:i(c).e("title")},()=>[j("span",{id:i(m),role:"heading","aria-level":e.headerAriaLevel,class:N(i(c).e("title"))},ke(e.title),11,Nz)]),e.showClose?(x(),F("button",{key:2,"aria-label":i(d)("el.drawer.close"),class:N(i(c).e("close-btn")),type:"button",onClick:K[0]||(K[0]=(...Y)=>i(O)&&i(O)(...Y))},[q(i(Be),{class:N(i(c).e("close"))},{default:Q(()=>[q(i(Ma))]),_:1},8,["class"])],10,Mz)):ae("v-if",!0)],2)):ae("v-if",!0),i(v)?(x(),F("div",{key:1,id:i(y),class:N([i(c).e("body"),e.bodyClass])},[ne(B.$slots,"default")],10,Iz)):ae("v-if",!0),B.$slots.footer?(x(),F("div",{key:2,class:N([i(c).e("footer"),e.footerClass])},[ne(B.$slots,"footer")],2)):ae("v-if",!0),e.resizable?(x(),F("div",{key:3,ref_key:"draggerRef",ref:u,style:We({zIndex:i(b)}),class:N(i(c).e("dragger"))},null,6)):ae("v-if",!0)],16,Oz)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Ot,i(p)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}}),Rz=Pz;const Az=lt(Rz),Uu=Se({trigger:{...ho.trigger,type:G([String,Array])},triggerKeys:{type:G(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space,Ce.down]},virtualTriggering:ho.virtualTriggering,virtualRef:ho.virtualRef,effect:{...Lt.effect,default:"light"},type:{type:G(String)},placement:{type:G(String),default:"bottom"},popperOptions:{type:G(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:G([Number,String]),default:0},maxHeight:{type:G([Number,String]),default:""},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,disabled:Boolean,role:{type:String,values:oC,default:"menu"},buttonProps:{type:G(Object)},teleported:Lt.teleported,appendTo:Lt.appendTo,persistent:{type:Boolean,default:!0}}),JS=Se({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Bt}}),_z=Se({onKeydown:{type:G(Function)}}),Ed=Symbol("elDropdown"),QS="elDropdown";var Lz=le({inheritAttrs:!1});function Dz(e,t,n,a,o,l){return ne(e.$slots,"default")}var Bz=Cn(Lz,[["render",Dz]]),Vz=le({name:"ElCollectionItem",inheritAttrs:!1});function Fz(e,t,n,a,o,l){return ne(e.$slots,"default")}var zz=Cn(Vz,[["render",Fz]]);const ek="data-el-collection-item",Hz=e=>{const t=`El${e}Collection`,n=`${t}Item`,a=Symbol(t),o=Symbol(n);return{COLLECTION_INJECTION_KEY:a,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:Object.assign({},Bz,{name:t,setup(){const l=_(),s=new Map;wt(a,{itemMap:s,getItems:()=>{const u=i(l);if(!u)return[];const c=Array.from(u.querySelectorAll(`[${ek}]`));return[...s.values()].sort((d,f)=>c.indexOf(d.ref)-c.indexOf(f.ref))},collectionRef:l})}}),ElCollectionItem:Object.assign({},zz,{name:n,setup(l,{attrs:s}){const r=_(),u=Le(a,void 0);wt(o,{collectionItemRef:r}),ft(()=>{const c=i(r);c&&u.itemMap.set(c,{ref:c,...s})}),Rt(()=>{const c=i(r);u.itemMap.delete(c)})}})}},Kz=Se({style:{type:G([String,Array,Object])},currentTabId:{type:G(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:G(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Wz,ElCollectionItem:jz,COLLECTION_INJECTION_KEY:tk,COLLECTION_ITEM_INJECTION_KEY:Yz}=Hz("RovingFocusGroup"),Eh=Symbol("elRovingFocusGroup"),nk=Symbol("elRovingFocusGroupItem"),Uz={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},qz=(e,t)=>e,Gz=(e,t,n)=>{const a=qz(Ft(e));return Uz[a]},Xz=(e,t)=>e.map((n,a)=>e[(a+t)%e.length]),Gy=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},Xy="currentTabIdChange",Zy="rovingFocusGroup.entryFocus",Zz={bubbles:!1,cancelable:!0};var Jz=le({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:Kz,emits:[Xy,"entryFocus"],setup(e,{emit:t}){const n=_((e.currentTabId||e.defaultCurrentTabId)??null),a=_(!1),o=_(!1),l=_(),{getItems:s}=Le(tk,void 0),r=S(()=>[{outline:"none"},e.style]),u=v=>{t(Xy,v)},c=()=>{a.value=!0},d=kn(v=>{var m;(m=e.onMousedown)==null||m.call(e,v)},()=>{o.value=!0}),f=kn(v=>{var m;(m=e.onFocus)==null||m.call(e,v)},v=>{const m=!i(o),{target:y,currentTarget:b}=v;if(y===b&&m&&!i(a)){const C=new Event(Zy,Zz);if(b==null||b.dispatchEvent(C),!C.defaultPrevented){const w=s().filter(k=>k.focusable);Gy([w.find(k=>k.active),w.find(k=>k.id===i(n)),...w].filter(Boolean).map(k=>k.ref))}}o.value=!1}),h=kn(v=>{var m;(m=e.onBlur)==null||m.call(e,v)},()=>{a.value=!1}),g=(...v)=>{t("entryFocus",...v)},p=v=>{const m=Gz(v);if(m){v.preventDefault();let y=s().filter(b=>b.focusable).map(b=>b.ref);switch(m){case"last":y.reverse();break;case"prev":case"next":{m==="prev"&&y.reverse();const b=y.indexOf(v.currentTarget);y=e.loop?Xz(y,b+1):y.slice(b+1);break}}Ae(()=>{Gy(y)})}};wt(Eh,{currentTabbedId:os(n),loop:_t(e,"loop"),tabIndex:S(()=>i(a)?-1:0),rovingFocusGroupRef:l,rovingFocusGroupRootStyle:r,orientation:_t(e,"orientation"),dir:_t(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:h,onFocus:f,onMousedown:d,onKeydown:p}),ie(()=>e.currentTabId,v=>{n.value=v??null}),At(l,Zy,g)}});function Qz(e,t,n,a,o,l){return ne(e.$slots,"default")}var e5=Cn(Jz,[["render",Qz]]),t5=le({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Wz,ElRovingFocusGroupImpl:e5}});function n5(e,t,n,a,o,l){const s=$t("el-roving-focus-group-impl"),r=$t("el-focus-group-collection");return x(),oe(r,null,{default:Q(()=>[q(s,Do(Bo(e.$attrs)),{default:Q(()=>[ne(e.$slots,"default")]),_:3},16)]),_:3})}var a5=Cn(t5,[["render",n5]]),o5=le({components:{ElRovingFocusCollectionItem:jz},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:a,onItemShiftTab:o,onKeydown:l}=Le(Eh,void 0),s=_n(),r=_(),u=kn(h=>{t("mousedown",h)},h=>{e.focusable?a(i(s)):h.preventDefault()}),c=kn(h=>{t("focus",h)},()=>{a(i(s))}),d=kn(h=>{t("keydown",h)},h=>{const{shiftKey:g,target:p,currentTarget:v}=h;if(Ft(h)===Ce.tab&&g){o();return}p===v&&l(h)}),f=S(()=>n.value===i(s));return wt(nk,{rovingFocusGroupItemRef:r,tabIndex:S(()=>i(f)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:s,handleKeydown:d,handleFocus:c,handleMousedown:u}}});function l5(e,t,n,a,o,l){const s=$t("el-roving-focus-collection-item");return x(),oe(s,{id:e.id,focusable:e.focusable,active:e.active},{default:Q(()=>[ne(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var s5=Cn(o5,[["render",l5]]),r5=a5;const{ButtonGroup:i5}=xn;var u5=le({name:"ElDropdown",components:{ElButton:xn,ElButtonGroup:i5,ElScrollbar:Wa,ElTooltip:Mn,ElRovingFocusGroup:r5,ElOnlyChild:iC,ElIcon:Be,ArrowDown:Eo},props:Uu,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=ct(),a=ve("dropdown"),{t:o}=St(),l=_(),s=_(),r=_(),u=_(),c=_(null),d=_(null),f=_(!1),h=S(()=>({maxHeight:tn(e.maxHeight)})),g=S(()=>[a.m(w.value)]),p=S(()=>En(e.trigger)),v=_n().value,m=S(()=>e.id||v);function y(){var B;(B=r.value)==null||B.onClose(void 0,0)}function b(){var B;(B=r.value)==null||B.onClose()}function C(){var B;(B=r.value)==null||B.onOpen()}const w=yn();function k(...B){t("command",...B)}function E(){}function $(){const B=i(u);p.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),d.value=null}function O(B){d.value=B}function M(){t("visible-change",!0)}function T(B){var K;f.value=(B==null?void 0:B.type)==="keydown",(K=u.value)==null||K.focus()}function A(){t("visible-change",!1)}return wt(Ed,{contentRef:u,role:S(()=>e.role),triggerId:m,isUsingKeyboard:f,onItemEnter:E,onItemLeave:$,handleClose:b}),wt(QS,{instance:n,dropdownSize:w,handleClick:y,commandHandler:k,trigger:_t(e,"trigger"),hideOnClick:_t(e,"hideOnClick")}),{t:o,ns:a,scrollbar:c,wrapStyle:h,dropdownTriggerKls:g,dropdownSize:w,triggerId:m,currentTabId:d,handleCurrentTabIdChange:O,handlerMainButtonClick:B=>{t("click",B)},handleClose:b,handleOpen:C,handleBeforeShowTooltip:M,handleShowTooltip:T,handleBeforeHideTooltip:A,popperRef:r,contentRef:u,triggeringElementRef:l,referenceElementRef:s}}});function c5(e,t,n,a,o,l){const s=$t("el-roving-focus-group"),r=$t("el-scrollbar"),u=$t("el-only-child"),c=$t("el-tooltip"),d=$t("el-button"),f=$t("arrow-down"),h=$t("el-icon"),g=$t("el-button-group");return x(),F("div",{class:N([e.ns.b(),e.ns.is("disabled",e.disabled)])},[q(c,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},na({content:Q(()=>[q(r,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:Q(()=>[q(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:Q(()=>[ne(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:Q(()=>[q(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:Q(()=>[ne(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(x(),oe(g,{key:0},{default:Q(()=>[q(d,ut({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:Q(()=>[ne(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),q(d,ut({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:Q(()=>[q(h,{class:N(e.ns.e("icon"))},{default:Q(()=>[q(f)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ae("v-if",!0)],2)}var d5=Cn(u5,[["render",c5]]),f5=le({name:"DropdownItemImpl",components:{ElIcon:Be},props:JS,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=ve("dropdown"),{role:a}=Le(Ed,void 0),{collectionItemRef:o}=Le(Yz,void 0),{rovingFocusGroupItemRef:l,tabIndex:s,handleFocus:r,handleKeydown:u,handleMousedown:c}=Le(nk,void 0),d=kh(o,l),f=S(()=>a.value==="menu"?"menuitem":a.value==="navigation"?"link":"button"),h=kn(g=>{const p=Ft(g);if([Ce.enter,Ce.numpadEnter,Ce.space].includes(p))return g.preventDefault(),g.stopImmediatePropagation(),t("clickimpl",g),!0},u);return{ns:n,itemRef:d,dataset:{[ek]:""},role:f,tabIndex:s,handleFocus:r,handleKeydown:h,handleMousedown:c}}});const p5=["aria-disabled","tabindex","role"];function v5(e,t,n,a,o,l){const s=$t("el-icon");return x(),F(He,null,[e.divided?(x(),F("li",{key:0,role:"separator",class:N(e.ns.bem("menu","item","divided"))},null,2)):ae("v-if",!0),j("li",ut({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=r=>e.$emit("clickimpl",r)),onFocus:t[1]||(t[1]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onKeydown:t[2]||(t[2]=Ze((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=(...r)=>e.handleMousedown&&e.handleMousedown(...r)),onPointermove:t[4]||(t[4]=r=>e.$emit("pointermove",r)),onPointerleave:t[5]||(t[5]=r=>e.$emit("pointerleave",r))}),[e.icon||e.$slots.icon?(x(),oe(s,{key:0},{default:Q(()=>[ne(e.$slots,"icon",{},()=>[(x(),oe(st(e.icon)))])]),_:3})):ae("v-if",!0),ne(e.$slots,"default")],16,p5)],64)}var h5=Cn(f5,[["render",v5]]);const ak=()=>{const e=Le(QS,{});return{elDropdown:e,_elDropdownSize:S(()=>e==null?void 0:e.dropdownSize)}};var m5=le({name:"ElDropdownItem",components:{ElRovingFocusItem:s5,ElDropdownItemImpl:h5},inheritAttrs:!1,props:JS,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:a}=ak(),o=ct(),{onItemEnter:l,onItemLeave:s}=Le(Ed,void 0),r=kn(c=>(t("pointermove",c),c.defaultPrevented),Tg(c=>{if(e.disabled){s(c);return}const d=c.currentTarget;d===document.activeElement||d.contains(document.activeElement)||(l(c),c.defaultPrevented||d==null||d.focus({preventScroll:!0}))})),u=kn(c=>(t("pointerleave",c),c.defaultPrevented),Tg(s));return{handleClick:kn(c=>{if(!e.disabled)return t("click",c),c.type!=="keydown"&&c.defaultPrevented},c=>{var d,f,h;if(e.disabled){c.stopImmediatePropagation();return}(d=a==null?void 0:a.hideOnClick)!=null&&d.value&&((f=a.handleClick)==null||f.call(a)),(h=a.commandHandler)==null||h.call(a,e.command,o,c)}),handlePointerMove:r,handlePointerLeave:u,propsAndAttrs:S(()=>({...e,...n}))}}});function g5(e,t,n,a,o,l){const s=$t("el-dropdown-item-impl"),r=$t("el-roving-focus-item");return x(),oe(r,{focusable:!e.disabled},{default:Q(()=>[q(s,ut(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),na({default:Q(()=>[ne(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:Q(()=>[ne(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var ok=Cn(m5,[["render",g5]]),y5=le({name:"ElDropdownMenu",props:_z,setup(e){const t=ve("dropdown"),{_elDropdownSize:n}=ak(),a=n.value,{contentRef:o,role:l,triggerId:s,isUsingKeyboard:r,handleClose:u}=Le(Ed,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,onBlur:f,onFocus:h,onKeydown:g,onMousedown:p}=Le(Eh,void 0),{collectionRef:v}=Le(tk,void 0),m=S(()=>[t.b("menu"),t.bm("menu",a==null?void 0:a.value)]),y=kh(o,c,v),b=kn(w=>{var k;(k=e.onKeydown)==null||k.call(e,w)},w=>{const{currentTarget:k,target:E}=w,$=Ft(w);if(k.contains(E),Ce.tab===$)return u();g(w)});function C(w){r.value&&h(w)}return{size:a,rovingFocusGroupRootStyle:d,dropdownKls:m,role:l,triggerId:s,dropdownListWrapperRef:y,handleKeydown:b,onBlur:f,handleFocus:C,onMousedown:p}}});const b5=["role","aria-labelledby"];function w5(e,t,n,a,o,l){return x(),F("ul",{ref:e.dropdownListWrapperRef,class:N(e.dropdownKls),style:We(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...s)=>e.handleFocus&&e.handleFocus(...s)),onFocusout:t[1]||(t[1]=(...s)=>e.onBlur&&e.onBlur(...s)),onKeydown:t[2]||(t[2]=Ze((...s)=>e.handleKeydown&&e.handleKeydown(...s),["self"])),onMousedown:t[3]||(t[3]=Ze((...s)=>e.onMousedown&&e.onMousedown(...s),["self"]))},[ne(e.$slots,"default")],46,b5)}var lk=Cn(y5,[["render",w5]]);const C5=lt(d5,{DropdownItem:ok,DropdownMenu:lk}),S5=Zt(ok),k5=Zt(lk),E5=Se({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),x5={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},T5=["id"],$5=["stop-color"],O5=["stop-color"],N5=["id"],M5=["stop-color"],I5=["stop-color"],P5=["id"],R5={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},A5={transform:"translate(-1268.000000, -535.000000)"},_5={transform:"translate(1268.000000, 535.000000)"},L5=["fill"],D5=["fill"],B5={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},V5=["fill"],F5=["fill"],z5=["fill"],H5=["fill"],K5=["fill"],W5={transform:"translate(53.000000, 45.000000)"},j5=["fill","xlink:href"],Y5=["fill","mask"],U5=["fill"];var q5=le({name:"ImgEmpty",__name:"img-empty",setup(e){const t=ve("empty"),n=_n();return(a,o)=>(x(),F("svg",x5,[j("defs",null,[j("linearGradient",{id:`linearGradient-1-${i(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,$5),j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,O5)],8,T5),j("linearGradient",{id:`linearGradient-2-${i(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,M5),j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,I5)],8,N5),j("rect",{id:`path-3-${i(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,P5)]),j("g",R5,[j("g",A5,[j("g",_5,[j("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${i(t).cssVarBlockName("fill-color-3")})`},null,8,L5),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,D5),j("g",B5,[j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,V5),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,F5),j("rect",{fill:`url(#linearGradient-1-${i(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,z5),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,H5)]),j("rect",{fill:`url(#linearGradient-2-${i(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,K5),j("g",W5,[j("use",{fill:`var(${i(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${i(n)}`},null,8,j5),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${i(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,Y5)]),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,U5)])])])]))}}),G5=q5;const X5=["src"],Z5={key:1};var J5=le({name:"ElEmpty",__name:"empty",props:E5,setup(e){const t=e,{t:n}=St(),a=ve("empty"),o=S(()=>t.description||n("el.table.emptyText")),l=S(()=>({width:tn(t.imageSize)}));return(s,r)=>(x(),F("div",{class:N(i(a).b())},[j("div",{class:N(i(a).e("image")),style:We(l.value)},[e.image?(x(),F("img",{key:0,src:e.image,ondragstart:"return false"},null,8,X5)):ne(s.$slots,"image",{key:1},()=>[q(G5)])],6),j("div",{class:N(i(a).e("description"))},[s.$slots.description?ne(s.$slots,"description",{key:0}):(x(),F("p",Z5,ke(o.value),1))],2),s.$slots.default?(x(),F("div",{key:0,class:N(i(a).e("bottom"))},[ne(s.$slots,"default")],2)):ae("v-if",!0)],2))}}),Q5=J5;const sk=lt(Q5),eH=Se({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:G([String,Object])},previewSrcList:{type:G(Array),default:()=>en([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:G(String)}}),tH={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>Ke(e),close:()=>!0,show:()=>!0},nH=Se({urlList:{type:G(Array),default:()=>en([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:G(String)}}),aH={close:()=>!0,error:e=>e instanceof Event,switch:e=>Ke(e),rotate:e=>Ke(e)},oH=["src","crossorigin"];var lH=le({name:"ElImageViewer",__name:"image-viewer",props:nH,emits:aH,setup(e,{expose:t,emit:n}){const a={CONTAIN:{name:"contain",icon:uo(c4)},ORIGINAL:{name:"original",icon:uo(I4)}},o=e,l=n;let s;const{t:r}=St(),u=ve("image-viewer"),{nextZIndex:c}=Ui(),d=_(),f=_(),h=Q2(),g=S(()=>{const{scale:re,minScale:te,maxScale:ee}=o;return a1(re,te,ee)}),p=_(!0),v=_(!1),m=_(!1),y=_(o.initialIndex),b=jt(a.CONTAIN),C=_({scale:g.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),w=_(o.zIndex??c());ud(m,{ns:u});const k=S(()=>{const{urlList:re}=o;return re.length<=1}),E=S(()=>y.value===0),$=S(()=>y.value===o.urlList.length-1),O=S(()=>o.urlList[y.value]),M=S(()=>[u.e("btn"),u.e("prev"),u.is("disabled",!o.infinite&&E.value)]),T=S(()=>[u.e("btn"),u.e("next"),u.is("disabled",!o.infinite&&$.value)]),A=S(()=>{const{scale:re,deg:te,offsetX:ee,offsetY:H,enableTransition:Z}=C.value;let se=ee/re,pe=H/re;const ge=te*Math.PI/180,ye=Math.cos(ge),Ne=Math.sin(ge);se=se*ye+pe*Ne,pe=pe*ye-ee/re*Ne;const _e={transform:`scale(${re}) rotate(${te}deg) translate(${se}px, ${pe}px)`,transition:Z?"transform .3s":""};return b.value.name===a.CONTAIN.name&&(_e.maxWidth=_e.maxHeight="100%"),_e}),R=S(()=>`${y.value+1} / ${o.urlList.length}`);function B(){Y(),s==null||s(),m.value=!1,l("close")}function K(){const re=gl(ee=>{switch(Ft(ee)){case Ce.esc:o.closeOnPressEscape&&B();break;case Ce.space:V();break;case Ce.left:W();break;case Ce.up:J("zoomIn");break;case Ce.right:X();break;case Ce.down:J("zoomOut");break}}),te=gl(ee=>{J((ee.deltaY||ee.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})});h.run(()=>{At(document,"keydown",re),At(d,"wheel",te)})}function Y(){h.stop()}function z(){p.value=!1}function P(re){v.value=!0,p.value=!1,l("error",re),re.target.alt=r("el.image.error")}function I(re){if(p.value||re.button!==0||!d.value)return;C.value.enableTransition=!1;const{offsetX:te,offsetY:ee}=C.value,H=re.pageX,Z=re.pageY,se=gl(ye=>{C.value={...C.value,offsetX:te+ye.pageX-H,offsetY:ee+ye.pageY-Z}}),pe=At(document,"mousemove",se),ge=At(document,"mouseup",()=>{pe(),ge()});re.preventDefault()}function L(re){if(p.value||!d.value||re.touches.length!==1)return;C.value.enableTransition=!1;const{offsetX:te,offsetY:ee}=C.value,{pageX:H,pageY:Z}=re.touches[0],se=gl(ye=>{const Ne=ye.touches[0];C.value={...C.value,offsetX:te+Ne.pageX-H,offsetY:ee+Ne.pageY-Z}}),pe=At(document,"touchmove",se),ge=At(document,"touchend",()=>{pe(),ge()});re.preventDefault()}function D(){C.value={scale:g.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function V(){if(p.value||v.value)return;const re=fi(a),te=Object.values(a),ee=b.value.name;b.value=a[re[(te.findIndex(H=>H.name===ee)+1)%re.length]],D()}function U(re){v.value=!1;const te=o.urlList.length;y.value=(re+te)%te}function W(){E.value&&!o.infinite||U(y.value-1)}function X(){$.value&&!o.infinite||U(y.value+1)}function J(re,te={}){if(p.value||v.value)return;const{minScale:ee,maxScale:H}=o,{zoomRate:Z,rotateDeg:se,enableTransition:pe}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...te};switch(re){case"zoomOut":C.value.scale>ee&&(C.value.scale=Number.parseFloat((C.value.scale/Z).toFixed(3)));break;case"zoomIn":C.value.scale0)return re.preventDefault(),!1}}return ie(()=>g.value,re=>{C.value.scale=re}),ie(O,()=>{Ae(()=>{var re;(re=f.value)!=null&&re.complete||(p.value=!0)})}),ie(y,re=>{D(),l("switch",re)}),ft(()=>{m.value=!0,K(),s=At("wheel",he,{passive:!1})}),t({setActiveItem:U}),(re,te)=>(x(),oe(i(gr),{to:"body",disabled:!e.teleported},{default:Q(()=>[q(An,{name:"viewer-fade",appear:""},{default:Q(()=>[j("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:N(i(u).e("wrapper")),style:We({zIndex:w.value})},[q(i(yr),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:fe,onReleaseRequested:ue},{default:Q(()=>[j("div",{class:N(i(u).e("mask")),onClick:te[0]||(te[0]=Ze(ee=>e.hideOnClickModal&&B(),["self"]))},null,2),ae(" CLOSE "),j("span",{class:N([i(u).e("btn"),i(u).e("close")]),onClick:B},[q(i(Be),null,{default:Q(()=>[q(i(Ma))]),_:1})],2),ae(" ARROW "),k.value?ae("v-if",!0):(x(),F(He,{key:0},[j("span",{class:N(M.value),onClick:W},[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1})],2),j("span",{class:N(T.value),onClick:X},[q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})],2)],64)),re.$slots.progress||e.showProgress?(x(),F("div",{key:1,class:N([i(u).e("btn"),i(u).e("progress")])},[ne(re.$slots,"progress",{activeIndex:y.value,total:e.urlList.length},()=>[bt(ke(R.value),1)])],2)):ae("v-if",!0),ae(" ACTIONS "),j("div",{class:N([i(u).e("btn"),i(u).e("actions")])},[j("div",{class:N(i(u).e("actions__inner"))},[ne(re.$slots,"toolbar",{actions:J,prev:W,next:X,reset:V,activeIndex:y.value,setActiveItem:U},()=>[q(i(Be),{onClick:te[1]||(te[1]=ee=>J("zoomOut"))},{default:Q(()=>[q(i(U4))]),_:1}),q(i(Be),{onClick:te[2]||(te[2]=ee=>J("zoomIn"))},{default:Q(()=>[q(i(nC))]),_:1}),j("i",{class:N(i(u).e("actions__divider"))},null,2),q(i(Be),{onClick:V},{default:Q(()=>[(x(),oe(st(b.value.icon)))]),_:1}),j("i",{class:N(i(u).e("actions__divider"))},null,2),q(i(Be),{onClick:te[3]||(te[3]=ee=>J("anticlockwise"))},{default:Q(()=>[q(i(T4))]),_:1}),q(i(Be),{onClick:te[4]||(te[4]=ee=>J("clockwise"))},{default:Q(()=>[q(i(O4))]),_:1})])],2)],2),ae(" CANVAS "),j("div",{class:N(i(u).e("canvas"))},[v.value&&re.$slots["viewer-error"]?ne(re.$slots,"viewer-error",{key:0,activeIndex:y.value,src:O.value}):(x(),F("img",{ref_key:"imgRef",ref:f,key:O.value,src:O.value,style:We(A.value),class:N(i(u).e("img")),crossorigin:e.crossorigin,onLoad:z,onError:P,onMousedown:I,onTouchstart:L},null,46,oH))],2),ne(re.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}}),sH=lH;const rk=lt(sH),rH=["src","loading","crossorigin"],iH={key:0};var uH=le({name:"ElImage",inheritAttrs:!1,__name:"image",props:eH,emits:tH,setup(e,{expose:t,emit:n}){const a=e,o=n,{t:l}=St(),s=ve("image"),r=Jo(),u=S(()=>Xs(Object.entries(r).filter(([P])=>/^(data-|on[A-Z])/i.test(P)||["id","style"].includes(P)))),c=sd({excludeListeners:!0,excludeKeys:S(()=>Object.keys(u.value))}),d=_(),f=_(!1),h=_(!0),g=_(!1),p=_(),v=_(),m=Nt&&"loading"in HTMLImageElement.prototype;let y;const b=S(()=>[s.e("inner"),w.value&&s.e("preview"),h.value&&s.is("loading")]),C=S(()=>{const{fit:P}=a;return Nt&&P?{objectFit:P}:{}}),w=S(()=>{const{previewSrcList:P}=a;return be(P)&&P.length>0}),k=S(()=>{const{previewSrcList:P,initialIndex:I}=a;let L=I;return I>P.length-1&&(L=0),L}),E=S(()=>a.loading==="eager"?!1:!m&&a.loading==="lazy"||a.lazy),$=()=>{Nt&&(h.value=!0,f.value=!1,d.value=a.src)};function O(P){h.value=!1,f.value=!1,o("load",P)}function M(P){h.value=!1,f.value=!0,o("error",P)}function T(P){P&&($(),B())}const A=l1(T,200,!0);async function R(){if(!Nt)return;await Ae();const{scrollContainer:P}=a;if(ra(P))v.value=P;else if(De(P)&&P!=="")v.value=document.querySelector(P)??void 0;else if(p.value){const L=Av(p.value);v.value=Fi(L)?void 0:L}const{stop:I}=aP(p,([L])=>{A(L.isIntersecting)},{root:v});y=I}function B(){!Nt||!A||(y==null||y(),v.value=void 0,y=void 0)}function K(){w.value&&(g.value=!0,o("show"))}function Y(){g.value=!1,o("close")}function z(P){o("switch",P)}return ie(()=>a.src,()=>{E.value?(h.value=!0,f.value=!1,B(),R()):$()}),ft(()=>{E.value?R():$()}),t({showPreview:K}),(P,I)=>(x(),F("div",ut({ref_key:"container",ref:p},u.value,{class:[i(s).b(),P.$attrs.class]}),[f.value?ne(P.$slots,"error",{key:0},()=>[j("div",{class:N(i(s).e("error"))},ke(i(l)("el.image.error")),3)]):(x(),F(He,{key:1},[d.value!==void 0?(x(),F("img",ut({key:0},i(c),{src:d.value,loading:e.loading,style:C.value,class:b.value,crossorigin:e.crossorigin,onClick:K,onLoad:O,onError:M}),null,16,rH)):ae("v-if",!0),h.value?(x(),F("div",{key:1,class:N(i(s).e("wrapper"))},[ne(P.$slots,"placeholder",{},()=>[j("div",{class:N(i(s).e("placeholder"))},null,2)])],2)):ae("v-if",!0)],64)),w.value?(x(),F(He,{key:2},[g.value?(x(),oe(i(rk),{key:0,"z-index":e.zIndex,"initial-index":k.value,infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,scale:e.scale,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:Y,onSwitch:z},na({toolbar:Q(L=>[ne(P.$slots,"toolbar",Do(Bo(L)))]),default:Q(()=>[P.$slots.viewer?(x(),F("div",iH,[ne(P.$slots,"viewer")])):ae("v-if",!0)]),_:2},[P.$slots.progress?{name:"progress",fn:Q(L=>[ne(P.$slots,"progress",Do(Bo(L)))]),key:"0"}:void 0,P.$slots["viewer-error"]?{name:"viewer-error",fn:Q(L=>[ne(P.$slots,"viewer-error",Do(Bo(L)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):ae("v-if",!0)],64)):ae("v-if",!0)],16))}}),cH=uH;const dH=lt(cH),fH=Se({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:wn,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:G([String,Number,null]),validator:e=>e===null||Ke(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Zn(["ariaLabel"]),inputmode:{type:G(String),default:void 0},align:{type:G(String),default:"center"},disabledScientific:Boolean}),pH={[ht]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[mn]:e=>Ke(e)||pn(e),[tt]:e=>Ke(e)||pn(e)},vH=["aria-label"],hH=["aria-label"];var mH=le({name:"ElInputNumber",__name:"input-number",props:fH,emits:pH,setup(e,{expose:t,emit:n}){const a=e,o=n,{t:l}=St(),s=ve("input-number"),r=_(),u=It({currentValue:a.modelValue,userInput:null}),{formItem:c}=In(),d=S(()=>Ke(a.modelValue)&&a.modelValue<=a.min),f=S(()=>Ke(a.modelValue)&&a.modelValue>=a.max),h=S(()=>{const P=b(a.step);return kt(a.precision)?Math.max(b(a.modelValue),P):(P>a.precision&&dt("InputNumber","precision should not be less than the decimal places of step"),a.precision)}),g=S(()=>a.controls&&a.controlsPosition==="right"),p=yn(),v=nn(),m=S(()=>{if(u.userInput!==null)return u.userInput;let P=u.currentValue;if(pn(P))return"";if(Ke(P)){if(Number.isNaN(P))return"";kt(a.precision)||(P=P.toFixed(a.precision))}return P}),y=(P,I)=>{if(kt(I)&&(I=h.value),I===0)return Math.round(P);let L=String(P);const D=L.indexOf(".");if(D===-1||!L.replace(".","").split("")[D+I])return P;const V=L.length;return L.charAt(V-1)==="5"&&(L=`${L.slice(0,Math.max(0,V-1))}6`),Number.parseFloat(Number(L).toFixed(I))},b=P=>{if(pn(P))return 0;const I=P.toString(),L=I.indexOf(".");let D=0;return L!==-1&&(D=I.length-L-1),D},C=(P,I=1)=>Ke(P)?P>=Number.MAX_SAFE_INTEGER&&I===1?(dt("InputNumber","The value has reached the maximum safe integer limit."),P):P<=Number.MIN_SAFE_INTEGER&&I===-1?(dt("InputNumber","The value has reached the minimum safe integer limit."),P):y(P+a.step*I):u.currentValue,w=P=>{const I=Ft(P),L=g1(P);if(a.disabledScientific&&["e","E"].includes(L)){P.preventDefault();return}switch(I){case Ce.up:P.preventDefault(),k();break;case Ce.down:P.preventDefault(),E();break}},k=()=>{a.readonly||v.value||f.value||(O(C(Number(m.value)||0)),o(mn,u.currentValue),Y())},E=()=>{a.readonly||v.value||d.value||(O(C(Number(m.value)||0,-1)),o(mn,u.currentValue),Y())},$=(P,I)=>{const{max:L,min:D,step:V,precision:U,stepStrictly:W,valueOnClear:X}=a;LL||JL?L:D,I&&o(tt,J)),J},O=(P,I=!0)=>{var V;const L=u.currentValue,D=$(P);if(!I){o(tt,D);return}u.userInput=null,!(L===D&&P)&&(o(tt,D),L!==D&&o(ht,D,L),a.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"change").catch(U=>dt(U))),u.currentValue=D)},M=P=>{u.userInput=P;const I=P===""?null:Number(P);o(mn,I),O(I,!1)},T=P=>{const I=P!==""?Number(P):"";(Ke(I)&&!Number.isNaN(I)||P==="")&&O(I),Y(),u.userInput=null},A=()=>{var P,I;(I=(P=r.value)==null?void 0:P.focus)==null||I.call(P)},R=()=>{var P,I;(I=(P=r.value)==null?void 0:P.blur)==null||I.call(P)},B=P=>{o("focus",P)},K=P=>{var I,L;u.userInput=null,u.currentValue===null&&((I=r.value)!=null&&I.input)&&(r.value.input.value=""),o("blur",P),a.validateEvent&&((L=c==null?void 0:c.validate)==null||L.call(c,"blur").catch(D=>dt(D)))},Y=()=>{u.currentValue!==a.modelValue&&(u.currentValue=a.modelValue)},z=P=>{document.activeElement===P.target&&P.preventDefault()};return ie(()=>a.modelValue,(P,I)=>{const L=$(P,!0);u.userInput===null&&L!==I&&(u.currentValue=L)},{immediate:!0}),ie(()=>a.precision,()=>{u.currentValue=$(a.modelValue)}),ft(()=>{var V;const{min:P,max:I,modelValue:L}=a,D=(V=r.value)==null?void 0:V.input;if(D.setAttribute("role","spinbutton"),Number.isFinite(I)?D.setAttribute("aria-valuemax",String(I)):D.removeAttribute("aria-valuemax"),Number.isFinite(P)?D.setAttribute("aria-valuemin",String(P)):D.removeAttribute("aria-valuemin"),D.setAttribute("aria-valuenow",u.currentValue||u.currentValue===0?String(u.currentValue):""),D.setAttribute("aria-disabled",String(v.value)),!Ke(L)&&L!=null){let U=Number(L);Number.isNaN(U)&&(U=null),o(tt,U)}D.addEventListener("wheel",z,{passive:!1})}),Ua(()=>{var P,I;(I=(P=r.value)==null?void 0:P.input)==null||I.setAttribute("aria-valuenow",`${u.currentValue??""}`)}),t({focus:A,blur:R}),(P,I)=>(x(),F("div",{class:N([i(s).b(),i(s).m(i(p)),i(s).is("disabled",i(v)),i(s).is("without-controls",!e.controls),i(s).is("controls-right",g.value),i(s).is(e.align,!!e.align)]),onDragstart:I[0]||(I[0]=Ze(()=>{},["prevent"]))},[e.controls?it((x(),F("span",{key:0,role:"button","aria-label":i(l)("el.inputNumber.decrease"),class:N([i(s).e("decrease"),i(s).is("disabled",d.value)]),onKeydown:Jt(E,["enter"])},[ne(P.$slots,"decrease-icon",{},()=>[q(i(Be),null,{default:Q(()=>[g.value?(x(),oe(i(Eo),{key:0})):(x(),oe(i(m4),{key:1}))]),_:1})])],42,vH)),[[i(bc),E]]):ae("v-if",!0),e.controls?it((x(),F("span",{key:1,role:"button","aria-label":i(l)("el.inputNumber.increase"),class:N([i(s).e("increase"),i(s).is("disabled",f.value)]),onKeydown:Jt(k,["enter"])},[ne(P.$slots,"increase-icon",{},()=>[q(i(Be),null,{default:Q(()=>[g.value?(x(),oe(i(md),{key:0})):(x(),oe(i(eC),{key:1}))]),_:1})])],42,hH)),[[i(bc),k]]):ae("v-if",!0),q(i(qn),{id:e.id,ref_key:"input",ref:r,type:"number",step:e.step,"model-value":m.value,placeholder:e.placeholder,readonly:e.readonly,disabled:i(v),size:i(p),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:w,onBlur:K,onFocus:B,onInput:M,onChange:T},na({_:2},[P.$slots.prefix?{name:"prefix",fn:Q(()=>[ne(P.$slots,"prefix")]),key:"0"}:void 0,P.$slots.suffix?{name:"suffix",fn:Q(()=>[ne(P.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}}),gH=mH;const ik=lt(gH),yH=Se({modelValue:{type:G(Array)},max:Number,tagType:{...Go.type,default:"info"},tagEffect:Go.effect,effect:{type:G(String),default:"light"},trigger:{type:G(String),default:Ce.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:wn,clearable:Boolean,clearIcon:{type:Bt,default:xo},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:G(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),bH={[tt]:e=>be(e)||kt(e),[ht]:e=>be(e)||kt(e),[mn]:e=>De(e),"add-tag":e=>De(e)||be(e),"remove-tag":(e,t)=>De(e)&&Ke(t),"drag-tag":(e,t,n)=>Ke(e)&&Ke(t)&&De(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function wH({wrapperRef:e,handleDragged:t,afterDragged:n}){const a=ve("input-tag"),o=jt(),l=_(!1);let s,r,u,c;function d(p){return`.${a.e("inner")} .${a.namespace.value}-tag:nth-child(${p+1})`}function f(p,v){s=v,r=e.value.querySelector(d(v)),r&&(r.style.opacity="0.5"),p.dataTransfer.effectAllowed="move"}function h(p,v){if(u=v,p.preventDefault(),p.dataTransfer.dropEffect="move",kt(s)||s===v){l.value=!1;return}const m=e.value.querySelector(d(v)).getBoundingClientRect(),y=s+1!==v,b=s-1!==v,C=p.clientX-m.left,w=y?b?.5:1:-1,k=b?y?.5:0:1;C<=m.width*w?c="before":C>m.width*k?c="after":c=void 0;const E=e.value.querySelector(`.${a.e("inner")}`),$=E.getBoundingClientRect(),O=Number.parseFloat(Ao(E,"gap"))/2,M=m.top-$.top;let T=-9999;if(c==="before")T=Math.max(m.left-$.left-O,Math.floor(-O/2));else if(c==="after"){const A=m.right-$.left;T=A+($.width===A?Math.floor(O/2):O)}f1(o.value,{top:`${M}px`,left:`${T}px`}),l.value=!!c}function g(p){p.preventDefault(),r&&(r.style.opacity=""),c&&!kt(s)&&!kt(u)&&s!==u&&t(s,u,c),l.value=!1,s=void 0,r=null,u=void 0,c=void 0,n==null||n()}return{dropIndicatorRef:o,showDropIndicator:l,handleDragStart:f,handleDragOver:h,handleDragEnd:g}}function CH(){const e=_(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function SH({props:e,emit:t,formItem:n}){const a=nn(),o=yn(),l=jt(),s=_(),r=_(),u=S(()=>["small"].includes(o.value)?"small":"default"),c=S(()=>{var z;return(z=e.modelValue)!=null&&z.length?void 0:e.placeholder}),d=S(()=>!(e.readonly||a.value)),f=S(()=>{var z;return kt(e.max)?!1:(((z=e.modelValue)==null?void 0:z.length)??0)>=e.max}),h=S(()=>{var z;return e.collapseTags?(z=e.modelValue)==null?void 0:z.slice(0,e.maxCollapseTags):e.modelValue}),g=S(()=>{var z;return e.collapseTags?(z=e.modelValue)==null?void 0:z.slice(e.maxCollapseTags):[]}),p=z=>{const P=[...e.modelValue??[],...En(z)];t(tt,P),t(ht,P),t("add-tag",z),s.value=void 0},v=z=>{var L;const P=z.split(e.delimiter),I=P.length>1?P.map(D=>D.trim()).filter(Boolean):[];if(e.max){const D=e.max-(((L=e.modelValue)==null?void 0:L.length)??0);I.splice(D)}return I.length===1?I[0]:I},m=z=>{var W;const P=(W=z.clipboardData)==null?void 0:W.getData("text");if(e.readonly||f.value||!e.delimiter||!P)return;const{selectionStart:I=0,selectionEnd:L=0,value:D}=z.target,V=D.slice(0,I)+P+D.slice(L),U=v(V);U.length&&(p(U),t(mn,V),z.preventDefault())},y=z=>{if(f.value){s.value=void 0;return}if(!R.value){if(e.delimiter&&s.value){const P=v(s.value);P.length&&p(P)}t(mn,z.target.value)}},b=z=>{var P;if(!R.value)switch(Ft(z)){case e.trigger:z.preventDefault(),z.stopPropagation(),w();break;case Ce.numpadEnter:e.trigger===Ce.enter&&(z.preventDefault(),z.stopPropagation(),w());break;case Ce.backspace:!s.value&&((P=e.modelValue)!=null&&P.length)&&(z.preventDefault(),z.stopPropagation(),k(e.modelValue.length-1));break}},C=z=>{if(!(R.value||!c1()))switch(Ft(z)){case Ce.space:e.trigger===Ce.space&&(z.preventDefault(),z.stopPropagation(),w());break}},w=()=>{var P;const z=(P=s.value)==null?void 0:P.trim();!z||f.value||p(z)},k=z=>{const P=(e.modelValue??[]).slice(),[I]=P.splice(z,1);t(tt,P),t(ht,P),t("remove-tag",I,z)},E=()=>{s.value=void 0,t(tt,void 0),t(ht,void 0),t("clear")},$=(z,P,I)=>{const L=(e.modelValue??[]).slice(),[D]=L.splice(z,1),V=P>z&&I==="before"?-1:P{var z;(z=l.value)==null||z.focus()},M=()=>{var z;(z=l.value)==null||z.blur()},{wrapperRef:T,isFocused:A}=nl(l,{disabled:a,beforeBlur(z){var P;return(P=r.value)==null?void 0:P.isFocusInsideContent(z)},afterBlur(){var z;e.saveOnBlur?w():s.value=void 0,e.validateEvent&&((z=n==null?void 0:n.validate)==null||z.call(n,"blur").catch(P=>dt(P)))}}),{isComposing:R,handleCompositionStart:B,handleCompositionUpdate:K,handleCompositionEnd:Y}=Zi({afterComposition:y});return ie(()=>e.modelValue,()=>{var z;e.validateEvent&&((z=n==null?void 0:n.validate)==null||z.call(n,ht).catch(P=>dt(P)))}),{inputRef:l,wrapperRef:T,tagTooltipRef:r,isFocused:A,isComposing:R,inputValue:s,size:o,tagSize:u,placeholder:c,closable:d,disabled:a,inputLimit:f,showTagList:h,collapseTagList:g,handleDragged:$,handlePaste:m,handleInput:y,handleKeydown:b,handleKeyup:C,handleAddTag:w,handleRemoveTag:k,handleClear:E,handleCompositionStart:B,handleCompositionUpdate:K,handleCompositionEnd:Y,focus:O,blur:M}}function kH({props:e,isFocused:t,hovering:n,disabled:a,inputValue:o,size:l,validateState:s,validateIcon:r,needStatusIcon:u}){const c=Jo(),d=cn(),f=ve("input-tag"),h=ve("input"),g=_(),p=_(),v=S(()=>[f.b(),f.is("focused",t.value),f.is("hovering",n.value),f.is("disabled",a.value),f.m(l.value),f.e("wrapper"),c.class]),m=S(()=>[c.style]),y=S(()=>{var M,T;return[f.e("inner"),f.is("draggable",e.draggable),f.is("left-space",!((M=e.modelValue)!=null&&M.length)&&!d.prefix),f.is("right-space",!((T=e.modelValue)!=null&&T.length)&&!C.value)]}),b=S(()=>{var M;return e.clearable&&!a.value&&!e.readonly&&(((M=e.modelValue)==null?void 0:M.length)||o.value)&&(t.value||n.value)}),C=S(()=>d.suffix||b.value||s.value&&r.value&&u.value),w=It({innerWidth:0,collapseItemWidth:0}),k=()=>{if(!p.value)return 0;const M=window.getComputedStyle(p.value);return Number.parseFloat(M.gap||"6px")},E=()=>{w.innerWidth=Number.parseFloat(window.getComputedStyle(p.value).width)},$=()=>{w.collapseItemWidth=g.value.getBoundingClientRect().width},O=S(()=>{if(!e.collapseTags)return{};const M=k(),T=M+Zc,A=g.value&&e.maxCollapseTags===1?w.innerWidth-w.collapseItemWidth-M-T:w.innerWidth-T;return{maxWidth:`${Math.max(A,0)}px`}});return Gt(p,E),Gt(g,$),{ns:f,nsInput:h,containerKls:v,containerStyle:m,innerKls:y,showClear:b,showSuffix:C,tagStyle:O,collapseItemRef:g,innerRef:p}}const EH=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],xH=["textContent"];var TH=le({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:yH,emits:bH,setup(e,{expose:t,emit:n}){const a=e,o=n,l=sd(),s=cn(),{form:r,formItem:u}=In(),{inputId:c}=Ca(a,{formItemContext:u}),d=S(()=>(r==null?void 0:r.statusIcon)??!1),f=S(()=>(u==null?void 0:u.validateState)||""),h=S(()=>f.value&&yd[f.value]),{inputRef:g,wrapperRef:p,tagTooltipRef:v,isFocused:m,inputValue:y,size:b,tagSize:C,placeholder:w,closable:k,disabled:E,showTagList:$,collapseTagList:O,handleDragged:M,handlePaste:T,handleInput:A,handleKeydown:R,handleKeyup:B,handleRemoveTag:K,handleClear:Y,handleCompositionStart:z,handleCompositionUpdate:P,handleCompositionEnd:I,focus:L,blur:D}=SH({props:a,emit:o,formItem:u}),{hovering:V,handleMouseEnter:U,handleMouseLeave:W}=CH(),{calculatorRef:X,inputStyle:J}=Iv(),{dropIndicatorRef:fe,showDropIndicator:ue,handleDragStart:he,handleDragOver:re,handleDragEnd:te}=wH({wrapperRef:p,handleDragged:M,afterDragged:L}),{ns:ee,nsInput:H,containerKls:Z,containerStyle:se,innerKls:pe,showClear:ge,showSuffix:ye,tagStyle:Ne,collapseItemRef:_e,innerRef:Me}=kH({props:a,hovering:V,isFocused:m,inputValue:y,disabled:E,size:b,validateState:f,validateIcon:h,needStatusIcon:d});return t({focus:L,blur:D}),(me,Te)=>(x(),F("div",{ref_key:"wrapperRef",ref:p,class:N(i(Z)),style:We(i(se)),onMouseenter:Te[9]||(Te[9]=(...we)=>i(U)&&i(U)(...we)),onMouseleave:Te[10]||(Te[10]=(...we)=>i(W)&&i(W)(...we))},[i(s).prefix?(x(),F("div",{key:0,class:N(i(ee).e("prefix"))},[ne(me.$slots,"prefix")],2)):ae("v-if",!0),j("div",{ref_key:"innerRef",ref:Me,class:N(i(pe))},[(x(!0),F(He,null,yt(i($),(we,Ie)=>(x(),oe(i(zo),{key:Ie,size:i(C),closable:i(k),type:e.tagType,effect:e.tagEffect,draggable:i(k)&&e.draggable,style:We(i(Ne)),"disable-transitions":"",onClose:Ve=>i(K)(Ie),onDragstart:Ve=>i(he)(Ve,Ie),onDragover:Ve=>i(re)(Ve,Ie),onDragend:i(te),onDrop:Te[0]||(Te[0]=Ze(()=>{},["stop"]))},{default:Q(()=>[ne(me.$slots,"tag",{value:we,index:Ie},()=>[bt(ke(we),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),e.collapseTags&&e.modelValue&&e.modelValue.length>e.maxCollapseTags?(x(),oe(i(Mn),{key:0,ref_key:"tagTooltipRef",ref:v,disabled:!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom"},{default:Q(()=>[j("div",{ref_key:"collapseItemRef",ref:_e,class:N(i(ee).e("collapse-tag"))},[q(i(zo),{closable:!1,size:i(C),type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:Q(()=>[bt(" + "+ke(e.modelValue.length-e.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:Q(()=>[j("div",{class:N(i(ee).e("input-tag-list"))},[(x(!0),F(He,null,yt(i(O),(we,Ie)=>(x(),oe(i(zo),{key:Ie,size:i(C),closable:i(k),type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:Ve=>i(K)(Ie+e.maxCollapseTags)},{default:Q(()=>[ne(me.$slots,"tag",{value:we,index:Ie+e.maxCollapseTags},()=>[bt(ke(we),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):ae("v-if",!0),j("div",{class:N(i(ee).e("input-wrapper"))},[it(j("input",ut({id:i(c),ref_key:"inputRef",ref:g,"onUpdate:modelValue":Te[1]||(Te[1]=we=>Yt(y)?y.value=we:null)},i(l),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:i(E),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:i(w),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:i(ee).e("input"),style:i(J),onCompositionstart:Te[2]||(Te[2]=(...we)=>i(z)&&i(z)(...we)),onCompositionupdate:Te[3]||(Te[3]=(...we)=>i(P)&&i(P)(...we)),onCompositionend:Te[4]||(Te[4]=(...we)=>i(I)&&i(I)(...we)),onPaste:Te[5]||(Te[5]=(...we)=>i(T)&&i(T)(...we)),onInput:Te[6]||(Te[6]=(...we)=>i(A)&&i(A)(...we)),onKeydown:Te[7]||(Te[7]=(...we)=>i(R)&&i(R)(...we)),onKeyup:Te[8]||(Te[8]=(...we)=>i(B)&&i(B)(...we))}),null,16,EH),[[sw,i(y)]]),j("span",{ref_key:"calculatorRef",ref:X,"aria-hidden":"true",class:N(i(ee).e("input-calculator")),textContent:ke(i(y))},null,10,xH)],2),it(j("div",{ref_key:"dropIndicatorRef",ref:fe,class:N(i(ee).e("drop-indicator"))},null,2),[[Ot,i(ue)]])],2),i(ye)?(x(),F("div",{key:1,class:N(i(ee).e("suffix"))},[ne(me.$slots,"suffix"),i(ge)?(x(),oe(i(Be),{key:0,class:N([i(ee).e("icon"),i(ee).e("clear")]),onMousedown:Ze(i(Pt),["prevent"]),onClick:i(Y)},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):ae("v-if",!0),f.value&&h.value&&d.value?(x(),oe(i(Be),{key:1,class:N([i(H).e("icon"),i(H).e("validateIcon"),i(H).is("loading",f.value==="validating")])},{default:Q(()=>[(x(),oe(st(h.value)))]),_:1},8,["class"])):ae("v-if",!0)],2)):ae("v-if",!0)],38))}}),$H=TH;const OH=lt($H),NH=Se({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:Bt}}),MH={click:e=>e instanceof MouseEvent},IH=["href","target"];var PH=le({name:"ElLink",__name:"link",props:NH,emits:MH,setup(e,{emit:t}){const n=e,a=t,o=al("link");co({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},S(()=>Dt(n.underline)));const l=ve("link"),s=S(()=>{var c;return[l.b(),l.m(n.type??((c=o.value)==null?void 0:c.type)??"default"),l.is("disabled",n.disabled),l.is("underline",r.value==="always"),l.is("hover-underline",r.value==="hover"&&!n.disabled)]}),r=S(()=>{var c;return Dt(n.underline)?n.underline?"hover":"never":n.underline??((c=o.value)==null?void 0:c.underline)??"hover"});function u(c){n.disabled||a("click",c)}return(c,d)=>(x(),F("a",{class:N(s.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:u},[e.icon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1})):ae("v-if",!0),c.$slots.default?(x(),F("span",{key:1,class:N(i(l).e("inner"))},[ne(c.$slots,"default")],2)):ae("v-if",!0),c.$slots.icon?ne(c.$slots,"icon",{key:2}):ae("v-if",!0)],10,IH))}}),RH=PH;const AH=lt(RH),xh="rootMenu",$c="subMenu:";function uk(e,t){const n=S(()=>{let a=e.parent;const o=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&o.unshift(a.props.index),a=a.parent;return o});return{parentMenu:S(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function _H(e){return S(()=>{const t=e.backgroundColor;return t?new rn(t).shade(20).toString():""})}const ck=(e,t)=>{const n=ve("menu");return S(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":_H(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},LH=Se({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:G([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Bt},expandOpenIcon:{type:Bt},collapseCloseIcon:{type:Bt},collapseOpenIcon:{type:Bt}}),pf="ElSubMenu";var Th=le({name:pf,props:LH,setup(e,{slots:t,expose:n}){const a=ct(),{indexPath:o,parentMenu:l}=uk(a,S(()=>e.index)),s=ve("menu"),r=ve("sub-menu"),u=Le(xh);u||Xt(pf,"can not inject root menu");const c=Le(`${$c}${l.value.uid}`);c||Xt(pf,"can not inject sub menu");const d=_({}),f=_({});let h;const g=_(!1),p=_(),v=_(),m=S(()=>c.level===0),y=S(()=>O.value==="horizontal"&&m.value?"bottom-start":"right-start"),b=S(()=>O.value==="horizontal"&&m.value||O.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?E.value?e.expandOpenIcon:e.expandCloseIcon:Eo:e.collapseCloseIcon&&e.collapseOpenIcon?E.value?e.collapseOpenIcon:e.collapseCloseIcon:Xn),C=S(()=>{const U=e.teleported;return kt(U)?m.value:U}),w=S(()=>u.props.collapse?`${s.namespace.value}-zoom-in-left`:`${s.namespace.value}-zoom-in-top`),k=S(()=>O.value==="horizontal"&&m.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),E=S(()=>u.openedMenus.includes(e.index)),$=S(()=>[...Object.values(d.value),...Object.values(f.value)].some(({active:U})=>U)),O=S(()=>u.props.mode),M=S(()=>u.props.persistent),T=It({index:e.index,indexPath:o,active:$}),A=ck(u.props,c.level+1),R=S(()=>e.popperOffset??u.props.popperOffset),B=S(()=>e.popperClass??u.props.popperClass),K=S(()=>e.popperStyle??u.props.popperStyle),Y=S(()=>e.showTimeout??u.props.showTimeout),z=S(()=>e.hideTimeout??u.props.hideTimeout),P=()=>{var U,W,X;return(X=(W=(U=v.value)==null?void 0:U.popperRef)==null?void 0:W.popperInstanceRef)==null?void 0:X.destroy()},I=U=>{U||P()},L=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:o.value,active:$.value})},D=(U,W=Y.value)=>{var X;if(U.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,h==null||h(),{stop:h}=Zs(()=>{u.openMenu(e.index,o.value)},W),C.value&&((X=l.value.vnode.el)==null||X.dispatchEvent(new MouseEvent("mouseenter"))),U.type==="mouseenter"&&U.target&&Ae(()=>{Wi(U.target,{preventScroll:!0})})}},V=(U=!1)=>{var W;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){c.mouseInChild.value=!1;return}h==null||h(),c.mouseInChild.value=!1,{stop:h}=Zs(()=>!g.value&&u.closeMenu(e.index,o.value),z.value),C.value&&U&&((W=c.handleMouseleave)==null||W.call(c,!0))};ie(()=>u.props.collapse,U=>I(!!U));{const U=X=>{f.value[X.index]=X},W=X=>{delete f.value[X.index]};wt(`${$c}${a.uid}`,{addSubMenu:U,removeSubMenu:W,handleMouseleave:V,mouseInChild:g,level:c.level+1})}return n({opened:E}),ft(()=>{u.addSubMenu(T),c.addSubMenu(T)}),Rt(()=>{c.removeSubMenu(T),u.removeSubMenu(T)}),()=>{var X;const U=[(X=t.title)==null?void 0:X.call(t),Ge(Be,{class:r.e("icon-arrow"),style:{transform:E.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>De(b.value)?Ge(a.appContext.components[b.value]):Ge(b.value)})],W=u.isMenuPopup?Ge(Mn,{ref:v,visible:E.value,effect:"light",pure:!0,offset:R.value,showArrow:!1,persistent:M.value,popperClass:B.value,popperStyle:K.value,placement:y.value,teleported:C.value,fallbackPlacements:k.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var J;return Ge("div",{class:[s.m(O.value),s.m("popup-container"),B.value],onMouseenter:fe=>D(fe,100),onMouseleave:()=>V(!0),onFocus:fe=>D(fe,100)},[Ge("ul",{class:[s.b(),s.m("popup"),s.m(`popup-${y.value}`)],style:A.value},[(J=t.default)==null?void 0:J.call(t)])])},default:()=>Ge("div",{class:r.e("title"),onClick:L},U)}):Ge(He,{},[Ge("div",{class:r.e("title"),ref:p,onClick:L},U),Ge(Sd,{},{default:()=>{var J;return it(Ge("ul",{role:"menu",class:[s.b(),s.m("inline")],style:A.value},[(J=t.default)==null?void 0:J.call(t)]),[[Ot,E.value]])}})]);return Ge("li",{class:[r.b(),r.is("active",$.value),r.is("opened",E.value),r.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:E.value,onMouseenter:D,onMouseleave:()=>V(),onFocus:D},[W])}}}),DH=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,t=>{t.addEventListener("keydown",n=>{const a=Ft(n);let o=!1;switch(a){case Ce.down:this.gotoSubIndex(this.subIndex+1),o=!0;break;case Ce.up:this.gotoSubIndex(this.subIndex-1),o=!0;break;case Ce.tab:Bu(e,"mouseleave");break;case Ce.enter:case Ce.numpadEnter:case Ce.space:o=!0,n.currentTarget.click();break}return o&&(n.preventDefault(),n.stopPropagation()),!1})})}},BH=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new DH(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{const t=Ft(e);let n=!1;switch(t){case Ce.down:Bu(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break;case Ce.up:Bu(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break;case Ce.tab:Bu(e.currentTarget,"mouseleave");break;case Ce.enter:case Ce.numpadEnter:case Ce.space:n=!0,e.currentTarget.click();break}n&&e.preventDefault()})}},VH=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new BH(n,e)})}},FH=le({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=ve("menu"),n={onBeforeEnter:a=>a.style.opacity="0.2",onEnter(a,o){Ea(a,`${t.namespace.value}-opacity-transition`),a.style.opacity="1",o()},onAfterEnter(a){Gn(a,`${t.namespace.value}-opacity-transition`),a.style.opacity=""},onBeforeLeave(a){a.dataset||(a.dataset={}),fo(a,t.m("collapse"))?(Gn(a,t.m("collapse")),a.dataset.oldOverflow=a.style.overflow,a.dataset.scrollWidth=a.clientWidth.toString(),Ea(a,t.m("collapse"))):(Ea(a,t.m("collapse")),a.dataset.oldOverflow=a.style.overflow,a.dataset.scrollWidth=a.clientWidth.toString(),Gn(a,t.m("collapse"))),a.style.width=`${a.scrollWidth}px`,a.style.overflow="hidden"},onLeave(a){Ea(a,"horizontal-collapse-transition"),a.style.width=`${a.dataset.scrollWidth}px`}};return(a,o)=>(x(),oe(An,ut({mode:"out-in"},n),{default:Q(()=>[ne(a.$slots,"default")]),_:3},16))}}),zH=FH;const HH=Se({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:G(Array),default:()=>en([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Bt,default:()=>b4},popperEffect:{type:G(String),default:"dark"},popperClass:String,popperStyle:{type:G([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),vf=e=>be(e)&&e.every(t=>De(t)),KH={close:(e,t)=>De(e)&&vf(t),open:(e,t)=>De(e)&&vf(t),select:(e,t,n,a)=>De(e)&&vf(t)&&nt(n)&&(kt(a)||a instanceof Promise)},Jy=64;var WH=le({name:"ElMenu",props:HH,emits:KH,setup(e,{emit:t,slots:n,expose:a}){const o=ct(),l=o.appContext.config.globalProperties.$router,s=_(),r=_(),u=ve("menu"),c=ve("sub-menu");let d=Jy;const f=_(-1),h=_(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),g=_(e.defaultActive),p=_({}),v=_({}),m=S(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const P=g.value&&p.value[g.value];!P||e.mode==="horizontal"||e.collapse||P.indexPath.forEach(I=>{const L=v.value[I];L&&b(I,L.indexPath)})},b=(P,I)=>{h.value.includes(P)||(e.uniqueOpened&&(h.value=h.value.filter(L=>I.includes(L))),h.value.push(P),t("open",P,I))},C=P=>{const I=h.value.indexOf(P);I!==-1&&h.value.splice(I,1)},w=(P,I)=>{C(P),t("close",P,I)},k=({index:P,indexPath:I})=>{h.value.includes(P)?w(P,I):b(P,I)},E=P=>{(e.mode==="horizontal"||e.collapse)&&(h.value=[]);const{index:I,indexPath:L}=P;if(!(pn(I)||pn(L)))if(e.router&&l){const D=P.route||I,V=l.push(D).then(U=>(U||(g.value=I),U));t("select",I,L,{index:I,indexPath:L,route:D},V)}else g.value=I,t("select",I,L,{index:I,indexPath:L})},$=P=>{var L;const I=p.value;g.value=((L=I[P]||g.value&&I[g.value]||I[e.defaultActive])==null?void 0:L.index)??P},O=P=>{const I=getComputedStyle(P),L=Number.parseInt(I.marginLeft,10),D=Number.parseInt(I.marginRight,10);return P.offsetWidth+L+D||0},M=()=>{if(!s.value)return-1;const P=Array.from(s.value.childNodes).filter(X=>X.nodeName!=="#comment"&&(X.nodeName!=="#text"||X.nodeValue)),I=getComputedStyle(s.value),L=Number.parseInt(I.paddingLeft,10),D=Number.parseInt(I.paddingRight,10),V=s.value.clientWidth-L-D;let U=0,W=0;return P.forEach((X,J)=>{U+=O(X),U<=V-d&&(W=J+1)}),W===P.length?-1:W},T=P=>v.value[P].indexPath,A=(P,I=33.34)=>{let L;return()=>{L&&clearTimeout(L),L=setTimeout(()=>{P()},I)}};let R=!0;const B=()=>{const P=bn(r);if(P&&(d=O(P)||Jy),f.value===M())return;const I=()=>{f.value=-1,Ae(()=>{f.value=M()})};R?I():A(I)(),R=!1};ie(()=>e.defaultActive,P=>{p.value[P]||(g.value=""),$(P)}),ie(()=>e.collapse,P=>{P&&(h.value=[])}),ie(p.value,y);let K;da(()=>{e.mode==="horizontal"&&e.ellipsis?K=Gt(s,B).stop:K==null||K()});const Y=_(!1);{const P=V=>{v.value[V.index]=V},I=V=>{delete v.value[V.index]};wt(xh,It({props:e,openedMenus:h,items:p,subMenus:v,activeIndex:g,isMenuPopup:m,addMenuItem:V=>{p.value[V.index]=V},removeMenuItem:V=>{delete p.value[V.index]},addSubMenu:P,removeSubMenu:I,openMenu:b,closeMenu:w,handleMenuItemClick:E,handleSubMenuClick:k})),wt(`${$c}${o.uid}`,{addSubMenu:P,removeSubMenu:I,mouseInChild:Y,level:0})}ft(()=>{e.mode==="horizontal"&&new VH(o.vnode.el,u.namespace.value)}),a({open:I=>{const{indexPath:L}=v.value[I];L.forEach(D=>b(D,L))},close:C,updateActiveIndex:$,handleResize:B});const z=ck(e,0);return()=>{var V;let P=((V=n.default)==null?void 0:V.call(n))??[];const I=[];if(e.mode==="horizontal"&&s.value){const U=ma(P).filter(J=>(J==null?void 0:J.shapeFlag)!==8),W=f.value===-1?U:U.slice(0,f.value),X=f.value===-1?[]:U.slice(f.value);X!=null&&X.length&&e.ellipsis&&(P=W,I.push(Ge(Th,{ref:r,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Ge(Be,{class:c.e("icon-more")},{default:()=>Ge(e.ellipsisIcon)}),default:()=>X})))}const L=e.closeOnClickOutside?[[Nl,()=>{h.value.length&&(Y.value||(h.value.forEach(U=>t("close",U,T(U))),h.value=[]))}]]:[],D=it(Ge("ul",{key:String(e.collapse),role:"menubar",ref:s,style:z.value,class:{[u.b()]:!0,[u.m(e.mode)]:!0,[u.m("collapse")]:e.collapse}},[...P,...I]),L);return e.collapseTransition&&e.mode==="vertical"?Ge(zH,()=>D):D}}});const jH=Se({index:{type:G([String,null]),default:null},route:{type:G([String,Object])},disabled:Boolean}),YH={click:e=>De(e.index)&&be(e.indexPath)},UH={title:String},Nu="ElMenuItem";var qH=le({name:Nu,__name:"menu-item",props:jH,emits:YH,setup(e,{expose:t,emit:n}){const a=e,o=n;ia(a.index)&&dt(Nu,'Missing required prop: "index"');const l=ct(),s=Le(xh),r=ve("menu"),u=ve("menu-item");s||Xt(Nu,"can not inject root menu");const{parentMenu:c,indexPath:d}=uk(l,_t(a,"index")),f=Le(`${$c}${c.value.uid}`);f||Xt(Nu,"can not inject sub menu");const h=S(()=>a.index===s.activeIndex),g=It({index:a.index,indexPath:d,active:h}),p=()=>{a.disabled||(s.handleMenuItemClick({index:a.index,indexPath:d.value,route:a.route}),o("click",g))};return ft(()=>{f.addSubMenu(g),s.addMenuItem(g)}),Rt(()=>{f.removeSubMenu(g),s.removeMenuItem(g)}),t({parentMenu:c,rootMenu:s,active:h,nsMenu:r,nsMenuItem:u,handleClick:p}),(v,m)=>(x(),F("li",{class:N([i(u).b(),i(u).is("active",h.value),i(u).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:p},[i(c).type.name==="ElMenu"&&i(s).props.collapse&&v.$slots.title?(x(),oe(i(Mn),{key:0,effect:i(s).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":i(s).props.popperClass,"popper-style":i(s).props.popperStyle,persistent:i(s).props.persistent,"focus-on-target":""},{content:Q(()=>[ne(v.$slots,"title")]),default:Q(()=>[j("div",{class:N(i(r).be("tooltip","trigger"))},[ne(v.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(x(),F(He,{key:1},[ne(v.$slots,"default"),ne(v.$slots,"title")],64))],2))}}),dk=qH,GH=le({name:"ElMenuItemGroup",__name:"menu-item-group",props:UH,setup(e){const t=ve("menu-item-group");return(n,a)=>(x(),F("li",{class:N(i(t).b())},[j("div",{class:N(i(t).e("title"))},[n.$slots.title?ne(n.$slots,"title",{key:1}):(x(),F(He,{key:0},[bt(ke(e.title),1)],64))],2),j("ul",null,[ne(n.$slots,"default")])],2))}}),fk=GH;const XH=lt(WH,{MenuItem:dk,MenuItemGroup:fk,SubMenu:Th}),ZH=Zt(dk),JH=Zt(fk),QH=Zt(Th),eK=Se({icon:{type:Bt,default:()=>z3},title:String,content:{type:String,default:""}}),tK={back:()=>!0},nK=["aria-label"];var aK=le({name:"ElPageHeader",__name:"page-header",props:eK,emits:tK,setup(e,{emit:t}){const n=t,{t:a}=St(),o=ve("page-header");function l(){n("back")}return(s,r)=>(x(),F("div",{class:N([i(o).b(),i(o).is("contentful",!!s.$slots.default),{[i(o).m("has-breadcrumb")]:!!s.$slots.breadcrumb,[i(o).m("has-extra")]:!!s.$slots.extra}])},[s.$slots.breadcrumb?(x(),F("div",{key:0,class:N(i(o).e("breadcrumb"))},[ne(s.$slots,"breadcrumb")],2)):ae("v-if",!0),j("div",{class:N(i(o).e("header"))},[j("div",{class:N(i(o).e("left"))},[j("div",{class:N(i(o).e("back")),role:"button",tabindex:"0",onClick:l},[e.icon||s.$slots.icon?(x(),F("div",{key:0,"aria-label":e.title||i(a)("el.pageHeader.title"),class:N(i(o).e("icon"))},[ne(s.$slots,"icon",{},()=>[e.icon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1})):ae("v-if",!0)])],10,nK)):ae("v-if",!0),j("div",{class:N(i(o).e("title"))},[ne(s.$slots,"title",{},()=>[bt(ke(e.title||i(a)("el.pageHeader.title")),1)])],2)],2),q(i(ZS),{direction:"vertical"}),j("div",{class:N(i(o).e("content"))},[ne(s.$slots,"content",{},()=>[bt(ke(e.content),1)])],2)],2),s.$slots.extra?(x(),F("div",{key:0,class:N(i(o).e("extra"))},[ne(s.$slots,"extra")],2)):ae("v-if",!0)],2),s.$slots.default?(x(),F("div",{key:1,class:N(i(o).e("main"))},[ne(s.$slots,"default")],2)):ae("v-if",!0)],2))}}),oK=aK;const lK=lt(oK),pk=Symbol("elPaginationKey"),sK=Se({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:Bt}}),rK={click:e=>e instanceof MouseEvent},iK=["disabled","aria-label","aria-disabled"],uK={key:0};var cK=le({name:"ElPaginationPrev",__name:"prev",props:sK,emits:rK,setup(e){const t=e,{t:n}=St(),a=S(()=>t.disabled||t.currentPage<=1);return(o,l)=>(x(),F("button",{type:"button",class:"btn-prev",disabled:a.value,"aria-label":o.prevText||i(n)("el.pagination.prev"),"aria-disabled":a.value,onClick:l[0]||(l[0]=s=>o.$emit("click",s))},[o.prevText?(x(),F("span",uK,ke(o.prevText),1)):(x(),oe(i(Be),{key:1},{default:Q(()=>[(x(),oe(st(o.prevIcon)))]),_:1}))],8,iK))}}),dK=cK;const fK=Se({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:Bt}}),pK=["disabled","aria-label","aria-disabled"],vK={key:0};var hK=le({name:"ElPaginationNext",__name:"next",props:fK,emits:["click"],setup(e){const t=e,{t:n}=St(),a=S(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(o,l)=>(x(),F("button",{type:"button",class:"btn-next",disabled:a.value,"aria-label":o.nextText||i(n)("el.pagination.next"),"aria-disabled":a.value,onClick:l[0]||(l[0]=s=>o.$emit("click",s))},[o.nextText?(x(),F("span",vK,ke(o.nextText),1)):(x(),oe(i(Be),{key:1},{default:Q(()=>[(x(),oe(st(o.nextIcon)))]),_:1}))],8,pK))}}),mK=hK;const $h=()=>Le(pk,{}),gK=Se({pageSize:{type:Number,required:!0},pageSizes:{type:G(Array),default:()=>en([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:G([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:qa},appendSizeTo:String});var yK=le({name:"ElPaginationSizes",__name:"sizes",props:gK,emits:["page-size-change"],setup(e,{emit:t}){const n=e,a=t,{t:o}=St(),l=ve("pagination"),s=$h(),r=_(n.pageSize);ie(()=>n.pageSizes,(d,f)=>{Qt(d,f)||be(d)&&a("page-size-change",d.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),ie(()=>n.pageSize,d=>{r.value=d});const u=S(()=>n.pageSizes);function c(d){var f;d!==r.value&&(r.value=d,(f=s.handleSizeChange)==null||f.call(s,Number(d)))}return(d,f)=>(x(),F("span",{class:N(i(l).e("sizes"))},[q(i(Ml),{"model-value":r.value,disabled:d.disabled,"popper-class":d.popperClass,"popper-style":d.popperStyle,size:d.size,teleported:d.teleported,"validate-event":!1,"append-to":d.appendSizeTo,onChange:c},{default:Q(()=>[(x(!0),F(He,null,yt(u.value,h=>(x(),oe(i(Sc),{key:h,value:h,label:h+i(o)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),bK=yK;const wK=Se({size:{type:String,values:qa}}),CK=["disabled"];var SK=le({name:"ElPaginationJumper",__name:"jumper",props:wK,setup(e){const{t}=St(),n=ve("pagination"),{pageCount:a,disabled:o,currentPage:l,changeEvent:s}=$h(),r=_(),u=S(()=>r.value??(l==null?void 0:l.value));function c(f){r.value=f?+f:""}function d(f){f=Math.trunc(+f),s==null||s(f),r.value=void 0}return(f,h)=>(x(),F("span",{class:N(i(n).e("jump")),disabled:i(o)},[j("span",{class:N([i(n).e("goto")])},ke(i(t)("el.pagination.goto")),3),q(i(qn),{size:f.size,class:N([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(a),disabled:i(o),"model-value":u.value,"validate-event":!1,"aria-label":i(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),j("span",{class:N([i(n).e("classifier")])},ke(i(t)("el.pagination.pageClassifier")),3)],10,CK))}}),kK=SK;const EK=Se({total:{type:Number,default:1e3}}),xK=["disabled"];var TK=le({name:"ElPaginationTotal",__name:"total",props:EK,setup(e){const{t}=St(),n=ve("pagination"),{disabled:a}=$h();return(o,l)=>(x(),F("span",{class:N(i(n).e("total")),disabled:i(a)},ke(i(t)("el.pagination.total",{total:o.total})),11,xK))}}),$K=TK;const OK=Se({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),NK=["aria-current","aria-label","tabindex"],MK=["tabindex","aria-label"],IK=["aria-current","aria-label","tabindex"],PK=["tabindex","aria-label"],RK=["aria-current","aria-label","tabindex"];var AK=le({name:"ElPaginationPager",__name:"pager",props:OK,emits:[ht],setup(e,{emit:t}){const n=e,a=t,o=ve("pager"),l=ve("icon"),{t:s}=St(),r=_(!1),u=_(!1),c=_(!1),d=_(!1),f=_(!1),h=_(!1),g=S(()=>{const k=n.pagerCount,E=(k-1)/2,$=Number(n.currentPage),O=Number(n.pageCount);let M=!1,T=!1;O>k&&($>k-E&&(M=!0),$["more","btn-quickprev",l.b(),o.is("disabled",n.disabled)]),v=S(()=>["more","btn-quicknext",l.b(),o.is("disabled",n.disabled)]),m=S(()=>n.disabled?-1:0);ie(()=>[n.pageCount,n.pagerCount,n.currentPage],([k,E,$])=>{const O=(E-1)/2;let M=!1,T=!1;k>E&&(M=$>E-O,T=$O&&($=O)),$!==M&&a(ht,$)}return(k,E)=>(x(),F("ul",{class:N(i(o).b()),onClick:w,onKeyup:Jt(C,["enter"])},[k.pageCount>0?(x(),F("li",{key:0,class:N([[i(o).is("active",k.currentPage===1),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===1,"aria-label":i(s)("el.pagination.currentPage",{pager:1}),tabindex:m.value}," 1 ",10,NK)):ae("v-if",!0),r.value?(x(),F("li",{key:1,class:N(p.value),tabindex:m.value,"aria-label":i(s)("el.pagination.prevPages",{pager:k.pagerCount-2}),onMouseenter:E[0]||(E[0]=$=>y(!0)),onMouseleave:E[1]||(E[1]=$=>c.value=!1),onFocus:E[2]||(E[2]=$=>b(!0)),onBlur:E[3]||(E[3]=$=>f.value=!1)},[(c.value||f.value)&&!k.disabled?(x(),oe(i(Tl),{key:0})):(x(),oe(i(Gg),{key:1}))],42,MK)):ae("v-if",!0),(x(!0),F(He,null,yt(g.value,$=>(x(),F("li",{key:$,class:N([[i(o).is("active",k.currentPage===$),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===$,"aria-label":i(s)("el.pagination.currentPage",{pager:$}),tabindex:m.value},ke($),11,IK))),128)),u.value?(x(),F("li",{key:2,class:N(v.value),tabindex:m.value,"aria-label":i(s)("el.pagination.nextPages",{pager:k.pagerCount-2}),onMouseenter:E[4]||(E[4]=$=>y()),onMouseleave:E[5]||(E[5]=$=>d.value=!1),onFocus:E[6]||(E[6]=$=>b()),onBlur:E[7]||(E[7]=$=>h.value=!1)},[(d.value||h.value)&&!k.disabled?(x(),oe(i($l),{key:0})):(x(),oe(i(Gg),{key:1}))],42,PK)):ae("v-if",!0),k.pageCount>1?(x(),F("li",{key:3,class:N([[i(o).is("active",k.currentPage===k.pageCount),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===k.pageCount,"aria-label":i(s)("el.pagination.currentPage",{pager:k.pageCount}),tabindex:m.value},ke(k.pageCount),11,RK)):ae("v-if",!0)],34))}}),_K=AK;const Jn=e=>typeof e!="number",LK=Se({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>Ke(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:G(Array),default:()=>en([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},prevText:{type:String,default:""},prevIcon:{type:Bt,default:()=>qo},nextText:{type:String,default:""},nextIcon:{type:Bt,default:()=>Xn},teleported:{type:Boolean,default:!0},small:Boolean,size:wn,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),DK={"update:current-page":e=>Ke(e),"update:page-size":e=>Ke(e),"size-change":e=>Ke(e),change:(e,t)=>Ke(e)&&Ke(t),"current-change":e=>Ke(e),"prev-click":e=>Ke(e),"next-click":e=>Ke(e)},Qy="ElPagination";var BK=le({name:Qy,props:LK,emits:DK,setup(e,{emit:t,slots:n}){const{t:a}=St(),o=ve("pagination"),l=ct().vnode.props||{},s=q1(),r=S(()=>e.small?"small":e.size??s.value);co({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},S(()=>!!e.small));const u="onUpdate:currentPage"in l||"onUpdate:current-page"in l||"onCurrentChange"in l,c="onUpdate:pageSize"in l||"onUpdate:page-size"in l||"onSizeChange"in l,d=S(()=>{if(Jn(e.total)&&Jn(e.pageCount)||!Jn(e.currentPage)&&!u)return!1;if(e.layout.includes("sizes")){if(Jn(e.pageCount)){if(!Jn(e.total)&&!Jn(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),f=_(Jn(e.defaultPageSize)?10:e.defaultPageSize),h=_(Jn(e.defaultCurrentPage)?1:e.defaultCurrentPage),g=S({get(){return Jn(e.pageSize)?f.value:e.pageSize},set(k){Jn(e.pageSize)&&(f.value=k),c&&(t("update:page-size",k),t("size-change",k))}}),p=S(()=>{let k=0;return Jn(e.pageCount)?Jn(e.total)||(k=Math.max(1,Math.ceil(e.total/g.value))):k=e.pageCount,k}),v=S({get(){return Jn(e.currentPage)?h.value:e.currentPage},set(k){let E=k;k<1?E=1:k>p.value&&(E=p.value),Jn(e.currentPage)&&(h.value=E),u&&(t("update:current-page",E),t("current-change",E))}});ie(p,k=>{v.value>k&&(v.value=k)}),ie([v,g],k=>{t(ht,...k)},{flush:"post"});function m(k){v.value=k}function y(k){g.value=k;const E=p.value;v.value>E&&(v.value=E)}function b(){e.disabled||(v.value-=1,t("prev-click",v.value))}function C(){e.disabled||(v.value+=1,t("next-click",v.value))}function w(k,E){k&&(k.props||(k.props={}),k.props.class=[k.props.class,E].join(" "))}return wt(pk,{pageCount:p,disabled:S(()=>e.disabled),currentPage:v,changeEvent:m,handleSizeChange:y}),()=>{var A;if(!d.value)return dt(Qy,a("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const k=[],E=[],$=Ge("div",{class:o.e("rightwrapper")},E),O={prev:Ge(dK,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:b}),jumper:Ge(kK,{size:r.value}),pager:Ge(_K,{currentPage:v.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:Ge(mK,{disabled:e.disabled,currentPage:v.value,pageCount:p.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:C}),sizes:Ge(bK,{pageSize:g.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:r.value,appendSizeTo:e.appendSizeTo}),slot:((A=n==null?void 0:n.default)==null?void 0:A.call(n))??null,total:Ge($K,{total:Jn(e.total)?0:e.total})},M=e.layout.split(",").map(R=>R.trim());let T=!1;return M.forEach(R=>{if(R==="->"){T=!0;return}T?E.push(O[R]):k.push(O[R])}),w(k[0],o.is("first")),w(k[k.length-1],o.is("last")),T&&E.length>0&&(w(E[0],o.is("first")),w(E[E.length-1],o.is("last")),k.push($)),Ge("div",{class:[o.b(),o.is("background",e.background),o.m(r.value)]},k)}}});const VK=lt(BK),FK=Se({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:np,default:"primary"},cancelButtonType:{type:String,values:np,default:"text"},icon:{type:Bt,default:()=>E4},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...Lt.effect,default:"light"},teleported:Lt.teleported,persistent:Lt.persistent,width:{type:[String,Number],default:150},virtualTriggering:ho.virtualTriggering,virtualRef:ho.virtualRef}),zK={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent};var HK=le({name:"ElPopconfirm",__name:"popconfirm",props:FK,emits:zK,setup(e,{expose:t,emit:n}){const a=e,o=n,{t:l}=St(),s=ve("popconfirm"),r=_(),u=_(),c=S(()=>{var y;return(y=i(r))==null?void 0:y.popperRef}),d=()=>{var y,b;(b=(y=u.value)==null?void 0:y.focus)==null||b.call(y)},f=()=>{var y,b;(b=(y=r.value)==null?void 0:y.onClose)==null||b.call(y)},h=S(()=>({width:tn(a.width)})),g=y=>{o("confirm",y),f()},p=y=>{o("cancel",y),f()},v=S(()=>a.confirmButtonText||l("el.popconfirm.confirmButtonText")),m=S(()=>a.cancelButtonText||l("el.popconfirm.cancelButtonText"));return t({popperRef:c,hide:f}),(y,b)=>(x(),oe(i(Mn),ut({ref_key:"tooltipRef",ref:r,trigger:"click",effect:e.effect},y.$attrs,{"virtual-triggering":e.virtualTriggering,"virtual-ref":e.virtualRef,"popper-class":`${i(s).namespace.value}-popover`,"popper-style":h.value,teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent,loop:"",onShow:d}),{content:Q(()=>[j("div",{ref_key:"rootRef",ref:u,tabindex:"-1",class:N(i(s).b())},[j("div",{class:N(i(s).e("main"))},[!e.hideIcon&&e.icon?(x(),oe(i(Be),{key:0,class:N(i(s).e("icon")),style:We({color:e.iconColor})},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1},8,["class","style"])):ae("v-if",!0),bt(" "+ke(e.title),1)],2),j("div",{class:N(i(s).e("action"))},[ne(y.$slots,"actions",{confirm:g,cancel:p},()=>[q(i(xn),{size:"small",type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",onClick:p},{default:Q(()=>[bt(ke(m.value),1)]),_:1},8,["type","text"]),q(i(xn),{size:"small",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",onClick:g},{default:Q(()=>[bt(ke(v.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:Q(()=>[y.$slots.reference?ne(y.$slots,"reference",{key:0}):ae("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}}),KK=HK;const WK=lt(KK),jK=Se({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:G(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:G([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:G(Function),default:e=>`${e}%`}}),YK=["aria-valuenow"],UK={viewBox:"0 0 100 100"},qK=["d","stroke","stroke-linecap","stroke-width"],GK=["d","stroke","opacity","stroke-linecap","stroke-width"],XK={key:0};var ZK=le({name:"ElProgress",__name:"progress",props:jK,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,a=ve("progress"),o=S(()=>{const C={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},w=b(n.percentage);return w.includes("gradient")?C.background=w:C.backgroundColor=w,C}),l=S(()=>(n.strokeWidth/n.width*100).toFixed(1)),s=S(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(l.value)/2}`,10):0),r=S(()=>{const C=s.value,w=n.type==="dashboard";return`
+          M 50 50
+          m 0 ${w?"":"-"}${C}
+          a ${C} ${C} 0 1 1 0 ${w?"-":""}${C*2}
+          a ${C} ${C} 0 1 1 0 ${w?"":"-"}${C*2}
+          `}),u=S(()=>2*Math.PI*s.value),c=S(()=>n.type==="dashboard"?.75:1),d=S(()=>`${-1*u.value*(1-c.value)/2}px`),f=S(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),h=S(()=>({strokeDasharray:`${u.value*c.value*(n.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),g=S(()=>{let C;return n.color?C=b(n.percentage):C=t[n.status]||t.default,C}),p=S(()=>n.status==="warning"?gd:n.type==="line"?n.status==="success"?Zv:xo:n.status==="success"?Qi:Ma),v=S(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),m=S(()=>n.format(n.percentage));function y(C){const w=100/C.length;return C.map((k,E)=>De(k)?{color:k,percentage:(E+1)*w}:k).sort((k,E)=>k.percentage-E.percentage)}const b=C=>{var k;const{color:w}=n;if(ze(w))return w(C);if(De(w))return w;{const E=y(w);for(const $ of E)if($.percentage>C)return $.color;return(k=E[E.length-1])==null?void 0:k.color}};return(C,w)=>(x(),F("div",{class:N([i(a).b(),i(a).m(e.type),i(a).is(e.status),{[i(a).m("without-text")]:!e.showText,[i(a).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(x(),F("div",{key:0,class:N(i(a).b("bar"))},[j("div",{class:N(i(a).be("bar","outer")),style:We({height:`${e.strokeWidth}px`})},[j("div",{class:N([i(a).be("bar","inner"),{[i(a).bem("bar","inner","indeterminate")]:e.indeterminate},{[i(a).bem("bar","inner","striped")]:e.striped},{[i(a).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:We(o.value)},[(e.showText||C.$slots.default)&&e.textInside?(x(),F("div",{key:0,class:N(i(a).be("bar","innerText"))},[ne(C.$slots,"default",{percentage:e.percentage},()=>[j("span",null,ke(m.value),1)])],2)):ae("v-if",!0)],6)],6)],2)):(x(),F("div",{key:1,class:N(i(a).b("circle")),style:We({height:`${e.width}px`,width:`${e.width}px`})},[(x(),F("svg",UK,[j("path",{class:N(i(a).be("circle","track")),d:r.value,stroke:`var(${i(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":l.value,fill:"none",style:We(f.value)},null,14,qK),j("path",{class:N(i(a).be("circle","path")),d:r.value,stroke:g.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":l.value,style:We(h.value)},null,14,GK)]))],6)),(e.showText||C.$slots.default)&&!e.textInside?(x(),F("div",{key:2,class:N(i(a).e("text")),style:We({fontSize:`${v.value}px`})},[ne(C.$slots,"default",{percentage:e.percentage},()=>[e.status?(x(),oe(i(Be),{key:1},{default:Q(()=>[(x(),oe(st(p.value)))]),_:1})):(x(),F("span",XK,ke(m.value),1))])],6)):ae("v-if",!0)],10,YK))}}),JK=ZK;const vk=lt(JK),QK=Se({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:G([Array,Object]),default:()=>en(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:G([Array,Object]),default:()=>[gu,gu,gu]},voidIcon:{type:Bt,default:()=>F4},disabledVoidIcon:{type:Bt,default:()=>gu},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:G(Array),default:()=>en(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:wn,clearable:Boolean,...Zn(["ariaLabel"])}),e9={[ht]:e=>Ke(e),[tt]:e=>Ke(e)},t9=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],n9=["onMousemove","onClick"];var a9=le({name:"ElRate",__name:"rate",props:QK,emits:e9,setup(e,{expose:t,emit:n}){function a(I,L){const D=U=>nt(U),V=L[Object.keys(L).map(U=>+U).filter(U=>{const W=L[U];return D(W)&&W.excluded?IU-W)[0]];return D(V)&&V.value||V}const o=e,l=n,s=Le(Co,void 0),r=yn(),u=ve("rate"),{inputId:c,isLabeledByFormItem:d}=Ca(o,{formItemContext:s}),f=_(jl(o.modelValue,0,o.max)),h=_(-1),g=_(!0),p=_([]),v=S(()=>p.value.map(I=>I.$el.clientWidth)),m=S(()=>[u.b(),u.m(r.value)]),y=nn(),b=S(()=>u.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":E.value})),C=S(()=>{let I="";return o.showScore?I=o.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${o.modelValue}`:`${f.value}`):o.showText&&(I=o.texts[Math.ceil(f.value)-1]),I}),w=S(()=>o.modelValue*100-Math.floor(o.modelValue)*100),k=S(()=>be(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),E=S(()=>{const I=a(f.value,k.value);return nt(I)?"":I}),$=S(()=>{let I="";return y.value?I=`${w.value}%`:o.allowHalf&&(I="50%"),{color:E.value,width:I}}),O=S(()=>{let I=be(o.icons)?[...o.icons]:{...o.icons};return I=uo(I),be(I)?{[o.lowThreshold]:I[0],[o.highThreshold]:{value:I[1],excluded:!0},[o.max]:I[2]}:I}),M=S(()=>a(o.modelValue,O.value)),T=S(()=>y.value?De(o.disabledVoidIcon)?o.disabledVoidIcon:uo(o.disabledVoidIcon):De(o.voidIcon)?o.voidIcon:uo(o.voidIcon)),A=S(()=>a(f.value,O.value));function R(I){const L=y.value&&w.value>0&&I-1o.modelValue,D=o.allowHalf&&g.value&&I-.5<=f.value&&I>f.value;return L||D}function B(I){o.clearable&&I===o.modelValue&&(I=0),l(tt,I),o.modelValue!==I&&l(ht,I)}function K(I){y.value||(o.allowHalf&&g.value?B(f.value):B(I))}function Y(I){if(y.value)return;const L=Ft(I),D=o.allowHalf?.5:1;let V=f.value;switch(L){case Ce.up:case Ce.right:V+=D;break;case Ce.left:case Ce.down:V-=D;break}if(V=jl(V,0,o.max),V!==f.value)return I.stopPropagation(),I.preventDefault(),l(tt,V),l(ht,V),V}function z(I,L){y.value||(o.allowHalf&&L?(g.value=L.offsetX*2<=v.value[I-1],f.value=g.value?I-.5:I):f.value=I,h.value=I)}function P(){y.value||(o.allowHalf&&(g.value=o.modelValue!==Math.floor(o.modelValue)),f.value=jl(o.modelValue,0,o.max),h.value=-1)}return ie(()=>o.modelValue,I=>{f.value=jl(I,0,o.max),g.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||l(tt,0),t({setCurrentValue:z,resetCurrentValue:P}),(I,L)=>{var D;return x(),F("div",{id:i(c),class:N([m.value,i(u).is("disabled",i(y))]),role:"slider","aria-label":i(d)?void 0:e.ariaLabel||"rating","aria-labelledby":i(d)?(D=i(s))==null?void 0:D.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":C.value||void 0,"aria-valuemin":"0","aria-valuemax":e.max,style:We(b.value),tabindex:i(y)?void 0:0,"aria-disabled":i(y),onKeydown:Y},[(x(!0),F(He,null,yt(e.max,(V,U)=>(x(),F("span",{key:U,class:N(i(u).e("item")),onMousemove:W=>z(V,W),onMouseleave:P,onClick:W=>K(V)},[q(i(Be),{ref_for:!0,ref_key:"iconRefs",ref:p,class:N([i(u).e("icon"),{hover:h.value===V},i(u).is("active",V<=f.value),i(u).is("focus-visible",V===Math.ceil(f.value||1))])},{default:Q(()=>[it((x(),oe(st(A.value),null,null,512)),[[Ot,!R(V)&&V<=f.value]]),it((x(),oe(st(T.value),null,null,512)),[[Ot,!R(V)&&V>f.value]]),it((x(),oe(st(T.value),{class:N([i(u).em("decimal","box")])},null,8,["class"])),[[Ot,R(V)]]),it(q(i(Be),{style:We($.value),class:N([i(u).e("icon"),i(u).e("decimal")])},{default:Q(()=>[(x(),oe(st(M.value)))]),_:1},8,["style","class"]),[[Ot,R(V)]])]),_:2},1032,["class"])],42,n9))),128)),e.showText||e.showScore?(x(),F("span",{key:0,class:N(i(u).e("text")),style:We({color:e.textColor})},ke(C.value),7)):ae("v-if",!0)],46,t9)}}}),o9=a9;const l9=lt(o9),Kl={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},eb={[Kl.primary]:gi,[Kl.success]:G3,[Kl.warning]:gd,[Kl.error]:Jv,[Kl.info]:gi},s9=Se({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var r9=le({name:"ElResult",__name:"result",props:s9,setup(e){const t=e,n=ve("result"),a=S(()=>{const o=t.icon,l=o&&Kl[o]?Kl[o]:"icon-info";return{class:l,component:eb[l]||eb["icon-info"]}});return(o,l)=>(x(),F("div",{class:N(i(n).b())},[j("div",{class:N(i(n).e("icon"))},[ne(o.$slots,"icon",{},()=>[a.value.component?(x(),oe(st(a.value.component),{key:0,class:N(a.value.class)},null,8,["class"])):ae("v-if",!0)])],2),e.title||o.$slots.title?(x(),F("div",{key:0,class:N(i(n).e("title"))},[ne(o.$slots,"title",{},()=>[j("p",null,ke(e.title),1)])],2)):ae("v-if",!0),e.subTitle||o.$slots["sub-title"]?(x(),F("div",{key:1,class:N(i(n).e("subtitle"))},[ne(o.$slots,"sub-title",{},()=>[j("p",null,ke(e.subTitle),1)])],2)):ae("v-if",!0),o.$slots.extra?(x(),F("div",{key:2,class:N(i(n).e("extra"))},[ne(o.$slots,"extra")],2)):ae("v-if",!0)],2))}}),i9=r9;const u9=lt(i9),Sp=50,Oc="itemRendered",Nc="scroll",Ps="forward",Mc="backward",xa="auto",xd="smart",Ei="start",ro="center",xi="end",rr="horizontal",hk="vertical",c9="ltr",zs="rtl",Ti="negative",Oh="positive-ascending",Nh="positive-descending",d9={[rr]:"left",[hk]:"top"},f9=20,kp=Xa({type:G([Number,Function]),required:!0}),Ep=Xa({type:Number}),xp=Xa({type:Number,default:2}),p9=Xa({type:String,values:["ltr","rtl"],default:"ltr"}),Tp=Xa({type:Number,default:0}),Ic=Xa({type:Number,required:!0}),mk=Xa({type:String,values:["horizontal","vertical"],default:hk}),gk=Se({className:{type:String,default:""},containerElement:{type:G([String,Object]),default:"div"},data:{type:G(Array),default:()=>en([])},direction:p9,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:G(Object),default:()=>({})},style:{type:G([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),yk=Se({cache:xp,estimatedItemSize:Ep,layout:mk,initScrollOffset:Tp,total:Ic,itemSize:kp,...gk}),$p={type:Number,default:6},bk={type:Number,default:0},wk={type:Number,default:2},ts=Se({columnCache:xp,columnWidth:kp,estimatedColumnWidth:Ep,estimatedRowHeight:Ep,initScrollLeft:Tp,initScrollTop:Tp,itemKey:{type:G(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:xp,rowHeight:kp,totalColumn:Ic,totalRow:Ic,hScrollbarSize:$p,vScrollbarSize:$p,scrollbarStartGap:bk,scrollbarEndGap:wk,role:String,...gk}),Ck=Se({alwaysOn:Boolean,class:String,layout:mk,total:Ic,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:$p,startGap:bk,endGap:wk,visible:Boolean}),Gl=(e,t)=>ee===c9||e===zs||e===rr,tb=e=>e===zs;let Ts=null;function Pc(e=!1){if(Ts===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const a=document.createElement("div"),o=a.style;return o.width="100px",o.height="100px",t.appendChild(a),document.body.appendChild(t),t.scrollLeft>0?Ts=Nh:(t.scrollLeft=1,t.scrollLeft===0?Ts=Ti:Ts=Oh),document.body.removeChild(t),Ts}return Ts}function v9({move:e,size:t,bar:n},a){const o={},l=`translate${n.axis}(${e}px)`;return o[n.size]=t,o.transform=l,a==="horizontal"?o.height="100%":o.width="100%",o}var nb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function h9(e,t){return!!(e===t||nb(e)&&nb(t))}function m9(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const e=ct().proxy.$props;return S(()=>{const t=(n,a,o)=>({});return e.perfMode?nd(t):g9(t)})},kk=({atEndEdge:e,atStartEdge:t,layout:n},a)=>{let o,l=0;const s=u=>u<0&&t.value||u>0&&e.value;return{hasReachedEdge:s,onWheel:u=>{Yo(o);let{deltaX:c,deltaY:d}=u;u.shiftKey&&d!==0&&(c=d,d=0);const f=n.value===rr?c:d;s(f)||(l+=f,!id()&&f!==0&&u.preventDefault(),o=za(()=>{a(l),l=0}))}}},Op=le({name:"ElVirtualScrollBar",props:Ck,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=S(()=>e.startGap+e.endGap),a=ve("virtual-scrollbar"),o=ve("scrollbar"),l=_(),s=_();let r=null,u=null;const c=It({isDragging:!1,traveled:0}),d=S(()=>yC[e.layout]),f=S(()=>e.clientSize-i(n)),h=S(()=>({position:"absolute",width:`${rr===e.layout?f.value:e.scrollbarSize}px`,height:`${rr===e.layout?e.scrollbarSize:f.value}px`,[d9[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),g=S(()=>{const E=e.ratio;if(E>=100)return Number.POSITIVE_INFINITY;if(E>=50)return E*f.value/100;const $=f.value/3;return Math.floor(Math.min(Math.max(E*f.value/100,f9),$))}),p=S(()=>{if(!Number.isFinite(g.value))return{display:"none"};const E=`${g.value}px`;return v9({bar:d.value,size:E,move:c.traveled},e.layout)}),v=S(()=>Math.ceil(e.clientSize-g.value-i(n))),m=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",C);const E=i(s);E&&(u=document.onselectstart,document.onselectstart=()=>!1,E.addEventListener("touchmove",w,{passive:!0}),E.addEventListener("touchend",C))},y=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",C),document.onselectstart=u,u=null;const E=i(s);E&&(E.removeEventListener("touchmove",w),E.removeEventListener("touchend",C))},b=E=>{E.stopImmediatePropagation(),!(E.ctrlKey||[1,2].includes(E.button))&&(c.isDragging=!0,c[d.value.axis]=E.currentTarget[d.value.offset]-(E[d.value.client]-E.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),m())},C=()=>{c.isDragging=!1,c[d.value.axis]=0,t("stop-move"),y()},w=E=>{const{isDragging:$}=c;if(!$||!s.value||!l.value)return;const O=c[d.value.axis];if(!O)return;Yo(r);const M=(l.value.getBoundingClientRect()[d.value.direction]-E[d.value.client])*-1-(s.value[d.value.offset]-O);r=za(()=>{c.traveled=Math.max(0,Math.min(M,v.value)),t("scroll",M,v.value)})},k=E=>{const $=Math.abs(E.target.getBoundingClientRect()[d.value.direction]-E[d.value.client])-s.value[d.value.offset]/2;c.traveled=Math.max(0,Math.min($,v.value)),t("scroll",$,v.value)};return ie(()=>e.scrollFrom,E=>{c.isDragging||(c.traveled=Math.ceil(E*v.value))}),Rt(()=>{y()}),()=>Ge("div",{role:"presentation",ref:l,class:[a.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:h.value,onMousedown:Ze(k,["stop","prevent"]),onTouchstartPrevent:b},Ge("div",{ref:s,class:o.e("thumb"),style:p.value,onMousedown:b},[]))}}),Ek=({name:e,getOffset:t,getItemSize:n,getItemOffset:a,getEstimatedTotalSize:o,getStartIndexForOffset:l,getStopIndexForStartIndex:s,initCache:r,clearCache:u,validateProps:c})=>le({name:e??"ElVirtualList",props:yk,emits:[Oc,Nc],setup(d,{emit:f,expose:h}){c(d);const g=ct(),p=ve("vl"),v=_(r(d,g)),m=Sk(),y=_(),b=_(),C=_(),w=_({isScrolling:!1,scrollDir:"forward",scrollOffset:Ke(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),k=S(()=>{const{total:W,cache:X}=d,{isScrolling:J,scrollDir:fe,scrollOffset:ue}=i(w);if(W===0)return[0,0,0,0];const he=l(d,ue,i(v)),re=s(d,he,ue,i(v)),te=!J||fe===Mc?Math.max(1,X):1,ee=!J||fe===Ps?Math.max(1,X):1;return[Math.max(0,he-te),Math.max(0,Math.min(W-1,re+ee)),he,re]}),E=S(()=>o(d,i(v))),$=S(()=>$i(d.layout)),O=S(()=>[{position:"relative",[`overflow-${$.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:Ke(d.height)?`${d.height}px`:d.height,width:Ke(d.width)?`${d.width}px`:d.width},d.style]),M=S(()=>{const W=i(E),X=i($);return{height:X?"100%":`${W}px`,pointerEvents:i(w).isScrolling?"none":void 0,width:X?`${W}px`:"100%",margin:0,boxSizing:"border-box"}}),T=S(()=>$.value?d.width:d.height),{onWheel:A}=kk({atStartEdge:S(()=>w.value.scrollOffset<=0),atEndEdge:S(()=>w.value.scrollOffset>=E.value),layout:S(()=>d.layout)},W=>{var X,J;(J=(X=C.value).onMouseUp)==null||J.call(X),P(Math.min(w.value.scrollOffset+W,E.value-T.value))});At(y,"wheel",A,{passive:!1});const R=()=>{const{total:W}=d;if(W>0){const[ue,he,re,te]=i(k);f(Oc,ue,he,re,te)}const{scrollDir:X,scrollOffset:J,updateRequested:fe}=i(w);f(Nc,X,J,fe)},B=W=>{const{clientHeight:X,scrollHeight:J,scrollTop:fe}=W.currentTarget,ue=i(w);if(ue.scrollOffset===fe)return;const he=Math.max(0,Math.min(fe,J-X));w.value={...ue,isScrolling:!0,scrollDir:Gl(ue.scrollOffset,he),scrollOffset:he,updateRequested:!1},Ae(D)},K=W=>{const{clientWidth:X,scrollLeft:J,scrollWidth:fe}=W.currentTarget,ue=i(w);if(ue.scrollOffset===J)return;const{direction:he}=d;let re=J;if(he===zs)switch(Pc()){case Ti:re=-J;break;case Nh:re=fe-X-J;break}re=Math.max(0,Math.min(re,fe-X)),w.value={...ue,isScrolling:!0,scrollDir:Gl(ue.scrollOffset,re),scrollOffset:re,updateRequested:!1},Ae(D)},Y=W=>{i($)?K(W):B(W),R()},z=(W,X)=>{const J=(E.value-T.value)/X*W;P(Math.min(E.value-T.value,J))},P=W=>{W=Math.max(W,0),W!==i(w).scrollOffset&&(w.value={...i(w),scrollOffset:W,scrollDir:Gl(i(w).scrollOffset,W),updateRequested:!0},Ae(D))},I=(W,X=xa)=>{const{scrollOffset:J}=i(w);W=Math.max(0,Math.min(W,d.total-1)),P(t(d,W,X,J,i(v)))},L=W=>{const{direction:X,itemSize:J,layout:fe}=d,ue=m.value(u&&J,u&&fe,u&&X);let he;if(Tt(ue,String(W)))he=ue[W];else{const re=a(d,W,i(v)),te=n(d,W,i(v)),ee=i($),H=X===zs,Z=ee?re:0;ue[W]=he={position:"absolute",left:H?void 0:`${Z}px`,right:H?`${Z}px`:void 0,top:ee?0:`${re}px`,height:ee?"100%":`${te}px`,width:ee?`${te}px`:"100%"}}return he},D=()=>{w.value.isScrolling=!1,Ae(()=>{m.value(-1,null,null)})},V=()=>{const W=y.value;W&&(W.scrollTop=0)};ft(()=>{if(!Nt)return;const{initScrollOffset:W}=d,X=i(y);Ke(W)&&X&&(i($)?X.scrollLeft=W:X.scrollTop=W),R()}),Ua(()=>{const{direction:W,layout:X}=d,{scrollOffset:J,updateRequested:fe}=i(w),ue=i(y);if(fe&&ue)if(X===rr)if(W===zs)switch(Pc()){case Ti:ue.scrollLeft=-J;break;case Oh:ue.scrollLeft=J;break;default:{const{clientWidth:he,scrollWidth:re}=ue;ue.scrollLeft=re-he-J;break}}else ue.scrollLeft=J;else ue.scrollTop=J}),Ri(()=>{i(y).scrollTop=i(w).scrollOffset});const U={ns:p,clientSize:T,estimatedTotalSize:E,windowStyle:O,windowRef:y,innerRef:b,innerStyle:M,itemsToRender:k,scrollbarRef:C,states:w,getItemStyle:L,onScroll:Y,onScrollbarScroll:z,onWheel:A,scrollTo:P,scrollToItem:I,resetScrollTop:V};return h({windowRef:y,innerRef:b,getItemStyleCache:m,scrollTo:P,scrollToItem:I,resetScrollTop:V,states:w}),U},render(d){var D;const{$slots:f,className:h,clientSize:g,containerElement:p,data:v,getItemStyle:m,innerElement:y,itemsToRender:b,innerStyle:C,layout:w,total:k,onScroll:E,onScrollbarScroll:$,states:O,useIsScrolling:M,windowStyle:T,ns:A}=d,[R,B]=b,K=st(p),Y=st(y),z=[];if(k>0)for(let V=R;V<=B;V++)z.push(Ge(He,{key:V},(D=f.default)==null?void 0:D.call(f,{data:v,index:V,isScrolling:M?O.isScrolling:void 0,style:m(V)})));const P=[Ge(Y,ut(d.innerProps,{style:C,ref:"innerRef"}),De(Y)?z:{default:()=>z})],I=Ge(Op,{ref:"scrollbarRef",clientSize:g,layout:w,onScroll:$,ratio:g*100/this.estimatedTotalSize,scrollFrom:O.scrollOffset/(this.estimatedTotalSize-g),total:k,alwaysOn:O.scrollbarAlwaysOn}),L=Ge(K,{class:[A.e("window"),h],style:T,onScroll:E,ref:"windowRef",key:0},De(K)?[P]:{default:()=>[P]});return Ge("div",{key:0,class:[A.e("wrapper"),O.scrollbarAlwaysOn?"always-on":""]},[L,I])}}),xk=Ek({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:a,width:o},l,s,r)=>{const u=$i(a)?o:e;De(u)&&Xt("[ElVirtualList]",`
+        You should set
+          width/height
+        to number when your layout is
+          horizontal/vertical
+      `);const c=Math.max(0,t*n-u),d=Math.min(c,l*n),f=Math.max(0,(l+1)*n-u);switch(s===xd&&(r>=f-u&&r<=d+u?s=xa:s=ro),s){case Ei:return d;case xi:return f;case ro:{const h=Math.round(f+(d-f)/2);return hc+Math.floor(u/2)?c:h}case xa:default:return r>=f&&r<=d?r:rMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:a,width:o},l,s)=>{const r=l*n,u=$i(a)?o:e,c=Math.ceil((u+s-r)/n);return Math.max(0,Math.min(t-1,l+c-1))},initCache(){},clearCache:!0,validateProps(){}}),y9="ElDynamicSizeList",Rs=(e,t,n)=>{const{itemSize:a}=e,{items:o,lastVisitedIndex:l}=n;if(t>l){let s=0;if(l>=0){const r=o[l];s=r.offset+r.size}for(let r=l+1;r<=t;r++){const u=a(r);o[r]={offset:s,size:u},s+=u}n.lastVisitedIndex=t}return o[t]},b9=(e,t,n)=>{const{items:a,lastVisitedIndex:o}=t;return(o>0?a[o].offset:0)>=n?Tk(e,t,0,o,n):w9(e,t,Math.max(0,o),n)},Tk=(e,t,n,a,o)=>{for(;n<=a;){const l=n+Math.floor((a-n)/2),s=Rs(e,l,t).offset;if(s===o)return l;so&&(a=l-1)}return Math.max(0,n-1)},w9=(e,t,n,a)=>{const{total:o}=e;let l=1;for(;n{let o=0;if(a>=e&&(a=e-1),a>=0){const s=t[a];o=s.offset+s.size}const l=(e-a-1)*n;return o+l},C9=Ek({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Rs(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:ab,getOffset:(e,t,n,a,o)=>{const{height:l,layout:s,width:r}=e,u=$i(s)?r:l,c=Rs(e,t,o),d=ab(e,o),f=Math.max(0,Math.min(d-u,c.offset)),h=Math.max(0,c.offset-u+c.size);switch(n===xd&&(a>=h-u&&a<=f+u?n=xa:n=ro),n){case Ei:return f;case xi:return h;case ro:return Math.round(h+(f-h)/2);case xa:default:return a>=h&&a<=f?a:ab9(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:o,total:l,layout:s,width:r}=e,u=$i(s)?r:o,c=Rs(e,t,a),d=n+u;let f=c.offset+c.size,h=t;for(;h{var l,s;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),(l=t.exposed)==null||l.getItemStyleCache(-1),o&&((s=t.proxy)==null||s.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&Xt(y9,`
+          itemSize is required as function, but the given value was ${typeof e}
+        `)}}),S9=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},o)=>{let l=null,s=0,r=0;const u=(d,f)=>{const h=d<0&&t.value||d>0&&e.value,g=f<0&&a.value||f>0&&n.value;return h||g};return{hasReachedEdge:u,onWheel:d=>{Yo(l);let f=d.deltaX,h=d.deltaY;if(Math.abs(f)>Math.abs(h)?h=0:f=0,d.shiftKey&&h!==0&&(f=h,h=0),u(f,h)){d.deltaX!==0&&f===0&&d.preventDefault();return}s+=f,r+=h,d.preventDefault(),l=za(()=>{o(s,r),s=0,r=0})}}},k9=(e,t,n,a,o,l,s)=>{const r=_(0),u=_(0);let c,d=0,f=0;const h=p=>{Yo(c),r.value=p.touches[0].clientX,u.value=p.touches[0].clientY,d=0,f=0},g=p=>{p.preventDefault(),Yo(c),d+=r.value-p.touches[0].clientX,f+=u.value-p.touches[0].clientY,r.value=p.touches[0].clientX,u.value=p.touches[0].clientY,c=za(()=>{const v=a.value-i(l),m=o.value-i(s);n({scrollLeft:Math.min(t.value.scrollLeft+d,v),scrollTop:Math.min(t.value.scrollTop+f,m)}),d=0,f=0})};return At(e,"touchstart",h,{passive:!0}),At(e,"touchmove",g,{passive:!1}),{touchStartX:r,touchStartY:u,handleTouchStart:h,handleTouchMove:g}},$k=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:l,getEstimatedTotalWidth:s,getColumnOffset:r,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:h,injectToInstance:g,validateProps:p})=>le({name:e??"ElVirtualList",props:ts,emits:[Oc,Nc],setup(v,{emit:m,expose:y,slots:b}){const C=ve("vl");p(v);const w=ct(),k=_(h(v,w));g==null||g(w,k);const E=_(),$=_(),O=_(),M=_(),T=_({isScrolling:!1,scrollLeft:Ke(v.initScrollLeft)?v.initScrollLeft:0,scrollTop:Ke(v.initScrollTop)?v.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Ps,yAxisScrollDir:Ps}),A=Sk(),R=S(()=>Number.parseInt(`${v.height}`,10)),B=S(()=>Number.parseInt(`${v.width}`,10)),K=S(()=>{const{totalColumn:me,totalRow:Te,columnCache:we}=v,{isScrolling:Ie,xAxisScrollDir:Ve,scrollLeft:Xe}=i(T);if(me===0||Te===0)return[0,0,0,0];const $e=a(v,Xe,i(k)),Pe=o(v,$e,Xe,i(k)),je=!Ie||Ve===Mc?Math.max(1,we):1,xt=!Ie||Ve===Ps?Math.max(1,we):1;return[Math.max(0,$e-je),Math.max(0,Math.min(me-1,Pe+xt)),$e,Pe]}),Y=S(()=>{const{totalColumn:me,totalRow:Te,rowCache:we}=v,{isScrolling:Ie,yAxisScrollDir:Ve,scrollTop:Xe}=i(T);if(me===0||Te===0)return[0,0,0,0];const $e=d(v,Xe,i(k)),Pe=f(v,$e,Xe,i(k)),je=!Ie||Ve===Mc?Math.max(1,we):1,xt=!Ie||Ve===Ps?Math.max(1,we):1;return[Math.max(0,$e-je),Math.max(0,Math.min(Te-1,Pe+xt)),$e,Pe]}),z=S(()=>l(v,i(k))),P=S(()=>s(v,i(k))),I=S(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:v.direction,height:Ke(v.height)?`${v.height}px`:v.height,width:Ke(v.width)?`${v.width}px`:v.width},v.style??{}]),L=S(()=>{const me=`${i(P)}px`;return{height:`${i(z)}px`,pointerEvents:i(T).isScrolling?"none":void 0,width:me,margin:0,boxSizing:"border-box"}}),D=()=>{const{totalColumn:me,totalRow:Te}=v;if(me>0&&Te>0){const[Pe,je,xt,Mt]=i(K),[Ue,rt,mt,de]=i(Y);m(Oc,{columnCacheStart:Pe,columnCacheEnd:je,rowCacheStart:Ue,rowCacheEnd:rt,columnVisibleStart:xt,columnVisibleEnd:Mt,rowVisibleStart:mt,rowVisibleEnd:de})}const{scrollLeft:we,scrollTop:Ie,updateRequested:Ve,xAxisScrollDir:Xe,yAxisScrollDir:$e}=i(T);m(Nc,{xAxisScrollDir:Xe,scrollLeft:we,yAxisScrollDir:$e,scrollTop:Ie,updateRequested:Ve})},V=me=>{const{clientHeight:Te,clientWidth:we,scrollHeight:Ie,scrollLeft:Ve,scrollTop:Xe,scrollWidth:$e}=me.currentTarget,Pe=i(T);if(Pe.scrollTop===Xe&&Pe.scrollLeft===Ve)return;let je=Ve;if(tb(v.direction))switch(Pc()){case Ti:je=-Ve;break;case Nh:je=$e-we-Ve;break}T.value={...Pe,isScrolling:!0,scrollLeft:je,scrollTop:Math.max(0,Math.min(Xe,Ie-Te)),updateRequested:!0,xAxisScrollDir:Gl(Pe.scrollLeft,je),yAxisScrollDir:Gl(Pe.scrollTop,Xe)},Ae(()=>H()),Z(),D()},U=(me,Te)=>{const we=i(R),Ie=(z.value-we)/Te*me;J({scrollTop:Math.min(z.value-we,Ie)})},W=(me,Te)=>{const we=i(B),Ie=(P.value-we)/Te*me;J({scrollLeft:Math.min(P.value-we,Ie)})},{onWheel:X}=S9({atXStartEdge:S(()=>T.value.scrollLeft<=0),atXEndEdge:S(()=>T.value.scrollLeft>=P.value-i(B)),atYStartEdge:S(()=>T.value.scrollTop<=0),atYEndEdge:S(()=>T.value.scrollTop>=z.value-i(R))},(me,Te)=>{var Ve,Xe,$e,Pe;(Xe=(Ve=$.value)==null?void 0:Ve.onMouseUp)==null||Xe.call(Ve),(Pe=($e=O.value)==null?void 0:$e.onMouseUp)==null||Pe.call($e);const we=i(B),Ie=i(R);J({scrollLeft:Math.min(T.value.scrollLeft+me,P.value-we),scrollTop:Math.min(T.value.scrollTop+Te,z.value-Ie)})});At(E,"wheel",X,{passive:!1});const J=({scrollLeft:me=T.value.scrollLeft,scrollTop:Te=T.value.scrollTop})=>{me=Math.max(me,0),Te=Math.max(Te,0);const we=i(T);Te===we.scrollTop&&me===we.scrollLeft||(T.value={...we,xAxisScrollDir:Gl(we.scrollLeft,me),yAxisScrollDir:Gl(we.scrollTop,Te),scrollLeft:me,scrollTop:Te,updateRequested:!0},Ae(()=>H()),Z(),D())},{touchStartX:fe,touchStartY:ue,handleTouchStart:he,handleTouchMove:re}=k9(E,T,J,P,z,B,R),te=(me=0,Te=0,we=xa)=>{const Ie=i(T);Te=Math.max(0,Math.min(Te,v.totalColumn-1)),me=Math.max(0,Math.min(me,v.totalRow-1));const Ve=m1(C.namespace.value),Xe=i(k),$e=l(v,Xe),Pe=s(v,Xe);J({scrollLeft:r(v,Te,we,Ie.scrollLeft,Xe,Pe>v.width?Ve:0),scrollTop:u(v,me,we,Ie.scrollTop,Xe,$e>v.height?Ve:0)})},ee=(me,Te)=>{const{columnWidth:we,direction:Ie,rowHeight:Ve}=v,Xe=A.value(t&&we,t&&Ve,t&&Ie),$e=`${me},${Te}`;if(Tt(Xe,$e))return Xe[$e];{const[,Pe]=n(v,Te,i(k)),je=i(k),xt=tb(Ie),[Mt,Ue]=c(v,me,je),[rt]=n(v,Te,je);return Xe[$e]={position:"absolute",left:xt?void 0:`${Pe}px`,right:xt?`${Pe}px`:void 0,top:`${Ue}px`,height:`${Mt}px`,width:`${rt}px`},Xe[$e]}},H=()=>{T.value.isScrolling=!1,Ae(()=>{A.value(-1,null,null)})};ft(()=>{if(!Nt)return;const{initScrollLeft:me,initScrollTop:Te}=v,we=i(E);we&&(Ke(me)&&(we.scrollLeft=me),Ke(Te)&&(we.scrollTop=Te)),D()});const Z=()=>{const{direction:me}=v,{scrollLeft:Te,scrollTop:we,updateRequested:Ie}=i(T),Ve=i(E);if(Ie&&Ve){if(me===zs)switch(Pc()){case Ti:Ve.scrollLeft=-Te;break;case Oh:Ve.scrollLeft=Te;break;default:{const{clientWidth:Xe,scrollWidth:$e}=Ve;Ve.scrollLeft=$e-Xe-Te;break}}else Ve.scrollLeft=Math.max(0,Te);Ve.scrollTop=Math.max(0,we)}},{resetAfterColumnIndex:se,resetAfterRowIndex:pe,resetAfter:ge}=w.proxy;y({windowRef:E,innerRef:M,getItemStyleCache:A,touchStartX:fe,touchStartY:ue,handleTouchStart:he,handleTouchMove:re,scrollTo:J,scrollToItem:te,states:T,resetAfterColumnIndex:se,resetAfterRowIndex:pe,resetAfter:ge});const ye=()=>{const{scrollbarAlwaysOn:me,scrollbarStartGap:Te,scrollbarEndGap:we,totalColumn:Ie,totalRow:Ve}=v,Xe=i(B),$e=i(R),Pe=i(P),je=i(z),{scrollLeft:xt,scrollTop:Mt}=i(T);return{horizontalScrollbar:Ge(Op,{ref:$,alwaysOn:me,startGap:Te,endGap:we,class:C.e("horizontal"),clientSize:Xe,layout:"horizontal",onScroll:W,ratio:Xe*100/Pe,scrollFrom:xt/(Pe-Xe),total:Ve,visible:!0}),verticalScrollbar:Ge(Op,{ref:O,alwaysOn:me,startGap:Te,endGap:we,class:C.e("vertical"),clientSize:$e,layout:"vertical",onScroll:U,ratio:$e*100/je,scrollFrom:Mt/(je-$e),total:Ie,visible:!0})}},Ne=()=>{var Mt;const[me,Te]=i(K),[we,Ie]=i(Y),{data:Ve,totalColumn:Xe,totalRow:$e,useIsScrolling:Pe,itemKey:je}=v,xt=[];if($e>0&&Xe>0)for(let Ue=we;Ue<=Ie;Ue++)for(let rt=me;rt<=Te;rt++){const mt=je({columnIndex:rt,data:Ve,rowIndex:Ue});xt.push(Ge(He,{key:mt},(Mt=b.default)==null?void 0:Mt.call(b,{columnIndex:rt,data:Ve,isScrolling:Pe?i(T).isScrolling:void 0,style:ee(Ue,rt),rowIndex:Ue})))}return xt},_e=()=>{const me=st(v.innerElement),Te=Ne();return[Ge(me,ut(v.innerProps,{style:i(L),ref:M}),De(me)?Te:{default:()=>Te})]};return()=>{const me=st(v.containerElement),{horizontalScrollbar:Te,verticalScrollbar:we}=ye(),Ie=_e();return Ge("div",{key:0,class:C.e("wrapper"),role:v.role},[Ge(me,{class:v.className,style:i(I),onScroll:V,ref:E},De(me)?Ie:{default:()=>Ie}),Te,we])}}}),ob="ElFixedSizeGrid",E9=$k({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},a,o,l,s,r)=>{n=Number(n);const u=Math.max(0,e*t-n),c=Math.min(u,a*t),d=Math.max(0,a*t-n+r+t);switch(o==="smart"&&(l>=d-n&&l<=c+n?o=xa:o=ro),o){case Ei:return c;case xi:return d;case ro:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(n/2)?u:f}case xa:default:return l>=d&&l<=c?l:d>c||l{t=Number(t);const u=Math.max(0,n*e-t),c=Math.min(u,a*e),d=Math.max(0,a*e-t+r+e);switch(o===xd&&(l>=d-t&&l<=c+t?o=xa:o=ro),o){case Ei:return c;case xi:return d;case ro:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(t/2)?u:f}case xa:default:return l>=d&&l<=c?l:d>c||lMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},a,o)=>{const l=a*e,s=Math.ceil((n+o-l)/e);return Math.max(0,Math.min(t-1,a+s-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},a,o)=>{const l=a*e,s=Math.ceil((n+o-l)/e);return Math.max(0,Math.min(t-1,a+s-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{Ke(e)||Xt(ob,`
+          "columnWidth" must be passed as number,
+            instead ${typeof e} was given.
+        `),Ke(t)||Xt(ob,`
+          "columnWidth" must be passed as number,
+            instead ${typeof t} was given.
+        `)}}),{max:Rc,min:Ok,floor:Nk}=Math,lb="ElDynamicSizeGrid",x9={column:"columnWidth",row:"rowHeight"},Np={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Io=(e,t,n,a)=>{const[o,l,s]=[n[a],e[x9[a]],n[Np[a]]];if(t>s){let r=0;if(s>=0){const u=o[s];r=u.offset+u.size}for(let u=s+1;u<=t;u++){const c=l(u);o[u]={offset:r,size:c},r+=c}n[Np[a]]=t}return o[t]},Mk=(e,t,n,a,o,l)=>{for(;n<=a;){const s=n+Nk((a-n)/2),r=Io(e,s,t,l).offset;if(r===o)return s;r{const l=o==="column"?e.totalColumn:e.totalRow;let s=1;for(;n{const[o,l]=[t[a],t[Np[a]]];return(l>0?o[l].offset:0)>=n?Mk(e,t,0,l,n,a):T9(e,t,Rc(0,l),n,a)},Ik=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const s=a[n];o=s.offset+s.size}const l=(e-n-1)*t;return o+l},Pk=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let o=0;if(a>e&&(a=e-1),a>=0){const s=t[a];o=s.offset+s.size}const l=(e-a-1)*n;return o+l},$9={column:Pk,row:Ik},rb=(e,t,n,a,o,l,s)=>{const[r,u]=[l==="row"?e.height:e.width,$9[l]],c=Io(e,t,o,l),d=Rc(0,Ok(u(e,o)-r,c.offset)),f=Rc(0,c.offset-r+s+c.size);switch(n===xd&&(a>=f-r&&a<=d+r?n=xa:n=ro),n){case Ei:return d;case xi:return f;case ro:return Math.round(f+(d-f)/2);case xa:default:return a>=f&&a<=d?a:f>d||a{const a=Io(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=Io(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,o,l)=>rb(e,t,n,a,o,"column",l),getRowOffset:(e,t,n,a,o,l)=>rb(e,t,n,a,o,"row",l),getColumnStartIndexForOffset:(e,t,n)=>sb(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const o=Io(e,t,a,"column"),l=n+e.width;let s=o.offset+o.size,r=t;for(;rsb(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:o,height:l}=e,s=Io(e,t,a,"row"),r=n+l;let u=s.size+s.offset,c=t;for(;c{const n=({columnIndex:l,rowIndex:s},r)=>{var u,c;r=kt(r)?!0:r,Ke(l)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,l-1)),Ke(s)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,s-1)),(u=e.exposed)==null||u.getItemStyleCache.value(-1,null,null),r&&((c=e.proxy)==null||c.$forceUpdate())},a=(l,s)=>{n({columnIndex:l},s)},o=(l,s)=>{n({rowIndex:l},s)};Object.assign(e.proxy,{resetAfterColumnIndex:a,resetAfterRowIndex:o,resetAfter:n})},initCache:({estimatedColumnWidth:e=Sp,estimatedRowHeight:t=Sp})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{ze(e)||Xt(lb,`
+          "columnWidth" must be passed as function,
+            instead ${typeof e} was given.
+        `),ze(t)||Xt(lb,`
+          "rowHeight" must be passed as function,
+            instead ${typeof t} was given.
+        `)}}),Mh=Symbol("ElSelectV2Injection"),N9=Se({allowCreate:Boolean,autocomplete:{type:G(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:Bt,default:xo},effect:{type:G(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:G(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:G(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:G([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:G(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:G(Array),required:!0},placeholder:{type:String},teleported:Lt.teleported,persistent:{type:Boolean,default:!0},popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,popperOptions:{type:G(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:wn,props:{type:G(Object),default:()=>Cc},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:G(String),values:So,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Go.type,default:"info"},tagEffect:{...Go.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:Lt.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Dt(e)||Ke(e)}},suffixIcon:{type:Bt,default:Eo},...gs,...Zn(["ariaLabel"])}),M9=Se({data:Array,disabled:Boolean,hovering:Boolean,item:{type:G(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),I9={[tt]:e=>!0,[ht]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},P9={hover:e=>Ke(e),select:(e,t)=>!0};var R9=le({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:ve("select")}}});function A9(e,t,n,a,o,l){return x(),F("div",{class:N(e.ns.be("group","title")),style:We({...e.style,lineHeight:`${e.height}px`})},ke(e.item.label),7)}var _9=Cn(R9,[["render",A9]]);function L9(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}var D9=le({props:M9,emits:P9,setup(e,{emit:t}){const n=Le(Mh),a=ve("select"),{hoverItem:o,selectOptionClick:l}=L9(e,{emit:t}),{getLabel:s}=au(n.props);return{ns:a,contentId:n.contentId,hoverItem:o,selectOptionClick:l,getLabel:s}}});const B9=["id","aria-selected","aria-disabled"];function V9(e,t,n,a,o,l){return x(),F("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:We(e.style),class:N([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s)),onClick:t[1]||(t[1]=Ze((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))},[ne(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[j("span",null,ke(e.getLabel(e.item)),1)])],46,B9)}var F9=Cn(D9,[["render",V9]]);const z9={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var H9=le({name:"ElSelectDropdown",props:z9,setup(e,{slots:t,expose:n}){const a=Le(Mh),o=ve("select"),{getLabel:l,getValue:s,getDisabled:r}=au(a.props),u=_([]),c=_(),d=S(()=>e.data.length);ie(()=>d.value,()=>{var T,A;(A=(T=a.tooltipRef.value)==null?void 0:T.updatePopper)==null||A.call(T)});const f=S(()=>kt(a.props.estimatedOptionHeight)),h=S(()=>f.value?{itemSize:a.props.itemHeight}:{estimatedSize:a.props.estimatedOptionHeight,itemSize:T=>u.value[T]}),g=(T=[],A)=>{const{props:{valueKey:R}}=a;return nt(A)?T&&T.some(B=>Kt(hn(B,R))===hn(A,R)):T.includes(A)},p=(T,A)=>{if(nt(A)){const{valueKey:R}=a.props;return hn(T,R)===hn(A,R)}else return T===A},v=(T,A)=>a.props.multiple?g(T,s(A)):p(T,s(A)),m=(T,A)=>{const{disabled:R,multiple:B,multipleLimit:K}=a.props;return R||!A&&(B?K>0&&T.length>=K:!1)},y=T=>e.hoveringIndex===T;n({listRef:c,isSized:f,isItemDisabled:m,isItemHovering:y,isItemSelected:v,scrollToItem:T=>{const A=c.value;A&&A.scrollToItem(T)},resetScrollTop:()=>{const T=c.value;T&&T.resetScrollTop()}});const w=T=>{const{index:A,data:R,style:B}=T,K=i(f),{itemSize:Y,estimatedSize:z}=i(h),{modelValue:P}=a.props,{onSelect:I,onHover:L}=a,D=R[A];if(D.type==="Group")return q(_9,{item:D,style:B,height:K?Y:z},null);const V=v(P,D),U=m(P,V),W=y(A);return q(F9,ut(T,{selected:V,disabled:r(D)||U,created:!!D.created,hovering:W,item:D,onSelect:I,onHover:L}),{default:X=>{var J;return((J=t.default)==null?void 0:J.call(t,X))||q("span",null,[l(D)])}})},{onKeyboardNavigate:k,onKeyboardSelect:E}=a,$=()=>{k("forward")},O=()=>{k("backward")},M=T=>{const A=Ft(T),{tab:R,esc:B,down:K,up:Y,enter:z,numpadEnter:P}=Ce;switch([B,K,Y,z,P].includes(A)&&(T.preventDefault(),T.stopPropagation()),A){case R:case B:break;case K:$();break;case Y:O();break;case z:case P:E();break}};return()=>{var P,I,L,D;const{data:T,width:A}=e,{height:R,multiple:B,scrollbarAlwaysOn:K}=a.props,Y=S(()=>pc?!0:K),z=i(f)?xk:C9;return q("div",{class:[o.b("dropdown"),o.is("multiple",B)],style:{width:`${A}px`}},[(P=t.header)==null?void 0:P.call(t),((I=t.loading)==null?void 0:I.call(t))||((L=t.empty)==null?void 0:L.call(t))||q(z,ut({ref:c},i(h),{className:o.be("dropdown","list"),scrollbarAlwaysOn:Y.value,data:T,height:R,width:A,total:T.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:M}),{default:V=>q(w,V,null)}),(D=t.footer)==null?void 0:D.call(t)])}}});function K9(e,t){const{aliasProps:n,getLabel:a,getValue:o}=au(e),l=_(0),s=_(),r=S(()=>e.allowCreate&&e.filterable);ie(()=>e.options,g=>{const p=new Set(g.map(v=>a(v)));t.createdOptions=t.createdOptions.filter(v=>!p.has(a(v)))});function u(g){const p=v=>a(v)===g;return e.options&&e.options.some(p)||t.createdOptions.some(p)}function c(g){r.value&&(e.multiple&&g.created?l.value++:s.value=g)}function d(g){if(r.value)if(g&&g.length>0){if(u(g)){t.createdOptions=t.createdOptions.filter(v=>a(v)!==t.previousQuery);return}const p={[n.value.value]:g,[n.value.label]:g,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=l.value?t.createdOptions[l.value]=p:t.createdOptions.push(p)}else if(e.multiple)t.createdOptions.length=l.value;else{const p=s.value;t.createdOptions.length=0,p&&p.created&&t.createdOptions.push(p)}}function f(g){if(!r.value||!g||!g.created||g.created&&e.reserveKeyword&&t.inputValue===a(g))return;const p=t.createdOptions.findIndex(v=>o(v)===o(g));~p&&(t.createdOptions.splice(p,1),l.value--)}function h(){r.value&&(t.createdOptions.length=0,l.value=0)}return{createNewOption:d,removeNewOption:f,selectNewOption:c,clearAllNewOption:h}}const W9=(e,t)=>{const{t:n}=St(),a=cn(),o=ve("select"),l=ve("input"),{form:s,formItem:r}=In(),{inputId:u}=Ca(e,{formItemContext:r}),{aliasProps:c,getLabel:d,getValue:f,getDisabled:h,getOptions:g}=au(e),{valueOnClear:p,isEmptyValue:v}=Ji(e),m=It({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),y=_(-1),b=_(!1),C=_(),w=_(),k=_(),E=_(),$=_(),O=_(),M=_(),T=_(),A=_(),R=_(),{isComposing:B,handleCompositionStart:K,handleCompositionEnd:Y,handleCompositionUpdate:z}=Zi({afterComposition:xe=>Ut(xe)}),P=nn(),{wrapperRef:I,isFocused:L,handleBlur:D}=nl($,{disabled:P,afterFocus(){e.automaticDropdown&&!X.value&&(X.value=!0,m.menuVisibleOnFocus=!0)},beforeBlur(xe){var at,gt;return((at=k.value)==null?void 0:at.isFocusInsideContent(xe))||((gt=E.value)==null?void 0:gt.isFocusInsideContent(xe))},afterBlur(){var xe;X.value=!1,m.menuVisibleOnFocus=!1,e.validateEvent&&((xe=r==null?void 0:r.validate)==null||xe.call(r,"blur").catch(at=>dt(at)))}}),V=S(()=>Ne("")),U=S(()=>e.loading?!1:e.options.length>0||m.createdOptions.length>0),W=_([]),X=_(!1),J=S(()=>(s==null?void 0:s.statusIcon)??!1),fe=S(()=>{const xe=W.value.length*e.itemHeight;return xe>e.height?e.height:xe}),ue=S(()=>e.multiple?be(e.modelValue)&&e.modelValue.length>0:!v(e.modelValue)),he=S(()=>e.clearable&&!P.value&&ue.value&&(L.value||m.inputHovering)),re=S(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),te=S(()=>re.value&&o.is("reverse",X.value)),ee=S(()=>(r==null?void 0:r.validateState)||""),H=S(()=>{if(ee.value)return yd[ee.value]}),Z=S(()=>e.remote?e.debounce:0),se=S(()=>e.remote&&!m.inputValue&&!U.value),pe=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&m.inputValue&&U.value&&W.value.length===0?e.noMatchText||n("el.select.noMatch"):U.value?null:e.noDataText||n("el.select.noData")),ge=S(()=>e.filterable&&ze(e.filterMethod)),ye=S(()=>e.filterable&&e.remote&&ze(e.remoteMethod)),Ne=xe=>{const at=new RegExp(Pv(xe),"i"),gt=Ct=>ge.value||ye.value?!0:xe?at.test(d(Ct)||""):!0;return e.loading?[]:[...m.createdOptions,...e.options].reduce((Ct,Pn)=>{const la=g(Pn);if(be(la)){const kr=la.filter(gt);kr.length>0&&Ct.push({label:d(Pn),type:"Group"},...kr)}else(e.remote||gt(Pn))&&Ct.push(Pn);return Ct},[])},_e=()=>{W.value=Ne(m.inputValue)},Me=S(()=>{const xe=new Map;return V.value.forEach((at,gt)=>{xe.set(Qe(f(at)),{option:at,index:gt})}),xe}),me=S(()=>{const xe=new Map;return W.value.forEach((at,gt)=>{xe.set(Qe(f(at)),{option:at,index:gt})}),xe}),Te=S(()=>W.value.every(xe=>h(xe))),we=yn(),Ie=S(()=>we.value==="small"?"small":"default"),Ve=()=>{var at;if(Ke(e.fitInputWidth)){y.value=e.fitInputWidth;return}const xe=((at=C.value)==null?void 0:at.offsetWidth)||200;!e.fitInputWidth&&U.value?Ae(()=>{y.value=Math.max(xe,Xe())}):y.value=xe},Xe=()=>{var la,kr;const xe=document.createElement("canvas").getContext("2d"),at=o.be("dropdown","item"),gt=(((kr=(la=T.value)==null?void 0:la.listRef)==null?void 0:kr.innerRef)||document).querySelector(`.${at}`);if(gt===null||xe===null)return 0;const Ct=getComputedStyle(gt),Pn=Number.parseFloat(Ct.paddingLeft)+Number.parseFloat(Ct.paddingRight);return xe.font=`bold ${Ct.font.replace(new RegExp(`\\b${Ct.fontWeight}\\b`),"")}`,W.value.reduce((B2,V2)=>{const F2=xe.measureText(d(V2));return Math.max(F2.width,B2)},0)+Pn},$e=()=>{if(!w.value)return 0;const xe=window.getComputedStyle(w.value);return Number.parseFloat(xe.gap||"6px")},Pe=S(()=>{const xe=$e(),at=e.filterable?xe+Zc:0;return{maxWidth:`${R.value&&e.maxCollapseTags===1?m.selectionWidth-m.collapseItemWidth-xe-at:m.selectionWidth-at}px`}}),je=S(()=>({maxWidth:`${m.selectionWidth}px`})),xt=S(()=>be(e.modelValue)?e.modelValue.length===0&&!m.inputValue:e.filterable?!m.inputValue:!0),Mt=S(()=>{const xe=e.placeholder??n("el.select.placeholder");return e.multiple||!ue.value?xe:m.selectedLabel}),Ue=S(()=>{var xe,at;return(at=(xe=k.value)==null?void 0:xe.popperRef)==null?void 0:at.contentRef}),rt=S(()=>{if(e.multiple){const xe=e.modelValue.length;if(xe>0&&me.value.has(e.modelValue[xe-1])){const{index:at}=me.value.get(e.modelValue[xe-1]);return at}}else if(!v(e.modelValue)&&me.value.has(e.modelValue)){const{index:xe}=me.value.get(e.modelValue);return xe}return-1}),mt=S({get(){return X.value&&(e.loading||!se.value||e.remote&&!!a.empty)&&(!b.value||!ta(m.previousQuery))},set(xe){X.value=xe}}),de=S(()=>e.multiple?e.collapseTags?m.cachedOptions.slice(0,e.maxCollapseTags):m.cachedOptions:[]),Fe=S(()=>e.multiple?e.collapseTags?m.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:ce,removeNewOption:Re,selectNewOption:vt,clearAllNewOption:Vt}=K9(e,m),qt=xe=>{var at;P.value||e.filterable&&X.value&&xe&&!((at=M.value)!=null&&at.contains(xe.target))||(m.menuVisibleOnFocus?m.menuVisibleOnFocus=!1:X.value=!X.value)},Oe=()=>{m.inputValue.length>0&&!X.value&&(X.value=!0),ce(m.inputValue),Ae(()=>{et(m.inputValue)})},Ye=Hi(()=>{Oe(),b.value=!1},Z),et=xe=>{m.previousQuery===xe||B.value||(m.previousQuery=xe,e.filterable&&ze(e.filterMethod)?e.filterMethod(xe):e.filterable&&e.remote&&ze(e.remoteMethod)&&e.remoteMethod(xe),e.defaultFirstOption&&(e.filterable||e.remote)&&W.value.length?Ae(vn):Ae(Et))},vn=()=>{const xe=W.value.filter(Ct=>!Ct.disabled&&Ct.type!=="Group"),at=xe.find(Ct=>Ct.created),gt=xe[0];m.hoveringIndex=qe(W.value,at||gt)},zt=xe=>{Qt(e.modelValue,xe)||t(ht,xe)},on=xe=>{t(tt,xe),zt(xe),m.previousValue=e.multiple?String(xe):xe,Ae(()=>{if(e.multiple&&be(e.modelValue)){const at=m.cachedOptions.slice(),gt=e.modelValue.map(Ct=>Cr(Ct,at));Qt(m.cachedOptions,gt)||(m.cachedOptions=gt)}else bs(!0)})},qe=(xe=[],at)=>{if(!nt(at))return xe.indexOf(at);const gt=e.valueKey;let Ct=-1;return xe.some((Pn,la)=>hn(Pn,gt)===hn(at,gt)?(Ct=la,!0):!1),Ct},Qe=xe=>nt(xe)?hn(xe,e.valueKey):xe,pt=()=>{Ve()},Sn=()=>{m.selectionWidth=Number.parseFloat(window.getComputedStyle(w.value).width)},Qa=()=>{m.collapseItemWidth=R.value.getBoundingClientRect().width},Ia=()=>{var xe,at;(at=(xe=k.value)==null?void 0:xe.updatePopper)==null||at.call(xe)},ru=()=>{var xe,at;(at=(xe=E.value)==null?void 0:xe.updatePopper)==null||at.call(xe)},Pl=xe=>{const at=f(xe);if(e.multiple){let gt=e.modelValue.slice();const Ct=qe(gt,at);Ct>-1?(gt=[...gt.slice(0,Ct),...gt.slice(Ct+1)],m.cachedOptions.splice(Ct,1),Re(xe)):(e.multipleLimit<=0||gt.length{let gt=e.modelValue.slice();const Ct=qe(gt,f(at));Ct>-1&&!P.value&&(gt=[...e.modelValue.slice(0,Ct),...e.modelValue.slice(Ct+1)],m.cachedOptions.splice(Ct,1),on(gt),t("remove-tag",f(at)),Re(at)),xe.stopPropagation(),To()},To=()=>{var xe;(xe=$.value)==null||xe.focus()},Od=()=>{var xe;if(X.value){X.value=!1,Ae(()=>{var at;return(at=$.value)==null?void 0:at.blur()});return}(xe=$.value)==null||xe.blur()},Nd=()=>{m.inputValue.length>0?m.inputValue="":X.value=!1},Md=xe=>qw(xe,at=>!m.cachedOptions.some(gt=>f(gt)===at&&h(gt))),Id=xe=>{const at=Ft(xe);if(e.multiple&&at!==Ce.delete&&m.inputValue.length===0){xe.preventDefault();const gt=e.modelValue.slice(),Ct=Md(gt);if(Ct<0)return;const Pn=gt[Ct];gt.splice(Ct,1);const la=m.cachedOptions[Ct];m.cachedOptions.splice(Ct,1),Re(la),on(gt),t("remove-tag",Pn)}},Pd=()=>{let xe;be(e.modelValue)?xe=[]:xe=p.value,m.selectedLabel="",X.value=!1,on(xe),t("clear"),Vt(),To()},sl=(xe,at=void 0)=>{const gt=W.value;if(!["forward","backward"].includes(xe)||P.value||gt.length<=0||Te.value||B.value)return;if(!X.value)return qt();kt(at)&&(at=m.hoveringIndex);let Ct=-1;xe==="forward"?(Ct=at+1,Ct>=gt.length&&(Ct=0)):xe==="backward"&&(Ct=at-1,(Ct<0||Ct>=gt.length)&&(Ct=gt.length-1));const Pn=gt[Ct];if(h(Pn)||Pn.type==="Group")return sl(xe,Ct);m.hoveringIndex=Ct,$o(Ct)},Ee=()=>{if(X.value)~m.hoveringIndex&&W.value[m.hoveringIndex]&&Pl(W.value[m.hoveringIndex]);else return qt()},Je=xe=>{m.hoveringIndex=xe??-1},Et=()=>{if(!e.multiple)m.hoveringIndex=W.value.findIndex(xe=>Qe(f(xe))===Qe(e.modelValue));else{const xe=e.modelValue.length;if(xe>0){const at=e.modelValue[xe-1];m.hoveringIndex=W.value.findIndex(gt=>Qe(at)===Qe(f(gt)))}else m.hoveringIndex=-1}},Ut=xe=>{if(m.inputValue=xe.target.value,e.remote)b.value=!0,Ye();else return Oe()},gn=xe=>{X.value=!1,L.value&&D(new FocusEvent("blur",xe))},On=()=>(m.isBeforeHide=!1,Ae(()=>{~rt.value&&$o(rt.value)})),$o=xe=>{T.value.scrollToItem(xe)},Cr=(xe,at)=>{const gt=Qe(xe);if(Me.value.has(gt)){const{option:Ct}=Me.value.get(gt);return Ct}if(at&&at.length){const Ct=at.find(Pn=>Qe(f(Pn))===gt);if(Ct)return Ct}return{[c.value.value]:xe,[c.value.label]:xe}},Rl=xe=>{var at;return((at=Me.value.get(f(xe)))==null?void 0:at.index)??-1},bs=(xe=!1)=>{if(e.multiple)if(e.modelValue.length>0){const at=m.cachedOptions.slice();m.cachedOptions.length=0,m.previousValue=e.modelValue.toString();for(const gt of e.modelValue){const Ct=Cr(gt,at);m.cachedOptions.push(Ct)}}else m.cachedOptions=[],m.previousValue=void 0;else if(ue.value){m.previousValue=e.modelValue;const at=W.value,gt=at.findIndex(Ct=>Qe(f(Ct))===Qe(e.modelValue));~gt?m.selectedLabel=d(at[gt]):(!m.selectedLabel||xe)&&(m.selectedLabel=Qe(e.modelValue))}else m.selectedLabel="",m.previousValue=void 0;Vt(),Ve()};ie(()=>e.fitInputWidth,()=>{Ve()}),ie(X,xe=>{xe?(e.persistent||Ve(),et("")):(m.inputValue="",m.previousQuery=null,m.isBeforeHide=!0,m.menuVisibleOnFocus=!1,ce(""))}),ie(()=>e.modelValue,(xe,at)=>{var gt;(!xe||be(xe)&&xe.length===0||e.multiple&&!Qt(xe.toString(),m.previousValue)||!e.multiple&&Qe(xe)!==Qe(m.previousValue))&&bs(!0),!Qt(xe,at)&&e.validateEvent&&((gt=r==null?void 0:r.validate)==null||gt.call(r,"change").catch(Ct=>dt(Ct)))},{deep:!0}),ie(()=>e.options,()=>{const xe=$.value;(!xe||xe&&document.activeElement!==xe)&&bs()},{deep:!0,flush:"post"}),ie(()=>W.value,()=>(Ve(),T.value&&Ae(T.value.resetScrollTop))),da(()=>{m.isBeforeHide||_e()}),da(()=>{const{valueKey:xe,options:at}=e,gt=new Map;for(const Ct of at){const Pn=f(Ct);let la=Pn;if(nt(la)&&(la=hn(Pn,xe)),gt.get(la)){dt("ElSelectV2","The option values you provided seem to be duplicated, which may cause some problems, please check.");break}else gt.set(la,!0)}}),ft(()=>{bs()}),Gt(C,pt),Gt(w,Sn),Gt(I,Ia),Gt(A,ru),Gt(R,Qa);let Sr;return ie(()=>mt.value,xe=>{xe?Sr=Gt(T,Ia).stop:(Sr==null||Sr(),Sr=void 0),t("visible-change",xe)}),{inputId:u,collapseTagSize:Ie,currentPlaceholder:Mt,expanded:X,emptyText:pe,popupHeight:fe,debounce:Z,allOptions:V,allOptionsValueMap:Me,filteredOptions:W,iconComponent:re,iconReverse:te,tagStyle:Pe,collapseTagStyle:je,popperSize:y,dropdownMenuVisible:mt,hasModelValue:ue,shouldShowPlaceholder:xt,selectDisabled:P,selectSize:we,needStatusIcon:J,showClearBtn:he,states:m,isFocused:L,nsSelect:o,nsInput:l,inputRef:$,menuRef:T,tagMenuRef:A,tooltipRef:k,tagTooltipRef:E,selectRef:C,wrapperRef:I,selectionRef:w,prefixRef:O,suffixRef:M,collapseItemRef:R,popperRef:Ue,validateState:ee,validateIcon:H,showTagList:de,collapseTagList:Fe,debouncedOnInputChange:Ye,deleteTag:iu,getLabel:d,getValue:f,getDisabled:h,getValueKey:Qe,getIndex:Rl,handleClear:Pd,handleClickOutside:gn,handleDel:Id,handleEsc:Nd,focus:To,blur:Od,handleMenuEnter:On,handleResize:pt,resetSelectionWidth:Sn,updateTooltip:Ia,updateTagTooltip:ru,updateOptions:_e,toggleMenu:qt,scrollTo:$o,onInput:Ut,onKeyboardNavigate:sl,onKeyboardSelect:Ee,onSelect:Pl,onHover:Je,handleCompositionStart:K,handleCompositionEnd:Y,handleCompositionUpdate:z}};var j9=le({name:"ElSelectV2",components:{ElSelectMenu:H9,ElTag:zo,ElTooltip:Mn,ElIcon:Be},directives:{ClickOutside:Nl},props:N9,emits:I9,setup(e,{emit:t}){const n=S(()=>{const{modelValue:u,multiple:c}=e,d=c?[]:void 0;return be(u)?c?u:d:c?d:u}),a=W9(It({...$n(e),modelValue:n}),t),{calculatorRef:o,inputStyle:l}=Iv(),s=_n();wt(Mh,{props:It({...$n(e),height:a.popupHeight,modelValue:n}),expanded:a.expanded,tooltipRef:a.tooltipRef,contentId:s,onSelect:a.onSelect,onHover:a.onHover,onKeyboardNavigate:a.onKeyboardNavigate,onKeyboardSelect:a.onKeyboardSelect});const r=S(()=>e.multiple?a.states.cachedOptions.map(u=>a.getLabel(u)):a.states.selectedLabel);return{...a,modelValue:n,selectedLabel:r,calculatorRef:o,inputStyle:l,contentId:s,BORDER_HORIZONTAL_WIDTH:fw}}});const Y9=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],U9=["textContent"],q9={key:1};function G9(e,t,n,a,o,l){const s=$t("el-tag"),r=$t("el-tooltip"),u=$t("el-icon"),c=$t("el-select-menu"),d=sv("click-outside");return it((x(),F("div",{ref:"selectRef",class:N([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[15]||(t[15]=f=>e.states.inputHovering=!0),onMouseleave:t[16]||(t[16]=f=>e.states.inputHovering=!1)},[q(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[14]||(t[14]=f=>e.states.isBeforeHide=!1)},{default:Q(()=>{var f;return[j("div",{ref:"wrapperRef",class:N([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[11]||(t[11]=Ze((...h)=>e.toggleMenu&&e.toggleMenu(...h),["prevent"]))},[e.$slots.prefix?(x(),F("div",{key:0,ref:"prefixRef",class:N(e.nsSelect.e("prefix"))},[ne(e.$slots,"prefix")],2)):ae("v-if",!0),j("div",{ref:"selectionRef",class:N([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?ne(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var h,g,p,v,m,y,b,C,w,k,E,$,O;return[(x(!0),F(He,null,yt(e.showTagList,M=>(x(),F("div",{key:e.getValueKey(e.getValue(M)),class:N(e.nsSelect.e("selected-item"))},[q(s,{closable:!e.selectDisabled&&!e.getDisabled(M),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:We(e.tagStyle),onClose:T=>e.deleteTag(T,M)},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))},[ne(e.$slots,"label",{index:e.getIndex(M),label:e.getLabel(M),value:e.getValue(M)},()=>[bt(ke(e.getLabel(M)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.cachedOptions.length>e.maxCollapseTags?(x(),oe(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":((h=e.tagTooltip)==null?void 0:h.fallbackPlacements)??["bottom","top","right","left"],effect:((g=e.tagTooltip)==null?void 0:g.effect)??e.effect,placement:((p=e.tagTooltip)==null?void 0:p.placement)??"bottom","popper-class":((v=e.tagTooltip)==null?void 0:v.popperClass)??e.popperClass,"popper-style":((m=e.tagTooltip)==null?void 0:m.popperStyle)??e.popperStyle,teleported:((y=e.tagTooltip)==null?void 0:y.teleported)??e.teleported,"append-to":((b=e.tagTooltip)==null?void 0:b.appendTo)??e.appendTo,"popper-options":((C=e.tagTooltip)==null?void 0:C.popperOptions)??e.popperOptions,transition:(w=e.tagTooltip)==null?void 0:w.transition,"show-after":(k=e.tagTooltip)==null?void 0:k.showAfter,"hide-after":(E=e.tagTooltip)==null?void 0:E.hideAfter,"auto-close":($=e.tagTooltip)==null?void 0:$.autoClose,offset:(O=e.tagTooltip)==null?void 0:O.offset},{default:Q(()=>[j("div",{ref:"collapseItemRef",class:N(e.nsSelect.e("selected-item"))},[q(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:We(e.collapseTagStyle),"disable-transitions":""},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))}," + "+ke(e.states.cachedOptions.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Q(()=>[j("div",{ref:"tagMenuRef",class:N(e.nsSelect.e("selection"))},[(x(!0),F(He,null,yt(e.collapseTagList,M=>(x(),F("div",{key:e.getValueKey(e.getValue(M)),class:N(e.nsSelect.e("selected-item"))},[q(s,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(M),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:T=>e.deleteTag(T,M)},{default:Q(()=>[j("span",{class:N(e.nsSelect.e("tags-text"))},[ne(e.$slots,"label",{index:e.getIndex(M),label:e.getLabel(M),value:e.getValue(M)},()=>[bt(ke(e.getLabel(M)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):ae("v-if",!0)]}):ae("v-if",!0),j("div",{class:N([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[j("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,style:We(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:N([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[0]||(t[0]=(...h)=>e.onInput&&e.onInput(...h)),onChange:t[1]||(t[1]=Ze(()=>{},["stop"])),onCompositionstart:t[2]||(t[2]=(...h)=>e.handleCompositionStart&&e.handleCompositionStart(...h)),onCompositionupdate:t[3]||(t[3]=(...h)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...h)),onCompositionend:t[4]||(t[4]=(...h)=>e.handleCompositionEnd&&e.handleCompositionEnd(...h)),onKeydown:[t[5]||(t[5]=Jt(Ze(h=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[6]||(t[6]=Jt(Ze(h=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[7]||(t[7]=Jt(Ze((...h)=>e.onKeyboardSelect&&e.onKeyboardSelect(...h),["stop","prevent"]),["enter"])),t[8]||(t[8]=Jt(Ze((...h)=>e.handleEsc&&e.handleEsc(...h),["stop","prevent"]),["esc"])),t[9]||(t[9]=Jt(Ze((...h)=>e.handleDel&&e.handleDel(...h),["stop"]),["delete"]))],onClick:t[10]||(t[10]=Ze((...h)=>e.toggleMenu&&e.toggleMenu(...h),["stop"]))},null,46,Y9),e.filterable?(x(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:N(e.nsSelect.e("input-calculator")),textContent:ke(e.states.inputValue)},null,10,U9)):ae("v-if",!0)],2),e.shouldShowPlaceholder?(x(),F("div",{key:1,class:N([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ne(e.$slots,"label",{key:0,index:((f=e.allOptionsValueMap.get(e.modelValue))==null?void 0:f.index)??-1,label:e.currentPlaceholder,value:e.modelValue},()=>[j("span",null,ke(e.currentPlaceholder),1)]):(x(),F("span",q9,ke(e.currentPlaceholder),1))],2)):ae("v-if",!0)],2),j("div",{ref:"suffixRef",class:N(e.nsSelect.e("suffix"))},[e.iconComponent?it((x(),oe(u,{key:0,class:N([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:Q(()=>[(x(),oe(st(e.iconComponent)))]),_:1},8,["class"])),[[Ot,!e.showClearBtn]]):ae("v-if",!0),e.showClearBtn&&e.clearIcon?(x(),oe(u,{key:1,class:N([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:Ze(e.handleClear,["prevent","stop"])},{default:Q(()=>[(x(),oe(st(e.clearIcon)))]),_:1},8,["class","onClick"])):ae("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(x(),oe(u,{key:2,class:N([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Q(()=>[(x(),oe(st(e.validateIcon)))]),_:1},8,["class"])):ae("v-if",!0)],2)],2)]}),content:Q(()=>[q(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},na({default:Q(f=>[ne(e.$slots,"default",Do(Bo(f)))]),_:2},[e.$slots.header?{name:"header",fn:Q(()=>[j("div",{class:N(e.nsSelect.be("dropdown","header")),onClick:t[12]||(t[12]=Ze(()=>{},["stop"]))},[ne(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:Q(()=>[j("div",{class:N(e.nsSelect.be("dropdown","loading"))},[ne(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:Q(()=>[j("div",{class:N(e.nsSelect.be("dropdown","empty"))},[ne(e.$slots,"empty",{},()=>[j("span",null,ke(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:Q(()=>[j("div",{class:N(e.nsSelect.be("dropdown","footer")),onClick:t[13]||(t[13]=Ze(()=>{},["stop"]))},[ne(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[d,e.handleClickOutside,e.popperRef]])}var X9=Cn(j9,[["render",G9]]);const Z9=lt(X9),J9=Se({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:G([Number,Object])}}),Q9=Se({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var eW=le({name:"ElSkeletonItem",__name:"skeleton-item",props:Q9,setup(e){const t=ve("skeleton");return(n,a)=>(x(),F("div",{class:N([i(t).e("item"),i(t).e(e.variant)])},[e.variant==="image"?(x(),oe(i(C4),{key:0})):ae("v-if",!0)],2))}}),Ac=eW,tW=le({name:"ElSkeleton",__name:"skeleton",props:J9,setup(e,{expose:t}){const n=e,a=ve("skeleton"),o=kR(_t(n,"loading"),n.throttle);return t({uiLoading:o}),(l,s)=>i(o)?(x(),F("div",ut({key:0,class:[i(a).b(),i(a).is("animated",e.animated)]},l.$attrs),[(x(!0),F(He,null,yt(e.count,r=>(x(),F(He,{key:r},[i(o)?ne(l.$slots,"template",{key:r},()=>[q(Ac,{class:N(i(a).is("first")),variant:"p"},null,8,["class"]),(x(!0),F(He,null,yt(e.rows,u=>(x(),oe(Ac,{key:u,class:N([i(a).e("paragraph"),i(a).is("last",u===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ae("v-if",!0)],64))),128))],16)):ne(l.$slots,"default",Do(ut({key:1},l.$attrs)))}}),nW=tW;const aW=lt(nW,{SkeletonItem:Ac}),oW=Zt(Ac),Rk=Symbol("sliderContextKey"),lW=Se({modelValue:{type:G([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:wn,inputSize:wn,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:G(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:G(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:So,default:"top"},marks:{type:G(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Zn(["ariaLabel"])}),hf=e=>Ke(e)||be(e)&&e.every(Ke),sW={[tt]:hf,[mn]:hf,[ht]:hf},rW=(e,t,n)=>{const a=_();return ft(async()=>{e.range?(be(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!Ke(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),At(window,"resize",n),await Ae(),n()}),{sliderWrapper:a}},iW=e=>S(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((t,n)=>t-n).filter(t=>t<=e.max&&t>=e.min).map(t=>({point:t,position:(t-e.min)*100/(e.max-e.min),mark:e.marks[t]})):[]),uW=(e,t,n)=>{const{formItem:a}=In(),o=jt(),l=_(),s=_(),r={firstButton:l,secondButton:s},u=nn(),c=S(()=>Math.min(t.firstValue,t.secondValue)),d=S(()=>Math.max(t.firstValue,t.secondValue)),f=S(()=>e.range?`${100*(d.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=S(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),g=S(()=>e.vertical?{height:e.height}:{}),p=S(()=>e.vertical?{height:f.value,bottom:h.value}:{width:f.value,left:h.value}),v=()=>{o.value&&(t.sliderSize=o.value.getBoundingClientRect()[e.vertical?"height":"width"])},m=A=>{const R=e.min+A*(e.max-e.min)/100;if(!e.range)return l;let B;return Math.abs(c.value-R)t.secondValue?"firstButton":"secondButton",r[B]},y=A=>{const R=m(A);return R.value.setPosition(A),R},b=A=>{t.firstValue=A??e.min,w(e.range?[c.value,d.value]:A??e.min)},C=A=>{t.secondValue=A,e.range&&w([c.value,d.value])},w=A=>{n(tt,A),n(mn,A)},k=async()=>{await Ae(),n(ht,e.range?[c.value,d.value]:e.modelValue)},E=A=>{var B,K,Y,z;if(u.value||t.dragging)return;v();let R=0;if(e.vertical){const P=((K=(B=A.touches)==null?void 0:B.item(0))==null?void 0:K.clientY)??A.clientY;R=(o.value.getBoundingClientRect().bottom-P)/t.sliderSize*100}else R=((((z=(Y=A.touches)==null?void 0:Y.item(0))==null?void 0:z.clientX)??A.clientX)-o.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(R<0||R>100))return y(R)};return{elFormItem:a,slider:o,firstButton:l,secondButton:s,sliderDisabled:u,minValue:c,maxValue:d,runwayStyle:g,barStyle:p,resetSize:v,setPosition:y,emitChange:k,onSliderWrapperPrevent:A=>{var R,B;((R=r.firstButton.value)!=null&&R.dragging||(B=r.secondButton.value)!=null&&B.dragging)&&A.preventDefault()},onSliderClick:A=>{E(A)&&k()},onSliderDown:async A=>{const R=E(A);R&&(await Ae(),R.value.onButtonDown(A))},onSliderMarkerDown:A=>{u.value||t.dragging||y(A)&&k()},setFirstValue:b,setSecondValue:C}},cW=(e,t,n,a)=>({stops:S(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return dt("ElSlider","step should not be 0."),[];const s=Math.ceil((e.max-e.min)/e.step),r=100*e.step/(e.max-e.min),u=Array.from({length:s-1}).map((c,d)=>(d+1)*r);return e.range?u.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(a.value-e.min)/(e.max-e.min)):u.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:s=>e.vertical?{bottom:`${s}%`}:{left:`${s}%`}}),dW=(e,t,n,a,o,l)=>{const s=c=>{o(tt,c),o(mn,c)},r=()=>e.range?![n.value,a.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,u=()=>{var d,f;e.min>e.max&&Xt("Slider","min should not be greater than max.");const c=e.modelValue;e.range&&be(c)?c[1]e.max?s([e.max,e.max]):c[0]e.max?s([c[0],e.max]):(t.firstValue=c[0],t.secondValue=c[1],r()&&(e.validateEvent&&((d=l==null?void 0:l.validate)==null||d.call(l,"change").catch(h=>dt(h))),t.oldValue=c.slice())):!e.range&&Ke(c)&&!Number.isNaN(c)&&(ce.max?s(e.max):(t.firstValue=c,r()&&(e.validateEvent&&((f=l==null?void 0:l.validate)==null||f.call(l,"change").catch(h=>dt(h))),t.oldValue=c)))};u(),ie(()=>t.dragging,c=>{c||u()}),ie(()=>e.modelValue,(c,d)=>{t.dragging||be(c)&&be(d)&&c.every((f,h)=>f===d[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||u()},{deep:!0}),ie(()=>[e.min,e.max],()=>{u()})},fW=(e,t,n)=>{const a=_(),o=_(!1),l=S(()=>t.value instanceof Function);return{tooltip:a,tooltipVisible:o,formatValue:S(()=>l.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:yo(()=>{n.value&&(o.value=!0)},50),hideTooltip:yo(()=>{n.value&&(o.value=!1)},50)}},pW=(e,t,n)=>{const{disabled:a,min:o,max:l,step:s,showTooltip:r,persistent:u,precision:c,sliderSize:d,formatTooltip:f,emitChange:h,resetSize:g,updateDragging:p}=Le(Rk),{tooltip:v,tooltipVisible:m,formatValue:y,displayTooltip:b,hideTooltip:C}=fW(e,f,r),w=_(),k=S(()=>`${(e.modelValue-o.value)/(l.value-o.value)*100}%`),E=S(()=>e.vertical?{bottom:k.value}:{left:k.value}),$=()=>{t.hovering=!0,b()},O=()=>{t.hovering=!1,t.dragging||C()},M=W=>{a.value||(W.preventDefault(),L(W),window.addEventListener("mousemove",D),window.addEventListener("touchmove",D),window.addEventListener("mouseup",V),window.addEventListener("touchend",V),window.addEventListener("contextmenu",V),w.value.focus())},T=W=>{a.value||(t.newPosition=Number.parseFloat(k.value)+W/(l.value-o.value)*100,U(t.newPosition),h())},A=()=>{T(-s.value)},R=()=>{T(s.value)},B=()=>{T(-s.value*4)},K=()=>{T(s.value*4)},Y=()=>{a.value||(U(0),h())},z=()=>{a.value||(U(100),h())},P=W=>{const X=Ft(W);let J=!0;switch(X){case Ce.left:case Ce.down:A();break;case Ce.right:case Ce.up:R();break;case Ce.home:Y();break;case Ce.end:z();break;case Ce.pageDown:B();break;case Ce.pageUp:K();break;default:J=!1;break}J&&W.preventDefault()},I=W=>{let X,J;return W.type.startsWith("touch")?(J=W.touches[0].clientY,X=W.touches[0].clientX):(J=W.clientY,X=W.clientX),{clientX:X,clientY:J}},L=W=>{t.dragging=!0,t.isClick=!0;const{clientX:X,clientY:J}=I(W);e.vertical?t.startY=J:t.startX=X,t.startPosition=Number.parseFloat(k.value),t.newPosition=t.startPosition},D=W=>{if(t.dragging){t.isClick=!1,b(),g();let X;const{clientX:J,clientY:fe}=I(W);e.vertical?(t.currentY=fe,X=(t.startY-t.currentY)/d.value*100):(t.currentX=J,X=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+X,U(t.newPosition)}},V=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||C(),t.isClick||U(t.newPosition),h()},0),window.removeEventListener("mousemove",D),window.removeEventListener("touchmove",D),window.removeEventListener("mouseup",V),window.removeEventListener("touchend",V),window.removeEventListener("contextmenu",V))},U=async W=>{if(W===null||Number.isNaN(+W))return;W=jl(W,0,100);const X=Math.floor((l.value-o.value)/s.value),J=X*s.value/(l.value-o.value)*100,fe=J+(100-J)/2;let ue;if(Wt.dragging,W=>{p(W)}),At(w,"touchstart",M,{passive:!1}),{disabled:a,button:w,tooltip:v,tooltipVisible:m,showTooltip:r,persistent:u,wrapperStyle:E,formatValue:y,handleMouseEnter:$,handleMouseLeave:O,onButtonDown:M,onKeyDown:P,setPosition:U}},vW=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:So,default:"top"}}),hW={[tt]:e=>Ke(e)},mW=["tabindex"];var gW=le({name:"ElSliderButton",__name:"button",props:vW,emits:hW,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("slider"),s=It({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),r=S(()=>f.value?h.value:!1),{disabled:u,button:c,tooltip:d,showTooltip:f,persistent:h,tooltipVisible:g,wrapperStyle:p,formatValue:v,handleMouseEnter:m,handleMouseLeave:y,onButtonDown:b,onKeyDown:C,setPosition:w}=pW(a,s,o),{hovering:k,dragging:E}=$n(s);return t({onButtonDown:b,onKeyDown:C,setPosition:w,hovering:k,dragging:E}),($,O)=>(x(),F("div",{ref_key:"button",ref:c,class:N([i(l).e("button-wrapper"),{hover:i(k),dragging:i(E)}]),style:We(i(p)),tabindex:i(u)?void 0:0,onMouseenter:O[0]||(O[0]=(...M)=>i(m)&&i(m)(...M)),onMouseleave:O[1]||(O[1]=(...M)=>i(y)&&i(y)(...M)),onMousedown:O[2]||(O[2]=(...M)=>i(b)&&i(b)(...M)),onFocus:O[3]||(O[3]=(...M)=>i(m)&&i(m)(...M)),onBlur:O[4]||(O[4]=(...M)=>i(y)&&i(y)(...M)),onKeydown:O[5]||(O[5]=(...M)=>i(C)&&i(C)(...M))},[q(i(Mn),{ref_key:"tooltip",ref:d,visible:i(g),placement:$.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":$.tooltipClass,disabled:!i(f),persistent:r.value},{content:Q(()=>[j("span",null,ke(i(v)),1)]),default:Q(()=>[j("div",{class:N([i(l).e("button"),{hover:i(k),dragging:i(E)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,mW))}}),ib=gW;const yW=Se({mark:{type:G([String,Object]),default:void 0}});var bW=le({name:"ElSliderMarker",props:yW,setup(e){const t=ve("slider"),n=S(()=>De(e.mark)?e.mark:e.mark.label),a=S(()=>De(e.mark)?void 0:e.mark.style);return()=>Ge("div",{class:t.e("marks-text"),style:a.value},n.value)}});const wW=["id","role","aria-label","aria-labelledby"],CW={key:1};var SW=le({name:"ElSlider",__name:"slider",props:lW,emits:sW,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("slider"),{t:s}=St(),r=It({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:u,slider:c,firstButton:d,secondButton:f,sliderDisabled:h,minValue:g,maxValue:p,runwayStyle:v,barStyle:m,resetSize:y,emitChange:b,onSliderWrapperPrevent:C,onSliderClick:w,onSliderDown:k,onSliderMarkerDown:E,setFirstValue:$,setSecondValue:O}=uW(a,r,o),{stops:M,getStopStyle:T}=cW(a,r,g,p),{inputId:A,isLabeledByFormItem:R}=Ca(a,{formItemContext:u}),B=yn(),K=S(()=>a.inputSize||B.value),Y=S(()=>a.ariaLabel||s("el.slider.defaultLabel",{min:a.min,max:a.max})),z=S(()=>a.range?a.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):Y.value),P=S(()=>a.formatValueText?a.formatValueText(X.value):`${X.value}`),I=S(()=>a.rangeEndLabel||s("el.slider.defaultRangeEndLabel")),L=S(()=>a.formatValueText?a.formatValueText(J.value):`${J.value}`),D=S(()=>[l.b(),l.m(B.value),l.is("vertical",a.vertical),{[l.m("with-input")]:a.showInput}]),V=iW(a);dW(a,r,g,p,o,u);const U=S(()=>{const he=[a.min,a.max,a.step].map(re=>{const te=`${re}`.split(".")[1];return te?te.length:0});return Math.max.apply(null,he)}),{sliderWrapper:W}=rW(a,r,y),{firstValue:X,secondValue:J,sliderSize:fe}=$n(r),ue=he=>{r.dragging=he};return At(W,"touchstart",C,{passive:!1}),At(W,"touchmove",C,{passive:!1}),wt(Rk,{...$n(a),sliderSize:fe,disabled:h,precision:U,emitChange:b,resetSize:y,updateDragging:ue}),t({onSliderClick:w}),(he,re)=>{var te,ee;return x(),F("div",{id:he.range?i(A):void 0,ref_key:"sliderWrapper",ref:W,class:N(D.value),role:he.range?"group":void 0,"aria-label":he.range&&!i(R)?Y.value:void 0,"aria-labelledby":he.range&&i(R)?(te=i(u))==null?void 0:te.labelId:void 0},[j("div",{ref_key:"slider",ref:c,class:N([i(l).e("runway"),{"show-input":he.showInput&&!he.range},i(l).is("disabled",i(h))]),style:We(i(v)),onMousedown:re[0]||(re[0]=(...H)=>i(k)&&i(k)(...H)),onTouchstartPassive:re[1]||(re[1]=(...H)=>i(k)&&i(k)(...H))},[j("div",{class:N(i(l).e("bar")),style:We(i(m))},null,6),q(ib,{id:he.range?void 0:i(A),ref_key:"firstButton",ref:d,"model-value":i(X),vertical:he.vertical,"tooltip-class":he.tooltipClass,placement:he.placement,role:"slider","aria-label":he.range||!i(R)?z.value:void 0,"aria-labelledby":!he.range&&i(R)?(ee=i(u))==null?void 0:ee.labelId:void 0,"aria-valuemin":he.min,"aria-valuemax":he.range?i(J):he.max,"aria-valuenow":i(X),"aria-valuetext":P.value,"aria-orientation":he.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i($)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),he.range?(x(),oe(ib,{key:0,ref_key:"secondButton",ref:f,"model-value":i(J),vertical:he.vertical,"tooltip-class":he.tooltipClass,placement:he.placement,role:"slider","aria-label":I.value,"aria-valuemin":i(X),"aria-valuemax":he.max,"aria-valuenow":i(J),"aria-valuetext":L.value,"aria-orientation":he.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i(O)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ae("v-if",!0),he.showStops?(x(),F("div",CW,[(x(!0),F(He,null,yt(i(M),(H,Z)=>(x(),F("div",{key:Z,class:N(i(l).e("stop")),style:We(i(T)(H))},null,6))),128))])):ae("v-if",!0),i(V).length>0?(x(),F(He,{key:2},[j("div",null,[(x(!0),F(He,null,yt(i(V),(H,Z)=>(x(),F("div",{key:Z,style:We(i(T)(H.position)),class:N([i(l).e("stop"),i(l).e("marks-stop")])},null,6))),128))]),j("div",{class:N(i(l).e("marks"))},[(x(!0),F(He,null,yt(i(V),(H,Z)=>(x(),oe(i(bW),{key:Z,mark:H.mark,style:We(i(T)(H.position)),onMousedown:Ze(se=>i(E)(H.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ae("v-if",!0)],38),he.showInput&&!he.range?(x(),oe(i(ik),{key:0,ref:"input","model-value":i(X),class:N(i(l).e("input")),step:he.step,disabled:i(h),controls:he.showInputControls,min:he.min,max:he.max,precision:U.value,size:K.value,"onUpdate:modelValue":i($),onChange:i(b)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ae("v-if",!0)],10,wW)}}}),kW=SW;const EW=lt(kW),xW=Se({prefixCls:{type:String}}),ub=le({name:"ElSpaceItem",props:xW,setup(e,{slots:t}){const n=ve("space"),a=S(()=>`${e.prefixCls||n.b()}__item`);return()=>Ge("div",{class:a.value},ne(t,"default"))}}),cb={small:8,default:12,large:16};function TW(e){const t=ve("space"),n=S(()=>[t.b(),t.m(e.direction),e.class]),a=_(0),o=_(0),l=S(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${o.value}px`,columnGap:`${a.value}px`},e.style]),s=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return da(()=>{const{size:r="small",wrap:u,direction:c,fill:d}=e;if(be(r)){const[f=0,h=0]=r;a.value=f,o.value=h}else{let f;Ke(r)?f=r:f=cb[r||"small"]||cb.small,(u||d)&&c==="horizontal"?a.value=o.value=f:c==="horizontal"?(a.value=f,o.value=0):(o.value=f,a.value=0)}}),{classes:n,containerStyle:l,itemStyle:s}}const $W=Se({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:G([String,Object,Array]),default:""},style:{type:G([String,Array,Object]),default:""},alignment:{type:G(String),default:"center"},prefixCls:{type:String},spacer:{type:G([Object,String,Number,Array]),default:null,validator:e=>Ht(e)||Ke(e)||De(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:qa,validator:e=>Ke(e)||be(e)&&e.length===2&&e.every(Ke)}}),OW=le({name:"ElSpace",props:$W,setup(e,{slots:t}){const{classes:n,containerStyle:a,itemStyle:o}=TW(e);function l(s,r="",u=[]){const{prefixCls:c}=e;return s.forEach((d,f)=>{Gf(d)?be(d.children)&&d.children.forEach((h,g)=>{Gf(h)&&be(h.children)?l(h.children,`${r+g}-`,u):Ht(h)&&(h==null?void 0:h.type)===fn?u.push(h):u.push(q(ub,{style:o.value,prefixCls:c,key:`nested-${r+g}`},{default:()=>[h]},Pa.PROPS|Pa.STYLE,["style","prefixCls"]))}):S3(d)&&u.push(q(ub,{style:o.value,prefixCls:c,key:`LoopKey${r+f}`},{default:()=>[d]},Pa.PROPS|Pa.STYLE,["style","prefixCls"]))}),u}return()=>{const{spacer:s,direction:r}=e,u=ne(t,"default",{key:0},()=>[]);if((u.children??[]).length===0)return null;if(be(u.children)){let c=l(u.children);if(s){const d=c.length-1;c=c.reduce((f,h,g)=>{const p=[...f,h];return g!==d&&p.push(q("span",{style:[o.value,r==="vertical"?"width: 100%":null],key:g},[Ht(s)?s:bt(s,Pa.TEXT)],Pa.STYLE)),p},[])}return q("div",{class:n.value,style:a.value},c,Pa.STYLE|Pa.CLASS)}return u.children}}}),NW=lt(OW),MW=Se({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),IW={[ht]:(e,t)=>[e,t].every(Ke)},Ak="ElSteps",PW=Se({title:{type:String,default:""},icon:{type:Bt},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var RW=le({name:"ElSteps",__name:"steps",props:MW,emits:IW,setup(e,{emit:t}){const n=e,a=t,o=ve("steps"),{children:l,addChild:s,removeChild:r,ChildrenSorter:u}=hd(ct(),"ElStep");return ie(l,()=>{l.value.forEach((c,d)=>{c.setIndex(d)})}),wt(Ak,{props:n,steps:l,addStep:s,removeStep:r}),ie(()=>n.active,(c,d)=>{a(ht,c,d)}),(c,d)=>(x(),F("div",{class:N([i(o).b(),i(o).m(e.simple?"simple":e.direction)])},[ne(c.$slots,"default"),q(i(u))],2))}}),AW=RW,_W=le({name:"ElStep",__name:"item",props:PW,setup(e){const t=e,n=ve("step"),a=_(-1),o=_({}),l=_(""),s=Le(Ak),r=ct();let u=0,c=0;ft(()=>{ie([()=>s.props.active,()=>s.props.processStatus,()=>s.props.finishStatus],([O],[M])=>{c=M||0,u=O-c,E(O)},{immediate:!0})});const d=S(()=>t.status||l.value),f=S(()=>{const O=s.steps.value[a.value-1];return O?O.internalStatus.value:"wait"}),h=S(()=>s.props.alignCenter),g=S(()=>s.props.direction==="vertical"),p=S(()=>s.props.simple),v=S(()=>s.steps.value.length),m=S(()=>{var O;return((O=s.steps.value[v.value-1])==null?void 0:O.uid)===r.uid}),y=S(()=>p.value?"":s.props.space),b=S(()=>[n.b(),n.is(p.value?"simple":s.props.direction),n.is("flex",m.value&&!y.value&&!h.value),n.is("center",h.value&&!g.value&&!p.value)]),C=S(()=>{const O={flexBasis:Ke(y.value)?`${y.value}px`:y.value?y.value:`${100/(v.value-(h.value?0:1))}%`};return g.value||m.value&&(O.maxWidth=`${100/v.value}%`),O}),w=O=>{a.value=O},k=O=>{const M=O==="wait",T={transitionDelay:`${Math.abs(u)===1?0:u>0?(a.value+1-c)*150:-(a.value+1-s.props.active)*150}ms`},A=O===s.props.processStatus||M?0:100;T.borderWidth=A&&!p.value?"1px":0,T[s.props.direction==="vertical"?"height":"width"]=`${A}%`,o.value=T},E=O=>{O>a.value?l.value=s.props.finishStatus:O===a.value&&f.value!=="error"?l.value=s.props.processStatus:l.value="wait";const M=s.steps.value[a.value-1];M&&M.calcProgress(l.value)},$={uid:r.uid,getVnode:()=>r.vnode,currentStatus:d,internalStatus:l,setIndex:w,calcProgress:k};return s.addStep($),Rt(()=>{s.removeStep($)}),(O,M)=>(x(),F("div",{style:We(C.value),class:N(b.value)},[ae(" icon & line "),j("div",{class:N([i(n).e("head"),i(n).is(d.value)])},[p.value?ae("v-if",!0):(x(),F("div",{key:0,class:N(i(n).e("line"))},[j("i",{class:N(i(n).e("line-inner")),style:We(o.value)},null,6)],2)),j("div",{class:N([i(n).e("icon"),i(n).is(e.icon||O.$slots.icon?"icon":"text")])},[ne(O.$slots,"icon",{},()=>[e.icon?(x(),oe(i(Be),{key:0,class:N(i(n).e("icon-inner"))},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1},8,["class"])):d.value==="success"?(x(),oe(i(Be),{key:1,class:N([i(n).e("icon-inner"),i(n).is("status")])},{default:Q(()=>[q(i(Qi))]),_:1},8,["class"])):d.value==="error"?(x(),oe(i(Be),{key:2,class:N([i(n).e("icon-inner"),i(n).is("status")])},{default:Q(()=>[q(i(Ma))]),_:1},8,["class"])):p.value?ae("v-if",!0):(x(),F("div",{key:3,class:N(i(n).e("icon-inner"))},ke(a.value+1),3))])],2)],2),ae(" title & description "),j("div",{class:N(i(n).e("main"))},[j("div",{class:N([i(n).e("title"),i(n).is(d.value)])},[ne(O.$slots,"title",{},()=>[bt(ke(e.title),1)])],2),p.value?(x(),F("div",{key:0,class:N(i(n).e("arrow"))},null,2)):(x(),F("div",{key:1,class:N([i(n).e("description"),i(n).is(d.value)])},[ne(O.$slots,"description",{},()=>[bt(ke(e.description),1)])],2))],2)],6))}}),_k=_W;const LW=lt(AW,{Step:_k}),DW=Zt(_k),Lk=e=>["",...qa].includes(e),BW=Se({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:Lk},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:Bt},activeActionIcon:{type:Bt},activeIcon:{type:Bt},inactiveIcon:{type:Bt},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:G(Function)},id:String,tabindex:{type:[String,Number]},...Zn(["ariaLabel"])}),VW={[tt]:e=>Dt(e)||De(e)||Ke(e),[ht]:e=>Dt(e)||De(e)||Ke(e),[mn]:e=>Dt(e)||De(e)||Ke(e)},FW=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],zW=["aria-hidden"],HW={key:1},KW={key:1},WW=["aria-hidden"],mf="ElSwitch";var jW=le({name:mf,__name:"switch",props:BW,emits:VW,setup(e,{expose:t,emit:n}){const a=e,o=n,{formItem:l}=In(),s=yn(),r=ve("switch"),{inputId:u}=Ca(a,{formItemContext:l}),c=nn(S(()=>{if(a.loading)return!0})),d=_(a.modelValue!==!1),f=jt(),h=S(()=>[r.b(),r.m(s.value),r.is("disabled",c.value),r.is("checked",y.value)]),g=S(()=>[r.e("label"),r.em("label","left"),r.is("active",!y.value)]),p=S(()=>[r.e("label"),r.em("label","right"),r.is("active",y.value)]),v=S(()=>({width:tn(a.width)}));ie(()=>a.modelValue,()=>{d.value=!0});const m=S(()=>d.value?a.modelValue:!1),y=S(()=>m.value===a.activeValue);[a.activeValue,a.inactiveValue].includes(m.value)||(o(tt,a.inactiveValue),o(ht,a.inactiveValue),o(mn,a.inactiveValue)),ie(y,k=>{var E;f.value.checked=k,a.validateEvent&&((E=l==null?void 0:l.validate)==null||E.call(l,"change").catch($=>dt($)))});const b=()=>{const k=y.value?a.inactiveValue:a.activeValue;o(tt,k),o(ht,k),o(mn,k),Ae(()=>{f.value.checked=y.value})},C=()=>{if(c.value)return;const{beforeChange:k}=a;if(!k){b();return}const E=k();[ns(E),Dt(E)].includes(!0)||Xt(mf,"beforeChange must return type `Promise` or `boolean`"),ns(E)?E.then($=>{$&&b()}).catch($=>{dt(mf,`some error occurred: ${$}`)}):E&&b()},w=()=>{var k,E;(E=(k=f.value)==null?void 0:k.focus)==null||E.call(k)};return ft(()=>{f.value.checked=y.value}),t({focus:w,checked:y}),(k,E)=>(x(),F("div",{class:N(h.value),onClick:Ze(C,["prevent"])},[j("input",{id:i(u),ref_key:"input",ref:f,class:N(i(r).e("input")),type:"checkbox",role:"switch","aria-checked":y.value,"aria-disabled":i(c),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(c),tabindex:e.tabindex,onChange:b,onKeydown:Jt(C,["enter"])},null,42,FW),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||k.$slots.inactive)?(x(),F("span",{key:0,class:N(g.value)},[ne(k.$slots,"inactive",{},()=>[e.inactiveIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.inactiveIcon)))]),_:1})):ae("v-if",!0),!e.inactiveIcon&&e.inactiveText?(x(),F("span",{key:1,"aria-hidden":y.value},ke(e.inactiveText),9,zW)):ae("v-if",!0)])],2)):ae("v-if",!0),j("span",{class:N(i(r).e("core")),style:We(v.value)},[e.inlinePrompt?(x(),F("div",{key:0,class:N(i(r).e("inner"))},[y.value?(x(),F("div",{key:1,class:N(i(r).e("inner-wrapper"))},[ne(k.$slots,"active",{},()=>[e.activeIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.activeIcon)))]),_:1})):ae("v-if",!0),!e.activeIcon&&e.activeText?(x(),F("span",KW,ke(e.activeText),1)):ae("v-if",!0)])],2)):(x(),F("div",{key:0,class:N(i(r).e("inner-wrapper"))},[ne(k.$slots,"inactive",{},()=>[e.inactiveIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.inactiveIcon)))]),_:1})):ae("v-if",!0),!e.inactiveIcon&&e.inactiveText?(x(),F("span",HW,ke(e.inactiveText),1)):ae("v-if",!0)])],2))],2)):ae("v-if",!0),j("div",{class:N(i(r).e("action"))},[e.loading?(x(),oe(i(Be),{key:0,class:N(i(r).is("loading"))},{default:Q(()=>[q(i(wo))]),_:1},8,["class"])):y.value?ne(k.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.activeActionIcon)))]),_:1})):ae("v-if",!0)]):y.value?ae("v-if",!0):ne(k.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.inactiveActionIcon)))]),_:1})):ae("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||k.$slots.active)?(x(),F("span",{key:1,class:N(p.value)},[ne(k.$slots,"active",{},()=>[e.activeIcon?(x(),oe(i(Be),{key:0},{default:Q(()=>[(x(),oe(st(e.activeIcon)))]),_:1})):ae("v-if",!0),!e.activeIcon&&e.activeText?(x(),F("span",{key:1,"aria-hidden":!y.value},ke(e.activeText),9,WW)):ae("v-if",!0)])],2)):ae("v-if",!0)],2))}}),YW=jW;const UW=lt(YW),gf=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},qW=function(e,t,n,a,o){if(!t&&!a&&(!o||be(o)&&!o.length))return e;De(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const l=a?null:function(r,u){return o?Gw(En(o),c=>De(c)?hn(r,c):c(r,u,e)):(t!=="$key"&&nt(r)&&"$value"in r&&(r=r.$value),[nt(r)?t?hn(r,t):null:r])},s=function(r,u){var c,d,f,h,g;if(a)return a(r.value,u.value);for(let p=0,v=((c=r.key)==null?void 0:c.length)??0;p((g=u.key)==null?void 0:g[p]))return 1}return 0};return e.map((r,u)=>({value:r,index:u,key:l?l(r,u):null})).sort((r,u)=>{let c=s(r,u);return c||(c=r.index-u.index),c*+n}).map(r=>r.value)},Dk=function(e,t){let n=null;return e.columns.forEach(a=>{a.id===t&&(n=a)}),n},GW=function(e,t){let n=null;for(let a=0;a{if(!e)throw new Error("Row is required when get row identity");if(De(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let a=e;for(const o of n)a=a[o];return`${a}`}else if(ze(t))return t.call(null,e);return""},Hs=function(e,t,n=!1,a="children"){const o=e||[],l={};return o.forEach((s,r)=>{if(l[Ln(s,t)]={row:s,index:r},n){const u=s[a];be(u)&&Object.assign(l,Hs(u,t,!0,a))}}),l};function XW(e,t){const n={};let a;for(a in e)n[a]=e[a];for(a in t)if(Tt(t,a)){const o=t[a];kt(o)||(n[a]=o)}return n}function Ih(e){return e===""||kt(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Bk(e){return e===""||kt(e)||(e=Ih(e),Number.isNaN(e)&&(e=80)),e}function ZW(e){return Ke(e)?e:De(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function JW(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...a)=>t(n(...a)))}function _c(e,t,n,a,o,l,s){let r=l??0,u=!1;const d=(()=>{if(!s)return e.indexOf(t);const v=Ln(t,s);return e.findIndex(m=>Ln(m,s)===v)})(),f=d!==-1,h=o==null?void 0:o.call(null,t,r),g=v=>{v==="add"?e.push(t):e.splice(d,1),u=!0},p=v=>{let m=0;const y=(a==null?void 0:a.children)&&v[a.children];return y&&be(y)&&(m+=y.length,y.forEach(b=>{m+=p(b)})),m};return(!o||h)&&(Dt(n)?n&&!f?g("add"):!n&&f&&g("remove"):g(f?"remove":"add")),!(a!=null&&a.checkStrictly)&&(a!=null&&a.children)&&be(t[a.children])&&t[a.children].forEach(v=>{const m=_c(e,v,n??!f,a,o,r+1,s);r+=p(v)+1,m&&(u=m)}),u}function QW(e,t,n="children",a="hasChildren",o=!1){const l=r=>!(be(r)&&r.length);function s(r,u,c){t(r,u,c),u.forEach(d=>{if(d[a]&&o){t(d,null,c+1);return}const f=d[n];l(f)||s(d,f,c+1)})}e.forEach(r=>{if(r[a]&&o){t(r,null,0);return}const u=r[n];l(u)||s(r,u,0)})}const ej=(e,t,n,a)=>{const o={strategy:"fixed",...e.popperOptions},l=ze(a==null?void 0:a.tooltipFormatter)?a.tooltipFormatter({row:n,column:a,cellValue:Cl(n,a.property).value}):void 0;return Ht(l)?{slotContent:l,content:null,...e,popperOptions:o}:{slotContent:null,content:l??t,...e,popperOptions:o}};let an=null;function tj(e,t,n,a,o,l){var g;const s=ej(e,t,n,a),r={...s,slotContent:void 0};if((an==null?void 0:an.trigger)===o){const p=(g=an.vm)==null?void 0:g.component;Xw(p==null?void 0:p.props,r),p&&s.slotContent&&(p.slots.content=()=>[s.slotContent]);return}an==null||an();const u=l==null?void 0:l.refs.tableWrapper,c=u==null?void 0:u.dataset.prefix,d=q(Mn,{virtualTriggering:!0,virtualRef:o,appendTo:u,placement:"top",transition:"none",offset:0,hideAfter:0,...r},s.slotContent?{content:()=>s.slotContent}:void 0);d.appContext={...l.appContext,...l};const f=document.createElement("div");El(d,f),d.component.exposed.onOpen();const h=u==null?void 0:u.querySelector(`.${c}-scrollbar__wrap`);an=()=>{var v,m;(m=(v=d.component)==null?void 0:v.exposed)!=null&&m.onClose&&d.component.exposed.onClose(),El(null,f);const p=an;h==null||h.removeEventListener("scroll",p),p.trigger=void 0,p.vm=void 0,an=null},an.trigger=o??void 0,an.vm=d,h==null||h.addEventListener("scroll",an)}function Vk(e){return e.children?Gw(e.children,Vk):[e]}function fb(e,t){return e+t.colSpan}const Fk=(e,t,n,a)=>{let o=0,l=e;const s=n.states.columns.value;if(a){const u=Vk(a[e]);o=s.slice(0,s.indexOf(u[0])).reduce(fb,0),l=o+u.reduce(fb,0)-1}else o=e;let r;switch(t){case"left":l=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right");break;default:l=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right")}return r?{direction:r,start:o,after:l}:{}},Ph=(e,t,n,a,o,l=0)=>{const s=[],{direction:r,start:u,after:c}=Fk(t,n,a,o);if(r){const d=r==="left";s.push(`${e}-fixed-column--${r}`),d&&c+l===a.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!d&&u-l===a.states.columns.value.length-a.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function pb(e,t){return e+(ld(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Rh=(e,t,n,a)=>{const{direction:o,start:l=0,after:s=0}=Fk(e,t,n,a);if(!o)return;const r={},u=o==="left",c=n.states.columns.value;return u?r.left=c.slice(0,l).reduce(pb,0):r.right=c.slice(s+1).reverse().reduce(pb,0),r},ir=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function zk(e){return e.some(t=>Ht(t)?!(t.type===fn||t.type===He&&!zk(t.children)):!0)?e:null}function nj(e){const t=ct(),n=_(!1),a=_([]),o=(c,d)=>{const f=t.store.states.rowExpandable.value;return(f==null?void 0:f(c,d))??!0};return{updateExpandRows:()=>{const c=e.data.value||[],d=e.rowKey.value;if(n.value)a.value=t.store.states.rowExpandable.value?c.filter(o):c.slice();else if(d){const f=Hs(a.value,d);a.value=c.filter((h,g)=>!!f[Ln(h,d)]&&o(h,g))}else a.value=[]},toggleRowExpansion:(c,d)=>{const f=(e.data.value||[]).indexOf(c);f>-1&&!o(c,f)||_c(a.value,c,d,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",c,a.value.slice())},setExpandRowKeys:c=>{t.store.assertRowKey();const d=e.data.value||[],f=e.rowKey.value,h=Hs(d,f);a.value=c.reduce((g,p)=>{const v=h[p];return v&&o(v.row,v.index)&&g.push(v.row),g},[])},isRowExpanded:c=>{const d=e.rowKey.value;return d?!!Hs(a.value,d)[Ln(c,d)]:a.value.includes(c)},states:{expandRows:a,defaultExpandAll:n}}}function aj(e){const t=ct(),n=_(null),a=_(null),o=c=>{t.store.assertRowKey(),n.value=c,s(c)},l=()=>{n.value=null},s=c=>{const{data:d,rowKey:f}=e,h=a.value;let g=null;f.value&&(g=(i(d)||[]).find(p=>Ln(p,f.value)===c)??null),a.value=g??null,t.emit("current-change",a.value,h)};return{setCurrentRowKey:o,restoreCurrentRowKey:l,setCurrentRowByKey:s,updateCurrentRow:c=>{const d=a.value;if(c&&c!==d){a.value=c,t.emit("current-change",a.value,d);return}!c&&d&&(a.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],f=a.value;f&&!d.includes(f)?c?s(Ln(f,c)):(a.value=null,t.emit("current-change",null,f)):n.value&&(s(n.value),l())},states:{_currentRowKey:n,currentRow:a}}}function oj(e){const t=_([]),n=_({}),a=_(16),o=_(!1),l=_({}),s=_("hasChildren"),r=_("children"),u=_(!1),c=ct(),d=S(()=>e.rowKey.value?h(e.data.value||[]):{}),f=S(()=>{const w=e.rowKey.value,k=Object.keys(l.value),E={};return k.length&&k.forEach($=>{if(l.value[$].length){const O={children:[]};l.value[$].forEach(M=>{const T=Ln(M,w);O.children.push(T),M[s.value]&&!E[T]&&(E[T]={children:[]})}),E[$]=O}}),E}),h=w=>{const k=e.rowKey.value,E={};return QW(w,($,O,M)=>{const T=Ln($,k);be(O)?E[T]={children:O.map(A=>Ln(A,k)),level:M}:o.value&&(E[T]={children:[],lazy:!0,level:M})},r.value,s.value,o.value),E},g=(w=!1,k)=>{var T,A;k||(k=(T=c.store)==null?void 0:T.states.defaultExpandAll.value);const E=d.value,$=f.value,O=Object.keys(E),M={};if(O.length){const R=i(n),B=[],K=(z,P)=>{if(w)return t.value?k||t.value.includes(P):!!(k||z!=null&&z.expanded);{const I=k||t.value&&t.value.includes(P);return!!(z!=null&&z.expanded||I)}};O.forEach(z=>{const P=R[z],I={...E[z]};if(I.expanded=K(P,z),I.lazy){const{loaded:L=!1,loading:D=!1}=P||{};I.loaded=!!L,I.loading=!!D,B.push(z)}M[z]=I});const Y=Object.keys($);o.value&&Y.length&&B.length&&Y.forEach(z=>{var L;const P=R[z],I=$[z].children;if(B.includes(z)){if(((L=M[z].children)==null?void 0:L.length)!==0)throw new Error("[ElTable]children must be an empty array.");M[z].children=I}else{const{loaded:D=!1,loading:V=!1}=P||{};M[z]={lazy:!0,loaded:!!D,loading:!!V,expanded:K(P,z),children:I,level:void 0}}})}n.value=M,(A=c.store)==null||A.updateTableScrollY()};ie(()=>t.value,()=>{g(!0)}),ie(()=>d.value,()=>{g()}),ie(()=>f.value,()=>{g()});const p=w=>{t.value=w,g()},v=w=>o.value&&w&&"loaded"in w&&!w.loaded,m=(w,k)=>{c.store.assertRowKey();const E=e.rowKey.value,$=Ln(w,E),O=$&&n.value[$];if($&&O&&"expanded"in O){const M=O.expanded;k=kt(k)?!O.expanded:k,n.value[$].expanded=k,M!==k&&c.emit("expand-change",w,k),k&&v(O)&&b(w,$,O),c.store.updateTableScrollY()}},y=w=>{c.store.assertRowKey();const k=e.rowKey.value,E=Ln(w,k),$=n.value[E];v($)?b(w,E,$):m(w,void 0)},b=(w,k,E)=>{const{load:$}=c.props;$&&!n.value[k].loaded&&(n.value[k].loading=!0,$(w,E,O=>{if(!be(O))throw new TypeError("[ElTable] data must be an array");n.value[k].loading=!1,n.value[k].loaded=!0,n.value[k].expanded=!0,O.length&&(l.value[k]=O),c.emit("expand-change",w,!0)}))};return{loadData:b,loadOrToggle:y,toggleTreeExpansion:m,updateTreeExpandKeys:p,updateTreeData:g,updateKeyChildren:(w,k)=>{const{lazy:E,rowKey:$}=c.props;if(E){if(!$)throw new Error("[Table] rowKey is required in updateKeyChild");l.value[w]&&(l.value[w]=k)}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:a,lazy:o,lazyTreeNodeMap:l,lazyColumnIdentifier:s,childrenColumnName:r,checkStrictly:u}}}const lj=(e,t)=>{const n=t.sortingColumn;return!n||De(n.sortable)?e:qW(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},qu=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,qu(n.children)):t.push(n)}),t};function sj(){var Mt;const e=ct(),{size:t}=$n((Mt=e.proxy)==null?void 0:Mt.$props),n=_(null),a=_([]),o=_([]),l=_(!1),s=_([]),r=_([]),u=_([]),c=_([]),d=_([]),f=_([]),h=_([]),g=_([]),p=[],v=_(0),m=_(0),y=_(0),b=_(!1),C=_([]),w=_(!1),k=_(!1),E=_(null),$=_(null),O=_({}),M=_(null),T=_(null),A=_(null),R=_(null),B=_(null),K=S(()=>n.value?Hs(C.value,n.value):void 0);ie(a,()=>{var Ue;e.state&&(I(!1),e.props.tableLayout==="auto"&&((Ue=e.refs.tableHeaderRef)==null||Ue.updateFixedColumnStyle()))},{deep:!0});const Y=()=>{if(!n.value)throw new Error("[ElTable] prop row-key is required")},z=Ue=>{var rt;(rt=Ue.children)==null||rt.forEach(mt=>{mt.fixed=Ue.fixed,z(mt)})},P=()=>{s.value.forEach(Re=>{z(Re)}),c.value=s.value.filter(Re=>[!0,"left"].includes(Re.fixed));const Ue=s.value.find(Re=>Re.type==="selection");let rt;Ue&&Ue.fixed!=="right"&&!c.value.includes(Ue)&&s.value.indexOf(Ue)===0&&c.value.length&&(c.value.unshift(Ue),rt=!0),d.value=s.value.filter(Re=>Re.fixed==="right");const mt=s.value.filter(Re=>(rt?Re.type!=="selection":!0)&&!Re.fixed);r.value=Array.from(c.value).concat(mt).concat(d.value);const de=qu(mt),Fe=qu(c.value),ce=qu(d.value);v.value=de.length,m.value=Fe.length,y.value=ce.length,u.value=Array.from(Fe).concat(de).concat(ce),l.value=c.value.length>0||d.value.length>0},I=(Ue,rt=!1)=>{Ue&&P(),rt?e.state.doLayout():e.state.debouncedUpdateLayout()},L=Ue=>K.value?!!K.value[Ln(Ue,n.value)]:C.value.includes(Ue),D=()=>{b.value=!1;const Ue=C.value;C.value=[],Ue.length&&e.emit("selection-change",[])},V=()=>{var rt,mt;let Ue;if(n.value){Ue=[];const de=(mt=(rt=e==null?void 0:e.store)==null?void 0:rt.states)==null?void 0:mt.childrenColumnName.value,Fe=Hs(a.value,n.value,!0,de);for(const ce in K.value)Tt(K.value,ce)&&!Fe[ce]&&Ue.push(K.value[ce].row)}else Ue=C.value.filter(de=>!a.value.includes(de));if(Ue.length){const de=C.value.filter(Fe=>!Ue.includes(Fe));C.value=de,e.emit("selection-change",de.slice())}},U=()=>(C.value||[]).slice(),W=(Ue,rt,mt=!0,de=!1)=>{var ce,Re,vt,Vt;const Fe={children:(Re=(ce=e==null?void 0:e.store)==null?void 0:ce.states)==null?void 0:Re.childrenColumnName.value,checkStrictly:(Vt=(vt=e==null?void 0:e.store)==null?void 0:vt.states)==null?void 0:Vt.checkStrictly.value};if(_c(C.value,Ue,rt,Fe,de?void 0:E.value,a.value.indexOf(Ue),n.value)){const qt=(C.value||[]).slice();mt&&e.emit("select",qt,Ue),e.emit("selection-change",qt)}},X=()=>{var Re,vt;const Ue=k.value?!b.value:!(b.value||C.value.length);b.value=Ue;let rt=!1,mt=0;const de=(vt=(Re=e==null?void 0:e.store)==null?void 0:Re.states)==null?void 0:vt.rowKey.value,{childrenColumnName:Fe}=e.store.states,ce={children:Fe.value,checkStrictly:!1};a.value.forEach((Vt,qt)=>{const Oe=qt+mt;_c(C.value,Vt,Ue,ce,E.value,Oe,de)&&(rt=!0),mt+=fe(Ln(Vt,de))}),rt&&e.emit("selection-change",C.value?C.value.slice():[]),e.emit("select-all",(C.value||[]).slice())},J=()=>{var ce;if(((ce=a.value)==null?void 0:ce.length)===0){b.value=!1;return}const{childrenColumnName:Ue}=e.store.states;let rt=0,mt=0;const de=Re=>{var vt;for(const Vt of Re){const qt=E.value&&E.value.call(null,Vt,rt);if(L(Vt))mt++;else if(!E.value||qt)return!1;if(rt++,(vt=Vt[Ue.value])!=null&&vt.length&&!de(Vt[Ue.value]))return!1}return!0},Fe=de(a.value||[]);b.value=mt===0?!1:Fe},fe=Ue=>{var Fe;if(!e||!e.store)return 0;const{treeData:rt}=e.store.states;let mt=0;const de=(Fe=rt.value[Ue])==null?void 0:Fe.children;return de&&(mt+=de.length,de.forEach(ce=>{mt+=fe(ce)})),mt},ue=(Ue,rt)=>{const mt={};return En(Ue).forEach(de=>{O.value[de.id]=rt,mt[de.columnKey||de.id]=rt}),mt},he=(Ue,rt,mt)=>{T.value&&T.value!==Ue&&(T.value.order=null),T.value=Ue,A.value=rt,R.value=mt},re=()=>{let Ue=i(o);Object.keys(O.value).forEach(rt=>{const mt=O.value[rt];if(!mt||mt.length===0)return;const de=Dk({columns:u.value},rt);de&&de.filterMethod&&(Ue=Ue.filter(Fe=>mt.some(ce=>de.filterMethod.call(null,ce,Fe,de))))}),M.value=Ue},te=()=>{a.value=lj(M.value??[],{sortingColumn:T.value,sortProp:A.value,sortOrder:R.value})},ee=(Ue=void 0)=>{Ue!=null&&Ue.filter||re(),te()},H=Ue=>{const{tableHeaderRef:rt}=e.refs;if(!rt)return;const mt=Object.assign({},rt.filterPanels),de=Object.keys(mt);if(de.length)if(De(Ue)&&(Ue=[Ue]),be(Ue)){const Fe=Ue.map(ce=>GW({columns:u.value},ce));de.forEach(ce=>{const Re=Fe.find(vt=>vt.id===ce);Re&&(Re.filteredValue=[])}),e.store.commit("filterChange",{column:Fe,values:[],silent:!0,multi:!0})}else de.forEach(Fe=>{const ce=u.value.find(Re=>Re.id===Fe);ce&&(ce.filteredValue=[])}),O.value={},e.store.commit("filterChange",{column:{},values:[],silent:!0})},Z=()=>{T.value&&(he(null,null,null),e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:se,toggleRowExpansion:pe,updateExpandRows:ge,states:ye,isRowExpanded:Ne}=nj({data:a,rowKey:n}),{updateTreeExpandKeys:_e,toggleTreeExpansion:Me,updateTreeData:me,updateKeyChildren:Te,loadOrToggle:we,states:Ie}=oj({data:a,rowKey:n}),{updateCurrentRowData:Ve,updateCurrentRow:Xe,setCurrentRowKey:$e,states:Pe}=aj({data:a,rowKey:n});return{assertRowKey:Y,updateColumns:P,scheduleLayout:I,isSelected:L,clearSelection:D,cleanSelection:V,getSelectionRows:U,toggleRowSelection:W,_toggleAllSelection:X,toggleAllSelection:null,updateAllSelected:J,updateFilters:ue,updateCurrentRow:Xe,updateSort:he,execFilter:re,execSort:te,execQuery:ee,clearFilter:H,clearSort:Z,toggleRowExpansion:pe,setExpandRowKeysAdapter:Ue=>{se(Ue),_e(Ue)},setCurrentRowKey:$e,toggleRowExpansionAdapter:(Ue,rt)=>{u.value.some(({type:mt})=>mt==="expand")?pe(Ue,rt):Me(Ue,rt)},isRowExpanded:Ne,updateExpandRows:ge,updateCurrentRowData:Ve,loadOrToggle:we,updateTreeData:me,updateKeyChildren:Te,states:{tableSize:t,rowKey:n,data:a,_data:o,isComplex:l,_columns:s,originColumns:r,columns:u,fixedColumns:c,rightFixedColumns:d,leafColumns:f,fixedLeafColumns:h,rightFixedLeafColumns:g,updateOrderFns:p,leafColumnsLength:v,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:y,isAllSelected:b,selection:C,reserveSelection:w,selectOnIndeterminate:k,selectable:E,rowExpandable:$,filters:O,filteredData:M,sortingColumn:T,sortProp:A,sortOrder:R,hoverRow:B,...ye,...Ie,...Pe}}}function Mp(e,t){return e.map(n=>{var a;return n.id===t.id?t:((a=n.children)!=null&&a.length&&(n.children=Mp(n.children,t)),n)})}function Ip(e){e.forEach(t=>{var n,a;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(a=t.children)!=null&&a.length&&Ip(t.children)}),e.sort((t,n)=>t.no-n.no)}function rj(){const e=ct(),t=sj(),n=ve("table"),{t:a}=St();return{ns:n,t:a,...t,mutations:{setData(r,u){const c=i(r._data)!==u;r.data.value=u,r._data.value=u,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),i(r.reserveSelection)?e.store.assertRowKey():c?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(r,u,c,d){var g;const f=i(r._columns);let h=[];c?(c&&!c.children&&(c.children=[]),(g=c.children)==null||g.push(u),h=Mp(f,c)):(f.push(u),h=f),Ip(h),r._columns.value=h,r.updateOrderFns.push(d),u.type==="selection"&&(r.selectable.value=u.selectable,r.reserveSelection.value=u.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(r,u){var c;((c=u.getColumnIndex)==null?void 0:c.call(u))!==u.no&&(Ip(r._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(r,u,c,d){var g;const f=i(r._columns)||[];if(c)(g=c.children)==null||g.splice(c.children.findIndex(p=>p.id===u.id),1),Ae(()=>{var p;((p=c.children)==null?void 0:p.length)===0&&delete c.children}),r._columns.value=Mp(f,c);else{const p=f.indexOf(u);p>-1&&(f.splice(p,1),r._columns.value=f)}const h=r.updateOrderFns.indexOf(d);h>-1&&r.updateOrderFns.splice(h,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(r,u){const{prop:c,order:d,init:f}=u;if(c){const h=i(r.columns).find(g=>g.property===c);h&&(h.order=d,e.store.updateSort(h,c,d),e.store.commit("changeSortCondition",{init:f}))}},changeSortCondition(r,u){const{sortingColumn:c,sortProp:d,sortOrder:f}=r,h=i(c),g=i(d),p=i(f);ld(p)&&(r.sortingColumn.value=null,r.sortProp.value=null),e.store.execQuery({filter:!0}),(!u||!(u.silent||u.init))&&e.emit("sort-change",{column:h,prop:g,order:p}),e.store.updateTableScrollY()},filterChange(r,u){const{column:c,values:d,silent:f}=u,h=e.store.updateFilters(c,d);e.store.execQuery(),f||e.emit("filter-change",h),e.store.updateTableScrollY()},toggleAllSelection(){var r,u;(u=(r=e.store).toggleAllSelection)==null||u.call(r)},rowSelectedChanged(r,u){e.store.toggleRowSelection(u),e.store.updateAllSelected()},setHoverRow(r,u){r.hoverRow.value=u},setCurrentRow(r,u){e.store.updateCurrentRow(u)}},commit:function(r,...u){const c=e.store.mutations;if(c[r])c[r].apply(e,[e.store.states,...u]);else throw new Error(`Action not found: ${r}`)},updateTableScrollY:function(){Ae(()=>e.layout.updateScrollY.apply(e.layout))}}}const Ah={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function ij(e,t){if(!e)throw new Error("Table is required.");const n=rj();return n.toggleAllSelection=yo(n._toggleAllSelection,10),Object.keys(Ah).forEach(a=>{Hk(Kk(t,a),a,n)}),uj(n,t),n}function uj(e,t){Object.keys(Ah).forEach(n=>{ie(()=>Kk(t,n),a=>{Hk(a,n,e)})})}function Hk(e,t,n){let a=e,o=Ah[t];nt(o)&&(a=a||o.default,o=o.key),n.states[o].value=a}function Kk(e,t){if(t.includes(".")){const n=t.split(".");let a=e;return n.forEach(o=>{a=a[o]}),a}else return e[t]}var cj=class{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=_(null),this.scrollX=_(!1),this.scrollY=_(!1),this.bodyWidth=_(null),this.fixedWidth=_(null),this.rightFixedWidth=_(null),this.gutterWidth=0;for(const t in e)Tt(e,t)&&(Yt(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const e=this.height.value;if(ld(e))return!1;const t=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(t!=null&&t.wrapRef)){let n=!0;const a=this.scrollY.value;return n=t.wrapRef.scrollHeight>t.wrapRef.clientHeight,this.scrollY.value=n,a!==n}return!1}setHeight(e,t="height"){if(!Nt)return;const n=this.table.vnode.el;if(e=ZW(e),this.height.value=Number(e),!n&&(e||e===0)){Ae(()=>this.setHeight(e,t));return}n&&Ke(e)?(n.style[t]=`${e}px`,this.updateElsHeight()):n&&De(e)&&(n.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach(t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;t.tagName!=="DIV";){if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}updateColumnsWidth(){var r;if(!Nt)return;const e=this.fit,t=(r=this.table.vnode.el)==null?void 0:r.clientWidth;let n=0;const a=this.getFlattenColumns(),o=a.filter(u=>!Ke(u.width));if(a.forEach(u=>{Ke(u.width)&&u.realWidth&&(u.realWidth=null)}),o.length>0&&e){if(a.forEach(u=>{n+=Number(u.width||u.minWidth||80)}),n<=t){this.scrollX.value=!1;const u=t-n;if(o.length===1)o[0].realWidth=Number(o[0].minWidth||80)+u;else{const c=u/o.reduce((f,h)=>f+Number(h.minWidth||80),0);let d=0;o.forEach((f,h)=>{if(h===0)return;const g=Math.floor(Number(f.minWidth||80)*c);d+=g,f.realWidth=Number(f.minWidth||80)+g}),o[0].realWidth=Number(o[0].minWidth||80)+u-d}}else this.scrollX.value=!0,o.forEach(u=>{u.realWidth=Number(u.minWidth)});this.bodyWidth.value=Math.max(n,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(u=>{!u.width&&!u.minWidth?u.realWidth=80:u.realWidth=Number(u.width||u.minWidth),n+=u.realWidth}),this.scrollX.value=n>t,this.bodyWidth.value=n;const l=this.store.states.fixedColumns.value;if(l.length>0){let u=0;l.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.fixedWidth.value=u}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let u=0;s.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=u}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);t!==-1&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach(t=>{var n,a;switch(e){case"columns":(n=t.state)==null||n.onColumnsChange(this);break;case"scrollable":(a=t.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}};const Ja=Symbol("ElTable"),Wk=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,Wk(n.children))):t.push(n)}),t},jk=e=>{let t=1;const n=(o,l)=>{if(l&&(o.level=l.level+1,t{n(r,o),s+=r.colSpan}),o.colSpan=s}else o.colSpan=1};e.forEach(o=>{o.level=1,n(o,void 0)});const a=[];for(let o=0;o{o.children?(o.rowSpan=1,o.children.forEach(l=>l.isSubColumn=!0)):o.rowSpan=t-o.level+1,a[o.level-1].push(o)}),a};function dj(e){const t=Le(Ja),n=S(()=>jk(e.store.states.originColumns.value));return{isGroup:S(()=>{const l=n.value.length>1;return l&&t&&(t.state.isGroup.value=!0),l}),toggleAllSelection:l=>{l.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var fj=le({name:"ElTableFilterPanel",components:{ElCheckbox:Ya,ElCheckboxGroup:ph,ElScrollbar:Wa,ElTooltip:Mn,ElIcon:Be,ArrowDown:Eo,ArrowUp:md},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:Lt.appendTo},setup(e){const t=ct(),{t:n}=St(),a=ve("table-filter"),o=t==null?void 0:t.parent;e.column&&!o.filterPanels.value[e.column.id]&&(o.filterPanels.value[e.column.id]=t);const l=_(null),s=_(null),r=_(0),u=S(()=>e.column&&e.column.filters),c=S(()=>e.column&&e.column.filterClassName?`${a.b()} ${e.column.filterClassName}`:a.b()),d=S({get:()=>{var $;return((($=e.column)==null?void 0:$.filteredValue)||[])[0]},set:$=>{f.value&&(ia($)?f.value.splice(0,1):f.value.splice(0,1,$))}}),f=S({get(){return e.column?e.column.filteredValue||[]:[]},set($){var O;e.column&&((O=e.upDataColumn)==null||O.call(e,"filteredValue",$))}}),h=S(()=>e.column?e.column.filterMultiple:!0),g=$=>$.value===d.value,p=()=>{var $;($=l.value)==null||$.onClose()},v=()=>{b(f.value),p()},m=()=>{f.value=[],b(f.value),p()},y=($,O)=>{d.value=$,r.value=O,ia($)?b([]):b(f.value),p()},b=$=>{var O,M;(O=e.store)==null||O.commit("filterChange",{column:e.column,values:$}),(M=e.store)==null||M.updateAllSelected()},C=()=>{var $,O;($=s.value)==null||$.focus(),!h.value&&k(),e.column&&((O=e.upDataColumn)==null||O.call(e,"filterOpened",!0))},w=()=>{var $;e.column&&(($=e.upDataColumn)==null||$.call(e,"filterOpened",!1))},k=()=>{if(ia(d)){r.value=0;return}const $=(u.value||[]).findIndex(O=>O.value===d.value);r.value=$>=0?$+1:0};return{multiple:h,filterClassName:c,filteredValue:f,filterValue:d,filters:u,handleConfirm:v,handleReset:m,handleSelect:y,isPropAbsent:ia,isActive:g,t:n,ns:a,tooltipRef:l,rootRef:s,checkedIndex:r,handleShowTooltip:C,handleHideTooltip:w,handleKeydown:$=>{var R,B;const O=Ft($),M=(u.value?u.value.length:0)+1;let T=r.value,A=!0;switch(O){case Ce.down:case Ce.right:T=(T+1)%M;break;case Ce.up:case Ce.left:T=(T-1+M)%M;break;case Ce.tab:p(),A=!1;break;case Ce.enter:case Ce.space:if(T===0)y(null,0);else{const K=(u.value||[])[T-1];K.value&&y(K.value,T)}break;default:A=!1;break}A&&$.preventDefault(),r.value=T,(B=(R=s.value)==null?void 0:R.querySelector(`.${a.e("list-item")}:nth-child(${T+1})`))==null||B.focus()}}}});const pj=["disabled"],vj=["tabindex","aria-checked"],hj=["tabindex","aria-checked","onClick"],mj=["aria-label"];function gj(e,t,n,a,o,l){const s=$t("el-checkbox"),r=$t("el-checkbox-group"),u=$t("el-scrollbar"),c=$t("arrow-up"),d=$t("arrow-down"),f=$t("el-icon"),h=$t("el-tooltip");return x(),oe(h,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:Q(()=>[e.multiple?(x(),F("div",{key:0,ref:"rootRef",tabindex:"-1",class:N(e.ns.e("multiple"))},[j("div",{class:N(e.ns.e("content"))},[q(u,{"wrap-class":e.ns.e("wrap")},{default:Q(()=>[q(r,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=g=>e.filteredValue=g),class:N(e.ns.e("checkbox-group"))},{default:Q(()=>[(x(!0),F(He,null,yt(e.filters,g=>(x(),oe(s,{key:g.value,value:g.value},{default:Q(()=>[bt(ke(g.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),j("div",{class:N(e.ns.e("bottom"))},[j("button",{class:N(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...g)=>e.handleConfirm&&e.handleConfirm(...g))},ke(e.t("el.table.confirmFilter")),11,pj),j("button",{type:"button",onClick:t[2]||(t[2]=(...g)=>e.handleReset&&e.handleReset(...g))},ke(e.t("el.table.resetFilter")),1)],2)],2)):(x(),F("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:N(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...g)=>e.handleKeydown&&e.handleKeydown(...g))},[j("li",{role:"radio",class:N([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=g=>e.handleSelect(null,0))},ke(e.t("el.table.clearFilter")),11,vj),(x(!0),F(He,null,yt(e.filters,(g,p)=>(x(),F("li",{key:g.value,role:"radio",class:N([e.ns.e("list-item"),e.ns.is("active",e.isActive(g))]),tabindex:e.checkedIndex===p+1?0:-1,"aria-checked":e.isActive(g),onClick:v=>e.handleSelect(g.value,p+1)},ke(g.text),11,hj))),128))],34))]),default:Q(()=>{var g;return[j("button",{type:"button",class:N(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((g=e.column)==null?void 0:g.label)||""})},[q(f,null,{default:Q(()=>[ne(e.$slots,"filter-icon",{},()=>{var p;return[(p=e.column)!=null&&p.filterOpened?(x(),oe(c,{key:0})):(x(),oe(d,{key:1}))]})]),_:3})],10,mj)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var yj=Cn(fj,[["render",gj]]);function _h(e){const t=ct();qc(()=>{n.value.addObserver(t)}),ft(()=>{a(n.value),o(n.value)}),Ua(()=>{a(n.value),o(n.value)}),cr(()=>{n.value.removeObserver(t)});const n=S(()=>{const l=e.layout;if(!l)throw new Error("Can not find table layout.");return l}),a=l=>{var c;const s=((c=e.vnode.el)==null?void 0:c.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const r=l.getFlattenColumns(),u={};r.forEach(d=>{u[d.id]=d});for(let d=0,f=s.length;d{var u,c;const s=((u=e.vnode.el)==null?void 0:u.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,f=s.length;d{v.stopPropagation()},l=(v,m)=>{!m.filters&&m.sortable?p(v,m,!1):m.filterable&&!m.sortable&&o(v),a==null||a.emit("header-click",m,v)},s=(v,m)=>{a==null||a.emit("header-contextmenu",m,v)},r=_(null),u=_(!1),c=_(),d=(v,m)=>{var y,b,C;if(Nt&&!(m.children&&m.children.length>0)&&r.value&&e.border&&r.value.id===m.id){u.value=!0;const w=a;t("set-drag-visible",!0);const k=(y=w==null?void 0:w.vnode.el)==null?void 0:y.getBoundingClientRect().left,E=(C=(b=n==null?void 0:n.vnode)==null?void 0:b.el)==null?void 0:C.querySelector(`th.${m.id}`),$=E.getBoundingClientRect(),O=$.left-k+30;Ea(E,"noclick"),c.value={startMouseLeft:v.clientX,startLeft:$.right-k,startColumnLeft:$.left-k,tableLeft:k};const M=w==null?void 0:w.refs.resizeProxy;M.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const T=R=>{const B=R.clientX-c.value.startMouseLeft,K=c.value.startLeft+B;M.style.left=`${Math.max(O,K)}px`},A=()=>{if(u.value){const{startColumnLeft:R,startLeft:B}=c.value;m.width=m.realWidth=Number.parseInt(M.style.left,10)-R,w==null||w.emit("header-dragend",m.width,B-R,m,v),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",u.value=!1,r.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",A),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Gn(E,"noclick")},0)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",A)}},f=(v,m)=>{var M;if(!e.border||m.children&&m.children.length>0)return;const y=v.target,b=ra(y)?y.closest("th"):null;if(!b)return;const C=fo(b,"is-sortable");if(C){const T=u.value?"col-resize":"";b.style.cursor=T;const A=b.querySelector(".caret-wrapper");A&&(A.style.cursor=T)}if(!m.resizable||u.value){r.value=null;return}const w=b.getBoundingClientRect(),k=((M=b.parentNode)==null?void 0:M.lastElementChild)===b,E=e.allowDragLastColumn||!k,$=w.width>12&&w.right-v.clientX<8&&E,O=$?"col-resize":"";document.body.style.cursor=O,r.value=$?m:null,C&&(b.style.cursor=O)},h=()=>{!Nt||u.value||(document.body.style.cursor="")},g=({order:v,sortOrders:m})=>{if(v==="")return m[0];const y=m.indexOf(v||null);return m[y>m.length-2?0:y+1]},p=(v,m,y)=>{var M;v.stopPropagation();const b=m.order===y?null:y||g(m),C=(M=v.target)==null?void 0:M.closest("th");if(C&&fo(C,"noclick")){Gn(C,"noclick");return}if(!m.sortable)return;const w=v.currentTarget;if(["ascending","descending"].some(T=>fo(w,T)&&!m.sortOrders.includes(T)))return;const k=e.store.states;let E=k.sortProp.value,$;const O=k.sortingColumn.value;(O!==m||O===m&&ld(O.order))&&(O&&(O.order=null),k.sortingColumn.value=m,E=m.property),b?$=m.order=b:$=m.order=null,k.sortProp.value=E,k.sortOrder.value=$,a==null||a.store.commit("changeSortCondition")};return{handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:d,handleMouseMove:f,handleMouseOut:h,handleSortClick:p,handleFilterClick:o}}function wj(e){const t=Le(Ja),n=ve("table");return{getHeaderRowStyle:r=>{const u=t==null?void 0:t.props.headerRowStyle;return ze(u)?u.call(null,{rowIndex:r}):u},getHeaderRowClass:r=>{const u=[],c=t==null?void 0:t.props.headerRowClassName;return De(c)?u.push(c):ze(c)&&u.push(c.call(null,{rowIndex:r})),u.join(" ")},getHeaderCellStyle:(r,u,c,d)=>{let f=(t==null?void 0:t.props.headerCellStyle)??{};ze(f)&&(f=f.call(null,{rowIndex:r,columnIndex:u,row:c,column:d}));const h=Rh(u,d.fixed,e.store,c);return ir(h,"left"),ir(h,"right"),Object.assign({},f,h)},getHeaderCellClass:(r,u,c,d)=>{const f=Ph(n.b(),u,d.fixed,e.store,c),h=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...f];d.children||h.push("is-leaf"),d.sortable&&h.push("is-sortable");const g=t==null?void 0:t.props.headerCellClassName;return De(g)?h.push(g):ze(g)&&h.push(g.call(null,{rowIndex:r,columnIndex:u,row:c,column:d})),h.push(n.e("cell")),h.filter(p=>!!p).join(" ")}}}var Cj=le({name:"ElTableHeader",components:{ElCheckbox:Ya},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=ct(),a=Le(Ja),o=ve("table"),l=_({}),{onColumnsChange:s,onScrollableChange:r}=_h(a),u=(a==null?void 0:a.props.tableLayout)==="auto",c=It(new Map),d=_();let f;const h=()=>{f=setTimeout(()=>{c.size>0&&(c.forEach((R,B)=>{const K=d.value.querySelector(`.${B.replace(/\s/g,".")}`);K&&(R.width=K.getBoundingClientRect().width||R.width)}),c.clear())})};ie(c,h),Rt(()=>{f&&(clearTimeout(f),f=void 0)}),ft(async()=>{await Ae(),await Ae();const{prop:R,order:B}=e.defaultSort;a==null||a.store.commit("sort",{prop:R,order:B,init:!0}),h()});const{handleHeaderClick:g,handleHeaderContextMenu:p,handleMouseDown:v,handleMouseMove:m,handleMouseOut:y,handleSortClick:b,handleFilterClick:C}=bj(e,t),{getHeaderRowStyle:w,getHeaderRowClass:k,getHeaderCellStyle:E,getHeaderCellClass:$}=wj(e),{isGroup:O,toggleAllSelection:M,columnRows:T}=dj(e),{t:A}=St();return n.state={onColumnsChange:s,onScrollableChange:r},n.filterPanels=l,{ns:o,t:A,filterPanels:l,onColumnsChange:s,onScrollableChange:r,columnRows:T,getHeaderRowClass:k,getHeaderRowStyle:w,getHeaderCellClass:$,getHeaderCellStyle:E,handleHeaderClick:g,handleHeaderContextMenu:p,handleMouseDown:v,handleMouseMove:m,handleMouseOut:y,handleSortClick:b,handleFilterClick:C,isGroup:O,toggleAllSelection:M,saveIndexSelection:c,isTableLayoutAuto:u,theadRef:d,updateFixedColumnStyle:h}},render(){const{ns:e,t,isGroup:n,columnRows:a,getHeaderCellStyle:o,getHeaderCellClass:l,getHeaderRowClass:s,getHeaderRowStyle:r,handleHeaderClick:u,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:f,handleSortClick:h,handleMouseOut:g,store:p,$parent:v,saveIndexSelection:m,isTableLayoutAuto:y}=this;let b=1;return Ge("thead",{ref:"theadRef",class:e.is("group",n)},a.map((C,w)=>Ge("tr",{class:s(w),key:w,style:r(w)},C.map((k,E)=>{k.rowSpan>b&&(b=k.rowSpan);const $=l(w,E,C,k);return y&&k.fixed&&m.set($,k),Ge("th",{class:$,colspan:k.colSpan,key:`${k.id}-thead`,rowspan:k.rowSpan,scope:k.colSpan>1?"colgroup":"col",ariaSort:k.sortable?k.order:void 0,style:o(w,E,C,k),onClick:O=>{var M;(M=O.currentTarget)!=null&&M.classList.contains("noclick")||u(O,k)},onContextmenu:O=>c(O,k),onMousedown:O=>d(O,k),onMousemove:O=>f(O,k),onMouseout:g},[Ge("div",{class:["cell",k.filteredValue&&k.filteredValue.length>0?"highlight":""]},[k.renderHeader?k.renderHeader({column:k,$index:E,store:p,_self:v}):k.label,k.sortable&&Ge("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:k.label||""}),onClick:O=>h(O,k)},[Ge("i",{onClick:O=>h(O,k,"ascending"),class:"sort-caret ascending"}),Ge("i",{onClick:O=>h(O,k,"descending"),class:"sort-caret descending"})]),k.filterable&&Ge(yj,{store:p,placement:k.filterPlacement||"bottom-start",appendTo:v==null?void 0:v.appendFilterPanelTo,column:k,upDataColumn:(O,M)=>{k[O]=M}},{"filter-icon":()=>k.renderFilterIcon?k.renderFilterIcon({filterOpened:k.filterOpened}):null})])])}))))}});function yf(e,t,n=.03){return e-t>n}function Sj(e){const t=Le(Ja),n=_(""),a=_(Ge("div")),o=(p,v,m)=>{var k,E;const y=t,b=gf(p);let C=null;const w=(k=y==null?void 0:y.vnode.el)==null?void 0:k.dataset.prefix;b&&(C=db({columns:((E=e.store)==null?void 0:E.states.columns.value)??[]},b,w),C&&(y==null||y.emit(`cell-${m}`,v,C,b,p))),y==null||y.emit(`row-${m}`,v,C,p)},l=(p,v)=>{o(p,v,"dblclick")},s=(p,v)=>{var m;(m=e.store)==null||m.commit("setCurrentRow",v),o(p,v,"click")},r=(p,v)=>{o(p,v,"contextmenu")},u=yo(p=>{var v;(v=e.store)==null||v.commit("setHoverRow",p)},30),c=yo(()=>{var p;(p=e.store)==null||p.commit("setHoverRow",null)},30),d=p=>{const v=window.getComputedStyle(p,null);return{left:Number.parseInt(v.paddingLeft,10)||0,right:Number.parseInt(v.paddingRight,10)||0,top:Number.parseInt(v.paddingTop,10)||0,bottom:Number.parseInt(v.paddingBottom,10)||0}},f=(p,v,m)=>{var b;let y=(b=v==null?void 0:v.target)==null?void 0:b.parentNode;for(;p>1&&(y=y==null?void 0:y.nextSibling,!(!y||y.nodeName!=="TR"));)m(y,"hover-row hover-fixed-row"),p--};return{handleDoubleClick:l,handleClick:s,handleContextMenu:r,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(p,v,m)=>{var P,I,L;if(!t)return;const y=t,b=gf(p),C=(P=y==null?void 0:y.vnode.el)==null?void 0:P.dataset.prefix;let w=null;if(b){if(w=db({columns:((I=e.store)==null?void 0:I.states.columns.value)??[]},b,C),!w)return;b.rowSpan>1&&f(b.rowSpan,p,Ea);const D=y.hoverState={cell:b,column:w,row:v};y==null||y.emit("cell-mouse-enter",D.row,D.column,D.cell,p)}if(!m){(an==null?void 0:an.trigger)===b&&(an==null||an());return}const k=p.target.querySelector(".cell");if(!(fo(k,`${C}-tooltip`)&&k.childNodes.length&&((L=k.textContent)!=null&&L.trim())))return;const E=document.createRange();E.setStart(k,0),E.setEnd(k,k.childNodes.length);const{width:$,height:O}=E.getBoundingClientRect(),{width:M,height:T}=k.getBoundingClientRect(),{top:A,left:R,right:B,bottom:K}=d(k),Y=R+B,z=A+K;yf($+Y,M)||yf(O+z,T)||yf(k.scrollWidth,M)?tj(m,((b==null?void 0:b.innerText)||(b==null?void 0:b.textContent))??"",v,w,b,y):(an==null?void 0:an.trigger)===b&&(an==null||an())},handleCellMouseLeave:p=>{const v=gf(p);if(!v)return;v.rowSpan>1&&f(v.rowSpan,p,Gn);const m=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",m==null?void 0:m.row,m==null?void 0:m.column,m==null?void 0:m.cell,p)},tooltipContent:n,tooltipTrigger:a}}function kj(e){const t=Le(Ja),n=ve("table");return{getRowStyle:(c,d)=>{const f=t==null?void 0:t.props.rowStyle;return ze(f)?f.call(null,{row:c,rowIndex:d}):f||null},getRowClass:(c,d,f)=>{var p;const h=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&c===((p=e.store)==null?void 0:p.states.currentRow.value)&&h.push("current-row"),e.stripe&&f%2===1&&h.push(n.em("row","striped"));const g=t==null?void 0:t.props.rowClassName;return De(g)?h.push(g):ze(g)&&h.push(g.call(null,{row:c,rowIndex:d})),h},getCellStyle:(c,d,f,h)=>{const g=t==null?void 0:t.props.cellStyle;let p=g??{};ze(g)&&(p=g.call(null,{rowIndex:c,columnIndex:d,row:f,column:h}));const v=Rh(d,e==null?void 0:e.fixed,e.store);return ir(v,"left"),ir(v,"right"),Object.assign({},p,v)},getCellClass:(c,d,f,h,g)=>{const p=Ph(n.b(),d,e==null?void 0:e.fixed,e.store,void 0,g),v=[h.id,h.align,h.className,...p],m=t==null?void 0:t.props.cellClassName;return De(m)?v.push(m):ze(m)&&v.push(m.call(null,{rowIndex:c,columnIndex:d,row:f,column:h})),v.push(n.e("cell")),v.filter(y=>!!y).join(" ")},getSpan:(c,d,f,h)=>{let g=1,p=1;const v=t==null?void 0:t.props.spanMethod;if(ze(v)){const m=v({row:c,column:d,rowIndex:f,columnIndex:h});be(m)?(g=m[0],p=m[1]):nt(m)&&(g=m.rowspan,p=m.colspan)}return{rowspan:g,colspan:p}},getColspanRealWidth:(c,d,f)=>{if(d<1)return c[f].realWidth;const h=c.map(({realWidth:g,width:p})=>g||p).slice(f,f+d);return Number(h.reduce((g,p)=>Number(g)+Number(p),-1))}}}const Ej=["colspan","rowspan"];var xj=le({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(x(),F("td",{colspan:e.colspan,rowspan:e.rowspan},[ne(t.$slots,"default")],8,Ej))}}),Tj=xj;function $j(e){const t=Le(Ja),n=ve("table"),{handleDoubleClick:a,handleClick:o,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:r,handleCellMouseEnter:u,handleCellMouseLeave:c,tooltipContent:d,tooltipTrigger:f}=Sj(e),{getRowStyle:h,getRowClass:g,getCellStyle:p,getCellClass:v,getSpan:m,getColspanRealWidth:y}=kj(e);let b=-1;const C=S(()=>{var O;return(O=e.store)==null?void 0:O.states.columns.value.findIndex(({type:M})=>M==="default")}),w=(O,M)=>{var A;const T=(A=t==null?void 0:t.props)==null?void 0:A.rowKey;return T?Ln(O,T):M},k=(O,M,T,A=!1)=>{const{tooltipEffect:R,tooltipOptions:B,store:K}=e,{indent:Y,columns:z}=K.states,P=[];let I=!0;return T&&(P.push(n.em("row",`level-${T.level}`)),I=!!T.display),M===0&&(b=-1),e.stripe&&I&&b++,P.push(...g(O,M,b)),Ge("tr",{style:[I?null:{display:"none"},h(O,M)],class:P,key:w(O,M),onDblclick:L=>a(L,O),onClick:L=>o(L,O),onContextmenu:L=>l(L,O),onMouseenter:()=>s(M),onMouseleave:r},z.value.map((L,D)=>{const{rowspan:V,colspan:U}=m(O,L,M,D);if(!V||!U)return null;const W=Object.assign({},L);W.realWidth=y(z.value,U,D);const X={store:K,_self:e.context||t,column:W,row:O,$index:M,cellIndex:D,expanded:A};D===C.value&&T&&(X.treeNode={indent:T.level&&T.level*Y.value,level:T.level},Dt(T.expanded)&&(X.treeNode.expanded=T.expanded,"loading"in T&&(X.treeNode.loading=T.loading),"noLazyChildren"in T&&(X.treeNode.noLazyChildren=T.noLazyChildren)));const J=`${w(O,M)},${D}`,fe=W.columnKey||W.rawColumnKey||"",ue=L.showOverflowTooltip&&Xw({effect:R},B,L.showOverflowTooltip);return Ge(Tj,{style:p(M,D,O,L),class:v(M,D,O,L,U-1),key:`${fe}${J}`,rowspan:V,colspan:U,onMouseenter:he=>u(he,O,ue),onMouseleave:c},{default:()=>E(D,L,X)})}))},E=(O,M,T)=>M.renderCell(T);return{wrappedRowRender:(O,M)=>{const T=e.store,{isRowExpanded:A,assertRowKey:R}=T,{treeData:B,lazyTreeNodeMap:K,childrenColumnName:Y,rowKey:z}=T.states,P=T.states.columns.value;if(P.some(({type:I})=>I==="expand")){const I=A(O),L=k(O,M,void 0,I),D=t==null?void 0:t.renderExpanded;if(!D)return console.error("[Element Error]renderExpanded is required."),L;const V=[[L]];return(t.props.preserveExpandedContent||I)&&V[0].push(Ge("tr",{key:`expanded-row__${L.key}`,style:{display:I?"":"none"}},[Ge("td",{colspan:P.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[D({row:O,$index:M,store:T,expanded:I})])])),V}else if(Object.keys(B.value).length){R();const I=Ln(O,z.value);let L=B.value[I],D=null;L&&(D={expanded:L.expanded,level:L.level,display:!0,noLazyChildren:void 0,loading:void 0},Dt(L.lazy)&&(D&&Dt(L.loaded)&&L.loaded&&(D.noLazyChildren=!(L.children&&L.children.length)),D.loading=L.loading));const V=[k(O,M,D??void 0)];if(L){let U=0;const W=(X,J)=>{X&&X.length&&J&&X.forEach(fe=>{const ue={display:J.display&&J.expanded,level:J.level+1,expanded:!1,noLazyChildren:!1,loading:!1},he=Ln(fe,z.value);if(ia(he))throw new Error("For nested data item, row-key is required.");L={...B.value[he]},L&&(ue.expanded=L.expanded,L.level=L.level||ue.level,L.display=!!(L.expanded&&ue.display),Dt(L.lazy)&&(Dt(L.loaded)&&L.loaded&&(ue.noLazyChildren=!(L.children&&L.children.length)),ue.loading=L.loading)),U++,V.push(k(fe,M+U,ue)),L&&W(K.value[he]||fe[Y.value],L)})};L.display=!0,W(K.value[I]||O[Y.value],L)}return V}else return k(O,M,void 0)},tooltipContent:d,tooltipTrigger:f}}const Oj={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var Nj=le({name:"ElTableBody",props:Oj,setup(e){var d;const t=ct(),n=Le(Ja),a=ve("table"),{wrappedRowRender:o,tooltipContent:l,tooltipTrigger:s}=$j(e),{onColumnsChange:r,onScrollableChange:u}=_h(n),c=[];return ie((d=e.store)==null?void 0:d.states.hoverRow,(f,h)=>{var y,b;const g=t==null?void 0:t.vnode.el,p=Array.from((g==null?void 0:g.children)||[]).filter(C=>C==null?void 0:C.classList.contains(`${a.e("row")}`));let v=f;const m=(y=p[v])==null?void 0:y.childNodes;if(m!=null&&m.length){let C=0;Array.from(m).reduce((w,k,E)=>{var $,O;return(($=m[E])==null?void 0:$.colSpan)>1&&(C=(O=m[E])==null?void 0:O.colSpan),k.nodeName!=="TD"&&C===0&&w.push(E),C>0&&C--,w},[]).forEach(w=>{var k;for(v=f;v>0;){const E=(k=p[v-1])==null?void 0:k.childNodes;if(E[w]&&E[w].nodeName==="TD"&&E[w].rowSpan>1){Ea(E[w],"hover-cell"),c.push(E[w]);break}v--}})}else c.forEach(C=>Gn(C,"hover-cell")),c.length=0;!((b=e.store)!=null&&b.states.isComplex.value)||!Nt||za(()=>{const C=p[h],w=p[f];C&&!C.classList.contains("hover-fixed-row")&&Gn(C,"hover-row"),w&&Ea(w,"hover-row")})}),cr(()=>{an==null||an()}),{ns:a,onColumnsChange:r,onScrollableChange:u,wrappedRowRender:o,tooltipContent:l,tooltipTrigger:s}},render(){const{wrappedRowRender:e,store:t}=this;return Ge("tbody",{tabIndex:-1},[((t==null?void 0:t.states.data.value)||[]).reduce((n,a)=>n.concat(e(a,n.length)),[])])}});function Mj(){var t;const e=(t=Le(Ja))==null?void 0:t.store;return{leftFixedLeafCount:S(()=>(e==null?void 0:e.states.fixedLeafColumnsLength.value)??0),rightFixedLeafCount:S(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columnsCount:S(()=>(e==null?void 0:e.states.columns.value.length)??0),leftFixedCount:S(()=>(e==null?void 0:e.states.fixedColumns.value.length)??0),rightFixedCount:S(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columns:S(()=>(e==null?void 0:e.states.columns.value)??[])}}function Ij(e){const{columns:t}=Mj(),n=ve("table");return{getCellClasses:(l,s)=>{const r=l[s],u=[n.e("cell"),r.id,r.align,r.labelClassName,...Ph(n.b(),s,r.fixed,e.store)];return r.className&&u.push(r.className),r.children||u.push(n.is("leaf")),u},getCellStyles:(l,s)=>{const r=Rh(s,l.fixed,e.store);return ir(r,"left"),ir(r,"right"),r},columns:t}}var Pj=le({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=Le(Ja),n=ve("table"),{getCellClasses:a,getCellStyles:o,columns:l}=Ij(e),{onScrollableChange:s,onColumnsChange:r}=_h(t);return{ns:n,onScrollableChange:s,onColumnsChange:r,getCellClasses:a,getCellStyles:o,columns:l}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:a,sumText:o}=this,l=this.store.states.data.value;let s=[];return a?s=a({columns:e,data:l}):e.forEach((r,u)=>{if(u===0){s[u]=o;return}const c=l.map(g=>Number(g[r.property])),d=[];let f=!0;c.forEach(g=>{if(!Number.isNaN(+g)){f=!1;const p=`${g}`.split(".")[1];d.push(p?p.length:0)}});const h=Math.max.apply(null,d);f?s[u]="":s[u]=c.reduce((g,p)=>{const v=Number(p);return Number.isNaN(+v)?g:Number.parseFloat((g+p).toFixed(Math.min(h,20)))},0)}),Ge(Ge("tfoot",[Ge("tr",{},[...e.map((r,u)=>Ge("td",{key:u,colspan:r.colSpan,rowspan:r.rowSpan,class:n(e,u),style:t(r,u)},[Ge("div",{class:["cell",r.labelClassName]},[s[u]])]))])]))}});function Rj(e){return{setCurrentRow:f=>{e.commit("setCurrentRow",f)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(f,h,g=!0)=>{e.toggleRowSelection(f,h,!1,g),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:f=>{e.clearFilter(f)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(f,h)=>{e.toggleRowExpansionAdapter(f,h)},clearSort:()=>{e.clearSort()},sort:(f,h)=>{e.commit("sort",{prop:f,order:h})},updateKeyChildren:(f,h)=>{e.updateKeyChildren(f,h)}}}function Aj(e,t,n,a){const o=_(!1),l=_(null),s=_(!1),r=Y=>{s.value=Y},u=_({width:null,height:null,headerHeight:null}),c=_(!1),d={display:"inline-block",verticalAlign:"middle"},f=_(),h=_(0),g=_(0),p=_(0),v=_(0),m=_(0);ie(()=>e.height,Y=>{t.setHeight(Y??null)},{immediate:!0}),ie(()=>e.maxHeight,Y=>{t.setMaxHeight(Y??null)},{immediate:!0}),ie(()=>[e.currentRowKey,n.states.rowKey],([Y,z])=>{!i(z)||!i(Y)||n.setCurrentRowKey(`${Y}`)},{immediate:!0}),ie(()=>e.data,Y=>{a.store.commit("setData",Y)},{immediate:!0,deep:!0}),da(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{a.store.commit("setHoverRow",null),a.hoverState&&(a.hoverState=null)},b=(Y,z)=>{const{pixelX:P,pixelY:I}=z;Math.abs(P)>=Math.abs(I)&&(a.refs.bodyWrapper.scrollLeft+=z.pixelX/5)},C=S(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),w=S(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),k=()=>{C.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(M)};ft(async()=>{await Ae(),n.updateColumns(),T(),requestAnimationFrame(k);const Y=a.vnode.el,z=a.refs.headerWrapper;e.flexible&&Y&&Y.parentElement&&(Y.parentElement.style.minWidth="0"),u.value={width:f.value=Y.offsetWidth,height:Y.offsetHeight,headerHeight:e.showHeader&&z?z.offsetHeight:null},n.states.columns.value.forEach(P=>{P.filteredValue&&P.filteredValue.length&&a.store.commit("filterChange",{column:P,values:P.filteredValue,silent:!0})}),a.$ready=!0});const E=(Y,z)=>{if(!Y)return;const P=Array.from(Y.classList).filter(I=>!I.startsWith("is-scrolling-"));P.push(t.scrollX.value?z:"is-scrolling-none"),Y.className=P.join(" ")},$=Y=>{const{tableWrapper:z}=a.refs;E(z,Y)},O=Y=>{const{tableWrapper:z}=a.refs;return!!(z&&z.classList.contains(Y))},M=function(){if(!a.refs.scrollBarRef)return;if(!t.scrollX.value){const V="is-scrolling-none";O(V)||$(V);return}const Y=a.refs.scrollBarRef.wrapRef;if(!Y)return;const{scrollLeft:z,offsetWidth:P,scrollWidth:I}=Y,{headerWrapper:L,footerWrapper:D}=a.refs;L&&(L.scrollLeft=z),D&&(D.scrollLeft=z),z>=I-P-1?$("is-scrolling-right"):$(z===0?"is-scrolling-left":"is-scrolling-middle")},T=()=>{a.refs.scrollBarRef&&(a.refs.scrollBarRef.wrapRef&&At(a.refs.scrollBarRef.wrapRef,"scroll",M,{passive:!0}),e.fit?Gt(a.vnode.el,A):At(window,"resize",A),Gt(a.refs.tableInnerWrapper,()=>{var Y,z;A(),(z=(Y=a.refs)==null?void 0:Y.scrollBarRef)==null||z.update()}))},A=()=>{var W,X,J,fe;const Y=a.vnode.el;if(!a.$ready||!Y)return;let z=!1;const{width:P,height:I,headerHeight:L}=u.value,D=f.value=Y.offsetWidth;P!==D&&(z=!0);const V=Y.offsetHeight;(e.height||C.value)&&I!==V&&(z=!0);const U=e.tableLayout==="fixed"?a.refs.headerWrapper:(W=a.refs.tableHeaderRef)==null?void 0:W.$el;e.showHeader&&(U==null?void 0:U.offsetHeight)!==L&&(z=!0),h.value=((X=a.refs.tableWrapper)==null?void 0:X.scrollHeight)||0,p.value=(U==null?void 0:U.scrollHeight)||0,v.value=((J=a.refs.footerWrapper)==null?void 0:J.offsetHeight)||0,m.value=((fe=a.refs.appendWrapper)==null?void 0:fe.offsetHeight)||0,g.value=h.value-p.value-v.value-m.value,z&&(u.value={width:D,height:V,headerHeight:e.showHeader&&(U==null?void 0:U.offsetHeight)||0},k())},R=yn(),B=S(()=>{const{bodyWidth:Y,scrollY:z,gutterWidth:P}=t;return Y.value?`${Y.value-(z.value?P:0)}px`:""}),K=S(()=>e.maxHeight?"fixed":e.tableLayout);return{isHidden:o,renderExpanded:l,setDragVisible:r,isGroup:c,handleMouseLeave:y,handleHeaderFooterMousewheel:b,tableSize:R,emptyBlockStyle:S(()=>{if(e.data&&e.data.length)return;let Y="100%";e.height&&g.value&&(Y=`${g.value}px`);const z=f.value;return{width:z?`${z}px`:"",height:Y}}),resizeProxyVisible:s,bodyWidth:B,resizeState:u,doLayout:k,tableBodyStyles:w,tableLayout:K,scrollbarViewStyle:d,scrollbarStyle:S(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+v.value}px)`}:{maxHeight:`${+e.maxHeight-p.value-v.value}px`}:{})}}function _j(e){let t;const n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),o={childList:!0,subtree:!0},l=e.store.states.updateOrderFns;t=new MutationObserver(()=>{l.forEach(s=>s())}),t.observe(a,o)};ft(()=>{n()}),cr(()=>{t==null||t.disconnect()})}var Lj={data:{type:Array,default:()=>[]},size:wn,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function Yk(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:o})=>kt(o))&&(n=[]);const a=o=>{const l={key:`${e.tableLayout}_${o.id}`,style:{},name:void 0};return t?l.style={width:`${o.width}px`}:l.name=o.id,l};return Ge("colgroup",{},n.map(o=>Ge("col",a(o))))}Yk.props=["columns","tableLayout"];const Dj=()=>{const e=_(),t=(l,s)=>{const r=e.value;r&&r.scrollTo(l,s)},n=(l,s)=>{const r=e.value;r&&Ke(s)&&["Top","Left"].includes(l)&&r[`setScroll${l}`](s)};return{scrollBarRef:e,scrollTo:t,setScrollTop:l=>n("Top",l),setScrollLeft:l=>n("Left",l)}};let Bj=1;var Vj=le({name:"ElTable",directives:{Mousewheel:$8},components:{TableHeader:Cj,TableBody:Nj,TableFooter:Pj,ElScrollbar:Wa,hColgroup:Yk},props:Lj,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=St(),n=ve("table"),a=al("table"),o=ct();wt(Ja,o);const l=ij(o,e);o.store=l;const s=new cj({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=s;const r=S(()=>(l.states.data.value||[]).length===0),{setCurrentRow:u,getSelectionRows:c,toggleRowSelection:d,clearSelection:f,clearFilter:h,toggleAllSelection:g,toggleRowExpansion:p,clearSort:v,sort:m,updateKeyChildren:y}=Rj(l),{isHidden:b,renderExpanded:C,setDragVisible:w,isGroup:k,handleMouseLeave:E,handleHeaderFooterMousewheel:$,tableSize:O,emptyBlockStyle:M,resizeProxyVisible:T,bodyWidth:A,resizeState:R,doLayout:B,tableBodyStyles:K,tableLayout:Y,scrollbarViewStyle:z,scrollbarStyle:P}=Aj(e,s,l,o),{scrollBarRef:I,scrollTo:L,setScrollLeft:D,setScrollTop:V}=Dj(),U=yo(B,50),W=`${n.namespace.value}-table_${Bj++}`;o.tableId=W,o.state={isGroup:k,resizeState:R,doLayout:B,debouncedUpdateLayout:U};const X=S(()=>e.sumText??t("el.table.sumText")),J=S(()=>e.emptyText??t("el.table.emptyText")),fe=S(()=>{var re;return e.tooltipEffect??((re=a.value)==null?void 0:re.tooltipEffect)}),ue=S(()=>{var re;return e.tooltipOptions??((re=a.value)==null?void 0:re.tooltipOptions)}),he=S(()=>jk(l.states.originColumns.value)[0]);return _j(o),Rt(()=>{U.cancel()}),{ns:n,layout:s,store:l,columns:he,handleHeaderFooterMousewheel:$,handleMouseLeave:E,tableId:W,tableSize:O,isHidden:b,isEmpty:r,renderExpanded:C,resizeProxyVisible:T,resizeState:R,isGroup:k,bodyWidth:A,tableBodyStyles:K,emptyBlockStyle:M,debouncedUpdateLayout:U,setCurrentRow:u,getSelectionRows:c,toggleRowSelection:d,clearSelection:f,clearFilter:h,toggleAllSelection:g,toggleRowExpansion:p,clearSort:v,doLayout:B,sort:m,updateKeyChildren:y,t,setDragVisible:w,context:o,computedSumText:X,computedEmptyText:J,computedTooltipEffect:fe,computedTooltipOptions:ue,tableLayout:Y,scrollbarViewStyle:z,scrollbarStyle:P,scrollBarRef:I,scrollTo:L,setScrollLeft:D,setScrollTop:V,allowDragLastColumn:e.allowDragLastColumn}}});const Fj=["data-prefix"],zj={ref:"hiddenColumns",class:"hidden-columns"};function Hj(e,t,n,a,o,l){const s=$t("hColgroup"),r=$t("table-header"),u=$t("table-body"),c=$t("table-footer"),d=$t("el-scrollbar"),f=sv("mousewheel");return x(),F("div",{ref:"tableWrapper",class:N([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:We(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...h)=>e.handleMouseLeave&&e.handleMouseLeave(...h))},[j("div",{ref:"tableInnerWrapper",class:N(e.ns.e("inner-wrapper"))},[j("div",zj,[ne(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?it((x(),F("div",{key:0,ref:"headerWrapper",class:N(e.ns.e("header-wrapper"))},[j("table",{ref:"tableHeader",class:N(e.ns.e("header")),style:We(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),q(r,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):ae("v-if",!0),j("div",{ref:"bodyWrapper",class:N(e.ns.e("body-wrapper"))},[q(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:t[0]||(t[0]=h=>e.$emit("scroll",h))},{default:Q(()=>[j("table",{ref:"tableBody",class:N(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:We({width:e.bodyWidth,tableLayout:e.tableLayout})},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(x(),oe(r,{key:0,ref:"tableHeaderRef",class:N(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ae("v-if",!0),q(u,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.computedTooltipEffect,"tooltip-options":e.computedTooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(x(),oe(c,{key:1,class:N(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ae("v-if",!0)],6),e.isEmpty?(x(),F("div",{key:0,ref:"emptyBlock",style:We(e.emptyBlockStyle),class:N(e.ns.e("empty-block"))},[j("span",{class:N(e.ns.e("empty-text"))},[ne(e.$slots,"empty",{},()=>[bt(ke(e.computedEmptyText),1)])],2)],6)):ae("v-if",!0),e.$slots.append?(x(),F("div",{key:1,ref:"appendWrapper",class:N(e.ns.e("append-wrapper"))},[ne(e.$slots,"append")],2)):ae("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&e.tableLayout==="fixed"?it((x(),F("div",{key:1,ref:"footerWrapper",class:N(e.ns.e("footer-wrapper"))},[j("table",{class:N(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:We(e.tableBodyStyles)},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),q(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Ot,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):ae("v-if",!0),e.border||e.isGroup?(x(),F("div",{key:2,class:N(e.ns.e("border-left-patch"))},null,2)):ae("v-if",!0)],2),it(j("div",{ref:"resizeProxy",class:N(e.ns.e("column-resize-proxy"))},null,2),[[Ot,e.resizeProxyVisible]])],46,Fj)}var Kj=Cn(Vj,[["render",Hj]]);const Wj={selection:"table-column--selection",expand:"table__expand-column"},jj={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Yj=e=>Wj[e]||"",Uj={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return Ge(Ya,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection??void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:a}){return Ge(Ya,{disabled:t.selectable?!t.selectable.call(null,e,a):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:o=>o.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const a=e.index;return Ke(a)?n=t+a:ze(a)&&(n=a(t)),Ge("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:a,$index:o}){var c,d;const{ns:l}=n,s=[l.e("expand-icon")];!e.renderExpand&&a&&s.push(l.em("expand-icon","expanded"));const r=function(f){f.stopPropagation(),n.toggleRowExpansion(t)},u=((d=(c=n.states.rowExpandable).value)==null?void 0:d.call(c,t,o))??!0;return u||s.push(l.is("disabled")),Ge("button",{type:"button",disabled:!u,"aria-label":n.t(a?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":a,class:s,onClick:r},{default:()=>e.renderExpand?[e.renderExpand({expanded:a,expandable:u})]:[Ge(Be,null,{default:()=>[Ge(Xn)]})]})},sortable:!1,resizable:!1}};function qj({row:e,column:t,$index:n}){var l;const a=t.property,o=a&&Cl(e,a).value;return t&&t.formatter?t.formatter(e,t,o,n):((l=o==null?void 0:o.toString)==null?void 0:l.call(o))||""}function Gj({row:e,treeNode:t,store:n},a=!1){const{ns:o}=n;if(!t)return a?[Ge("span",{class:o.e("placeholder")})]:null;const l=[],s=function(r){r.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&l.push(Ge("span",{class:o.e("indent"),style:{"padding-left":`${t.indent}px`}})),Dt(t.expanded)&&!t.noLazyChildren){const r=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let u=Xn;t.loading&&(u=wo),l.push(Ge("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:r,onClick:s},{default:()=>[Ge(Be,{class:o.is("loading",t.loading)},{default:()=>[Ge(u)]})]}))}else l.push(Ge("span",{class:o.e("placeholder")}));return l}function vb(e,t){return e.reduce((n,a)=>(n[a]=a,n),t)}function Xj(e,t){const n=ct();return{registerComplexWatchers:()=>{const l=["fixed"],s={realWidth:"width",realMinWidth:"minWidth"},r=vb(l,s);Object.keys(r).forEach(u=>{const c=s[u];Tt(t,c)&&ie(()=>t[c],d=>{let f=d;c==="width"&&u==="realWidth"&&(f=Ih(d)),c==="minWidth"&&u==="realMinWidth"&&(f=Bk(d)),n.columnConfig.value[c]=f,n.columnConfig.value[u]=f;const h=c==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const l=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],s=["showOverflowTooltip"],r={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},u=vb(l,r);Object.keys(u).forEach(d=>{const f=r[d];Tt(t,f)&&ie(()=>t[f],h=>{n.columnConfig.value[d]=h,(d==="filters"||d==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),s.forEach(d=>{Tt(e.value.props,d)&&ie(()=>e.value.props[d],f=>{n.columnConfig.value.type!=="selection"&&kt(t[d])&&(n.columnConfig.value[d]=f)})});const c=al("table");c.value&&Tt(c.value,"showOverflowTooltip")&&ie(()=>{var d;return(d=c.value)==null?void 0:d.showOverflowTooltip},d=>{n.columnConfig.value.type!=="selection"&&(!kt(t.showOverflowTooltip)||!kt(e.value.props.showOverflowTooltip)||(n.columnConfig.value.showOverflowTooltip=d))})}}}function Zj(e,t,n){const a=ct(),o=_(""),l=_(!1),s=_(),r=_(),u=ve("table");da(()=>{s.value=e.align?`is-${e.align}`:null,s.value}),da(()=>{r.value=e.headerAlign?`is-${e.headerAlign}`:s.value,r.value});const c=S(()=>{let w=a.vnode.vParent||a.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),d=S(()=>{const{store:w}=a.parent;if(!w)return!1;const{treeData:k}=w.states,E=k.value;return E&&Object.keys(E).length>0}),f=_(Ih(e.width)),h=_(Bk(e.minWidth)),g=w=>(f.value&&(w.width=f.value),h.value&&(w.minWidth=h.value),!f.value&&h.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(kt(w.width)?w.minWidth:w.width),w),p=w=>{const k=w.type,E=Uj[k]||{};Object.keys(E).forEach(O=>{const M=E[O];O!=="className"&&!kt(M)&&(w[O]=M)});const $=Yj(k);if($){const O=`${i(u.namespace)}-${$}`;w.className=w.className?`${w.className} ${O}`:O}return w},v=w=>{be(w)?w.forEach(E=>k(E)):k(w);function k(E){var $;(($=E==null?void 0:E.type)==null?void 0:$.name)==="ElTableColumn"&&(E.vParent=a)}};return{columnId:o,realAlign:s,isSubColumn:l,realHeaderAlign:r,columnOrTableParent:c,setColumnWidth:g,setColumnForcedProps:p,setColumnRenders:w=>{e.renderHeader?dt("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):w.type!=="selection"&&(w.renderHeader=E=>{if(a.columnConfig.value.label,t.header){const $=t.header(E);if(zk($))return Ge(He,$)}return bt(w.label)}),t["filter-icon"]&&(w.renderFilterIcon=E=>ne(t,"filter-icon",E)),t.expand&&(w.renderExpand=E=>ne(t,"expand",E));let k=w.renderCell;return w.type==="expand"?(w.renderCell=E=>Ge("div",{class:"cell"},[k(E)]),n.value.renderExpanded=E=>t.default?t.default(E):t.default):(k=k||qj,w.renderCell=E=>{let $=null;if(t.default){const R=t.default(E);$=R.some(B=>B.type!==fn)?R:k(E)}else $=k(E);const{columns:O}=n.value.store.states,M=O.value.findIndex(R=>R.type==="default"),T=Gj(E,d.value&&E.cellIndex===M),A={class:"cell",style:{}};return w.showOverflowTooltip&&(A.class=`${A.class} ${i(u.namespace)}-tooltip`,A.style={width:`${(E.column.realWidth||Number(E.column.width))-1}px`}),v($),Ge("div",A,[T,$])}),w},getPropsData:(...w)=>w.reduce((k,E)=>(be(E)&&E.forEach($=>{k[$]=e[$]}),k),{}),getColumnElIndex:(w,k)=>Array.prototype.indexOf.call(w,k),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",a.columnConfig.value)}}}var Jj={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let Qj=1;var e7=le({name:"ElTableColumn",components:{ElCheckbox:Ya},props:Jj,setup(e,{slots:t}){const n=ct(),a=al("table"),o=_({}),l=S(()=>{let w=n.parent;for(;w&&!w.tableId;)w=w.parent;return w}),{registerNormalWatchers:s,registerComplexWatchers:r}=Xj(l,e),{columnId:u,isSubColumn:c,realHeaderAlign:d,columnOrTableParent:f,setColumnWidth:h,setColumnForcedProps:g,setColumnRenders:p,getPropsData:v,getColumnElIndex:m,realAlign:y,updateColumnOrder:b}=Zj(e,t,l),C=f.value;u.value=`${"tableId"in C&&C.tableId||"columnId"in C&&C.columnId}_column_${Qj++}`,qc(()=>{var T,A;c.value=l.value!==C;const w=e.type||"default",k=e.sortable===""?!0:e.sortable,E=w==="selection"?!1:kt(e.showOverflowTooltip)?C.props.showOverflowTooltip??((T=a.value)==null?void 0:T.showOverflowTooltip):e.showOverflowTooltip,$=kt(e.tooltipFormatter)?C.props.tooltipFormatter??((A=a.value)==null?void 0:A.tooltipFormatter):e.tooltipFormatter,O={...jj[w],id:u.value,type:w,property:e.prop||e.property,align:y,headerAlign:d,showOverflowTooltip:E,tooltipFormatter:$,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:k,index:e.index,rawColumnKey:n.vnode.key};let M=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);M=XW(O,M),M=JW(p,h,g)(M),o.value=M,s(),r()}),ft(()=>{var $,O;const w=f.value,k=c.value?($=w.vnode.el)==null?void 0:$.children:(O=w.refs.hiddenColumns)==null?void 0:O.children,E=()=>m(k||[],n.vnode.el);o.value.getColumnIndex=E,E()>-1&&l.value.store.commit("insertColumn",o.value,c.value?"columnConfig"in w&&w.columnConfig.value:null,b)}),Rt(()=>{const w=o.value.getColumnIndex;(w?w():-1)>-1&&l.value.store.commit("removeColumn",o.value,c.value?"columnConfig"in C&&C.columnConfig.value:null,b)}),n.columnId=u.value,n.columnConfig=o},render(){var e,t,n;try{const a=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),o=[];if(be(a))for(const l of a)((n=l.type)==null?void 0:n.name)==="ElTableColumn"||l.shapeFlag&2?o.push(l):l.type===He&&be(l.children)&&l.children.forEach(s=>{(s==null?void 0:s.patchFlag)!==1024&&!De(s==null?void 0:s.children)&&o.push(s)});return Ge("div",o)}catch{return Ge("div",[])}}}),Uk=e7;const t7=lt(Kj,{TableColumn:Uk}),n7=Zt(Uk);let io=function(e){return e.ASC="asc",e.DESC="desc",e}({}),Lc=function(e){return e.LEFT="left",e.CENTER="center",e.RIGHT="right",e}({}),a7=function(e){return e.LEFT="left",e.RIGHT="right",e}({});const Pp={[io.ASC]:io.DESC,[io.DESC]:io.ASC},Oi=Symbol("placeholder"),qk=String,lu={type:G(Array),required:!0},Lh={type:G(Array)},Gk={...Lh,required:!0},o7=String,hb={type:G(Array),default:()=>en([])},Wl={type:Number,required:!0},Xk={type:G([String,Number,Symbol]),default:"id"},mb={type:G(Object)},Xl=Se({class:String,columns:lu,columnsStyles:{type:G(Object),required:!0},depth:Number,expandColumnKey:o7,estimatedRowHeight:{...ts.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:G(Function)},onRowHover:{type:G(Function)},onRowHeightChange:{type:G(Function)},rowData:{type:G(Object),required:!0},rowEventHandlers:{type:G(Object)},rowIndex:{type:Number,required:!0},rowKey:Xk,style:{type:G(Object)}}),bf={type:Number,required:!0},Dh=Se({class:String,columns:lu,fixedHeaderData:{type:G(Array)},headerData:{type:G(Array),required:!0},headerHeight:{type:G([Number,Array]),default:50},rowWidth:bf,rowHeight:{type:Number,default:50},height:bf,width:bf}),Gu=Se({columns:lu,data:Gk,fixedData:Lh,estimatedRowHeight:Xl.estimatedRowHeight,width:Wl,height:Wl,headerWidth:Wl,headerHeight:Dh.headerHeight,bodyWidth:Wl,rowHeight:Wl,cache:yk.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:ts.scrollbarAlwaysOn,scrollbarStartGap:ts.scrollbarStartGap,scrollbarEndGap:ts.scrollbarEndGap,class:qk,style:mb,containerStyle:mb,getRowHeight:{type:G(Function),required:!0},rowKey:Xl.rowKey,onRowsRendered:{type:G(Function)},onScroll:{type:G(Function)}}),l7=Se({cache:Gu.cache,estimatedRowHeight:Xl.estimatedRowHeight,rowKey:Xk,headerClass:{type:G([String,Function])},headerProps:{type:G([Object,Function])},headerCellProps:{type:G([Object,Function])},headerHeight:Dh.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:G([String,Function])},rowProps:{type:G([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:G([Object,Function])},columns:lu,data:Gk,dataGetter:{type:G(Function)},fixedData:Lh,expandColumnKey:Xl.expandColumnKey,expandedRowKeys:hb,defaultExpandedRowKeys:hb,class:qk,fixed:Boolean,style:{type:G(Object)},width:Wl,height:Wl,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:ts.hScrollbarSize,vScrollbarSize:ts.vScrollbarSize,scrollbarAlwaysOn:Ck.alwaysOn,sortBy:{type:G(Object),default:()=>({})},sortState:{type:G(Object),default:void 0},onColumnSort:{type:G(Function)},onExpandedRowsChange:{type:G(Function)},onEndReached:{type:G(Function)},onRowExpand:Xl.onRowExpand,onScroll:Gu.onScroll,onRowsRendered:Gu.onRowsRendered,rowEventHandlers:Xl.rowEventHandlers}),s7=(e,t,n)=>{const a={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow??0,flexShrink:e.flexShrink??1}},o={...e.style??{},...a,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(o.maxWidth=e.maxWidth),e.minWidth&&(o.minWidth=e.minWidth)),o};function r7(e,t,n){const a=S(()=>i(t).map((m,y)=>({...m,key:m.key??m.dataKey??y}))),o=S(()=>i(a).filter(m=>!m.hidden)),l=S(()=>i(o).filter(m=>m.fixed==="left"||m.fixed===!0)),s=S(()=>i(o).filter(m=>m.fixed==="right")),r=S(()=>i(o).filter(m=>!m.fixed)),u=S(()=>{const m=[];return i(l).forEach(y=>{m.push({...y,placeholderSign:Oi})}),i(r).forEach(y=>{m.push(y)}),i(s).forEach(y=>{m.push({...y,placeholderSign:Oi})}),m}),c=S(()=>i(l).length||i(s).length),d=S(()=>i(a).reduce((m,y)=>(m[y.key]=s7(y,i(n),e.fixed),m),{})),f=S(()=>i(o).reduce((m,y)=>m+y.width,0)),h=m=>i(a).find(y=>y.key===m),g=m=>i(d)[m],p=(m,y)=>{m.width=y};function v(m){var k;const{key:y}=m.currentTarget.dataset;if(!y)return;const{sortState:b,sortBy:C}=e;let w=io.ASC;nt(b)?w=Pp[b[y]]:w=Pp[C.order],(k=e.onColumnSort)==null||k.call(e,{column:h(y),key:y,order:w})}return{columns:a,columnsStyles:d,columnsTotalWidth:f,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:c,mainColumns:u,normalColumns:r,visibleColumns:o,getColumn:h,getColumnStyle:g,updateColumnWidth:p,onColumnSorted:v}}const i7=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,onMaybeEndReached:o})=>{const l=_({scrollLeft:0,scrollTop:0});function s(g){var v,m,y;const{scrollTop:p}=g;(v=t.value)==null||v.scrollTo(g),(m=n.value)==null||m.scrollToTop(p),(y=a.value)==null||y.scrollToTop(p)}function r(g){l.value=g,s(g)}function u(g){l.value.scrollTop=g,s(i(l))}function c(g){var p,v;l.value.scrollLeft=g,(v=(p=t.value)==null?void 0:p.scrollTo)==null||v.call(p,i(l))}function d(g){var p;r(g),(p=e.onScroll)==null||p.call(e,g)}function f({scrollTop:g}){const{scrollTop:p}=i(l);g!==p&&u(g)}function h(g,p="auto"){var v;(v=t.value)==null||v.scrollToRow(g,p)}return ie(()=>i(l).scrollTop,(g,p)=>{g>p&&o()}),{scrollPos:l,scrollTo:r,scrollToLeft:c,scrollToTop:u,scrollToRow:h,onScroll:d,onVerticalScroll:f}},u7=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,tableInstance:o,ns:l,isScrolling:s})=>{const r=ct(),{emit:u}=r,c=jt(!1),d=_(e.defaultExpandedRowKeys||[]),f=_(-1),h=jt(null),g=_({}),p=_({}),v=jt({}),m=jt({}),y=jt({}),b=S(()=>Ke(e.estimatedRowHeight));function C(T){var A;(A=e.onRowsRendered)==null||A.call(e,T),T.rowCacheEnd>i(f)&&(f.value=T.rowCacheEnd)}function w({hovered:T,rowKey:A}){s.value||o.vnode.el.querySelectorAll(`[rowkey="${String(A)}"]`).forEach(R=>{T?R.classList.add(l.is("hovered")):R.classList.remove(l.is("hovered"))})}function k({expanded:T,rowData:A,rowIndex:R,rowKey:B}){var z,P;const K=[...i(d)],Y=K.indexOf(B);T?Y===-1&&K.push(B):Y>-1&&K.splice(Y,1),d.value=K,u("update:expandedRowKeys",K),(z=e.onRowExpand)==null||z.call(e,{expanded:T,rowData:A,rowIndex:R,rowKey:B}),(P=e.onExpandedRowsChange)==null||P.call(e,K),o.vnode.el.querySelector(`.${l.is("hovered")}[rowkey="${String(B)}"]`)&&Ae(()=>w({hovered:!0,rowKey:B}))}const E=yo(()=>{var T,A,R,B;c.value=!0,g.value={...i(g),...i(p)},$(i(h),!1),p.value={},h.value=null,(T=t.value)==null||T.forceUpdate(),(A=n.value)==null||A.forceUpdate(),(R=a.value)==null||R.forceUpdate(),(B=r.proxy)==null||B.$forceUpdate(),c.value=!1},0);function $(T,A=!1){i(b)&&[t,n,a].forEach(R=>{const B=i(R);B&&B.resetAfterRowIndex(T,A)})}function O(T,A,R){const B=i(h);(B===null||B>R)&&(h.value=R),p.value[T]=A}function M({rowKey:T,height:A,rowIndex:R},B){B?B===a7.RIGHT?y.value[T]=A:v.value[T]=A:m.value[T]=A;const K=Math.max(...[v,y,m].map(Y=>Y.value[T]||0));i(g)[T]!==K&&(O(T,K,R),E())}return{expandedRowKeys:d,lastRenderedRowIndex:f,isDynamic:b,isResetting:c,rowHeights:g,resetAfterIndex:$,onRowExpanded:k,onRowHovered:w,onRowsRendered:C,onRowHeightChange:M}},c7=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:a})=>{const o=_({}),l=S(()=>{const r={},{data:u,rowKey:c}=e,d=i(t);if(!d||!d.length)return u;const f=[],h=new Set;d.forEach(p=>h.add(p));let g=u.slice();for(g.forEach(p=>r[p[c]]=0);g.length>0;){const p=g.shift();f.push(p),h.has(p[c])&&be(p.children)&&p.children.length>0&&(g=[...p.children,...g],p.children.forEach(v=>r[v[c]]=r[p[c]]+1))}return o.value=r,f}),s=S(()=>{const{data:r,expandColumnKey:u}=e;return u?i(l):r});return ie(s,(r,u)=>{r!==u&&(n.value=-1,a(0,!0))}),{data:s,depthMap:o}},d7=(e,t)=>e+t,Xu=e=>be(e)?e.reduce(d7,0):e,cs=(e,t,n={})=>ze(e)?e(t):e??n,wl=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=tn(e[t])}),e),Zk=e=>Ht(e)?t=>Ge(e,t):e,f7=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:a,fixedColumnsOnRight:o})=>{const l=S(()=>{const{fixed:v,width:m,vScrollbarSize:y}=e,b=m-y;return v?Math.max(Math.round(i(t)),b):b}),s=S(()=>{const{height:v=0,maxHeight:m=0,footerHeight:y,hScrollbarSize:b}=e;if(m>0){const C=i(h),w=i(n),k=i(f)+C+w+b;return Math.min(k,m-y)}return v-y}),r=S(()=>{const{maxHeight:v}=e,m=i(s);if(Ke(v)&&v>0)return m;const y=i(n)+i(f)+i(h);return Math.min(m,y)}),u=v=>v.width,c=S(()=>Xu(i(a).map(u))),d=S(()=>Xu(i(o).map(u))),f=S(()=>Xu(e.headerHeight)),h=S(()=>{var v;return(((v=e.fixedData)==null?void 0:v.length)||0)*e.rowHeight}),g=S(()=>i(s)-i(f)-i(h)),p=S(()=>{const{style:v={},height:m,width:y}=e;return wl({...v,height:m,width:y})});return{bodyWidth:l,fixedTableHeight:r,mainTableHeight:s,leftTableWidth:c,rightTableWidth:d,windowHeight:g,footerHeight:S(()=>wl({height:e.footerHeight})),emptyStyle:S(()=>({top:tn(i(f)),bottom:tn(e.footerHeight),width:tn(e.width)})),rootStyle:p,headerHeight:f}};function p7(e){const t=_(),n=_(),a=_(),{columns:o,columnsStyles:l,columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,hasFixedColumns:c,mainColumns:d,onColumnSorted:f}=r7(e,_t(e,"columns"),_t(e,"fixed")),{scrollTo:h,scrollToLeft:g,scrollToTop:p,scrollToRow:v,onScroll:m,onVerticalScroll:y,scrollPos:b}=i7(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,onMaybeEndReached:Z}),C=ve("table-v2"),w=ct(),k=jt(!1),{expandedRowKeys:E,lastRenderedRowIndex:$,isDynamic:O,isResetting:M,rowHeights:T,resetAfterIndex:A,onRowExpanded:R,onRowHeightChange:B,onRowHovered:K,onRowsRendered:Y}=u7(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,tableInstance:w,ns:C,isScrolling:k}),{data:z,depthMap:P}=c7(e,{expandedRowKeys:E,lastRenderedRowIndex:$,resetAfterIndex:A}),I=S(()=>{const{estimatedRowHeight:se,rowHeight:pe}=e,ge=i(z);return Ke(se)?Object.values(i(T)).reduce((ye,Ne)=>ye+Ne,0):ge.length*pe}),{bodyWidth:L,fixedTableHeight:D,mainTableHeight:V,leftTableWidth:U,rightTableWidth:W,windowHeight:X,footerHeight:J,emptyStyle:fe,rootStyle:ue,headerHeight:he}=f7(e,{columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,rowsHeight:I}),re=_(),te=S(()=>{const se=i(z).length===0;return be(e.fixedData)?e.fixedData.length===0&&se:se});function ee(se){const{estimatedRowHeight:pe,rowHeight:ge,rowKey:ye}=e;return pe?i(T)[i(z)[se][ye]]||pe:ge}const H=_(!1);function Z(){const{onEndReached:se}=e;if(!se)return;const{scrollTop:pe}=i(b),ge=i(I),ye=ge-(pe+i(X))+e.hScrollbarSize;!H.value&&i($)>=0&&ge<=pe+i(V)-i(he)?(H.value=!0,se(ye)):H.value=!1}return ie(()=>i(I),()=>H.value=!1),ie(()=>e.expandedRowKeys,se=>E.value=se,{deep:!0}),{columns:o,containerRef:re,mainTableRef:t,leftTableRef:n,rightTableRef:a,isDynamic:O,isResetting:M,isScrolling:k,hasFixedColumns:c,columnsStyles:l,columnsTotalWidth:s,data:z,expandedRowKeys:E,depthMap:P,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,mainColumns:d,bodyWidth:L,emptyStyle:fe,rootStyle:ue,footerHeight:J,mainTableHeight:V,fixedTableHeight:D,leftTableWidth:U,rightTableWidth:W,showEmpty:te,getRowHeight:ee,onColumnSorted:f,onRowHovered:K,onRowExpanded:R,onRowsRendered:Y,onRowHeightChange:B,scrollTo:h,scrollToLeft:g,scrollToTop:p,scrollToRow:v,onScroll:m,onVerticalScroll:y}}const Bh=Symbol("tableV2"),Jk="tableV2GridScrollLeft",v7=le({name:"ElTableV2Header",props:Dh,setup(e,{slots:t,expose:n}){const a=ve("table-v2"),o=Le(Jk),l=_(),s=S(()=>wl({width:e.width,height:e.height})),r=S(()=>wl({width:e.rowWidth,height:e.height})),u=S(()=>En(i(e.headerHeight))),c=h=>{const g=i(l);Ae(()=>{g!=null&&g.scroll&&g.scroll({left:h})})},d=()=>{const h=a.e("fixed-header-row"),{columns:g,fixedHeaderData:p,rowHeight:v}=e;return p==null?void 0:p.map((m,y)=>{var C;const b=wl({height:v,width:"100%"});return(C=t.fixed)==null?void 0:C.call(t,{class:h,columns:g,rowData:m,rowIndex:-(y+1),style:b})})},f=()=>{const h=a.e("dynamic-header-row"),{columns:g}=e;return i(u).map((p,v)=>{var y;const m=wl({width:"100%",height:p});return(y=t.dynamic)==null?void 0:y.call(t,{class:h,columns:g,headerIndex:v,style:m})})};return Ua(()=>{o!=null&&o.value&&c(o.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return q("div",{ref:l,class:e.class,style:i(s),role:"rowgroup"},[q("div",{style:i(r),class:a.e("header")},[f(),d()])])}}}),h7="ElTableV2Grid",m7=e=>{const t=_(),n=_(),a=_(0),o=S(()=>{const{data:m,rowHeight:y,estimatedRowHeight:b}=e;if(!b)return m.length*y}),l=S(()=>{const{fixedData:m,rowHeight:y}=e;return((m==null?void 0:m.length)||0)*y}),s=S(()=>Xu(e.headerHeight)),r=S(()=>{const{height:m}=e;return Math.max(0,m-i(s)-i(l))}),u=S(()=>i(s)+i(l)>0),c=({data:m,rowIndex:y})=>m[y][e.rowKey];function d({rowCacheStart:m,rowCacheEnd:y,rowVisibleStart:b,rowVisibleEnd:C}){var w;(w=e.onRowsRendered)==null||w.call(e,{rowCacheStart:m,rowCacheEnd:y,rowVisibleStart:b,rowVisibleEnd:C})}function f(m,y){var b;(b=n.value)==null||b.resetAfterRowIndex(m,y)}function h(m,y){const b=i(t),C=i(n);nt(m)?(b==null||b.scrollToLeft(m.scrollLeft),a.value=m.scrollLeft,C==null||C.scrollTo(m)):(b==null||b.scrollToLeft(m),a.value=m,C==null||C.scrollTo({scrollLeft:m,scrollTop:y}))}function g(m){var y;(y=i(n))==null||y.scrollTo({scrollTop:m})}function p(m,y){const b=i(n);if(!b)return;const C=a.value;b.scrollToItem(m,0,y),C&&h({scrollLeft:C})}function v(){var m,y;(m=i(n))==null||m.$forceUpdate(),(y=i(t))==null||y.$forceUpdate()}return ie(()=>e.bodyWidth,()=>{var m;Ke(e.estimatedRowHeight)&&((m=n.value)==null||m.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:v,fixedRowHeight:l,gridHeight:r,hasHeader:u,headerHeight:s,headerRef:t,totalHeight:o,itemKey:c,onItemRendered:d,resetAfterRowIndex:f,scrollTo:h,scrollToTop:g,scrollToRow:p,scrollLeft:a}},Vh=le({name:h7,props:Gu,setup(e,{slots:t,expose:n}){const{ns:a}=Le(Bh),{bodyRef:o,fixedRowHeight:l,gridHeight:s,hasHeader:r,headerRef:u,headerHeight:c,totalHeight:d,forceUpdate:f,itemKey:h,onItemRendered:g,resetAfterRowIndex:p,scrollTo:v,scrollToTop:m,scrollToRow:y,scrollLeft:b}=m7(e);wt(Jk,b),Ri(async()=>{var k;await Ae();const w=(k=o.value)==null?void 0:k.states.scrollTop;w&&m(Math.round(w)+1)}),n({forceUpdate:f,totalHeight:d,scrollTo:v,scrollToTop:m,scrollToRow:y,resetAfterRowIndex:p});const C=()=>e.bodyWidth;return()=>{const{cache:w,columns:k,data:E,fixedData:$,useIsScrolling:O,scrollbarAlwaysOn:M,scrollbarEndGap:T,scrollbarStartGap:A,style:R,rowHeight:B,bodyWidth:K,estimatedRowHeight:Y,headerWidth:z,height:P,width:I,getRowHeight:L,onScroll:D}=e,V=Ke(Y),U=V?O9:E9,W=i(c);return q("div",{role:"table",class:[a.e("table"),e.class],style:R},[q(U,{ref:o,data:E,useIsScrolling:O,itemKey:h,columnCache:0,columnWidth:V?C:K,totalColumn:1,totalRow:E.length,rowCache:w,rowHeight:V?L:B,width:I,height:i(s),class:a.e("body"),role:"rowgroup",scrollbarStartGap:A,scrollbarEndGap:T,scrollbarAlwaysOn:M,onScroll:D,onItemRendered:g,perfMode:!1},{default:X=>{var fe;const J=E[X.rowIndex];return(fe=t.row)==null?void 0:fe.call(t,{...X,columns:k,rowData:J})}}),i(r)&&q(v7,{ref:u,class:a.e("header-wrapper"),columns:k,headerData:E,headerHeight:e.headerHeight,fixedHeaderData:$,rowWidth:z,rowHeight:B,width:I,height:Math.min(W+i(l),P)},{dynamic:t.header,fixed:t.row})])}}});function g7(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const y7=(e,{slots:t})=>{const{mainTableRef:n,...a}=e;return q(Vh,ut({ref:n},a),g7(t)?t:{default:()=>[t]})};function b7(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const w7=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...a}=e;return q(Vh,ut({ref:n},a),b7(t)?t:{default:()=>[t]})};function C7(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const S7=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...a}=e;return q(Vh,ut({ref:n},a),C7(t)?t:{default:()=>[t]})},k7=e=>{const{isScrolling:t}=Le(Bh),n=_(!1),a=_(),o=S(()=>Ke(e.estimatedRowHeight)&&e.rowIndex>=0),l=(u=!1)=>{const c=i(a);if(!c)return;const{columns:d,onRowHeightChange:f,rowKey:h,rowIndex:g,style:p}=e,{height:v}=c.getBoundingClientRect();n.value=!0,Ae(()=>{if(u||v!==Number.parseInt(p.height)){const m=d[0],y=(m==null?void 0:m.placeholderSign)===Oi;f==null||f({rowKey:h,height:v,rowIndex:g},m&&!y&&m.fixed)}})},s=S(()=>{const{rowData:u,rowIndex:c,rowKey:d,onRowHover:f}=e,h=e.rowEventHandlers||{},g={};return Object.entries(h).forEach(([p,v])=>{ze(v)&&(g[p]=m=>{v({event:m,rowData:u,rowIndex:c,rowKey:d})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:p,hovered:v})=>{const m=g[p];g[p]=y=>{f({event:y,hovered:v,rowData:u,rowIndex:c,rowKey:d}),m==null||m(y)}}),g}),r=u=>{const{onRowExpand:c,rowData:d,rowIndex:f,rowKey:h}=e;c==null||c({expanded:u,rowData:d,rowIndex:f,rowKey:h})};return ft(()=>{i(o)&&l(!0)}),{isScrolling:t,measurable:o,measured:n,rowRef:a,eventHandlers:s,onExpand:r}},E7=le({name:"ElTableV2TableRow",props:Xl,setup(e,{expose:t,slots:n,attrs:a}){const{eventHandlers:o,isScrolling:l,measurable:s,measured:r,rowRef:u,onExpand:c}=k7(e);return t({onExpand:c}),()=>{const{columns:d,columnsStyles:f,expandColumnKey:h,depth:g,rowData:p,rowIndex:v,style:m}=e;let y=d.map((b,C)=>{const w=be(p.children)&&p.children.length>0&&b.key===h;return n.cell({column:b,columns:d,columnIndex:C,depth:g,style:f[b.key],rowData:p,rowIndex:v,isScrolling:i(l),expandIconProps:w?{rowData:p,rowIndex:v,onExpand:c}:void 0})});if(n.row&&(y=n.row({cells:y.map(b=>be(b)&&b.length===1?b[0]:b),style:m,columns:d,depth:g,rowData:p,rowIndex:v,isScrolling:i(l)})),i(s)){const{height:b,...C}=m||{},w=i(r);return q("div",ut({ref:u,class:e.class,style:w?m:C,role:"row"},a,i(o)),[y])}return q("div",ut(a,{ref:u,class:e.class,style:m,role:"row"},i(o)),[y])}}});function x7(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const T7=(e,{slots:t})=>{const{columns:n,columnsStyles:a,depthMap:o,expandColumnKey:l,expandedRowKeys:s,estimatedRowHeight:r,hasFixedColumns:u,rowData:c,rowIndex:d,style:f,isScrolling:h,rowProps:g,rowClass:p,rowKey:v,rowEventHandlers:m,ns:y,onRowHovered:b,onRowExpanded:C}=e,w=cs(p,{columns:n,rowData:c,rowIndex:d},""),k=cs(g,{columns:n,rowData:c,rowIndex:d}),E=c[v],$=o[E]||0,O=!!l,M=d<0,T=[y.e("row"),w,y.is("expanded",O&&s.includes(E)),y.is("fixed",!$&&M),y.is("customized",!!t.row),{[y.e(`row-depth-${$}`)]:O&&d>=0}],A=u?b:void 0,R={...k,columns:n,columnsStyles:a,class:T,depth:$,expandColumnKey:l,estimatedRowHeight:M?void 0:r,isScrolling:h,rowIndex:d,rowData:c,rowKey:E,rowEventHandlers:m,style:f};return q(E7,ut(R,{onRowExpand:C,onMouseenter:Y=>{A==null||A({hovered:!0,rowKey:E,event:Y,rowData:c,rowIndex:d})},onMouseleave:Y=>{A==null||A({hovered:!1,rowKey:E,event:Y,rowData:c,rowIndex:d})},rowkey:E}),x7(t)?t:{default:()=>[t]})},Fh=(e,{slots:t})=>{var s;const{cellData:n,style:a}=e,o=((s=n==null?void 0:n.toString)==null?void 0:s.call(n))||"",l=ne(t,"default",e,()=>[o]);return q("div",{class:e.class,title:o,style:a},[l])};Fh.displayName="ElTableV2Cell";Fh.inheritAttrs=!1;const Qk=e=>{const{expanded:t,expandable:n,onExpand:a,style:o,size:l,ariaLabel:s}=e;return q("button",ut({onClick:n?()=>a(!t):void 0,ariaLabel:s,ariaExpanded:t,class:e.class},{type:"button"}),[q(Be,{size:l,style:o},{default:()=>[q(Xn,null,null)]})])};Qk.inheritAttrs=!1;const Rp=({columns:e,column:t,columnIndex:n,depth:a,expandIconProps:o,isScrolling:l,rowData:s,rowIndex:r,style:u,expandedRowKeys:c,ns:d,t:f,cellProps:h,expandColumnKey:g,indentSize:p,iconSize:v,rowKey:m},{slots:y})=>{const b=wl(u);if(t.placeholderSign===Oi)return q("div",{class:d.em("row-cell","placeholder"),style:b},null);const{cellRenderer:C,dataKey:w,dataGetter:k}=t,E=ze(k)?k({columns:e,column:t,columnIndex:n,rowData:s,rowIndex:r}):hn(s,w??""),$=cs(h,{cellData:E,columns:e,column:t,columnIndex:n,rowIndex:r,rowData:s}),O={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:E,isScrolling:l,rowData:s,rowIndex:r},M=Zk(C),T=M?M(O):ne(y,"default",O,()=>[q(Fh,O,null)]),A=[d.e("row-cell"),t.class,t.align===Lc.CENTER&&d.is("align-center"),t.align===Lc.RIGHT&&d.is("align-right")],R=r>=0&&g&&t.key===g,B=r>=0&&c.includes(s[m]);let K;const Y=`margin-inline-start: ${a*p}px;`;return R&&(nt(o)?K=q(Qk,ut(o,{class:[d.e("expand-icon"),d.is("expanded",B)],size:v,expanded:B,ariaLabel:f(B?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:Y,expandable:!0}),null):K=q("div",{style:[Y,`width: ${v}px; height: ${v}px;`].join(" ")},null)),q("div",ut({class:A,style:b},$,{role:"cell"}),[K,T])};Rp.inheritAttrs=!1;const $7=Se({class:String,columns:lu,columnsStyles:{type:G(Object),required:!0},headerIndex:Number,style:{type:G(Object)}}),O7=le({name:"ElTableV2HeaderRow",props:$7,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:a,headerIndex:o,style:l}=e;let s=n.map((r,u)=>t.cell({columns:n,column:r,columnIndex:u,headerIndex:o,style:a[r.key]}));return t.header&&(s=t.header({cells:s.map(r=>be(r)&&r.length===1?r[0]:r),columns:n,headerIndex:o})),q("div",{class:e.class,style:l,role:"row"},[s])}}});function N7(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const M7=({columns:e,columnsStyles:t,headerIndex:n,style:a,headerClass:o,headerProps:l,ns:s},{slots:r})=>{const u={columns:e,headerIndex:n},c=[s.e("header-row"),cs(o,u,""),s.is("customized",!!r.header)];return q(O7,{...cs(l,u),columnsStyles:t,class:c,columns:e,headerIndex:n,style:a},N7(r)?r:{default:()=>[r]})},zh=(e,{slots:t})=>ne(t,"default",e,()=>{var n,a;return[q("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(a=e.column)==null?void 0:a.title])]});zh.displayName="ElTableV2HeaderCell";zh.inheritAttrs=!1;const I7=e=>{const{sortOrder:t}=e;return q("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[q(Be,{size:14},{default:()=>[t===io.ASC?q(D4,null,null):q(_4,null,null)]})])},gb=(e,{slots:t})=>{const{column:n,ns:a,t:o,style:l,onColumnSorted:s}=e,r=wl(l);if(n.placeholderSign===Oi)return q("div",{class:a.em("header-row-cell","placeholder"),style:r},null);const{headerCellRenderer:u,headerClass:c,sortable:d}=n,f={...e,class:a.e("header-cell-text")},h=Zk(u),g=h?h(f):ne(t,"default",f,()=>[q(zh,f,null)]),{sortBy:p,sortState:v,headerCellProps:m}=e;let y,b,C;if(v){const k=v[n.key];y=!!Pp[k],b=y?k:io.ASC}else y=n.key===p.key,b=y?p.order:io.ASC;b===io.ASC?C="ascending":b===io.DESC?C="descending":C=void 0;const w=[a.e("header-cell"),cs(c,e,""),n.align===Lc.CENTER&&a.is("align-center"),n.align===Lc.RIGHT&&a.is("align-right"),d&&a.is("sortable")];return q("div",ut({...cs(m,e),onClick:n.sortable?s:void 0,ariaSort:d?C:void 0,class:w,style:r,"data-key":n.key},{role:"columnheader"}),[g,d&&q(I7,{class:[a.e("sort-icon"),y&&a.is("sorting")],sortOrder:b,ariaLabel:o("el.table.sortLabel",{column:n.title||""})},null)])},e2=(e,{slots:t})=>{var n;return q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};e2.displayName="ElTableV2Footer";const t2=(e,{slots:t})=>{const n=ne(t,"default",{},()=>[q(sk,null,null)]);return q("div",{class:e.class,style:e.style},[n])};t2.displayName="ElTableV2Empty";const n2=(e,{slots:t})=>{var n;return q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};n2.displayName="ElTableV2Overlay";function Rr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ht(e)}const P7=le({name:"ElTableV2",props:l7,setup(e,{slots:t,expose:n}){const a=ve("table-v2"),{t:o}=St(),{columnsStyles:l,fixedColumnsOnLeft:s,fixedColumnsOnRight:r,mainColumns:u,mainTableHeight:c,fixedTableHeight:d,leftTableWidth:f,rightTableWidth:h,data:g,depthMap:p,expandedRowKeys:v,hasFixedColumns:m,mainTableRef:y,leftTableRef:b,rightTableRef:C,isDynamic:w,isResetting:k,isScrolling:E,bodyWidth:$,emptyStyle:O,rootStyle:M,footerHeight:T,showEmpty:A,scrollTo:R,scrollToLeft:B,scrollToTop:K,scrollToRow:Y,getRowHeight:z,onColumnSorted:P,onRowHeightChange:I,onRowHovered:L,onRowExpanded:D,onRowsRendered:V,onScroll:U,onVerticalScroll:W}=p7(e);return n({scrollTo:R,scrollToLeft:B,scrollToTop:K,scrollToRow:Y}),wt(Bh,{ns:a,isResetting:k,isScrolling:E}),()=>{const{cache:X,cellProps:J,estimatedRowHeight:fe,expandColumnKey:ue,fixedData:he,headerHeight:re,headerClass:te,headerProps:ee,headerCellProps:H,sortBy:Z,sortState:se,rowHeight:pe,rowClass:ge,rowEventHandlers:ye,rowKey:Ne,rowProps:_e,scrollbarAlwaysOn:Me,indentSize:me,iconSize:Te,useIsScrolling:we,vScrollbarSize:Ie,width:Ve}=e,Xe=i(g),$e={cache:X,class:a.e("main"),columns:i(u),data:Xe,fixedData:he,estimatedRowHeight:fe,bodyWidth:i($),headerHeight:re,headerWidth:i($),height:i(c),mainTableRef:y,rowKey:Ne,rowHeight:pe,scrollbarAlwaysOn:Me,scrollbarStartGap:2,scrollbarEndGap:Ie,useIsScrolling:we,width:Ve,getRowHeight:z,onRowsRendered:V,onScroll:U},Pe=i(f),je=i(d),xt={cache:X,class:a.e("left"),columns:i(s),data:Xe,fixedData:he,estimatedRowHeight:fe,leftTableRef:b,rowHeight:pe,bodyWidth:Pe,headerWidth:Pe,headerHeight:re,height:je,rowKey:Ne,scrollbarAlwaysOn:Me,scrollbarStartGap:2,scrollbarEndGap:Ie,useIsScrolling:we,width:Pe,getRowHeight:z,onScroll:W},Mt=i(h),Ue={cache:X,class:a.e("right"),columns:i(r),data:Xe,fixedData:he,estimatedRowHeight:fe,rightTableRef:C,rowHeight:pe,bodyWidth:Mt,headerWidth:Mt,headerHeight:re,height:je,rowKey:Ne,scrollbarAlwaysOn:Me,scrollbarStartGap:2,scrollbarEndGap:Ie,width:Mt,style:`${a.cssVarName("table-scrollbar-size")}: ${Ie}px`,useIsScrolling:we,getRowHeight:z,onScroll:W},rt=i(l),mt={ns:a,depthMap:i(p),columnsStyles:rt,expandColumnKey:ue,expandedRowKeys:i(v),estimatedRowHeight:fe,hasFixedColumns:i(m),rowProps:_e,rowClass:ge,rowKey:Ne,rowEventHandlers:ye,onRowHovered:L,onRowExpanded:D,onRowHeightChange:I},de={cellProps:J,expandColumnKey:ue,indentSize:me,iconSize:Te,rowKey:Ne,expandedRowKeys:i(v),ns:a,t:o},Fe={ns:a,headerClass:te,headerProps:ee,columnsStyles:rt},ce={ns:a,t:o,sortBy:Z,sortState:se,headerCellProps:H,onColumnSorted:P},Re={row:qt=>q(T7,ut(qt,mt),{row:t.row,cell:Oe=>{let Ye;return t.cell?q(Rp,ut(Oe,de,{style:rt[Oe.column.key]}),Rr(Ye=t.cell(Oe))?Ye:{default:()=>[Ye]}):q(Rp,ut(Oe,de,{style:rt[Oe.column.key]}),null)}}),header:qt=>q(M7,ut(qt,Fe),{header:t.header,cell:Oe=>{let Ye;return t["header-cell"]?q(gb,ut(Oe,ce,{style:rt[Oe.column.key]}),Rr(Ye=t["header-cell"](Oe))?Ye:{default:()=>[Ye]}):q(gb,ut(Oe,ce,{style:rt[Oe.column.key]}),null)}})},vt=[e.class,a.b(),a.e("root"),a.is("dynamic",i(w))],Vt={class:a.e("footer"),style:i(T)};return q("div",{class:vt,style:i(M)},[q(y7,$e,Rr(Re)?Re:{default:()=>[Re]}),q(w7,xt,Rr(Re)?Re:{default:()=>[Re]}),q(S7,Ue,Rr(Re)?Re:{default:()=>[Re]}),t.footer&&q(e2,Vt,{default:t.footer}),i(A)&&q(t2,{class:a.e("empty"),style:i(O)},{default:t.empty}),t.overlay&&q(n2,{class:a.e("overlay")},{default:t.overlay})])}}}),R7=Se({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:G(Function)}}),A7=e=>{const t=_(),n=_(0),a=_(0);let o;return ft(()=>{o=Gt(t,([l])=>{const{width:s,height:r}=l.contentRect,{paddingLeft:u,paddingRight:c,paddingTop:d,paddingBottom:f}=getComputedStyle(l.target),h=Number.parseInt(u)||0,g=Number.parseInt(c)||0,p=Number.parseInt(d)||0,v=Number.parseInt(f)||0;n.value=s-h-g,a.value=r-p-v}).stop}),Rt(()=>{o==null||o()}),ie([n,a],([l,s])=>{var r;(r=e.onResize)==null||r.call(e,{width:l,height:s})}),{sizer:t,width:n,height:a}},_7=le({name:"ElAutoResizer",props:R7,setup(e,{slots:t}){const n=ve("auto-resizer"),{height:a,width:o,sizer:l}=A7(e),s={width:"100%",height:"100%"};return()=>{var r;return q("div",{ref:l,class:n.b(),style:s},[(r=t.default)==null?void 0:r.call(t,{height:a.value,width:o.value})])}}}),L7=lt(P7),D7=lt(_7),Td=Symbol("tabsRootContextKey"),B7=Se({tabs:{type:G(Array),default:()=>en([])},tabRefs:{type:G(Object),default:()=>en({})}}),yb="ElTabBar";var V7=le({name:yb,__name:"tab-bar",props:B7,setup(e,{expose:t}){const n=e,a=Le(Td);a||Xt(yb,"");const o=ve("tabs"),l=_(),s=_(),r=S(()=>{var g;return kt(a.props.defaultValue)||!!((g=s.value)!=null&&g.transform)}),u=()=>{let g=0,p=0;const v=["top","bottom"].includes(a.props.tabPosition)?"width":"height",m=v==="width"?"x":"y",y=m==="x"?"left":"top";return n.tabs.every(b=>{if(kt(b.paneName))return!1;const C=n.tabRefs[b.paneName];if(!C)return!1;if(!b.active)return!0;g=C[`offset${hl(y)}`],p=C[`client${hl(v)}`];const w=window.getComputedStyle(C);return v==="width"&&(p-=Number.parseFloat(w.paddingLeft)+Number.parseFloat(w.paddingRight),g+=Number.parseFloat(w.paddingLeft)),!1}),{[v]:`${p}px`,transform:`translate${hl(m)}(${g}px)`}},c=()=>s.value=u(),d=[],f=()=>{d.forEach(g=>g.stop()),d.length=0,Object.values(n.tabRefs).forEach(g=>{d.push(Gt(g,c))})};ie(()=>n.tabs,async()=>{await Ae(),c(),f()},{immediate:!0});const h=Gt(l,()=>c());return Rt(()=>{d.forEach(g=>g.stop()),d.length=0,h.stop()}),t({ref:l,update:c}),(g,p)=>r.value?(x(),F("div",{key:0,ref_key:"barRef",ref:l,class:N([i(o).e("active-bar"),i(o).is(i(a).props.tabPosition)]),style:We(s.value)},null,6)):ae("v-if",!0)}}),F7=V7;const z7=Se({panes:{type:G(Array),default:()=>en([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),H7={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},bb="ElTabNav",K7=le({name:bb,props:z7,emits:H7,setup(e,{expose:t,emit:n}){const a=Le(Td);a||Xt(bb,"");const o=ve("tabs"),l=nP(),s=oP(),r=_(),u=_(),c=_(),d=_({}),f=_(),h=_(!1),g=_(0),p=_(!1),v=_(!0),m=jt(),y=S(()=>["top","bottom"].includes(a.props.tabPosition)),b=S(()=>y.value?"width":"height"),C=S(()=>({transform:`translate${b.value==="width"?"X":"Y"}(-${g.value}px)`})),{width:w,height:k}=Hf(r),{width:E,height:$}=Hf(u,{width:0,height:0},{box:"border-box"}),O=S(()=>y.value?w.value:k.value),M=S(()=>y.value?E.value:$.value),{onWheel:T}=kk({atStartEdge:S(()=>g.value<=0),atEndEdge:S(()=>M.value-g.value<=O.value),layout:S(()=>y.value?"horizontal":"vertical")},D=>{g.value=jl(g.value+D,0,M.value-O.value)}),A=()=>{if(!r.value)return;const D=r.value[`offset${hl(b.value)}`],V=g.value;V&&(g.value=V>D?V-D:0)},R=()=>{if(!r.value||!u.value)return;const D=u.value[`offset${hl(b.value)}`],V=r.value[`offset${hl(b.value)}`],U=g.value;D-U<=V||(g.value=D-U>V*2?U+V:D-V)},B=async()=>{const D=u.value;if(!h.value||!c.value||!r.value||!D)return;await Ae();const V=d.value[e.currentName];if(!V)return;const U=r.value,W=V.getBoundingClientRect(),X=U.getBoundingClientRect(),J=y.value?D.offsetWidth-X.width:D.offsetHeight-X.height,fe=g.value;let ue=fe;y.value?(W.leftX.right&&(ue=fe+W.right-X.right)):(W.topX.bottom&&(ue=fe+(W.bottom-X.bottom))),ue=Math.max(ue,0),g.value=Math.min(ue,J)},K=()=>{var W;if(!u.value||!r.value)return;e.stretch&&((W=f.value)==null||W.update());const D=u.value[`offset${hl(b.value)}`],V=r.value[`offset${hl(b.value)}`],U=g.value;V0&&(g.value=0))},Y=D=>{const V=Ft(D);let U=0;switch(V){case Ce.left:case Ce.up:U=-1;break;case Ce.right:case Ce.down:U=1;break;default:return}const W=Array.from(D.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let X=W.indexOf(D.target)+U;X<0?X=W.length-1:X>=W.length&&(X=0),W[X].focus({preventScroll:!0}),W[X].click(),z()},z=()=>{v.value&&(p.value=!0)},P=()=>p.value=!1,I=(D,V)=>{d.value[V]=D},L=async()=>{var D;await Ae(),(D=d.value[e.currentName])==null||D.focus({preventScroll:!0})};return ie(l,D=>{D==="hidden"?v.value=!1:D==="visible"&&setTimeout(()=>v.value=!0,50)}),ie(s,D=>{D?setTimeout(()=>v.value=!0,50):v.value=!1}),Gt(c,()=>{za(K)}),ft(()=>setTimeout(()=>B(),0)),Ua(()=>K()),t({scrollToActiveTab:B,removeFocus:P,focusActiveTab:L,tabListRef:u,tabBarRef:f,scheduleRender:()=>Au(m)}),()=>{const D=h.value?[q("span",{class:[o.e("nav-prev"),o.is("disabled",!h.value.prev)],onClick:A},[q(Be,null,{default:()=>[q(qo,null,null)]})]),q("span",{class:[o.e("nav-next"),o.is("disabled",!h.value.next)],onClick:R},[q(Be,null,{default:()=>[q(Xn,null,null)]})])]:null,V=e.panes.map((U,W)=>{var ee,H;const X=U.uid,J=U.props.disabled,fe=U.props.name??U.index??`${W}`,ue=!J&&(U.isClosable||U.props.closable!==!1&&e.editable);U.index=`${W}`;const he=ue?q(Be,{class:"is-icon-close",onClick:Z=>n("tabRemove",U,Z)},{default:()=>[q(Ma,null,null)]}):null,re=((H=(ee=U.slots).label)==null?void 0:H.call(ee))||U.props.label,te=!J&&U.active?e.tabindex??a.props.tabindex:-1;return q("div",{ref:Z=>I(Z,fe),class:[o.e("item"),o.is(a.props.tabPosition),o.is("active",U.active),o.is("disabled",J),o.is("closable",ue),o.is("focus",p.value)],id:`tab-${fe}`,key:`tab-${X}`,"aria-controls":`pane-${fe}`,role:"tab","aria-selected":U.active,tabindex:te,onFocus:()=>z(),onBlur:()=>P(),onClick:Z=>{P(),n("tabClick",U,fe,Z)},onKeydown:Z=>{const se=Ft(Z);ue&&(se===Ce.delete||se===Ce.backspace)&&n("tabRemove",U,Z)}},[re,he])});return m.value,q("div",{ref:c,class:[o.e("nav-wrap"),o.is("scrollable",!!h.value),o.is(a.props.tabPosition)]},[D,q("div",{class:o.e("nav-scroll"),ref:r},[e.panes.length>0?q("div",{class:[o.e("nav"),o.is(a.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(a.props.tabPosition))],ref:u,style:C.value,role:"tablist",onKeydown:Y,onWheel:T},[e.type?null:q(F7,{ref:f,tabs:[...e.panes],tabRefs:d.value},null),V]):null])])}}}),W7=Se({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:G(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),wf=e=>De(e)||Ke(e),j7={[tt]:e=>wf(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>wf(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>wf(e),tabAdd:()=>!0},Y7=le({name:"ElTabs",props:W7,emits:j7,setup(e,{emit:t,slots:n,expose:a}){const o=ve("tabs"),l=S(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:r,removeChild:u,ChildrenSorter:c}=hd(ct(),"ElTabPane"),d=_(),f=_((kt(e.modelValue)?e.defaultValue:e.modelValue)??"0"),h=async(b,C=!1)=>{var w,k,E,$;if(!(f.value===b||kt(b)))try{let O;if(e.beforeLeave){const M=e.beforeLeave(b,f.value);O=M instanceof Promise?await M:M}else O=!0;if(O!==!1){const M=(w=s.value.find(T=>T.paneName===f.value))==null?void 0:w.isFocusInsidePane();f.value=b,C&&(t(tt,b),t("tabChange",b)),(E=(k=d.value)==null?void 0:k.removeFocus)==null||E.call(k),M&&(($=d.value)==null||$.focusActiveTab())}}catch{}},g=(b,C,w)=>{b.props.disabled||(t("tabClick",b,w),h(C,!0))},p=(b,C)=>{b.props.disabled||kt(b.props.name)||(C.stopPropagation(),t("edit",b.props.name,"remove"),t("tabRemove",b.props.name))},v=()=>{t("edit",void 0,"add"),t("tabAdd")},m=b=>{const C=Ft(b);[Ce.enter,Ce.numpadEnter].includes(C)&&v()},y=b=>{const C=b.el.firstChild,w=["bottom","right"].includes(e.tabPosition)?b.children[0].el:b.children[1].el;C!==w&&C.before(w)};return ie(()=>e.modelValue,b=>h(b)),ie(f,async()=>{var b;await Ae(),(b=d.value)==null||b.scrollToActiveTab()}),wt(Td,{props:e,currentName:f,registerPane:r,unregisterPane:u,nav$:d}),a({currentName:f,get tabNavRef(){return Vi(d.value,["scheduleRender"])}}),()=>{const b=n["add-icon"],C=e.editable||e.addable?q("div",{class:[o.e("new-tab"),l.value&&o.e("new-tab-vertical")],tabindex:e.tabindex,onClick:v,onKeydown:m},[b?ne(n,"add-icon"):q(Be,{class:o.is("icon-plus")},{default:()=>[q(eC,null,null)]})]):null,w=()=>q(K7,{ref:d,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:g,onTabRemove:p},null),k=q("div",{class:[o.e("header"),l.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[q(c,null,{default:w,$stable:!0}),C]),E=q("div",{class:o.e("content")},[ne(n,"default")]);return q("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}],onVnodeMounted:y,onVnodeUpdated:y},[E,k])}}}),U7=Se({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),q7=["id","aria-hidden","aria-labelledby"],wb="ElTabPane";var G7=le({name:wb,__name:"tab-pane",props:U7,setup(e){const t=e,n=ct(),a=cn(),o=Le(Td);o||Xt(wb,"usage: ");const l=ve("tab-pane"),s=_(),r=_(),u=S(()=>t.closable??o.props.closable),c=S(()=>o.currentName.value===(t.name??r.value)),d=_(c.value),f=S(()=>t.name??r.value),h=S(()=>!t.lazy||d.value||c.value),g=()=>{var v;return(v=s.value)==null?void 0:v.contains(document.activeElement)};ie(c,v=>{v&&(d.value=!0)});const p=It({uid:n.uid,getVnode:()=>n.vnode,slots:a,props:t,paneName:f,active:c,index:r,isClosable:u,isFocusInsidePane:g});return o.registerPane(p),Rt(()=>{o.unregisterPane(p)}),ov(()=>{var v;a.label&&((v=o.nav$.value)==null||v.scheduleRender())}),(v,m)=>h.value?it((x(),F("div",{key:0,id:`pane-${f.value}`,ref_key:"paneRef",ref:s,class:N(i(l).b()),role:"tabpanel","aria-hidden":!c.value,"aria-labelledby":`tab-${f.value}`},[ne(v.$slots,"default")],10,q7)),[[Ot,c.value]]):ae("v-if",!0)}}),a2=G7;const X7=lt(Y7,{TabPane:a2}),Z7=Zt(a2),J7=Se({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:qa,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var Q7=le({name:"ElText",__name:"text",props:J7,setup(e){const t=e,n=_(),a=yn(),o=ve("text"),l=S(()=>[o.b(),o.m(t.type),o.m(a.value),o.is("truncated",t.truncated),o.is("line-clamp",!kt(t.lineClamp))]),s=()=>{var c,d,f,h,g,p,v;if(Jo().title)return;let r=!1;const u=((c=n.value)==null?void 0:c.textContent)||"";if(t.truncated){const m=(d=n.value)==null?void 0:d.offsetWidth,y=(f=n.value)==null?void 0:f.scrollWidth;m&&y&&y>m&&(r=!0)}else if(!kt(t.lineClamp)){const m=(h=n.value)==null?void 0:h.offsetHeight,y=(g=n.value)==null?void 0:g.scrollHeight;m&&y&&y>m&&(r=!0)}r?(p=n.value)==null||p.setAttribute("title",u):(v=n.value)==null||v.removeAttribute("title")};return ft(s),Ua(s),(r,u)=>(x(),oe(st(e.tag),{ref_key:"textRef",ref:n,class:N(l.value),style:We({"-webkit-line-clamp":e.lineClamp})},{default:Q(()=>[ne(r.$slots,"default")]),_:3},8,["class","style"]))}}),eY=Q7;const Hh=lt(eY),Ap="00:30",tY=Se({format:{type:String,default:"HH:mm"},modelValue:{type:G(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:G(String),default:"light"},clearable:{type:Boolean,default:!0},size:wn,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:Ap},minTime:{type:G(String)},maxTime:{type:G(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:G([String,Object]),default:()=>Q1},clearIcon:{type:G([String,Object]),default:()=>xo},popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},...gs}),_o=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const a=Number.parseInt(t[1],10),o=e.toUpperCase();return o.includes("AM")&&n===12?n=0:o.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:a}}return null},Cf=(e,t)=>{const n=_o(e);if(!n)return-1;const a=_o(t);if(!a)return-1;const o=n.minutes+n.hours*60,l=a.minutes+a.hours*60;return o===l?0:o>l?1:-1},Cb=e=>`${e}`.padStart(2,"0"),Ms=e=>`${Cb(e.hours)}:${Cb(e.minutes)}`,nY=(e,t)=>{const n=_o(e);if(!n)return"";const a=_o(t);if(!a)return"";const o={hours:n.hours,minutes:n.minutes};return o.minutes+=a.minutes,o.hours+=a.hours,o.hours+=Math.floor(o.minutes/60),o.minutes=o.minutes%60,Ms(o)};var aY=le({name:"ElTimeSelect",__name:"time-select",props:tY,emits:[ht,"blur","focus","clear",tt],setup(e,{expose:t}){ot.extend(uh);const{Option:n}=Ml,a=e,o=ve("input"),l=_(),s=nn(),{lang:r}=St(),u=S(()=>a.modelValue),c=S(()=>{const y=_o(a.start);return y?Ms(y):null}),d=S(()=>{const y=_o(a.end);return y?Ms(y):null}),f=S(()=>{const y=_o(a.minTime||"");return y?Ms(y):null}),h=S(()=>{const y=_o(a.maxTime||"");return y?Ms(y):null}),g=S(()=>{const y=_o(a.step),b=!y||y.hours<0||y.minutes<0||Number.isNaN(y.hours)||Number.isNaN(y.minutes)||y.hours===0&&y.minutes===0;return b&&dt("ElTimeSelect",`invalid step, fallback to default step (${Ap}).`),b?Ap:Ms(y)}),p=S(()=>{var C;const y=[],b=(w,k)=>{y.push({value:w,rawValue:k,disabled:Cf(k,f.value||"-1:-1")<=0||Cf(k,h.value||"100:100")>=0})};if(a.start&&a.end&&a.step){let w=c.value,k;for(;w&&d.value&&Cf(w,d.value)<=0;)k=ot(w,"HH:mm").locale(r.value).format(a.format),b(k,w),w=nY(w,g.value);a.includeEndTime&&d.value&&((C=y[y.length-1])==null?void 0:C.rawValue)!==d.value&&b(ot(d.value,"HH:mm").locale(r.value).format(a.format),d.value)}return y});return t({blur:()=>{var y,b;(b=(y=l.value)==null?void 0:y.blur)==null||b.call(y)},focus:()=>{var y,b;(b=(y=l.value)==null?void 0:y.focus)==null||b.call(y)}}),(y,b)=>(x(),oe(i(Ml),{ref_key:"select",ref:l,name:e.name,"model-value":u.value,disabled:i(s),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"popper-class":e.popperClass,"popper-style":e.popperStyle,"onUpdate:modelValue":b[0]||(b[0]=C=>y.$emit(i(tt),C)),onChange:b[1]||(b[1]=C=>y.$emit(i(ht),C)),onBlur:b[2]||(b[2]=C=>y.$emit("blur",C)),onFocus:b[3]||(b[3]=C=>y.$emit("focus",C)),onClear:b[4]||(b[4]=()=>y.$emit("clear"))},{prefix:Q(()=>[e.prefixIcon?(x(),oe(i(Be),{key:0,class:N(i(o).e("prefix-icon"))},{default:Q(()=>[(x(),oe(st(e.prefixIcon)))]),_:1},8,["class"])):ae("v-if",!0)]),default:Q(()=>[(x(!0),F(He,null,yt(p.value,C=>(x(),oe(i(n),{key:C.value,label:C.value,value:C.value,disabled:C.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["name","model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}}),oY=aY;const lY=lt(oY),o2="timeline",sY=Se({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),rY=le({name:"ElTimeline",props:sY,setup(e,{slots:t}){const n=ve("timeline");wt(o2,{props:e,slots:t});const a=S(()=>[n.b(),n.is(e.mode)]);return()=>{var l;const o=ma(((l=t.default)==null?void 0:l.call(t))??[]);return Ge("ul",{class:a.value},e.reverse?o.reverse():o)}}}),iY=Se({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:Bt},hollow:Boolean});var uY=le({name:"ElTimelineItem",__name:"timeline-item",props:iY,setup(e){const t=e,{props:n}=Le(o2),a=ve("timeline-item"),o=S(()=>[a.e("node"),a.em("node",t.size||""),a.em("node",t.type||""),a.is("hollow",t.hollow)]),l=S(()=>[a.b(),{[a.e("center")]:t.center},a.is(n.mode)]);return(s,r)=>(x(),F("li",{class:N(l.value)},[j("div",{class:N(i(a).e("tail"))},null,2),s.$slots.dot?ae("v-if",!0):(x(),F("div",{key:0,class:N(o.value),style:We({backgroundColor:e.color})},[e.icon?(x(),oe(i(Be),{key:0,class:N(i(a).e("icon"))},{default:Q(()=>[(x(),oe(st(e.icon)))]),_:1},8,["class"])):ae("v-if",!0)],6)),s.$slots.dot?(x(),F("div",{key:1,class:N(i(a).e("dot"))},[ne(s.$slots,"dot")],2)):ae("v-if",!0),j("div",{class:N(i(a).e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(x(),F("div",{key:0,class:N([i(a).e("timestamp"),i(a).is("top")])},ke(e.timestamp),3)):ae("v-if",!0),j("div",{class:N(i(a).e("content"))},[ne(s.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(x(),F("div",{key:1,class:N([i(a).e("timestamp"),i(a).is("bottom")])},ke(e.timestamp),3)):ae("v-if",!0)],2)],2))}}),l2=uY;const cY=lt(rY,{TimelineItem:l2}),dY=Zt(l2),s2="left-check-change",r2="right-check-change",Is=Se({data:{type:G(Array),default:()=>[]},titles:{type:G(Array),default:()=>[]},buttonTexts:{type:G(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:G(Function)},leftDefaultChecked:{type:G(Array),default:()=>[]},rightDefaultChecked:{type:G(Array),default:()=>[]},renderContent:{type:G(Function)},modelValue:{type:G(Array),default:()=>[]},format:{type:G(Object),default:()=>({})},filterable:Boolean,props:{type:G(Object),default:()=>en({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),_p=(e,t)=>[e,t].every(be)||be(e)&&pn(t),fY={[ht]:(e,t,n)=>[e,n].every(be)&&["left","right"].includes(t),[tt]:e=>be(e),[s2]:_p,[r2]:_p},su=e=>{const t={label:"label",key:"key",disabled:"disabled"};return S(()=>({...t,...e.props}))},pY=(e,t)=>({onSourceCheckedChange:(o,l)=>{e.leftChecked=o,l&&t(s2,o,l)},onTargetCheckedChange:(o,l)=>{e.rightChecked=o,l&&t(r2,o,l)}}),vY=e=>{const t=su(e),n=S(()=>e.data.reduce((a,o)=>(a[o[t.value.key]]=o)&&a,{}));return{sourceData:S(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value.key]))),targetData:S(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value.key])):e.modelValue.reduce((a,o)=>{const l=n.value[o];return l&&a.push(l),a},[]))}},hY=(e,t,n)=>{const a=su(e),o=(r,u,c)=>{n(tt,r),n(ht,r,u,c)};return{addToLeft:()=>{const r=e.modelValue.slice();t.rightChecked.forEach(u=>{const c=r.indexOf(u);c>-1&&r.splice(c,1)}),o(r,"left",t.rightChecked)},addToRight:()=>{let r=e.modelValue.slice();const u=e.data.filter(c=>{const d=c[a.value.key];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[a.value.key]);r=e.targetOrder==="unshift"?u.concat(r):r.concat(u),e.targetOrder==="original"&&(r=e.data.filter(c=>r.includes(c[a.value.key])).map(c=>c[a.value.key])),o(r,"right",t.leftChecked)}}},Lp="checked-change",mY=Se({data:Is.data,optionRender:{type:G(Function)},placeholder:String,title:String,filterable:Boolean,format:Is.format,filterMethod:Is.filterMethod,defaultChecked:Is.leftDefaultChecked,props:Is.props}),gY={[Lp]:_p},yY=(e,t,n)=>{const a=su(e),o=S(()=>e.data.filter(d=>ze(e.filterMethod)?e.filterMethod(t.query,d):String(d[a.value.label]||d[a.value.key]).toLowerCase().includes(t.query.toLowerCase()))),l=S(()=>o.value.filter(d=>!d[a.value.disabled])),s=S(()=>{const d=t.checked.length,f=e.data.length,{noChecked:h,hasChecked:g}=e.format;return h&&g?d>0?g.replace(/\${checked}/g,d.toString()).replace(/\${total}/g,f.toString()):h.replace(/\${total}/g,f.toString()):`${d}/${f}`}),r=S(()=>{const d=t.checked.length;return d>0&&d{const d=l.value.map(f=>f[a.value.key]);t.allChecked=d.length>0&&d.every(f=>t.checked.includes(f))},c=d=>{t.checked=d?l.value.map(f=>f[a.value.key]):[]};return ie(()=>t.checked,(d,f)=>{u(),t.checkChangeByUser?n(Lp,d,d.concat(f).filter(h=>!d.includes(h)||!f.includes(h))):(n(Lp,d),t.checkChangeByUser=!0)}),ie(l,()=>{u()}),ie(()=>e.data,()=>{const d=[],f=o.value.map(h=>h[a.value.key]);t.checked.forEach(h=>{f.includes(h)&&d.push(h)}),t.checkChangeByUser=!1,t.checked=d}),ie(()=>e.defaultChecked,(d,f)=>{if(f&&d.length===f.length&&d.every(p=>f.includes(p)))return;const h=[],g=l.value.map(p=>p[a.value.key]);d.forEach(p=>{g.includes(p)&&h.push(p)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{filteredData:o,checkableData:l,checkedSummary:s,isIndeterminate:r,updateAllChecked:u,handleAllCheckedChange:c}};var bY=le({name:"ElTransferPanel",__name:"transfer-panel",props:mY,emits:gY,setup(e,{expose:t,emit:n}){const a=e,o=n,l=cn(),s=({option:w})=>w,{t:r}=St(),u=ve("transfer"),c=It({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),d=su(a),{filteredData:f,checkedSummary:h,isIndeterminate:g,handleAllCheckedChange:p}=yY(a,c,o),v=S(()=>!ta(c.query)&&ta(f.value)),m=S(()=>!ta(l.default()[0].children)),{checked:y,allChecked:b,query:C}=$n(c);return t({query:C}),(w,k)=>(x(),F("div",{class:N(i(u).b("panel"))},[j("p",{class:N(i(u).be("panel","header"))},[q(i(Ya),{modelValue:i(b),"onUpdate:modelValue":k[0]||(k[0]=E=>Yt(b)?b.value=E:null),indeterminate:i(g),"validate-event":!1,onChange:i(p)},{default:Q(()=>[j("span",{class:N(i(u).be("panel","header-title"))},ke(e.title),3),j("span",{class:N(i(u).be("panel","header-count"))},ke(i(h)),3)]),_:1},8,["modelValue","indeterminate","onChange"])],2),j("div",{class:N([i(u).be("panel","body"),i(u).is("with-footer",m.value)])},[e.filterable?(x(),oe(i(qn),{key:0,modelValue:i(C),"onUpdate:modelValue":k[1]||(k[1]=E=>Yt(C)?C.value=E:null),class:N(i(u).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":i(R4),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):ae("v-if",!0),it(q(i(ph),{modelValue:i(y),"onUpdate:modelValue":k[2]||(k[2]=E=>Yt(y)?y.value=E:null),"validate-event":!1,class:N([i(u).is("filterable",e.filterable),i(u).be("panel","list")])},{default:Q(()=>[(x(!0),F(He,null,yt(i(f),E=>(x(),oe(i(Ya),{key:E[i(d).key],class:N(i(u).be("panel","item")),value:E[i(d).key],disabled:E[i(d).disabled],"validate-event":!1},{default:Q(()=>{var $;return[q(s,{option:($=e.optionRender)==null?void 0:$.call(e,E)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[Ot,!v.value&&!i(ta)(e.data)]]),it(j("div",{class:N(i(u).be("panel","empty"))},[ne(w.$slots,"empty",{},()=>[bt(ke(v.value?i(r)("el.transfer.noMatch"):i(r)("el.transfer.noData")),1)])],2),[[Ot,v.value||i(ta)(e.data)]])],2),m.value?(x(),F("p",{key:0,class:N(i(u).be("panel","footer"))},[ne(w.$slots,"default")],2)):ae("v-if",!0)],2))}}),Sb=bY;const wY={key:0},CY={key:0};var SY=le({name:"ElTransfer",__name:"transfer",props:Is,emits:fY,setup(e,{expose:t,emit:n}){const a=e,o=n,l=cn(),{t:s}=St(),r=ve("transfer"),{formItem:u}=In(),c=It({leftChecked:[],rightChecked:[]}),d=su(a),{sourceData:f,targetData:h}=vY(a),{onSourceCheckedChange:g,onTargetCheckedChange:p}=pY(c,o),{addToLeft:v,addToRight:m}=hY(a,c,o),y=_(),b=_(),C=M=>{switch(M){case"left":y.value.query="";break;case"right":b.value.query="";break}},w=S(()=>a.buttonTexts.length===2),k=S(()=>a.titles[0]||s("el.transfer.titles.0")),E=S(()=>a.titles[1]||s("el.transfer.titles.1")),$=S(()=>a.filterPlaceholder||s("el.transfer.filterPlaceholder"));ie(()=>a.modelValue,()=>{var M;a.validateEvent&&((M=u==null?void 0:u.validate)==null||M.call(u,"change").catch(T=>dt(T)))});const O=S(()=>M=>{var A;if(a.renderContent)return a.renderContent(Ge,M);const T=(((A=l.default)==null?void 0:A.call(l,{option:M}))||[]).filter(R=>R.type!==fn);return T.length?T:Ge("span",M[d.value.label]||M[d.value.key])});return t({clearQuery:C,leftPanel:y,rightPanel:b}),(M,T)=>(x(),F("div",{class:N(i(r).b())},[q(Sb,{ref_key:"leftPanel",ref:y,data:i(f),"option-render":O.value,placeholder:$.value,title:k.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:a.props,onCheckedChange:i(g)},{empty:Q(()=>[ne(M.$slots,"left-empty")]),default:Q(()=>[ne(M.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),j("div",{class:N(i(r).e("buttons"))},[q(i(xn),{type:"primary",class:N([i(r).e("button"),i(r).is("with-texts",w.value)]),disabled:i(ta)(c.rightChecked),onClick:i(v)},{default:Q(()=>[q(i(Be),null,{default:Q(()=>[q(i(qo))]),_:1}),i(kt)(e.buttonTexts[0])?ae("v-if",!0):(x(),F("span",wY,ke(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),q(i(xn),{type:"primary",class:N([i(r).e("button"),i(r).is("with-texts",w.value)]),disabled:i(ta)(c.leftChecked),onClick:i(m)},{default:Q(()=>[i(kt)(e.buttonTexts[1])?ae("v-if",!0):(x(),F("span",CY,ke(e.buttonTexts[1]),1)),q(i(Be),null,{default:Q(()=>[q(i(Xn))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),q(Sb,{ref_key:"rightPanel",ref:b,data:i(h),"option-render":O.value,placeholder:$.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:E.value,"default-checked":e.rightDefaultChecked,props:a.props,onCheckedChange:i(p)},{empty:Q(()=>[ne(M.$slots,"right-empty")]),default:Q(()=>[ne(M.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}}),kY=SY;const EY=lt(kY),Kh="RootTree",i2="NodeInstance",kb="TreeNodeMap",u2=Se({data:{type:G(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:G(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:G(Function)},allowDrop:{type:G(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:Bt}}),xY={"check-change":(e,t,n)=>e&&Dt(t)&&Dt(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,a)=>e&&t&&a instanceof Event,"node-contextmenu":(e,t,n,a)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,a)=>e&&a,"node-drop":(e,t,n,a)=>e&&t&&a,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},Ks="$treeNodeId",Eb=function(e,t){!t||t[Ks]||Object.defineProperty(t,Ks,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},Wh=(e,t)=>t==null?void 0:t[e||Ks],Dp=(e,t,n)=>{const a=e.value.currentNode;n();const o=e.value.currentNode;a!==o&&t("current-change",o?o.data:null,o)},c2=e=>{let t=!0,n=!0,a=!0,o=!0;for(let l=0,s=e.length;l{n.canFocus=t,Bp(n.childNodes,t)})};let TY=0;var Vp=class Zu{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.isEffectivelyChecked=!1,this.id=TY++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)Tt(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var l;const t=this.store;if(!t)throw new Error("[Node]store is required!");t.registerNode(this);const n=t.props;if(n&&typeof n.isLeaf<"u"){const s=Mu(this,"isLeaf");Dt(s)&&(this.isLeafByUser=s)}if(t.lazy!==!0&&this.data?(this.setData(this.data),t.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&t.lazy&&t.defaultExpandAll&&!this.isLeafByUser&&this.expand(),be(this.data)||Eb(this,this.data),!this.data)return;const a=t.defaultExpandedKeys,o=t.key;o&&!pn(this.key)&&a&&a.includes(this.key)&&this.expand(null,t.autoExpandParent),o&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode&&(t.currentNode.isCurrent=!1),t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((l=this.parent)==null?void 0:l.expanded)===!0)&&(this.canFocus=!0)}setData(t){be(t)||Eb(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&be(this.data)?n=this.data:n=Mu(this,"children")||[];for(let a=0,o=n.length;a-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(a=>a===t||n&&a.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,a){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Zu)){if(!a){const o=this.getChildren(!0);o!=null&&o.includes(t.data)||(kt(n)||n<0?o==null||o.push(t.data):o==null||o.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=It(new Zu(t)),t instanceof Zu&&t.initialize()}t.level=this.level+1,kt(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let a;n&&(a=this.childNodes.indexOf(n)),this.insertChild(t,a)}insertAfter(t,n){let a;n&&(a=this.childNodes.indexOf(n),a!==-1&&(a+=1)),this.insertChild(t,a)}removeChild(t){const n=this.getChildren()||[],a=n.indexOf(t.data);a>-1&&n.splice(a,1);const o=this.childNodes.indexOf(t);o>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(a=>a.data===t);n&&this.removeChild(n)}expand(t,n){const a=()=>{if(n){let o=this.parent;for(;o&&o.level>0;)o.expanded=!0,o=o.parent}this.expanded=!0,t&&t(),Bp(this.childNodes,!0)};this.shouldLoadData()?this.loadData(o=>{be(o)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Lr(this),a())}):a()}doCreateChildren(t,n={}){t.forEach(a=>{this.insertChild(Object.assign({data:a},n),void 0,!0)})}collapse(){this.expanded=!1,Bp(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,a,o){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const s=()=>{if(n){const r=this.childNodes;for(let f=0,h=r.length;f{s(),Lr(this)},{checked:t!==!1});return}else s()}const l=this.parent;!l||l.level===0||a||Lr(l)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const a=this.store.props;let o="children";return a&&(o=a.children||"children"),kt(n[o])&&(n[o]=null),t&&!n[o]&&(n[o]=[]),n[o]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(l=>l.data),a={},o=[];t.forEach((l,s)=>{const r=l[Ks];r&&n.some(u=>(u==null?void 0:u[Ks])===r)?a[r]={index:s,data:l}:o.push({index:s,data:l})}),this.store.lazy||n.forEach(l=>{a[l==null?void 0:l[Ks]]||this.removeChildByData(l)}),o.forEach(({index:l,data:s})=>{this.insertChild({data:s},l)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const a=l=>{this.childNodes=[],this.doCreateChildren(l,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,l)},o=()=>{this.loading=!1};this.store.load(this,a,o)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const a=n.shift();n.unshift(...a.childNodes),t(a)}}reInitChecked(){this.store.checkStrictly||Lr(this)}},$Y=class{constructor(e){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const t in e)Tt(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){if(this.root=new Vp({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const e=this.load;e(this.root,t=>{this.root.doCreateChildren(t),this._initDefaultCheckedNodes()},Pt)}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,a=async function(o){const l=o.root?o.root.childNodes:o.childNodes;for(const[s,r]of l.entries())r.visible=!!(t!=null&&t.call(r,e,r.data,r)),s%80===0&&s>0&&await Ae(),await a(r);if(!o.visible&&l.length){let s=!0;s=!l.some(r=>r.visible),o.root?o.root.visible=s===!1:o.visible=s===!1}e&&o.visible&&!o.isLeaf&&(!n||o.loaded)&&o.expand()};a(this)}setData(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(e){if(e instanceof Vp)return e;const t=nt(e)?Wh(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){var a;const n=this.getNode(t);(a=n.parent)==null||a.insertBefore({data:e},n)}insertAfter(e,t){var a;const n=this.getNode(t);(a=n.parent)==null||a.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=ia(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach(n=>{const a=t[n];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){const t=this.defaultCheckedKeys||[];!pn(e.key)&&t.includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(!(!e||!e.data))if(!t)this.nodesMap[e.id]=e;else{const n=e.key;pn(n)||(this.nodesMap[n]=e)}}deregisterNode(e){!this.key||!e||!e.data||(e.childNodes.forEach(t=>{this.deregisterNode(t)}),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],a=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(l=>{(l.checked||t&&l.indeterminate)&&(!e||e&&l.isLeaf)&&n.push(l.data),a(l)})};return a(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(t=>(t||{})[this.key])}getHalfCheckedNodes(){const e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach(a=>{a.indeterminate&&e.push(a.data),t(a)})};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)Tt(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const a=n.childNodes;for(let o=a.length-1;o>=0;o--){const l=a[o];this.remove(l.data)}for(let o=0,l=t.length;or.level-u.level),o=Object.create(null),l=Object.keys(n);a.forEach(r=>r.setChecked(!1,!1));const s=r=>{r.childNodes.forEach(u=>{var c;o[u.data[e]]=!0,(c=u.childNodes)!=null&&c.length&&s(u)})};for(let r=0,u=a.length;r{g.isLeaf||g.setChecked(!1,!1,!0),f(g)}),h.reInitChecked()};f(c)}}}setCheckedNodes(e,t=!1){const n=this.key,a={};e.forEach(o=>{a[(o||{})[n]]=!0}),this._setCheckedKeys(n,t,a)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,a={};e.forEach(o=>{a[o]=!0}),this._setCheckedKeys(n,t,a)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(t=>{const n=this.getNode(t);n&&n.expand(null,this.autoExpandParent)})}setChecked(e,t,n){const a=this.getNode(e);a&&a.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){var o;const n=e[this.key],a=this.nodesMap[n];this.setCurrentNode(a),t&&this.currentNode&&this.currentNode.level>1&&((o=this.currentNode.parent)==null||o.expand(null,!0))}setCurrentNodeKey(e,t=!0){var a;if(this.currentNodeKey=e,ia(e)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode&&this.currentNode.level>1&&((a=this.currentNode.parent)==null||a.expand(null,!0)))}};function d2(e){const t=Le(kb,null);let n={treeNodeExpand:a=>{var o;e.node!==a&&((o=e.node)==null||o.collapse())},children:new Set};return t&&t.children.add(n),Rt(()=>{t&&t.children.delete(n),n=null}),wt(kb,n),{broadcastExpanded:a=>{if(e.accordion)for(const o of n.children)o.treeNodeExpand(a)}}}const f2=Symbol("dragEvents");function OY({props:e,ctx:t,el$:n,dropIndicator$:a,store:o}){const l=ve("tree"),s=_({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return wt(f2,{treeNodeDragStart:({event:d,treeNode:f})=>{if(d.dataTransfer){if(ze(e.allowDrag)&&!e.allowDrag(f.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}s.value.draggingNode=f,t.emit("node-drag-start",f.node,d)}},treeNodeDragOver:({event:d,treeNode:f})=>{if(!d.dataTransfer)return;const h=f,g=s.value.dropNode;g&&g.node.id!==h.node.id&&Gn(g.$el,l.is("drop-inner"));const p=s.value.draggingNode;if(!p||!h)return;let v=!0,m=!0,y=!0,b=!0;ze(e.allowDrop)&&(v=e.allowDrop(p.node,h.node,"prev"),b=m=e.allowDrop(p.node,h.node,"inner"),y=e.allowDrop(p.node,h.node,"next")),d.dataTransfer.dropEffect=m||v||y?"move":"none",(v||m||y)&&(g==null?void 0:g.node.id)!==h.node.id&&(g&&t.emit("node-drag-leave",p.node,g.node,d),t.emit("node-drag-enter",p.node,h.node,d)),v||m||y?s.value.dropNode=h:s.value.dropNode=null,h.node.nextSibling===p.node&&(y=!1),h.node.previousSibling===p.node&&(v=!1),h.node.contains(p.node,!1)&&(m=!1),(p.node===h.node||p.node.contains(h.node))&&(v=!1,m=!1,y=!1);const C=h.$el,w=C.querySelector(`.${l.be("node","content")}`).getBoundingClientRect(),k=n.value.getBoundingClientRect(),E=n.value.scrollTop;let $;const O=v?m?.25:y?.45:1:Number.NEGATIVE_INFINITY,M=y?m?.75:v?.55:0:Number.POSITIVE_INFINITY;let T=-9999;const A=d.clientY-w.top;Aw.height*M?$="after":m?$="inner":$="none";const R=C.querySelector(`.${l.be("node","expand-icon")}`).getBoundingClientRect(),B=a.value;$==="before"?T=R.top-k.top+E:$==="after"&&(T=R.bottom-k.top+E),B.style.top=`${T}px`,B.style.left=`${R.right-k.left}px`,$==="inner"?Ea(C,l.is("drop-inner")):Gn(C,l.is("drop-inner")),s.value.showDropIndicator=$==="before"||$==="after",s.value.allowDrop=s.value.showDropIndicator||b,s.value.dropType=$,t.emit("node-drag-over",p.node,h.node,d)},treeNodeDragEnd:d=>{var p,v;const{draggingNode:f,dropType:h,dropNode:g}=s.value;if(d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="move"),f!=null&&f.node.data&&g){const m={data:f.node.data};h!=="none"&&f.node.remove(),h==="before"?(p=g.node.parent)==null||p.insertBefore(m,g.node):h==="after"?(v=g.node.parent)==null||v.insertAfter(m,g.node):h==="inner"&&g.node.insertChild(m),h!=="none"&&(o.value.registerNode(m),o.value.key&&f.node.eachNode(y=>{var b;(b=o.value.nodesMap[y.data[o.value.key]])==null||b.setChecked(y.checked,!o.value.checkStrictly)})),Gn(g.$el,l.is("drop-inner")),t.emit("node-drag-end",f.node,g.node,h,d),h!=="none"&&t.emit("node-drop",f.node,g.node,h,d)}f&&!g&&t.emit("node-drag-end",f.node,null,h,d),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0}}),{dragState:s}}var NY=le({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=ve("tree"),n=Le(i2),a=Le(Kh);return()=>{const o=e.node,{data:l,store:s}=o;return e.renderContent?e.renderContent(Ge,{_self:n,node:o,data:l,store:s}):ne(a.ctx.slots,"default",{node:o,data:l},()=>[Ge(Hh,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[o.label])])}}}),MY=NY,IY=le({name:"ElTreeNode",components:{ElCollapseTransition:Sd,ElCheckbox:Ya,NodeContent:MY,ElIcon:Be,Loading:wo},props:{node:{type:Vp,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=ve("tree"),{broadcastExpanded:a}=d2(e),o=Le(Kh),l=_(!1),s=_(!1),r=_(),u=_(),c=_(),d=Le(f2),f=ct();wt(i2,f),o||dt("Tree","Can not find node's tree."),e.node.expanded&&(l.value=!0,s.value=!0);const h=o.props.props.children||"children";ie(()=>{var T;const M=(T=e.node.data)==null?void 0:T[h];return M&&[...M]},()=>{e.node.updateChildren()}),ie(()=>e.node.indeterminate,M=>{v(e.node.checked,M)}),ie(()=>e.node.checked,M=>{v(M,e.node.indeterminate)}),ie(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ie(()=>e.node.expanded,M=>{Ae(()=>l.value=M),M&&(s.value=!0)});const g=M=>o.props.nodeKey?Wh(o.props.nodeKey,M.data):M.id,p=M=>{const T=e.props.class;if(!T)return{};let A;if(ze(T)){const{data:R}=M;A=T(R,M)}else A=T;return De(A)?{[A]:!0}:A},v=(M,T)=>{(r.value!==M||u.value!==T)&&o.ctx.emit("check-change",e.node.data,M,T),r.value=M,u.value=T},m=M=>{Dp(o.store,o.ctx.emit,()=>{var T;if((T=o==null?void 0:o.props)!=null&&T.nodeKey){const A=g(e.node);o.store.value.setCurrentNodeKey(A)}else o.store.value.setCurrentNode(e.node)}),o.currentNode.value=e.node,o.props.expandOnClickNode&&b(),(o.props.checkOnClickNode||e.node.isLeaf&&o.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&C(!e.node.checked),o.ctx.emit("node-click",e.node.data,e.node,f,M)},y=M=>{var T;(T=o.instance.vnode.props)!=null&&T.onNodeContextmenu&&(M.stopPropagation(),M.preventDefault()),o.ctx.emit("node-contextmenu",M,e.node.data,e.node,f)},b=()=>{e.node.isLeaf||(l.value?(o.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,f)}))},C=M=>{const T=o==null?void 0:o.props.checkStrictly,A=e.node.childNodes;!T&&A.length&&(M=A.some(R=>!R.isEffectivelyChecked)),e.node.setChecked(M,!T),Ae(()=>{const R=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:R.getCheckedNodes(),checkedKeys:R.getCheckedKeys(),halfCheckedNodes:R.getHalfCheckedNodes(),halfCheckedKeys:R.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:o,expanded:l,childNodeRendered:s,oldChecked:r,oldIndeterminate:u,getNodeKey:g,getNodeClass:p,handleSelectChange:v,handleClick:m,handleContextMenu:y,handleExpandIconClick:b,handleCheckChange:C,handleChildNodeExpand:(M,T,A)=>{a(T),o.ctx.emit("node-expand",M,T,A)},handleDragStart:M=>{o.props.draggable&&d.treeNodeDragStart({event:M,treeNode:e})},handleDragOver:M=>{M.preventDefault(),o.props.draggable&&d.treeNodeDragOver({event:M,treeNode:{$el:c.value,node:e.node}})},handleDrop:M=>{M.preventDefault()},handleDragEnd:M=>{o.props.draggable&&d.treeNodeDragEnd(M)},CaretRight:J1}}});const PY=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],RY=["aria-expanded"];function AY(e,t,n,a,o,l){const s=$t("el-icon"),r=$t("el-checkbox"),u=$t("loading"),c=$t("node-content"),d=$t("el-tree-node"),f=$t("el-collapse-transition");return it((x(),F("div",{ref:"node$",class:N([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[2]||(t[2]=Ze((...h)=>e.handleClick&&e.handleClick(...h),["stop"])),onContextmenu:t[3]||(t[3]=(...h)=>e.handleContextMenu&&e.handleContextMenu(...h)),onDragstart:t[4]||(t[4]=Ze((...h)=>e.handleDragStart&&e.handleDragStart(...h),["stop"])),onDragover:t[5]||(t[5]=Ze((...h)=>e.handleDragOver&&e.handleDragOver(...h),["stop"])),onDragend:t[6]||(t[6]=Ze((...h)=>e.handleDragEnd&&e.handleDragEnd(...h),["stop"])),onDrop:t[7]||(t[7]=Ze((...h)=>e.handleDrop&&e.handleDrop(...h),["stop"]))},[j("div",{class:N(e.ns.be("node","content")),style:We({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(x(),oe(s,{key:0,class:N([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Ze(e.handleExpandIconClick,["stop"])},{default:Q(()=>[(x(),oe(st(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ae("v-if",!0),e.showCheckbox?(x(),oe(r,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=Ze(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ae("v-if",!0),e.node.loading?(x(),oe(s,{key:2,class:N([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:Q(()=>[q(u)]),_:1},8,["class"])):ae("v-if",!0),q(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),q(f,null,{default:Q(()=>[!e.renderAfterExpand||e.childNodeRendered?it((x(),F("div",{key:0,class:N(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=Ze(()=>{},["stop"]))},[(x(!0),F(He,null,yt(e.node.childNodes,h=>(x(),oe(d,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,RY)),[[Ot,e.expanded]]):ae("v-if",!0)]),_:1})],42,PY)),[[Ot,e.node.visible]])}var _Y=Cn(IY,[["render",AY]]);function LY({el$:e},t){const n=ve("tree");ft(()=>{l()}),Ua(()=>{var s;(s=e.value)==null||s.querySelectorAll("input[type=checkbox]").forEach(r=>{r.setAttribute("tabindex","-1")})});function a(s,r){var c,d;const u=t.value.getNode(s[r].dataset.key);return u.canFocus&&u.visible&&(((c=u.parent)==null?void 0:c.expanded)||((d=u.parent)==null?void 0:d.level)===0)}At(e,"keydown",s=>{const r=s.target;if(!r.className.includes(n.b("node")))return;const u=Ft(s),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),d=c.indexOf(r);let f;if([Ce.up,Ce.down].includes(u)){if(s.preventDefault(),u===Ce.up){f=d===-1?0:d!==0?d-1:c.length-1;const g=f;for(;!a(c,f);){if(f--,f===g){f=-1;break}f<0&&(f=c.length-1)}}else{f=d===-1?0:d=c.length&&(f=0)}}f!==-1&&c[f].focus()}[Ce.left,Ce.right].includes(u)&&(s.preventDefault(),r.click());const h=r.querySelector('[type="checkbox"]');[Ce.enter,Ce.numpadEnter,Ce.space].includes(u)&&h&&(s.preventDefault(),h.click())});const l=()=>{var u;if(!e.value)return;const s=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(c=>{c.setAttribute("tabindex","-1")});const r=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(r.length){r[0].setAttribute("tabindex","0");return}(u=s[0])==null||u.setAttribute("tabindex","0")}}var DY=le({name:"ElTree",components:{ElTreeNode:_Y},props:u2,emits:xY,setup(e,t){const{t:n}=St(),a=ve("tree"),o=_(new $Y({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));o.value.initialize();const l=_(o.value.root),s=_(null),r=_(null),u=_(null),{broadcastExpanded:c}=d2(e),{dragState:d}=OY({props:e,ctx:t,el$:r,dropIndicator$:u,store:o});LY({el$:r},o);const f=ct(),h=S(()=>{let D=f==null?void 0:f.parent;for(;D;){if(D.type.name==="ElTreeSelect")return!0;D=D.parent}return!1}),g=S(()=>{const{childNodes:D}=l.value;return(!D||D.length===0||D.every(({visible:V})=>!V))&&!h.value});ie(()=>e.currentNodeKey,D=>{o.value.setCurrentNodeKey(D??null)}),ie(()=>e.defaultCheckedKeys,(D,V)=>{Qt(D,V)||o.value.setDefaultCheckedKey(D??[])}),ie(()=>e.defaultExpandedKeys,D=>{o.value.setDefaultExpandedKeys(D??[])}),ie(()=>e.data,D=>{o.value.setData(D)},{deep:!0}),ie(()=>e.checkStrictly,D=>{o.value.checkStrictly=D});const p=D=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");o.value.filter(D)},v=D=>e.nodeKey?Wh(e.nodeKey,D.data):D.id,m=D=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${D}`)},y=D=>{m("getNodePath");const V=o.value.getNode(D);if(!V)return[];const U=[V.data];let W=V.parent;for(;W&&W!==l.value;)U.push(W.data),W=W.parent;return U.reverse()},b=(D,V)=>o.value.getCheckedNodes(D,V),C=D=>o.value.getCheckedKeys(D),w=()=>{const D=o.value.getCurrentNode();return D?D.data:null},k=()=>{m("getCurrentKey");const D=w();return D?D[e.nodeKey]:null},E=(D,V)=>{m("setCheckedNodes"),o.value.setCheckedNodes(D,V)},$=(D,V)=>{m("setCheckedKeys"),o.value.setCheckedKeys(D,V)},O=(D,V,U)=>{o.value.setChecked(D,V,U)},M=()=>o.value.getHalfCheckedNodes(),T=()=>o.value.getHalfCheckedKeys(),A=(D,V=!0)=>{m("setCurrentNode"),Dp(o,t.emit,()=>{c(D),o.value.setUserCurrentNode(D,V)})},R=(D=null,V=!0)=>{m("setCurrentKey"),Dp(o,t.emit,()=>{c(),o.value.setCurrentNodeKey(D,V)})},B=D=>o.value.getNode(D),K=D=>{o.value.remove(D)},Y=(D,V)=>{o.value.append(D,V)},z=(D,V)=>{o.value.insertBefore(D,V)},P=(D,V)=>{o.value.insertAfter(D,V)},I=(D,V,U)=>{c(V),t.emit("node-expand",D,V,U)},L=(D,V)=>{m("updateKeyChildren"),o.value.updateChildren(D,V)};return wt(Kh,{ctx:t,props:e,store:o,root:l,currentNode:s,instance:f}),wt(Co,void 0),{ns:a,store:o,root:l,currentNode:s,dragState:d,el$:r,dropIndicator$:u,isEmpty:g,filter:p,getNodeKey:v,getNodePath:y,getCheckedNodes:b,getCheckedKeys:C,getCurrentNode:w,getCurrentKey:k,setCheckedNodes:E,setCheckedKeys:$,setChecked:O,getHalfCheckedNodes:M,getHalfCheckedKeys:T,setCurrentNode:A,setCurrentKey:R,t:n,getNode:B,remove:K,append:Y,insertBefore:z,insertAfter:P,handleNodeExpand:I,updateKeyChildren:L}}});function BY(e,t,n,a,o,l){const s=$t("el-tree-node");return x(),F("div",{ref:"el$",class:N([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(x(!0),F(He,null,yt(e.root.childNodes,r=>(x(),oe(s,{key:e.getNodeKey(r),node:r,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(x(),F("div",{key:0,class:N(e.ns.e("empty-block"))},[ne(e.$slots,"empty",{},()=>[j("span",{class:N(e.ns.e("empty-text"))},ke(e.emptyText??e.t("el.tree.emptyText")),3)])],2)):ae("v-if",!0),it(j("div",{ref:"dropIndicator$",class:N(e.ns.e("drop-indicator"))},null,2),[[Ot,e.dragState.showDropIndicator]])],2)}var VY=Cn(DY,[["render",BY]]);const jh=lt(VY),FY=(e,{attrs:t,emit:n},{select:a,tree:o,key:l})=>{const s=ve("tree-select");ie(()=>e.data,()=>{e.filterable&&Ae(()=>{var u,c;(c=o.value)==null||c.filter((u=a.value)==null?void 0:u.states.inputValue)})},{flush:"post"});const r=u=>{var d,f;const c=u.at(-1);if(c.expanded&&c.childNodes.at(-1))r([c.childNodes.at(-1)]);else{(f=(d=o.value.el$)==null?void 0:d.querySelector(`[data-key="${u.at(-1).key}"]`))==null||f.focus({preventScroll:!0});return}};return ft(()=>{At(()=>{var u;return(u=a.value)==null?void 0:u.$el},"keydown",async u=>{const c=Ft(u),{dropdownMenuVisible:d}=a.value;[Ce.down,Ce.up].includes(c)&&d&&(await Ae(),setTimeout(()=>{var f,h,g;if(Ce.up===c){const p=o.value.store.root.childNodes;r(p);return}(g=(h=(f=a.value.optionsArray[a.value.states.hoveringIndex].$el)==null?void 0:f.parentNode)==null?void 0:h.parentNode)==null||g.focus({preventScroll:!0})}))},{capture:!0})}),{...jo($n(e),Object.keys(Ml.props)),...t,class:S(()=>t.class),style:S(()=>t.style),"onUpdate:modelValue":u=>n(tt,u),valueKey:l,popperClass:S(()=>{const u=[s.e("popper")];return e.popperClass&&u.push(e.popperClass),u.join(" ")}),filterMethod:(u="")=>{var c;e.filterMethod?e.filterMethod(u):e.remoteMethod?e.remoteMethod(u):(c=o.value)==null||c.filter(u)}}},zY=le({extends:Sc,setup(e,t){const n=Sc.setup(e,t);delete n.selectOptionClick;const a=ct().proxy;return Ae(()=>{n.select.states.cachedOptions.get(a.value)||n.select.onOptionCreate(a)}),ie(()=>t.attrs.visible,o=>{Ae(()=>{n.states.visible=o})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function Fp(e){return e||e===0}function Yh(e){return be(e)&&e.length}function $s(e){return be(e)?e:Fp(e)?[e]:[]}function Ju(e,t,n,a,o){for(let l=0;l{ie([()=>e.modelValue,l],()=>{e.showCheckbox&&Ae(()=>{const p=l.value;p&&!Qt(p.getCheckedKeys(),$s(e.modelValue))&&p.setCheckedKeys($s(e.modelValue))})},{immediate:!0,deep:!0});const r=S(()=>({value:s.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),u=(p,v)=>{var y;const m=r.value[p];return ze(m)?m(v,(y=l.value)==null?void 0:y.getNode(u("value",v))):v[m]},c=$s(e.modelValue).map(p=>Ju(e.data||[],v=>u("value",v)===p,v=>u("children",v),(v,m,y,b)=>b&&u("value",b))).filter(p=>Fp(p)),d=S(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const p=[];return Qu(e.data.concat(e.cacheData),v=>{const m=u("value",v);p.push({value:m,currentLabel:u("label",v),isDisabled:u("disabled",v)})},v=>u("children",v)),p}),f=()=>{var p;return(p=l.value)==null?void 0:p.getCheckedKeys().filter(v=>{var y;const m=(y=l.value)==null?void 0:y.getNode(v);return!pn(m)&&ta(m.childNodes)})},h=p=>{Qt(e.modelValue,p)||a(ht,p)};function g(p){a(tt,p),h(p)}return{...jo($n(e),Object.keys(jh.props)),...t,nodeKey:s,expandOnClickNode:S(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:S(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(p,{node:v,data:m,store:y})=>p(zY,{value:u("value",m),label:u("label",m),disabled:u("disabled",m),visible:v.visible},e.renderContent?()=>e.renderContent(p,{node:v,data:m,store:y}):n.default?()=>n.default({node:v,data:m,store:y}):void 0),filterNodeMethod:(p,v,m)=>e.filterNodeMethod?e.filterNodeMethod(p,v,m):p?new RegExp(Pv(p),"i").test(u("label",v)||""):!0,onNodeClick:(p,v,m)=>{var y,b,C;if((y=t.onNodeClick)==null||y.call(t,p,v,m),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||v.isLeaf)){if(!u("disabled",p)){const w=(b=o.value)==null?void 0:b.states.options.get(u("value",p));(C=o.value)==null||C.handleOptionSelect(w)}}else e.expandOnClickNode&&m.proxy.handleExpandIconClick()},onCheck:(p,v)=>{var k;if(!e.showCheckbox)return;const m=u("value",p),y={};Qu([l.value.store.root],E=>y[E.key]=E,E=>E.childNodes);const b=v.checkedKeys,C=e.multiple?$s(e.modelValue).filter(E=>!(E in y)&&!b.includes(E)):[],w=C.concat(b);if(e.checkStrictly)g(e.multiple?w:w.includes(m)?m:void 0);else if(e.multiple){const E=f();g(C.concat(E))}else{const E=Ju([p],M=>!Yh(u("children",M))&&!u("disabled",M),M=>u("children",M)),$=E?u("value",E):void 0,O=Fp(e.modelValue)&&!!Ju([p],M=>u("value",M)===e.modelValue,M=>u("children",M));g($===e.modelValue||O?void 0:$)}Ae(()=>{var $;const E=$s(e.modelValue);l.value.setCheckedKeys(E),($=t.onCheck)==null||$.call(t,p,{checkedKeys:l.value.getCheckedKeys(),checkedNodes:l.value.getCheckedNodes(),halfCheckedKeys:l.value.getHalfCheckedKeys(),halfCheckedNodes:l.value.getHalfCheckedNodes()})}),(k=o.value)==null||k.focus()},onNodeExpand:(p,v,m)=>{var y;(y=t.onNodeExpand)==null||y.call(t,p,v,m),Ae(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&v.checked){const b={},C=l.value.getCheckedKeys();Qu([l.value.store.root],E=>b[E.key]=E,E=>E.childNodes);const w=$s(e.modelValue).filter(E=>!(E in b)&&!C.includes(E)),k=f();g(w.concat(k))}})},cacheOptions:d}};var KY=le({props:{data:{type:Array,default:()=>[]}},setup(e){const t=Le(nu);return ie(()=>e.data,()=>{var a;e.data.forEach(o=>{t.states.cachedOptions.has(o.value)||t.states.cachedOptions.set(o.value,o)});const n=((a=t.selectRef)==null?void 0:a.querySelectorAll("input"))||[];Nt&&!Array.from(n).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),WY=le({name:"ElTreeSelect",inheritAttrs:!1,props:{...JC,...u2,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:a,emit:o,attrs:l}=t,s={...l,onChange:void 0},r=_(),u=_(),c=S(()=>e.nodeKey||e.valueKey||"value"),d=FY(e,{attrs:l,emit:o},{select:r,tree:u,key:c}),{cacheOptions:f,...h}=HY(e,{attrs:s,slots:n,emit:o},{select:r,tree:u,key:c}),g=It({});return a(g),ft(()=>{Object.assign(g,{...jo(u.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...jo(r.value,["focus","blur","selectedLabel"]),treeRef:u.value,selectRef:r.value})}),()=>Ge(Ml,It({...d,ref:p=>r.value=p}),{...n,default:()=>[Ge(KY,{data:f.value}),Ge(jh,It({...h,ref:p=>u.value=p}))]})}}),jY=WY;const YY=lt(jY),Uh=Symbol(),UY={key:-1,level:-1,data:{}};let Lo=function(e){return e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e}({}),xb=function(e){return e.ADD="add",e.DELETE="delete",e}({});const p2={type:Number,default:26},qY=Se({data:{type:G(Array),default:()=>en([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:G(Object),default:()=>en({children:Lo.CHILDREN,label:Lo.LABEL,disabled:Lo.DISABLED,value:Lo.KEY,class:Lo.CLASS})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:G(Array),default:()=>en([])},checkStrictly:Boolean,defaultExpandedKeys:{type:G(Array),default:()=>en([])},indent:{type:Number,default:16},itemSize:p2,icon:{type:Bt},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:G([String,Number])},accordion:Boolean,filterMethod:{type:G(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),GY=Se({node:{type:G(Object),default:()=>en(UY)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:p2}),XY=Se({node:{type:G(Object),required:!0}}),v2="node-click",h2="node-drop",m2="node-expand",g2="node-collapse",y2="current-change",b2="check",w2="check-change",C2="node-contextmenu",ZY={[v2]:(e,t,n)=>e&&t&&n,[h2]:(e,t,n)=>e&&t&&n,[m2]:(e,t)=>e&&t,[g2]:(e,t)=>e&&t,[y2]:(e,t)=>e&&t,[b2]:(e,t)=>e&&t,[w2]:(e,t)=>e&&Dt(t),[C2]:(e,t,n)=>e&&t&&n},JY={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&Dt(t)};function QY(e,t){const n=_(new Set),a=_(new Set),{emit:o}=ct();ie([()=>t.value,()=>e.defaultCheckedKeys],()=>Ae(()=>{b(e.defaultCheckedKeys)}),{immediate:!0});const l=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:C,maxLevel:w}=t.value,k=n.value,E=new Set;for(let $=w;$>=1;--$){const O=C.get($);O&&O.forEach(M=>{const T=M.children;let A=!M.isLeaf||M.disabled||k.has(M.key);if(T){let R=!0,B=!1;for(const K of T){const Y=K.key;if(K.isEffectivelyChecked||(A=!1),k.has(Y))B=!0;else if(E.has(Y)){R=!1,B=!0;break}else R=!1}R?k.add(M.key):B?(E.add(M.key),k.delete(M.key)):(k.delete(M.key),E.delete(M.key))}M.isEffectivelyChecked=A})}a.value=E},s=C=>n.value.has(C.key),r=C=>a.value.has(C.key),u=(C,w,k=!0,E=!0)=>{const $=n.value,O=C.children;!e.checkStrictly&&k&&(O!=null&&O.length)&&(w=O.some(T=>!T.isEffectivelyChecked));const M=(T,A)=>{$[A?xb.ADD:xb.DELETE](T.key);const R=T.children;!e.checkStrictly&&R&&R.forEach(B=>{(!B.disabled||B.children)&&M(B,A)})};M(C,w),E&&l(),k&&c(C,w)},c=(C,w)=>{const{checkedNodes:k,checkedKeys:E}=p(),{halfCheckedNodes:$,halfCheckedKeys:O}=v();o(b2,C.data,{checkedKeys:E,checkedNodes:k,halfCheckedKeys:O,halfCheckedNodes:$}),o(w2,C.data,w)};function d(C=!1){return p(C).checkedKeys}function f(C=!1){return p(C).checkedNodes}function h(){return v().halfCheckedKeys}function g(){return v().halfCheckedNodes}function p(C=!1){const w=[],k=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;n.value.forEach($=>{const O=E.get($);O&&(!C||C&&O.isLeaf)&&(k.push($),w.push(O.data))})}return{checkedKeys:k,checkedNodes:w}}function v(){const C=[],w=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:k}=t.value;a.value.forEach(E=>{const $=k.get(E);$&&(w.push(E),C.push($.data))})}return{halfCheckedNodes:C,halfCheckedKeys:w}}function m(C){n.value.clear(),a.value.clear(),Ae(()=>{b(C)})}function y(C,w){if(t!=null&&t.value&&e.showCheckbox){const k=t.value.treeNodeMap.get(C);k&&u(k,w,!1)}}function b(C){if(t!=null&&t.value){const{treeNodeMap:w}=t.value;if(e.showCheckbox&&w&&(C==null?void 0:C.length)>0){for(const k of C){const E=w.get(k);E&&!s(E)&&u(E,!0,!1,!1)}l()}}}return{updateCheckedKeys:l,toggleCheckbox:u,isChecked:s,isIndeterminate:r,getCheckedKeys:d,getCheckedNodes:f,getHalfCheckedKeys:h,getHalfCheckedNodes:g,setChecked:y,setCheckedKeys:m}}function eU(e,t){const n=_(new Set([])),a=_(new Set([])),o=S(()=>ze(e.filterMethod));function l(r){var v;if(!o.value)return;const u=new Set,c=a.value,d=n.value,f=[],h=((v=t.value)==null?void 0:v.treeNodes)||[],g=e.filterMethod;d.clear();function p(m){m.forEach(y=>{f.push(y),g!=null&&g(r,y.data,y)?f.forEach(C=>{u.add(C.key),C.expanded=!0}):(y.expanded=!1,y.isLeaf&&d.add(y.key));const b=y.children;if(b&&p(b),!y.isLeaf){if(!u.has(y.key))d.add(y.key);else if(b){let C=!0;for(const w of b)if(!d.has(w.key)){C=!1;break}C?c.add(y.key):c.delete(y.key)}}f.pop()})}return p(h),u}function s(r){return a.value.has(r.key)}return{hiddenExpandIconKeySet:a,hiddenNodeKeySet:n,doFilter:l,isForceHiddenExpandIcon:s}}function tU(e,t){const n=_(new Set),a=_(),o=jt(),l=_(),{isIndeterminate:s,isChecked:r,toggleCheckbox:u,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:g,setCheckedKeys:p}=QY(e,o),{doFilter:v,hiddenNodeKeySet:m,isForceHiddenExpandIcon:y}=eU(e,o),b=S(()=>{var ee;return((ee=e.props)==null?void 0:ee.value)||Lo.KEY}),C=S(()=>{var ee;return((ee=e.props)==null?void 0:ee.children)||Lo.CHILDREN}),w=S(()=>{var ee;return((ee=e.props)==null?void 0:ee.disabled)||Lo.DISABLED}),k=S(()=>{var ee;return((ee=e.props)==null?void 0:ee.label)||Lo.LABEL}),E=S(()=>{var ge;const ee=n.value,H=m.value,Z=[],se=((ge=o.value)==null?void 0:ge.treeNodes)||[],pe=[];for(let ye=se.length-1;ye>=0;--ye)pe.push(se[ye]);for(;pe.length;){const ye=pe.pop();if(!H.has(ye.key)&&(Z.push(ye),ye.children&&ee.has(ye.key)))for(let Ne=ye.children.length-1;Ne>=0;--Ne)pe.push(ye.children[Ne])}return Z}),$=S(()=>E.value.length>0);function O(ee){const H=new Map,Z=new Map;let se=1;function pe(ye,Ne=1,_e=void 0){var me;const Me=[];for(const Te of ye){const we=A(Te),Ie={level:Ne,key:we,data:Te};Ie.label=B(Te),Ie.parent=_e;const Ve=T(Te);Ie.disabled=R(Te),Ie.isLeaf=!Ve||Ve.length===0,Ie.expanded=n.value.has(we),Ve&&Ve.length&&(Ie.children=pe(Ve,Ne+1,Ie)),Me.push(Ie),H.set(we,Ie),Z.has(Ne)||Z.set(Ne,[]),(me=Z.get(Ne))==null||me.push(Ie)}return Ne>se&&(se=Ne),Me}const ge=pe(ee);return{treeNodeMap:H,levelTreeNodeMap:Z,maxLevel:se,treeNodes:ge}}function M(ee){const H=v(ee);H&&(n.value=H)}function T(ee){return ee[C.value]}function A(ee){return ee?ee[b.value]:""}function R(ee){return ee[w.value]}function B(ee){return ee[k.value]}function K(ee){n.value.has(ee.key)?V(ee):D(ee)}function Y(ee){const H=new Set,Z=o.value.treeNodeMap;n.value.forEach(se=>{const pe=Z.get(se);n.value.delete(pe.key),pe.expanded=!1}),ee.forEach(se=>{let pe=Z.get(se);for(;pe&&!H.has(pe.key);)H.add(pe.key),pe.expanded=!0,pe=pe.parent}),n.value=H}function z(ee,H){t(v2,ee.data,ee,H),I(ee),e.expandOnClickNode&&K(ee),e.showCheckbox&&(e.checkOnClickNode||ee.isLeaf&&e.checkOnClickLeaf)&&!ee.disabled&&u(ee,!r(ee),!0)}function P(ee,H){t(h2,ee.data,ee,H)}function I(ee){W(ee)||(a.value=ee.key,t(y2,ee.data,ee))}function L(ee,H){u(ee,H)}function D(ee){const H=n.value;if(o.value&&e.accordion){const{treeNodeMap:se}=o.value;H.forEach(pe=>{const ge=se.get(pe);ee&&ee.level===(ge==null?void 0:ge.level)&&(H.delete(pe),ge.expanded=!1)})}H.add(ee.key);const Z=he(ee.key);Z&&(Z.expanded=!0,t(m2,Z.data,Z))}function V(ee){n.value.delete(ee.key);const H=he(ee.key);H&&(H.expanded=!1,t(g2,H.data,H))}function U(ee){return!!ee.disabled}function W(ee){const H=a.value;return H!==void 0&&H===ee.key}function X(){var ee,H;if(a.value)return(H=(ee=o.value)==null?void 0:ee.treeNodeMap.get(a.value))==null?void 0:H.data}function J(){return a.value}function fe(ee){a.value=ee}function ue(ee){o.value=O(ee)}function he(ee){var Z;const H=nt(ee)?A(ee):ee;return(Z=o.value)==null?void 0:Z.treeNodeMap.get(H)}function re(ee,H="auto"){const Z=he(ee);Z&&l.value&&l.value.scrollToItem(E.value.indexOf(Z),H)}function te(ee){var H;(H=l.value)==null||H.scrollTo(ee)}return ie(()=>e.currentNodeKey,ee=>{a.value=ee},{immediate:!0}),ie(()=>e.defaultExpandedKeys,ee=>{n.value=new Set(ee)},{immediate:!0}),ie(()=>e.data,ee=>{ue(ee)},{immediate:!0}),{tree:o,flattenTree:E,isNotEmpty:$,listRef:l,getKey:A,getChildren:T,toggleExpand:K,toggleCheckbox:u,isChecked:r,isIndeterminate:s,isDisabled:U,isCurrent:W,isForceHiddenExpandIcon:y,handleNodeClick:z,handleNodeDrop:P,handleNodeCheck:L,getCurrentNode:X,getCurrentKey:J,setCurrentKey:fe,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:g,setCheckedKeys:p,filter:M,setData:ue,getNode:he,expandNode:D,collapseNode:V,setExpandedKeys:Y,scrollToNode:re,scrollTo:te}}var nU=le({name:"ElTreeNodeContent",props:XY,setup(e){const t=Le(Uh),n=ve("tree");return()=>{const a=e.node,{data:o}=a;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:a,data:o}):Ge(Hh,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[a==null?void 0:a.label])}}});const aU=["aria-expanded","aria-disabled","aria-checked","data-key"];var oU=le({name:"ElTreeNode",__name:"tree-node",props:GY,emits:JY,setup(e,{emit:t}){const n=e,a=t,o=Le(Uh),l=ve("tree"),s=S(()=>(o==null?void 0:o.props.indent)??16),r=S(()=>(o==null?void 0:o.props.icon)??J1),u=p=>{var y;const v=(y=o==null?void 0:o.props.props)==null?void 0:y.class;if(!v)return{};let m;if(ze(v)){const{data:b}=p;m=v(b,p)}else m=v;return De(m)?{[m]:!0}:m},c=p=>{a("click",n.node,p)},d=p=>{a("drop",n.node,p)},f=()=>{a("toggle",n.node)},h=p=>{a("check",n.node,p)},g=p=>{var v,m,y,b;(y=(m=(v=o==null?void 0:o.instance)==null?void 0:v.vnode)==null?void 0:m.props)!=null&&y.onNodeContextmenu&&(p.stopPropagation(),p.preventDefault()),o==null||o.ctx.emit(C2,p,(b=n.node)==null?void 0:b.data,n.node)};return(p,v)=>{var m,y,b;return x(),F("div",{ref:"node$",class:N([i(l).b("node"),i(l).is("expanded",e.expanded),i(l).is("current",e.current),i(l).is("focusable",!e.disabled),i(l).is("checked",!e.disabled&&e.checked),u(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(m=e.node)==null?void 0:m.key,onClick:Ze(c,["stop"]),onContextmenu:g,onDragover:v[1]||(v[1]=Ze(()=>{},["prevent"])),onDragenter:v[2]||(v[2]=Ze(()=>{},["prevent"])),onDrop:Ze(d,["stop"])},[j("div",{class:N(i(l).be("node","content")),style:We({paddingLeft:`${(e.node.level-1)*s.value}px`,height:e.itemSize+"px"})},[r.value?(x(),oe(i(Be),{key:0,class:N([i(l).is("leaf",!!((y=e.node)!=null&&y.isLeaf)),i(l).is("hidden",e.hiddenExpandIcon),{expanded:!((b=e.node)!=null&&b.isLeaf)&&e.expanded},i(l).be("node","expand-icon")]),onClick:Ze(f,["stop"])},{default:Q(()=>[(x(),oe(st(r.value)))]),_:1},8,["class"])):ae("v-if",!0),e.showCheckbox?(x(),oe(i(Ya),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:h,onClick:v[0]||(v[0]=Ze(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):ae("v-if",!0),q(i(nU),{node:{...e.node,expanded:e.expanded}},null,8,["node"])],6)],42,aU)}}}),lU=oU,sU=le({name:"ElTreeV2",__name:"tree",props:qY,emits:ZY,setup(e,{expose:t,emit:n}){const a=e,o=n,l=cn(),s=S(()=>a.itemSize);wt(Uh,{ctx:{emit:o,slots:l},props:a,instance:ct()}),wt(Co,void 0);const{t:r}=St(),u=ve("tree"),{flattenTree:c,isNotEmpty:d,listRef:f,toggleExpand:h,isIndeterminate:g,isChecked:p,isDisabled:v,isCurrent:m,isForceHiddenExpandIcon:y,handleNodeClick:b,handleNodeDrop:C,handleNodeCheck:w,toggleCheckbox:k,getCurrentNode:E,getCurrentKey:$,setCurrentKey:O,getCheckedKeys:M,getCheckedNodes:T,getHalfCheckedKeys:A,getHalfCheckedNodes:R,setChecked:B,setCheckedKeys:K,filter:Y,setData:z,getNode:P,expandNode:I,collapseNode:L,setExpandedKeys:D,scrollToNode:V,scrollTo:U}=tU(a,o);return t({toggleCheckbox:k,getCurrentNode:E,getCurrentKey:$,setCurrentKey:O,getCheckedKeys:M,getCheckedNodes:T,getHalfCheckedKeys:A,getHalfCheckedNodes:R,setChecked:B,setCheckedKeys:K,filter:Y,setData:z,getNode:P,expandNode:I,collapseNode:L,setExpandedKeys:D,scrollToNode:V,scrollTo:U}),(W,X)=>(x(),F("div",{class:N([i(u).b(),{[i(u).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[i(d)?(x(),oe(i(xk),{key:0,ref_key:"listRef",ref:f,"class-name":i(u).b("virtual-list"),data:i(c),total:i(c).length,height:e.height,"item-size":s.value,"perf-mode":e.perfMode,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:Q(({data:J,index:fe,style:ue})=>[(x(),oe(lU,{key:J[fe].key,style:We(ue),node:J[fe],expanded:J[fe].expanded,"show-checkbox":e.showCheckbox,checked:i(p)(J[fe]),indeterminate:i(g)(J[fe]),"item-size":s.value,disabled:i(v)(J[fe]),current:i(m)(J[fe]),"hidden-expand-icon":i(y)(J[fe]),onClick:i(b),onToggle:i(h),onCheck:i(w),onDrop:i(C)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(x(),F("div",{key:1,class:N(i(u).e("empty-block"))},[ne(W.$slots,"empty",{},()=>[j("span",{class:N(i(u).e("empty-text"))},ke(e.emptyText??i(r)("el.tree.emptyText")),3)])],2))],2))}}),rU=sU;const iU=lt(rU),uU="ElUpload";var cU=class extends Error{constructor(e,t,n,a){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=a}};function Tb(e,t,n){let a;return n.response?a=`${n.response.error||n.response}`:n.responseText?a=`${n.responseText}`:a=`fail to ${t.method} ${e} ${n.status}`,new cU(a,n.status,t.method,e)}function dU(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const fU=e=>{typeof XMLHttpRequest>"u"&&Xt(uU,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",l=>{const s=l;s.percent=l.total>0?l.loaded/l.total*100:0,e.onProgress(s)});const a=new FormData;if(e.data)for(const[l,s]of Object.entries(e.data))be(s)?s.length===2&&s[0]instanceof Blob&&De(s[1])?a.append(l,s[0],s[1]):s.forEach(r=>{a.append(l,r)}):a.append(l,s);a.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(Tb(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(Tb(n,e,t));e.onSuccess(dU(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};if(o instanceof Headers)o.forEach((l,s)=>t.setRequestHeader(s,l));else for(const[l,s]of Object.entries(o))pn(s)||t.setRequestHeader(l,String(s));return t.send(a),t},S2=["text","picture","picture-card"];let pU=1;const zp=()=>Date.now()+pU++,k2=Se({action:{type:String,default:"#"},headers:{type:G(Object)},method:{type:String,default:"post"},data:{type:G([Object,Function,Promise]),default:()=>en({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:G(Array),default:()=>en([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:S2,default:"text"},httpRequest:{type:G(Function),default:fU},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),vU=Se({...k2,beforeUpload:{type:G(Function),default:Pt},beforeRemove:{type:G(Function)},onRemove:{type:G(Function),default:Pt},onChange:{type:G(Function),default:Pt},onPreview:{type:G(Function),default:Pt},onSuccess:{type:G(Function),default:Pt},onProgress:{type:G(Function),default:Pt},onError:{type:G(Function),default:Pt},onExceed:{type:G(Function),default:Pt},crossorigin:{type:G(String)}}),E2=Symbol("uploadContextKey"),hU=Se({files:{type:G(Array),default:()=>en([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:G(Function),default:Pt},listType:{type:String,values:S2,default:"text"},crossorigin:{type:G(String)}}),mU={remove:e=>!!e},gU=Se({...k2,beforeUpload:{type:G(Function),default:Pt},onRemove:{type:G(Function),default:Pt},onStart:{type:G(Function),default:Pt},onSuccess:{type:G(Function),default:Pt},onProgress:{type:G(Function),default:Pt},onError:{type:G(Function),default:Pt},onExceed:{type:G(Function),default:Pt}}),yU=Se({disabled:{type:Boolean,default:void 0},directory:Boolean}),bU={file:e=>be(e)},wU=["tabindex","aria-disabled","onKeydown"],CU=["src","crossorigin"],SU=["onClick"],kU=["title"],EU=["onClick"],xU=["onClick"];var TU=le({name:"ElUploadList",__name:"upload-list",props:hU,emits:mU,setup(e,{emit:t}){const n=e,a=t,{t:o}=St(),l=ve("upload"),s=ve("icon"),r=ve("list"),u=nn(),c=_(!1),d=S(()=>[l.b("list"),l.bm("list",n.listType),l.is("disabled",u.value)]),f=h=>{a("remove",h)};return(h,g)=>(x(),oe(ow,{tag:"ul",class:N(d.value),name:i(r).b()},{default:Q(()=>[(x(!0),F(He,null,yt(e.files,(p,v)=>(x(),F("li",{key:p.uid||p.name,class:N([i(l).be("list","item"),i(l).is(p.status),{focusing:c.value}]),tabindex:i(u)?void 0:0,"aria-disabled":i(u),role:"button",onKeydown:Jt(m=>!i(u)&&f(p),["delete"]),onFocus:g[0]||(g[0]=m=>c.value=!0),onBlur:g[1]||(g[1]=m=>c.value=!1),onClick:g[2]||(g[2]=m=>c.value=!1)},[ne(h.$slots,"default",{file:p,index:v},()=>[e.listType==="picture"||p.status!=="uploading"&&e.listType==="picture-card"?(x(),F("img",{key:0,class:N(i(l).be("list","item-thumbnail")),src:p.url,crossorigin:e.crossorigin,alt:""},null,10,CU)):ae("v-if",!0),p.status==="uploading"||e.listType!=="picture-card"?(x(),F("div",{key:1,class:N(i(l).be("list","item-info"))},[j("a",{class:N(i(l).be("list","item-name")),onClick:Ze(m=>e.handlePreview(p),["prevent"])},[q(i(Be),{class:N(i(s).m("document"))},{default:Q(()=>[q(i(s4))]),_:1},8,["class"]),j("span",{class:N(i(l).be("list","item-file-name")),title:p.name},ke(p.name),11,kU)],10,SU),p.status==="uploading"?(x(),oe(i(vk),{key:0,type:e.listType==="picture-card"?"circle":"line","stroke-width":e.listType==="picture-card"?6:2,percentage:Number(p.percentage),style:We(e.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ae("v-if",!0)],2)):ae("v-if",!0),j("label",{class:N(i(l).be("list","item-status-label"))},[e.listType==="text"?(x(),oe(i(Be),{key:0,class:N([i(s).m("upload-success"),i(s).m("circle-check")])},{default:Q(()=>[q(i(Zv))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(x(),oe(i(Be),{key:1,class:N([i(s).m("upload-success"),i(s).m("check")])},{default:Q(()=>[q(i(Qi))]),_:1},8,["class"])):ae("v-if",!0)],2),i(u)?ae("v-if",!0):(x(),oe(i(Be),{key:2,class:N(i(s).m("close")),"aria-label":i(o)("el.upload.delete"),role:"button",tabindex:"0",onClick:m=>f(p),onKeydown:Jt(Ze(m=>f(p),["prevent"]),["enter","space"])},{default:Q(()=>[q(i(Ma))]),_:1},8,["class","aria-label","onClick","onKeydown"])),i(u)?ae("v-if",!0):(x(),F("i",{key:3,class:N(i(s).m("close-tip"))},ke(i(o)("el.upload.deleteTip")),3)),e.listType==="picture-card"?(x(),F("span",{key:4,class:N(i(l).be("list","item-actions"))},[j("span",{class:N(i(l).be("list","item-preview")),onClick:m=>e.handlePreview(p)},[q(i(Be),{class:N(i(s).m("zoom-in"))},{default:Q(()=>[q(i(nC))]),_:1},8,["class"])],10,EU),i(u)?ae("v-if",!0):(x(),F("span",{key:0,class:N(i(l).be("list","item-delete")),onClick:m=>f(p)},[q(i(Be),{class:N(i(s).m("delete"))},{default:Q(()=>[q(i(o4))]),_:1},8,["class"])],10,xU))],2)):ae("v-if",!0)])],42,wU))),128)),ne(h.$slots,"append")]),_:3},8,["class","name"]))}}),$b=TU;const Ob="ElUploadDrag";var $U=le({name:Ob,__name:"upload-dragger",props:yU,emits:bU,setup(e,{emit:t}){const n=e,a=t;Le(E2)||Xt(Ob,"usage: ");const o=ve("upload"),l=_(!1),s=nn(),r=h=>new Promise((g,p)=>h.file(g,p)),u=async h=>{try{if(h.isFile){const g=await r(h);return g.isDirectory=!1,[g]}if(h.isDirectory){const g=h.createReader(),p=()=>new Promise((b,C)=>g.readEntries(b,C)),v=[];let m=await p();for(;m.length>0;)v.push(...m),m=await p();const y=v.map(b=>u(b).catch(()=>[]));return dc(await Promise.all(y))}}catch{return[]}return[]},c=async h=>{if(s.value)return;l.value=!1,h.stopPropagation();const g=Array.from(h.dataTransfer.files),p=h.dataTransfer.items||[];if(n.directory){const v=Array.from(p).map(m=>{var y;return(y=m==null?void 0:m.webkitGetAsEntry)==null?void 0:y.call(m)}).filter(m=>m);a("file",dc(await Promise.all(v.map(u))));return}g.forEach((v,m)=>{var b,C;const y=(C=(b=p[m])==null?void 0:b.webkitGetAsEntry)==null?void 0:C.call(b);y&&(v.isDirectory=y.isDirectory)}),a("file",g)},d=()=>{s.value||(l.value=!0)},f=h=>{h.currentTarget.contains(h.relatedTarget)||(l.value=!1)};return(h,g)=>(x(),F("div",{class:N([i(o).b("dragger"),i(o).is("dragover",l.value)]),onDrop:Ze(c,["prevent"]),onDragover:Ze(d,["prevent"]),onDragleave:Ze(f,["prevent"])},[ne(h.$slots,"default")],34))}}),OU=$U;const NU=["tabindex","aria-disabled","onKeydown"],MU=["name","disabled","multiple","accept","webkitdirectory"];var IU=le({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:gU,setup(e,{expose:t}){const n=e,a=ve("upload"),o=nn(),l=jt({}),s=jt(),r=v=>{if(v.length===0)return;const{autoUpload:m,limit:y,fileList:b,multiple:C,onStart:w,onExceed:k}=n;if(y&&b.length+v.length>y){k(v,b);return}C||(v=v.slice(0,1));for(const E of v){const $=E;$.uid=zp(),w($),m&&u($)}},u=async v=>{if(s.value.value="",!n.beforeUpload)return d(v);let m,y={};try{const C=n.data,w=n.beforeUpload(v);y=ei(n.data)?Fo(n.data):n.data,m=await w,ei(n.data)&&Qt(C,y)&&(y=Fo(n.data))}catch{m=!1}if(m===!1){n.onRemove(v);return}let b=v;m instanceof Blob&&(m instanceof File?b=m:b=new File([m],v.name,{type:v.type})),d(Object.assign(b,{uid:v.uid}),y)},c=async(v,m)=>ze(v)?v(m):v,d=async(v,m)=>{const{headers:y,data:b,method:C,withCredentials:w,name:k,action:E,onProgress:$,onSuccess:O,onError:M,httpRequest:T}=n;try{m=await c(m??b,v)}catch{n.onRemove(v);return}const{uid:A}=v,R={headers:y||{},withCredentials:w,file:v,data:m,method:C,filename:k,action:E,onProgress:K=>{$(K,v)},onSuccess:K=>{O(K,v),delete l.value[A]},onError:K=>{M(K,v),delete l.value[A]}},B=T(R);l.value[A]=B,B instanceof Promise&&B.then(R.onSuccess,R.onError)},f=v=>{const m=v.target.files;m&&r(Array.from(m))},h=()=>{o.value||(s.value.value="",s.value.click())},g=()=>{h()};return t({abort:v=>{Jw(l.value).filter(v?([m])=>String(v.uid)===m:()=>!0).forEach(([m,y])=>{y instanceof XMLHttpRequest&&y.abort(),delete l.value[m]})},upload:u}),(v,m)=>(x(),F("div",{class:N([i(a).b(),i(a).m(e.listType),i(a).is("drag",e.drag),i(a).is("disabled",i(o))]),tabindex:i(o)?void 0:0,"aria-disabled":i(o),role:"button",onClick:h,onKeydown:Jt(Ze(g,["self"]),["enter","space"])},[e.drag?(x(),oe(OU,{key:0,disabled:i(o),directory:e.directory,onFile:r},{default:Q(()=>[ne(v.$slots,"default")]),_:3},8,["disabled","directory"])):ne(v.$slots,"default",{key:1}),j("input",{ref_key:"inputRef",ref:s,class:N(i(a).e("input")),name:e.name,disabled:i(o),multiple:e.multiple,accept:e.accept,webkitdirectory:e.directory||void 0,type:"file",onChange:f,onClick:m[0]||(m[0]=Ze(()=>{},["stop"]))},null,42,MU)],42,NU))}}),Nb=IU;const Mb="ElUpload",Ib=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},PU=(e,t)=>{const n=s1(e,"fileList",void 0,{passive:!0}),a=p=>n.value.find(v=>v.uid===p.uid);function o(p){var v;(v=t.value)==null||v.abort(p)}function l(p=["ready","uploading","success","fail"]){n.value=n.value.filter(v=>!p.includes(v.status))}function s(p){n.value=n.value.filter(v=>v.uid!==p.uid)}const r=p=>{Ae(()=>e.onChange(p,n.value))},u=(p,v)=>{const m=a(v);m&&(console.error(p),m.status="fail",s(m),e.onError(p,m,n.value),r(m))},c=(p,v)=>{const m=a(v);m&&(e.onProgress(p,m,n.value),m.status="uploading",m.percentage=Math.round(p.percent))},d=(p,v)=>{const m=a(v);m&&(m.status="success",m.response=p,e.onSuccess(p,m,n.value),r(m))},f=p=>{pn(p.uid)&&(p.uid=zp());const v={name:p.name,percentage:0,status:"ready",size:p.size,raw:p,uid:p.uid};if(e.listType==="picture-card"||e.listType==="picture")try{v.url=URL.createObjectURL(p)}catch(m){dt(Mb,m.message),e.onError(m,v,n.value)}n.value=[...n.value,v],r(v)},h=async p=>{const v=p instanceof File?a(p):p;v||Xt(Mb,"file to be removed not found");const m=y=>{o(y),s(y),e.onRemove(y,n.value),Ib(y)};e.beforeRemove?await e.beforeRemove(v,n.value)!==!1&&m(v):m(v)};function g(){n.value.filter(({status:p})=>p==="ready").forEach(({raw:p})=>{var v;return p&&((v=t.value)==null?void 0:v.upload(p))})}return ie(()=>e.listType,p=>{p!=="picture-card"&&p!=="picture"||(n.value=n.value.map(v=>{const{raw:m,url:y}=v;if(!y&&m)try{v.url=URL.createObjectURL(m)}catch(b){e.onError(b,v,n.value)}return v}))}),ie(n,p=>{for(const v of p)v.uid||(v.uid=zp()),v.status||(v.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:o,clearFiles:l,handleError:u,handleProgress:c,handleStart:f,handleSuccess:d,handleRemove:h,submit:g,revokeFileObjectURL:Ib}};var RU=le({name:"ElUpload",__name:"upload",props:vU,setup(e,{expose:t}){const n=e,a=nn(),o=jt(),{abort:l,submit:s,clearFiles:r,uploadFiles:u,handleStart:c,handleError:d,handleRemove:f,handleSuccess:h,handleProgress:g,revokeFileObjectURL:p}=PU(n,o),v=S(()=>n.listType==="picture-card"),m=S(()=>({...n,fileList:u.value,onStart:c,onProgress:g,onSuccess:h,onError:d,onRemove:f}));return Rt(()=>{u.value.forEach(p)}),wt(E2,{accept:_t(n,"accept")}),t({abort:l,submit:s,clearFiles:r,handleStart:c,handleRemove:f}),(y,b)=>(x(),F("div",null,[v.value&&e.showFileList?(x(),oe($b,{key:0,disabled:i(a),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},na({append:Q(()=>[q(Nb,ut({ref_key:"uploadRef",ref:o},m.value),{default:Q(()=>[y.$slots.trigger?ne(y.$slots,"trigger",{key:0}):ae("v-if",!0),!y.$slots.trigger&&y.$slots.default?ne(y.$slots,"default",{key:1}):ae("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:Q(({file:C,index:w})=>[ne(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ae("v-if",!0),!v.value||v.value&&!e.showFileList?(x(),oe(Nb,ut({key:1,ref_key:"uploadRef",ref:o},m.value),{default:Q(()=>[y.$slots.trigger?ne(y.$slots,"trigger",{key:0}):ae("v-if",!0),!y.$slots.trigger&&y.$slots.default?ne(y.$slots,"default",{key:1}):ae("v-if",!0)]),_:3},16)):ae("v-if",!0),y.$slots.trigger?ne(y.$slots,"default",{key:2}):ae("v-if",!0),ne(y.$slots,"tip"),!v.value&&e.showFileList?(x(),oe($b,{key:3,disabled:i(a),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},na({_:2},[y.$slots.file?{name:"default",fn:Q(({file:C,index:w})=>[ne(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ae("v-if",!0)]))}}),AU=RU;const _U=lt(AU),LU=Se({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:G([String,Array]),default:"Element Plus"},font:{type:G(Object)},gap:{type:G(Array),default:()=>[100,100]},offset:{type:G(Array)}});function DU(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function BU(e){return Object.keys(e).map(t=>`${DU(t)}: ${e[t]};`).join(" ")}function VU(){return window.devicePixelRatio||1}const FU=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},zU={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function Sf(e,t,n=1){const a=document.createElement("canvas"),o=a.getContext("2d"),l=e*n,s=t*n;return a.setAttribute("width",`${l}px`),a.setAttribute("height",`${s}px`),o.save(),[o,a,l,s]}function HU(){function e(t,n,a,o,l,s,r,u,c){const[d,f,h,g]=Sf(o,l,a);let p=0;if(t instanceof HTMLImageElement)d.drawImage(t,0,0,h,g);else{const{color:U,fontSize:W,fontStyle:X,fontWeight:J,fontFamily:fe,textAlign:ue,textBaseline:he}=s,re=Number(W)*a;d.font=`${X} normal ${J} ${re}px/${l}px ${fe}`,d.fillStyle=U,d.textAlign=ue,d.textBaseline=he;const te=be(t)?t:[t];if(he!=="top"&&te[0]){const ee=d.measureText(te[0]);d.textBaseline="top";const H=d.measureText(te[0]);p=ee.actualBoundingBoxAscent-H.actualBoundingBoxAscent}te==null||te.forEach((ee,H)=>{const[Z,se]=zU[ue];d.fillText(ee??"",h*Z+c*se,H*(re+s.fontGap*a))})}const v=Math.PI/180*Number(n),m=Math.max(o,l),[y,b,C]=Sf(m,m,a);y.translate(C/2,C/2),y.rotate(v),h>0&&g>0&&y.drawImage(f,-h/2,-g/2);function w(U,W){return[U*Math.cos(v)-W*Math.sin(v),U*Math.sin(v)+W*Math.cos(v)]}let k=0,E=0,$=0,O=0;const M=h/2,T=g/2;[[0-M,0-T],[0+M,0-T],[0+M,0+T],[0-M,0+T]].forEach(([U,W])=>{const[X,J]=w(U,W);k=Math.min(k,X),E=Math.max(E,X),$=Math.min($,J),O=Math.max(O,J)});const A=k+C/2,R=$+C/2,B=E-k,K=O-$,Y=r*a,z=u*a,P=(B+Y)*2,I=K+z,[L,D]=Sf(P,I);function V(U=0,W=0){L.drawImage(b,A,R,B,K,U,W+p,B,K)}return V(),V(B+Y,-K/2-z/2),V(B+Y,+K/2+z/2),[D.toDataURL(),P/a,I/a]}return e}var KU=le({name:"ElWatermark",__name:"watermark",props:LU,setup(e){const t={position:"relative"},n=e,a=S(()=>{var A;return((A=n.font)==null?void 0:A.fontGap)??3}),o=S(()=>{var A;return((A=n.font)==null?void 0:A.color)??"rgba(0,0,0,.15)"}),l=S(()=>{var A;return((A=n.font)==null?void 0:A.fontSize)??16}),s=S(()=>{var A;return((A=n.font)==null?void 0:A.fontWeight)??"normal"}),r=S(()=>{var A;return((A=n.font)==null?void 0:A.fontStyle)??"normal"}),u=S(()=>{var A;return((A=n.font)==null?void 0:A.fontFamily)??"sans-serif"}),c=S(()=>{var A;return((A=n.font)==null?void 0:A.textAlign)??"center"}),d=S(()=>{var A;return((A=n.font)==null?void 0:A.textBaseline)??"hanging"}),f=S(()=>n.gap[0]),h=S(()=>n.gap[1]),g=S(()=>f.value/2),p=S(()=>h.value/2),v=S(()=>{var A;return((A=n.offset)==null?void 0:A[0])??g.value}),m=S(()=>{var A;return((A=n.offset)==null?void 0:A[1])??p.value}),y=()=>{const A={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let R=v.value-g.value,B=m.value-p.value;return R>0&&(A.left=`${R}px`,A.width=`calc(100% - ${R}px)`,R=0),B>0&&(A.top=`${B}px`,A.height=`calc(100% - ${B}px)`,B=0),A.backgroundPosition=`${R}px ${B}px`,A},b=jt(null),C=jt(),w=_(!1),k=()=>{C.value&&(C.value.remove(),C.value=void 0)},E=(A,R)=>{var B;b.value&&C.value&&(w.value=!0,C.value.setAttribute("style",BU({...y(),backgroundImage:`url('${A}')`,backgroundSize:`${Math.floor(R)}px`})),(B=b.value)==null||B.append(C.value),setTimeout(()=>{w.value=!1}))},$=A=>{let R=120,B=64,K=0;const{image:Y,content:z,width:P,height:I,rotate:L}=n;if(!Y&&A.measureText){A.font=`${Number(l.value)}px ${u.value}`;const D=be(z)?z:[z];let V=0,U=0;D.forEach(X=>{const{width:J,fontBoundingBoxAscent:fe,fontBoundingBoxDescent:ue,actualBoundingBoxAscent:he,actualBoundingBoxDescent:re}=A.measureText(X),te=kt(fe)?he+re:fe+ue;J>V&&(V=Math.ceil(J)),te>U&&(U=Math.ceil(te))}),R=V,B=U*D.length+(D.length-1)*a.value;const W=Math.PI/180*Number(L);K=Math.ceil(Math.abs(Math.sin(W)*B)/2),R+=K}return[P??R,I??B,K]},O=HU(),M=()=>{const A=document.createElement("canvas").getContext("2d"),R=n.image,B=n.content,K=n.rotate;if(A){C.value||(C.value=document.createElement("div"));const Y=VU(),[z,P,I]=$(A),L=D=>{const[V,U]=O(D||"",K,Y,z,P,{color:o.value,fontSize:l.value,fontStyle:r.value,fontWeight:s.value,fontFamily:u.value,fontGap:a.value,textAlign:c.value,textBaseline:d.value},f.value,h.value,I);E(V,U)};if(R){const D=new Image;D.onload=()=>{L(D)},D.onerror=()=>{L(B)},D.crossOrigin="anonymous",D.referrerPolicy="no-referrer",D.src=R}else L(B)}};return ft(()=>{M()}),ie(()=>n,()=>{M()},{deep:!0,flush:"post"}),Rt(()=>{k()}),Ki(b,A=>{w.value||A.forEach(R=>{FU(R,C.value)&&(k(),M())})},{attributes:!0,subtree:!0,childList:!0}),(A,R)=>(x(),F("div",{ref_key:"containerRef",ref:b,style:We([t])},[ne(A.$slots,"default")],4))}}),WU=KU;const jU=lt(WU),YU=["absolute","fixed"],UU=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],qh=Se({placement:{type:G(String),values:UU,default:"bottom"},reference:{type:G(Object),default:null},strategy:{type:G(String),values:YU,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),qU={close:()=>!0},GU=Se({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:Bt},placement:qh.placement,contentStyle:{type:G([Object])},mask:{type:G([Boolean,Object]),default:!0},gap:{type:G(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:G([Boolean,Object]),default:()=>({block:"center"})},type:{type:G(String)},appendTo:{type:zi.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),XU={[tt]:e=>Dt(e),"update:current":e=>Ke(e),close:e=>Ke(e),finish:()=>!0,change:e=>Ke(e)},ZU=Se({target:{type:G([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:Bt},showArrow:{type:Boolean,default:void 0},placement:qh.placement,mask:{type:G([Boolean,Object]),default:void 0},contentStyle:{type:G([Object])},prevButtonProps:{type:G(Object)},nextButtonProps:{type:G(Object)},scrollIntoViewOptions:{type:G([Boolean,Object]),default:void 0},type:{type:G(String)}}),JU={close:()=>!0},QU=(e,t,n,a,o)=>{const l=_(null),s=()=>{let d;return De(e.value)?d=document.querySelector(e.value):ze(e.value)?d=e.value():d=e.value,d},r=()=>{const d=s();if(!d||!t.value){l.value=null;return}eq(d)||d.scrollIntoView(o.value);const{left:f,top:h,width:g,height:p}=d.getBoundingClientRect();l.value={left:f,top:h,width:g,height:p,radius:0}};ft(()=>{ie([t,e],()=>{r()},{immediate:!0}),window.addEventListener("resize",r)}),Rt(()=>{window.removeEventListener("resize",r)});const u=d=>(be(n.value.offset)?n.value.offset[d]:n.value.offset)??6,c=S(()=>{var g;if(!l.value)return l.value;const d=u(0),f=u(1),h=((g=n.value)==null?void 0:g.radius)||2;return{left:l.value.left-d,top:l.value.top-f,width:l.value.width+d*2,height:l.value.height+f*2,radius:h}});return{mergedPosInfo:c,triggerTarget:S(()=>{const d=s();return!a.value||!d||!window.DOMRect?d||void 0:{getBoundingClientRect(){var f,h,g,p;return window.DOMRect.fromRect({width:((f=c.value)==null?void 0:f.width)||0,height:((h=c.value)==null?void 0:h.height)||0,x:((g=c.value)==null?void 0:g.left)||0,y:((p=c.value)==null?void 0:p.top)||0})}}})}},$d=Symbol("ElTour");function eq(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:a,right:o,bottom:l,left:s}=e.getBoundingClientRect();return a>=0&&s>=0&&o<=t&&l<=n}const tq=(e,t,n,a,o,l,s,r)=>{const u=_(),c=_(),d=_({}),f={x:u,y:c,placement:a,strategy:o,middlewareData:d},h=S(()=>{const y=[h3(i(l)),g3(),m3(),nq()];return i(r)&&i(n)&&y.push(y3({element:i(n)})),y}),g=async()=>{if(!Nt)return;const y=i(e),b=i(t);if(!y||!b)return;const C=await b3(y,b,{placement:i(a),strategy:i(o),middleware:i(h)});fi(f).forEach(w=>{f[w].value=C[w]})},p=S(()=>{if(!i(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:i(s)};const{overflow:y}=i(d);return{position:i(o),zIndex:i(s),top:i(c)!=null?`${i(c)}px`:"",left:i(u)!=null?`${i(u)}px`:"",maxWidth:y!=null&&y.maxWidth?`${y==null?void 0:y.maxWidth}px`:""}}),v=S(()=>{if(!i(r))return{};const{arrow:y}=i(d);return{left:(y==null?void 0:y.x)!=null?`${y==null?void 0:y.x}px`:"",top:(y==null?void 0:y.y)!=null?`${y==null?void 0:y.y}px`:""}});let m;return ft(()=>{const y=i(e),b=i(t);y&&b&&(m=p3(y,b,g)),da(()=>{g()})}),Rt(()=>{m&&m()}),{update:g,contentStyle:p,arrowStyle:v}},nq=()=>({name:"overflow",async fn(e){const t=await v3(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),aq=Se({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:G(Object)},targetAreaClickable:{type:Boolean,default:!0}}),oq={style:{width:"100%",height:"100%"}},lq=["d"];var sq=le({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:aq,setup(e){const t=e,{ns:n}=Le($d),a=S(()=>{var d;return((d=t.pos)==null?void 0:d.radius)??2}),o=S(()=>{const d=a.value,f=`a${d},${d} 0 0 1`;return{topRight:`${f} ${d},${d}`,bottomRight:`${f} ${-d},${d}`,bottomLeft:`${f} ${-d},${-d}`,topLeft:`${f} ${d},${-d}`}}),{width:l,height:s}=Mv(),r=S(()=>{const d=l.value,f=s.value,h=o.value,g=`M${d},0 L0,0 L0,${f} L${d},${f} L${d},0 Z`,p=a.value;return t.pos?`${g} M${t.pos.left+p},${t.pos.top} h${t.pos.width-p*2} ${h.topRight} v${t.pos.height-p*2} ${h.bottomRight} h${-t.pos.width+p*2} ${h.bottomLeft} v${-t.pos.height+p*2} ${h.topLeft} z`:g}),u=S(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=S(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return ud(_t(t,"visible"),{ns:n}),(d,f)=>e.visible?(x(),F("div",ut({key:0,class:i(n).e("mask"),style:u.value},d.$attrs),[(x(),F("svg",oq,[j("path",{class:N(i(n).e("hollow")),style:We(c.value),d:r.value},null,14,lq)]))],16)):ae("v-if",!0)}}),rq=sq;const iq=["data-side"];var uq=le({name:"ElTourContent",__name:"content",props:qh,emits:qU,setup(e,{emit:t}){const n=e,a=t,o=_(n.placement),l=_(n.strategy),s=_(null),r=_(null);ie(()=>n.placement,()=>{o.value=n.placement});const{contentStyle:u,arrowStyle:c}=tq(_t(n,"reference"),s,r,o,l,_t(n,"offset"),_t(n,"zIndex"),_t(n,"showArrow")),d=S(()=>o.value.split("-")[0]),{ns:f}=Le($d),h=()=>{a("close")},g=p=>{p.detail.focusReason==="pointer"&&p.preventDefault()};return(p,v)=>(x(),F("div",{ref_key:"contentRef",ref:s,style:We(i(u)),class:N(i(f).e("content")),"data-side":d.value,tabindex:"-1"},[q(i(yr),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":s.value||void 0,onReleaseRequested:h,onFocusoutPrevented:g},{default:Q(()=>[ne(p.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(x(),F("span",{key:0,ref_key:"arrowRef",ref:r,style:We(i(c)),class:N(i(f).e("arrow"))},null,6)):ae("v-if",!0)],14,iq))}}),cq=uq,dq=le({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let a=0;return()=>{var u,c;const o=(u=t.default)==null?void 0:u.call(t),l=[];let s=0;function r(d){be(d)&&d.forEach(f=>{var h;((h=(f==null?void 0:f.type)||{})==null?void 0:h.name)==="ElTourStep"&&(l.push(f),s+=1)})}return o.length&&r(ma((c=o[0])==null?void 0:c.children)),a!==s&&(a=s,n("update-total",s)),l.length?l[e.current]:null}}}),fq=le({name:"ElTour",inheritAttrs:!1,__name:"tour",props:GU,emits:XU,setup(e,{emit:t}){const n=e,a=t,o=ve("tour"),l=_(0),s=_(),r=s1(n,"current",a,{passive:!0}),u=S(()=>{var T;return(T=s.value)==null?void 0:T.target}),c=S(()=>[o.b(),y.value==="primary"?o.m("primary"):""]),d=S(()=>{var T;return((T=s.value)==null?void 0:T.placement)||n.placement}),f=S(()=>{var T;return((T=s.value)==null?void 0:T.contentStyle)??n.contentStyle}),h=S(()=>{var T;return((T=s.value)==null?void 0:T.mask)??n.mask}),g=S(()=>!!h.value&&n.modelValue),p=S(()=>Dt(h.value)?void 0:h.value),v=S(()=>{var T;return!!u.value&&(((T=s.value)==null?void 0:T.showArrow)??n.showArrow)}),m=S(()=>{var T;return((T=s.value)==null?void 0:T.scrollIntoViewOptions)??n.scrollIntoViewOptions}),y=S(()=>{var T;return((T=s.value)==null?void 0:T.type)??n.type}),{nextZIndex:b}=Ui(),C=b(),w=S(()=>n.zIndex??C),{mergedPosInfo:k,triggerTarget:E}=QU(u,_t(n,"modelValue"),_t(n,"gap"),h,m);ie(()=>n.modelValue,T=>{T||(r.value=0)});const $=()=>{n.closeOnPressEscape&&(a(tt,!1),a("close",r.value))},O=T=>{l.value=T},M=cn();return wt($d,{currentStep:s,current:r,total:l,showClose:_t(n,"showClose"),closeIcon:_t(n,"closeIcon"),mergedType:y,ns:o,slots:M,updateModelValue(T){a(tt,T)},onClose(){a("close",r.value)},onFinish(){a("finish")},onChange(){a(ht,r.value)}}),(T,A)=>(x(),F(He,null,[q(i(gr),{to:e.appendTo},{default:Q(()=>{var R,B;return[j("div",ut({class:c.value},T.$attrs),[q(rq,{visible:g.value,fill:(R=p.value)==null?void 0:R.color,style:We((B=p.value)==null?void 0:B.style),pos:i(k),"z-index":w.value,"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(x(),oe(cq,{key:i(r),reference:i(E),placement:d.value,"show-arrow":v.value,"z-index":w.value,style:We(f.value),onClose:$},{default:Q(()=>[q(i(dq),{current:i(r),onUpdateTotal:O},{default:Q(()=>[ne(T.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):ae("v-if",!0)],16)]}),_:3},8,["to"]),ae(" just for IDE "),ae("v-if",!0)],64))}}),pq=fq;const vq=["aria-label"];var hq=le({name:"ElTourStep",__name:"step",props:ZU,emits:JU,setup(e,{emit:t}){const n=e,a=t,{Close:o}=aC,{t:l}=St(),{currentStep:s,current:r,total:u,showClose:c,closeIcon:d,mergedType:f,ns:h,slots:g,updateModelValue:p,onClose:v,onFinish:m,onChange:y}=Le($d);ie(n,T=>{s.value=T},{immediate:!0});const b=S(()=>n.showClose??c.value),C=S(()=>n.closeIcon??d.value??o),w=T=>{if(T)return Vi(T,["children","onClick"])},k=()=>{var T,A;r.value-=1,(T=n.prevButtonProps)!=null&&T.onClick&&((A=n.prevButtonProps)==null||A.onClick()),y()},E=()=>{var T;r.value>=u.value-1?$():r.value+=1,(T=n.nextButtonProps)!=null&&T.onClick&&n.nextButtonProps.onClick(),y()},$=()=>{O(),m()},O=()=>{p(!1),v(),a("close")},M=T=>{var A;if(!((A=T.target)!=null&&A.isContentEditable))switch(Ft(T)){case Ce.left:T.preventDefault(),r.value>0&&k();break;case Ce.right:T.preventDefault(),E();break}};return ft(()=>{window.addEventListener("keydown",M)}),Rt(()=>{window.removeEventListener("keydown",M)}),(T,A)=>(x(),F(He,null,[b.value?(x(),F("button",{key:0,"aria-label":i(l)("el.tour.close"),class:N(i(h).e("closebtn")),type:"button",onClick:O},[q(i(Be),{class:N(i(h).e("close"))},{default:Q(()=>[(x(),oe(st(C.value)))]),_:1},8,["class"])],10,vq)):ae("v-if",!0),j("header",{class:N([i(h).e("header"),{"show-close":i(c)}])},[ne(T.$slots,"header",{},()=>[j("span",{role:"heading",class:N(i(h).e("title"))},ke(e.title),3)])],2),j("div",{class:N(i(h).e("body"))},[ne(T.$slots,"default",{},()=>[j("span",null,ke(e.description),1)])],2),j("footer",{class:N(i(h).e("footer"))},[j("div",{class:N(i(h).b("indicators"))},[i(g).indicators?(x(),oe(st(i(g).indicators),{key:0,current:i(r),total:i(u)},null,8,["current","total"])):(x(!0),F(He,{key:1},yt(i(u),(R,B)=>(x(),F("span",{key:R,class:N([i(h).b("indicator"),i(h).is("active",B===i(r))])},null,2))),128))],2),j("div",{class:N(i(h).b("buttons"))},[i(r)>0?(x(),oe(i(xn),ut({key:0,size:"small",type:i(f)},w(e.prevButtonProps),{onClick:k}),{default:Q(()=>{var R;return[bt(ke(((R=e.prevButtonProps)==null?void 0:R.children)??i(l)("el.tour.previous")),1)]}),_:1},16,["type"])):ae("v-if",!0),i(r)<=i(u)-1?(x(),oe(i(xn),ut({key:1,size:"small",type:i(f)==="primary"?"default":"primary"},w(e.nextButtonProps),{onClick:E}),{default:Q(()=>{var R;return[bt(ke(((R=e.nextButtonProps)==null?void 0:R.children)??(i(r)===i(u)-1?i(l)("el.tour.finish"):i(l)("el.tour.next"))),1)]}),_:1},16,["type"])):ae("v-if",!0)],2)],2)],64))}}),x2=hq;const mq=lt(pq,{TourStep:x2}),gq=Zt(x2),yq=Se({container:{type:G([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:G(String),default:"default"},direction:{type:G(String),default:"vertical"},selectScrollTop:Boolean}),bq={change:e=>De(e),click:(e,t)=>e instanceof MouseEvent&&(De(t)||kt(t))},Iu=e=>{if(!Nt||e==="")return null;if(De(e))try{return document.querySelector(e)}catch{return null}return e};function wq(e){let t=0;const n=(...a)=>{t&&Yo(t),t=za(()=>{e(...a),t=0})};return n.cancel=()=>{Yo(t),t=0},n}const T2=Symbol("anchor");var Cq=le({name:"ElAnchor",__name:"anchor",props:yq,emits:bq,setup(e,{expose:t,emit:n}){const a=e,o=n,l=cn(),s=_(""),r=_({}),u=_(null),c=_(null),d=_(),f={};let h=!1,g=0;const p=ve("anchor"),v=S(()=>[p.b(),a.type==="underline"?p.m("underline"):"",p.m(a.direction)]),m=R=>{f[R.href]=R.el},y=R=>{delete f[R]},b=R=>{s.value!==R&&(s.value=R,o(ht,R))};let C=null,w="";const k=R=>{if(!d.value)return;const B=Iu(R);if(!B)return;if(C){if(w===R)return;C()}w=R,h=!0;const K=Eg(B,d.value),Y=bp(B,K),z=K.scrollHeight-K.clientHeight,P=Math.min(Y-a.offset,z);C=hP(d.value,g,P,a.duration,()=>{setTimeout(()=>{h=!1,w=""},20)})},E=R=>{R&&(b(R),k(R))},$=(R,B)=>{o("click",R,B),E(B)},O=wq(()=>{d.value&&(g=xg(d.value));const R=M();h||kt(R)||b(R)}),M=()=>{if(!d.value)return;const R=xg(d.value),B=[];for(const K of Object.keys(f)){const Y=Iu(K);if(!Y)continue;const z=bp(Y,Eg(Y,d.value));B.push({top:z-a.offset-a.bound,href:K})}B.sort((K,Y)=>K.top-Y.top);for(let K=0;KR))return Y.href}},T=()=>{const R=Iu(a.container);!R||Fi(R)?d.value=window:d.value=R};At(d,"scroll",O);const A=()=>{Ae(()=>{if(!u.value||!c.value||!s.value){r.value={};return}const R=f[s.value];if(!R){r.value={};return}const B=u.value.getBoundingClientRect(),K=c.value.getBoundingClientRect(),Y=R.getBoundingClientRect();a.direction==="horizontal"?r.value={left:`${Y.left-B.left}px`,width:`${Y.width}px`,opacity:1}:r.value={top:`${Y.top-B.top+(Y.height-K.height)/2}px`,opacity:1}})};return ie(s,A),ie(()=>{var R;return(R=l.default)==null?void 0:R.call(l)},A),ft(()=>{T();const R=decodeURIComponent(window.location.hash);Iu(R)?E(R):O()}),ie(()=>a.container,()=>{T()}),wt(T2,{ns:p,direction:a.direction,currentAnchor:s,addLink:m,removeLink:y,handleClick:$}),t({scrollTo:E}),(R,B)=>(x(),F("div",{ref_key:"anchorRef",ref:u,class:N(v.value)},[e.marker?(x(),F("div",{key:0,ref_key:"markerRef",ref:c,class:N(i(p).e("marker")),style:We(r.value)},null,6)):ae("v-if",!0),j("div",{class:N(i(p).e("list"))},[ne(R.$slots,"default")],2)],2))}}),Sq=Cq;const kq=Se({title:String,href:String}),Eq=["href"];var xq=le({name:"ElAnchorLink",__name:"anchor-link",props:kq,setup(e){const t=e,n=_(null),{ns:a,direction:o,currentAnchor:l,addLink:s,removeLink:r,handleClick:u}=Le(T2),c=S(()=>[a.e("link"),a.is("active",l.value===t.href)]),d=f=>{u(f,t.href)};return ie(()=>t.href,(f,h)=>{Ae(()=>{h&&r(h),f&&s({href:f,el:n.value})})}),ft(()=>{const{href:f}=t;f&&s({href:f,el:n.value})}),Rt(()=>{const{href:f}=t;f&&r(f)}),(f,h)=>(x(),F("div",{class:N(i(a).e("item"))},[j("a",{ref_key:"linkRef",ref:n,class:N(c.value),href:e.href,onClick:d},[ne(f.$slots,"default",{},()=>[bt(ke(e.title),1)])],10,Eq),f.$slots["sub-link"]&&i(o)==="vertical"?(x(),F("div",{key:0,class:N(i(a).e("list"))},[ne(f.$slots,"sub-link")],2)):ae("v-if",!0)],2))}}),$2=xq;const Tq=lt(Sq,{AnchorLink:$2}),$q=Zt($2),O2={label:"label",value:"value",disabled:"disabled"},Oq=Se({direction:{type:G(String),default:"horizontal"},options:{type:G(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:G(Object),default:()=>O2},block:Boolean,size:wn,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...Zn(["ariaLabel"])}),Nq={[tt]:e=>De(e)||Ke(e)||Dt(e),[ht]:e=>De(e)||Ke(e)||Dt(e)},Mq=["id","aria-label","aria-labelledby"],Iq=["name","disabled","checked","onChange"];var Pq=le({name:"ElSegmented",__name:"segmented",props:Oq,emits:Nq,setup(e,{emit:t}){const n=e,a=t,o=ve("segmented"),l=_n(),s=yn(),r=nn(),{formItem:u}=In(),{inputId:c,isLabeledByFormItem:d}=Ca(n,{formItemContext:u}),f=_(null),h=JI(),g=It({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),p=(R,B)=>{const K=y(B);a(tt,K),a(ht,K),R.target.checked=K===n.modelValue},v=S(()=>({...O2,...n.props})),m=R=>R,y=R=>nt(R)?R[v.value.value]:R,b=R=>nt(R)?R[v.value.label]:R,C=R=>!!(r.value||nt(R)&&R[v.value.disabled]),w=R=>n.modelValue===y(R),k=R=>n.options.find(B=>y(B)===R),E=R=>[o.e("item"),o.is("selected",w(R)),o.is("disabled",C(R))],$=()=>{if(!f.value)return;const R=f.value.querySelector(".is-selected"),B=f.value.querySelector(".is-selected input");if(!R||!B){g.width=0,g.height=0,g.translateX=0,g.translateY=0,g.focusVisible=!1;return}g.isInit=!0,n.direction==="vertical"?(g.height=R.offsetHeight,g.translateY=R.offsetTop):(g.width=R.offsetWidth,g.translateX=R.offsetLeft);try{g.focusVisible=B.matches(":focus-visible")}catch{}},O=S(()=>[o.b(),o.m(s.value),o.is("block",n.block)]),M=S(()=>({width:n.direction==="vertical"?"100%":`${g.width}px`,height:n.direction==="vertical"?`${g.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${g.translateY}px)`:`translateX(${g.translateX}px)`,display:g.isInit?"block":"none"})),T=S(()=>[o.e("item-selected"),o.is("disabled",C(k(n.modelValue))),o.is("focus-visible",g.focusVisible)]),A=S(()=>n.name||l.value);return Gt(f,$),ie(h,$),ie(()=>n.modelValue,()=>{var R;$(),n.validateEvent&&((R=u==null?void 0:u.validate)==null||R.call(u,"change").catch(B=>dt(B)))},{flush:"post"}),(R,B)=>e.options.length?(x(),F("div",{key:0,id:i(c),ref_key:"segmentedRef",ref:f,class:N(O.value),role:"radiogroup","aria-label":i(d)?void 0:e.ariaLabel||"segmented","aria-labelledby":i(d)?i(u).labelId:void 0},[j("div",{class:N([i(o).e("group"),i(o).m(e.direction)])},[j("div",{style:We(M.value),class:N(T.value)},null,6),(x(!0),F(He,null,yt(e.options,(K,Y)=>(x(),F("label",{key:Y,class:N(E(K))},[j("input",{class:N(i(o).e("item-input")),type:"radio",name:A.value,disabled:C(K),checked:w(K),onChange:z=>p(z,K)},null,42,Iq),j("div",{class:N(i(o).e("item-label"))},[ne(R.$slots,"default",{item:m(K)},()=>[bt(ke(b(K)),1)])],2)],2))),128))],2)],10,Mq)):ae("v-if",!0)}}),Rq=Pq;const Aq=lt(Rq),_q=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},Lq=(e,t,n)=>{const{selectionEnd:a}=e;if(a===null)return;const o=e.value,l=En(t);let s=-1,r;for(let u=a-1;u>=0;--u){const c=o[u];if(c===n||c===`
+`||c==="\r"){s=u;continue}if(l.includes(c)){const d=s===-1?a:s;r={pattern:o.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:s,selectionEnd:a};break}}return r},Dq=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,a=e.selectionEnd!==null?e.selectionEnd:0,o=t.useSelectionEnd?a:n,l=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const h=document.querySelector("#input-textarea-caret-position-mirror-div");h!=null&&h.parentNode&&h.parentNode.removeChild(h)}const s=document.createElement("div");s.id="input-textarea-caret-position-mirror-div",document.body.appendChild(s);const r=s.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";r.whiteSpace=c?"nowrap":"pre-wrap",c||(r.wordWrap="break-word"),r.position="absolute",t.debug||(r.visibility="hidden"),l.forEach(h=>{if(c&&h==="lineHeight")if(u.boxSizing==="border-box"){const g=Number.parseInt(u.height),p=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),v=p+Number.parseInt(u.lineHeight);g>v?r.lineHeight=`${g-p}px`:g===v?r.lineHeight=u.lineHeight:r.lineHeight="0"}else r.lineHeight=u.height;else r[h]=u[h]}),id()?e.scrollHeight>Number.parseInt(u.height)&&(r.overflowY="scroll"):r.overflow="hidden",s.textContent=e.value.slice(0,Math.max(0,o)),c&&s.textContent&&(s.textContent=s.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,o))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,s.appendChild(d);const f={top:d.offsetTop+Number.parseInt(u.borderTopWidth),left:d.offsetLeft+Number.parseInt(u.borderLeftWidth),height:Number.parseInt(u.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(s),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},Bq=Se({...tu,options:{type:G(Array),default:()=>[]},prefix:{type:G([String,Array]),default:"@",validator:e=>De(e)?e.length===1:e.every(t=>De(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:G([Boolean,Function]),default:()=>_q,validator:e=>e===!1?!0:ze(e)},placement:{type:G(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:G(Function)},modelValue:String,loading:Boolean,popperClass:Lt.popperClass,popperStyle:Lt.popperStyle,popperOptions:{type:G(Object),default:()=>({})},props:{type:G(Object),default:()=>N2}}),Vq={[tt]:e=>De(e),"whole-remove":(e,t)=>De(e)&&De(t),input:e=>De(e),search:(e,t)=>De(e)&&De(t),select:(e,t)=>nt(e)&&De(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},N2={value:"value",label:"label",disabled:"disabled"},Fq=Se({options:{type:G(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),zq={select:e=>De(e.value)},Hq=["id","aria-disabled","aria-selected","onMousemove","onClick"];var Kq=le({name:"ElMentionDropdown",__name:"mention-dropdown",props:Fq,emits:zq,setup(e,{expose:t,emit:n}){const a=e,o=n,l=ve("mention"),{t:s}=St(),r=_(-1),u=_(),c=_(),d=_(),f=(w,k)=>[l.be("dropdown","item"),l.is("hovering",r.value===k),l.is("disabled",w.disabled||a.disabled)],h=w=>{w.disabled||a.disabled||o("select",w)},g=w=>{r.value=w},p=S(()=>a.disabled||a.options.every(w=>w.disabled)),v=S(()=>a.options[r.value]),m=()=>{!v.value||v.value.disabled||a.disabled||o("select",v.value)},y=w=>{const{options:k}=a;if(k.length===0||p.value)return;w==="next"?(r.value++,r.value===k.length&&(r.value=0)):w==="prev"&&(r.value--,r.value<0&&(r.value=k.length-1));const E=k[r.value];if(E.disabled){y(w);return}Ae(()=>b(E))},b=w=>{var O,M,T,A;const{options:k}=a,E=k.findIndex(R=>R.value===w.value),$=(O=c.value)==null?void 0:O[E];if($){const R=(T=(M=d.value)==null?void 0:M.querySelector)==null?void 0:T.call(M,`.${l.be("dropdown","wrap")}`);R&&_v(R,$)}(A=u.value)==null||A.handleScroll()};return ie(()=>a.options,()=>{p.value||a.options.length===0?r.value=-1:r.value=a.options.findIndex(w=>!w.disabled)},{immediate:!0}),t({hoveringIndex:r,navigateOptions:y,selectHoverOption:m,hoverOption:v}),(w,k)=>(x(),F("div",{ref_key:"dropdownRef",ref:d,class:N(i(l).b("dropdown"))},[w.$slots.header?(x(),F("div",{key:0,class:N(i(l).be("dropdown","header"))},[ne(w.$slots,"header")],2)):ae("v-if",!0),it(q(i(Wa),{id:e.contentId,ref_key:"scrollbarRef",ref:u,tag:"ul","wrap-class":i(l).be("dropdown","wrap"),"view-class":i(l).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:Q(()=>[(x(!0),F(He,null,yt(e.options,(E,$)=>(x(),F("li",{id:`${e.contentId}-${$}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:$,class:N(f(E,$)),role:"option","aria-disabled":E.disabled||e.disabled||void 0,"aria-selected":r.value===$,onMousemove:O=>g($),onClick:Ze(O=>h(E),["stop"])},[ne(w.$slots,"label",{item:E,index:$},()=>[j("span",null,ke(E.label??E.value),1)])],42,Hq))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[Ot,e.options.length>0&&!e.loading]]),e.loading?(x(),F("div",{key:1,class:N(i(l).be("dropdown","loading"))},[ne(w.$slots,"loading",{},()=>[bt(ke(i(s)("el.mention.loading")),1)])],2)):ae("v-if",!0),w.$slots.footer?(x(),F("div",{key:2,class:N(i(l).be("dropdown","footer"))},[ne(w.$slots,"footer")],2)):ae("v-if",!0)],2))}}),Wq=Kq,jq=le({name:"ElMention",inheritAttrs:!1,__name:"mention",props:Bq,emits:Vq,setup(e,{expose:t,emit:n}){const a=e,o=n,l=S(()=>jo(a,Object.keys(tu))),s=ve("mention"),r=nn(),u=_n(),c=_(),d=_(),f=_(),h=_(!1),g=_(),p=_(),v=S(()=>a.showArrow?a.placement:`${a.placement}-start`),m=S(()=>a.showArrow?["bottom","top"]:["bottom-start","top-start"]),y=S(()=>({...N2,...a.props})),b=P=>{const I={label:P[y.value.label],value:P[y.value.value],disabled:P[y.value.disabled]};return{...P,...I}},C=S(()=>a.options.map(b)),w=S(()=>{const{filterOption:P}=a;return!p.value||!P?C.value:C.value.filter(I=>P(p.value.pattern,I))}),k=S(()=>h.value&&(!!w.value.length||a.loading)),E=S(()=>{var P;return`${u.value}-${(P=f.value)==null?void 0:P.hoveringIndex}`}),$=P=>{o(tt,P),o(mn,P),K()},O=P=>{var L,D,V,U;if((L=c.value)!=null&&L.isComposing)return;const I=Ft(P);switch(I){case Ce.left:case Ce.right:K();break;case Ce.up:case Ce.down:if(!h.value)return;P.preventDefault(),(D=f.value)==null||D.navigateOptions(I===Ce.up?"prev":"next");break;case Ce.enter:case Ce.numpadEnter:if(!h.value){a.type!=="textarea"&&K();return}P.preventDefault(),(V=f.value)!=null&&V.hoverOption?(U=f.value)==null||U.selectHoverOption():h.value=!1;break;case Ce.esc:if(!h.value)return;P.preventDefault(),h.value=!1;break;case Ce.backspace:if(a.whole&&p.value){const{splitIndex:W,selectionEnd:X,pattern:J,prefixIndex:fe,prefix:ue}=p.value,he=B();if(!he)return;const re=he.value,te=C.value.find(ee=>ee.value===J);if((ze(a.checkIsWhole)?a.checkIsWhole(J,ue):te)&&W!==-1&&W+1===X){P.preventDefault();const ee=re.slice(0,fe)+re.slice(W+1);o(tt,ee),o(mn,ee),o("whole-remove",J,ue);const H=fe;Ae(()=>{he.selectionStart=H,he.selectionEnd=H,z()})}}}},{wrapperRef:M}=nl(c,{disabled:r,afterFocus(){K()},beforeBlur(P){var I;return(I=d.value)==null?void 0:I.isFocusInsideContent(P)},afterBlur(){h.value=!1}}),T=()=>{K()},A=P=>a.options.find(I=>P.value===I[y.value.value]),R=P=>{if(!p.value)return;const I=B();if(!I)return;const L=I.value,{split:D}=a,V=L.slice(p.value.end),U=V.startsWith(D),W=`${P.value}${U?"":D}`,X=L.slice(0,p.value.start)+W+V;o(tt,X),o(mn,X),o("select",A(P),p.value.prefix);const J=p.value.start+W.length+(U?1:0);Ae(()=>{I.selectionStart=J,I.selectionEnd=J,I.focus(),z()})},B=()=>{var P,I;return a.type==="textarea"?(P=c.value)==null?void 0:P.textarea:(I=c.value)==null?void 0:I.input},K=()=>{setTimeout(()=>{Y(),z(),Ae(()=>{var P;return(P=d.value)==null?void 0:P.updatePopper()})},0)},Y=()=>{const P=B();if(!P)return;const I=Dq(P),L=P.getBoundingClientRect(),D=M.value.getBoundingClientRect();g.value={position:"absolute",width:0,height:`${I.height}px`,left:`${I.left+L.left-D.left}px`,top:`${I.top+L.top-D.top}px`}},z=()=>{const P=B();if(document.activeElement!==P){h.value=!1;return}const{prefix:I,split:L}=a;if(p.value=Lq(P,I,L),p.value&&p.value.splitIndex===-1){h.value=!0,o("search",p.value.pattern,p.value.prefix);return}h.value=!1};return t({input:c,tooltip:d,dropdownVisible:k}),(P,I)=>(x(),F("div",{ref_key:"wrapperRef",ref:M,class:N(i(s).b())},[q(i(qn),ut(ut(l.value,P.$attrs),{ref_key:"elInputRef",ref:c,"model-value":e.modelValue,disabled:i(r),role:k.value?"combobox":void 0,"aria-activedescendant":k.value?E.value||"":void 0,"aria-controls":k.value?i(u):void 0,"aria-expanded":k.value||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":k.value?"none":void 0,"aria-haspopup":k.value?"listbox":void 0,onInput:$,onKeydown:O,onMousedown:T}),na({_:2},[yt(P.$slots,(L,D)=>({name:D,fn:Q(V=>[ne(P.$slots,D,Do(Bo(V)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),q(i(Mn),{ref_key:"tooltipRef",ref:d,visible:k.value,"popper-class":[i(s).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,placement:v.value,"fallback-placements":m.value,effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:Q(()=>[j("div",{style:We(g.value)},null,4)]),content:Q(()=>[q(Wq,{ref_key:"dropdownRef",ref:f,options:w.value,disabled:i(r),loading:e.loading,"content-id":i(u),"aria-label":e.ariaLabel,onSelect:R,onClick:I[0]||(I[0]=Ze(L=>{var D;return(D=c.value)==null?void 0:D.focus()},["stop"]))},na({_:2},[yt(P.$slots,(L,D)=>({name:D,fn:Q(V=>[ne(P.$slots,D,Do(Bo(V)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}}),Yq=jq;const Uq=lt(Yq),qq=Se({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),Gq={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},Xq=Se({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),Zq={"update:size":e=>typeof e=="number"||typeof e=="string"};function Jq(e){const t=_(),{width:n,height:a}=Hf(t);return{containerEl:t,containerSize:S(()=>e.value==="horizontal"?n.value:a.value)}}function Gh(e){return Number(e.slice(0,-1))/100}function Xh(e){return Number(e.slice(0,-2))}function Zh(e){return De(e)&&e.endsWith("%")}function Jh(e){return De(e)&&e.endsWith("px")}function Qq(e,t){const n=S(()=>e.value.map(s=>s.size)),a=S(()=>e.value.length),o=_([]);ie([n,a,t],()=>{var c;let s=[],r=0;for(let d=0;dd+(f||0),0);if(u>1||!r){const d=1/u;s=s.map(f=>f===void 0?0:f*d)}else{const d=(1-u)/r;s=s.map(f=>f===void 0?d:f)}o.value=s});const l=s=>s*t.value;return{percentSizes:o,pxSizes:S(()=>o.value.map(l))}}function eG(e,t,n,a){const o=m=>m*t.value||0;function l(m,y){return Zh(m)?o(Gh(m)):Jh(m)?Xh(m):m??y}const s=_(0),r=_(null);let u=[],c=Pt;const d=S(()=>e.value.map(m=>[m.min,m.max]));ie(a,()=>{if(s.value){const m=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(m)}});const f=m=>{s.value=0,r.value={index:m,confirmed:!1},u=n.value},h=(m,y)=>{var A;let b=null;if((!r.value||!r.value.confirmed)&&y!==0){if(y>0)b=m,r.value={index:m,confirmed:!0};else for(let R=m;R>=0;R-=1)if(u[R]>0){b=R,r.value={index:R,confirmed:!0};break}}const C=b??((A=r.value)==null?void 0:A.index)??m,w=[...u],k=C+1,E=l(d.value[C][0],0),$=l(d.value[k][0],0),O=l(d.value[C][1],t.value||0),M=l(d.value[k][1],t.value||0);let T=y;w[C]+TO&&(T=O-w[C]),w[k]-T>M&&(T=w[k]-M),w[C]+=T,w[k]-=T,s.value=T,c=()=>{e.value.forEach((R,B)=>{R.size=w[B]}),c=Pt},a.value||c()},g=()=>{a.value&&c(),s.value=0,r.value=null,u=[]},p=[];return{lazyOffset:s,onMoveStart:f,onMoving:h,onMoveEnd:g,movingIndex:r,onCollapse:(m,y)=>{p.length||p.push(...n.value);const b=n.value,C=y==="start"?m:m+1,w=y==="start"?m+1:m,k=b[C],E=b[w];if(k!==0&&E!==0)b[C]=0,b[w]+=k,p[m]=k;else{const $=k+E,O=p[m],M=$-O;b[w]=O,b[C]=M}e.value.forEach(($,O)=>{$.size=b[O]})}}}const M2=Symbol("splitterRootContextKey");var tG=le({name:"ElSplitter",__name:"splitter",props:qq,emits:Gq,setup(e,{emit:t}){const n=ve("splitter"),a=t,o=e,l=_t(o,"layout"),s=_t(o,"lazy"),{containerEl:r,containerSize:u}=Jq(l),{removeChild:c,children:d,addChild:f,ChildrenSorter:h}=hd(ct(),"ElSplitterPanel");ie(d,()=>{m.value=null,d.value.forEach((T,A)=>{T.setIndex(A)})});const{percentSizes:g,pxSizes:p}=Qq(d,u),{lazyOffset:v,movingIndex:m,onMoveStart:y,onMoving:b,onMoveEnd:C,onCollapse:w}=eG(d,u,p,s),k=S(()=>({[n.cssVarBlockName("bar-offset")]:s.value?`${v.value}px`:void 0}));return wt(M2,It({panels:d,percentSizes:g,pxSizes:p,layout:l,lazy:s,movingIndex:m,containerSize:u,onMoveStart:T=>{y(T),a("resizeStart",T,p.value)},onMoving:(T,A)=>{b(T,A),s.value||a("resize",T,p.value)},onMoveEnd:async T=>{C(),await Ae(),a("resizeEnd",T,p.value)},onCollapse:(T,A)=>{w(T,A),a("collapse",T,A,p.value)},registerPanel:f,unregisterPanel:c})),(T,A)=>(x(),F("div",{ref_key:"containerEl",ref:r,class:N([i(n).b(),i(n).e(l.value)]),style:We(k.value)},[ne(T.$slots,"default"),q(i(h)),ae(" Prevent iframe touch events from breaking "),i(m)?(x(),F("div",{key:0,class:N([i(n).e("mask"),i(n).e(`mask-${l.value}`)])},null,2)):ae("v-if",!0)],6))}}),nG=tG;function aG(e){return e&&nt(e)?e:{start:!!e,end:!!e}}function Pb(e,t,n,a){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&a===0&&t>0)}var oG=le({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=ve("splitter-bar"),a=e,o=t,l=S(()=>a.layout==="horizontal"),s=S(()=>l.value?{width:0}:{height:0}),r=S(()=>({width:l.value?"16px":"100%",height:l.value?"100%":"16px",cursor:a.resizable?l.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),u=S(()=>{const b=n.e("dragger");return{[`${b}-horizontal`]:l.value,[`${b}-vertical`]:!l.value,[`${b}-active`]:!!c.value}}),c=_(null),d=b=>{a.resizable&&(c.value=[b.pageX,b.pageY],o("moveStart",a.index),window.addEventListener("mouseup",p),window.addEventListener("mousemove",h))},f=b=>{if(a.resizable&&b.touches.length===1){b.preventDefault();const C=b.touches[0];c.value=[C.pageX,C.pageY],o("moveStart",a.index),window.addEventListener("touchend",v),window.addEventListener("touchmove",g)}},h=b=>{const{pageX:C,pageY:w}=b,k=C-c.value[0],E=w-c.value[1],$=l.value?k:E;o("moving",a.index,$)},g=b=>{if(b.touches.length===1){b.preventDefault();const C=b.touches[0],w=C.pageX-c.value[0],k=C.pageY-c.value[1],E=l.value?w:k;o("moving",a.index,E)}},p=()=>{c.value=null,window.removeEventListener("mouseup",p),window.removeEventListener("mousemove",h),o("moveEnd",a.index)},v=()=>{c.value=null,window.removeEventListener("touchend",v),window.removeEventListener("touchmove",g),o("moveEnd",a.index)},m=S(()=>l.value?qo:md),y=S(()=>l.value?Xn:Eo);return(b,C)=>(x(),F("div",{class:N([i(n).b()]),style:We(s.value)},[e.startCollapsible?(x(),F("div",{key:0,class:N([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-start`)]),onClick:C[0]||(C[0]=w=>o("collapse",e.index,"start"))},[ne(b.$slots,"start-collapsible",{},()=>[(x(),oe(st(m.value),{style:{width:"12px",height:"12px"}}))])],2)):ae("v-if",!0),j("div",{class:N([i(n).e("dragger"),u.value,i(n).is("disabled",!e.resizable),i(n).is("lazy",e.resizable&&e.lazy)]),style:We(r.value),onMousedown:d,onTouchstart:f},null,38),e.endCollapsible?(x(),F("div",{key:1,class:N([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-end`)]),onClick:C[1]||(C[1]=w=>o("collapse",e.index,"end"))},[ne(b.$slots,"end-collapsible",{},()=>[(x(),oe(st(y.value),{style:{width:"12px",height:"12px"}}))])],2)):ae("v-if",!0)],6))}}),lG=oG;const Rb="ElSplitterPanel";var sG=le({name:Rb,__name:"split-panel",props:Xq,emits:Zq,setup(e,{expose:t,emit:n}){const a=ve("splitter-panel"),o=e,l=n,s=Le(M2);s||Xt(Rb,"usage: ");const{panels:r,layout:u,lazy:c,containerSize:d,pxSizes:f}=$n(s),{registerPanel:h,unregisterPanel:g,onCollapse:p,onMoveEnd:v,onMoveStart:m,onMoving:y}=s,b=_(),C=ct(),w=C.uid,k=_(0),E=S(()=>r.value[k.value]),$=I=>{k.value=I},O=S(()=>E.value?f.value[k.value]??0:0),M=S(()=>E.value?f.value[k.value+1]??0:0),T=S(()=>E.value?r.value[k.value+1]:null),A=S(()=>{var I;return T.value?o.resizable&&((I=T.value)==null?void 0:I.resizable)&&(O.value!==0||!o.min)&&(M.value!==0||!T.value.min):!1}),R=S(()=>E.value?k.value!==r.value.length-1:!1),B=S(()=>Pb(E.value,O.value,T.value,M.value)),K=S(()=>Pb(T.value,M.value,E.value,O.value));function Y(I){return Zh(I)?Gh(I)*d.value||0:Jh(I)?Xh(I):I??0}let z=!1;ie(()=>o.size,()=>{if(!z&&E.value){if(!d.value){E.value.size=o.size;return}const I=Y(o.size),L=Y(o.max),D=Y(o.min),V=Math.min(Math.max(I,D||0),L||I);V!==I&&l("update:size",V),E.value.size=V}}),ie(()=>{var I;return(I=E.value)==null?void 0:I.size},I=>{I!==o.size&&(z=!0,l("update:size",I),Ae(()=>z=!1))}),ie(()=>o.resizable,I=>{E.value&&(E.value.resizable=I)});const P=It({uid:w,getVnode:()=>C.vnode,setIndex:$,...o,collapsible:S(()=>aG(o.collapsible))});return h(P),Rt(()=>g(P)),t({splitterPanelRef:b}),(I,L)=>(x(),F(He,null,[j("div",ut({ref_key:"panelEl",ref:b,class:[i(a).b()],style:{flexBasis:`${O.value}px`}},I.$attrs),[ne(I.$slots,"default")],16),R.value?(x(),oe(lG,{key:0,index:k.value,layout:i(u),lazy:i(c),resizable:A.value,"start-collapsible":B.value,"end-collapsible":K.value,onMoveStart:i(m),onMoving:i(y),onMoveEnd:i(v),onCollapse:i(p)},{"start-collapsible":Q(()=>[ne(I.$slots,"start-collapsible")]),"end-collapsible":Q(()=>[ne(I.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):ae("v-if",!0)],64))}}),I2=sG;const rG=lt(nG,{SplitPanel:I2}),iG=Zt(I2),va="ElInfiniteScroll",uG=50,cG=200,dG=0,fG={delay:{type:Number,default:cG},distance:{type:Number,default:dG},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Qh=(e,t)=>Object.entries(fG).reduce((n,[a,o])=>{const{type:l,default:s}=o,r=e.getAttribute(`infinite-scroll-${a}`);let u=t[r]??r??s;return u=u==="false"?!1:u,u=l(u),n[a]=Number.isNaN(u)?s:u,n},{}),P2=e=>{const{observer:t}=e[va];t&&(t.disconnect(),delete e[va].observer)},pG=(e,t)=>{const{container:n,containerEl:a,instance:o,observer:l,lastScrollTop:s}=e[va],{disabled:r,distance:u}=Qh(e,o),{clientHeight:c,scrollHeight:d,scrollTop:f}=a,h=f-s;if(e[va].lastScrollTop=f,l||r||h<0)return;let g=!1;if(n===e)g=d-(c+f)<=u;else{const{clientTop:p,scrollHeight:v}=e,m=bp(e,a);g=f+c>=m+p+v-u}g&&t.call(o)};function kf(e,t){const{containerEl:n,instance:a}=e[va],{disabled:o}=Qh(e,a);o||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(a):P2(e))}const vG={async mounted(e,t){const{instance:n,value:a}=t;co({scope:va,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),ze(a)||Xt(va,"'v-infinite-scroll' binding value must be a function"),await Ae();const{delay:o,immediate:l}=Qh(e,n),s=Av(e,!0),r=s===window?document.documentElement:s,u=gl(pG.bind(null,e,a),o);if(s){if(e[va]={instance:n,container:s,containerEl:r,delay:o,cb:a,onScroll:u,lastScrollTop:r.scrollTop},l){const c=new MutationObserver(gl(kf.bind(null,e,a),uG));e[va].observer=c,c.observe(e,{childList:!0,subtree:!0}),kf(e,a)}s.addEventListener("scroll",u)}},unmounted(e){if(!e[va])return;const{container:t,onScroll:n}=e[va];t==null||t.removeEventListener("scroll",n),P2(e)},async updated(e){if(!e[va])await Ae();else{const{containerEl:t,cb:n,observer:a}=e[va];t.clientHeight&&a&&kf(e,n)}}},Hp=vG;Hp.install=e=>{e.directive("InfiniteScroll",Hp)};const hG=Hp;function mG(e,t){let n;const a=_(!1),o=It({...e,originalPosition:"",originalOverflow:"",visible:!1});function l(h){o.text=h}function s(){const h=o.parent,g=f.ns;if(!h.vLoadingAddClassList){let p=h.getAttribute("loading-number");p=Number.parseInt(p)-1,p?h.setAttribute("loading-number",p.toString()):(Gn(h,g.bm("parent","relative")),h.removeAttribute("loading-number")),Gn(h,g.bm("parent","hidden"))}r(),d.unmount()}function r(){var h,g;(g=(h=f.$el)==null?void 0:h.parentNode)==null||g.removeChild(f.$el)}function u(){var h;e.beforeClose&&!e.beforeClose()||(a.value=!0,clearTimeout(n),n=setTimeout(c,400),o.visible=!1,(h=e.closed)==null||h.call(e))}function c(){if(!a.value)return;const h=o.parent;a.value=!1,h.vLoadingAddClassList=void 0,s()}const d=sT(le({name:"ElLoading",setup(h,{expose:g}){const{ns:p,zIndex:v}=wd("loading");return g({ns:p,zIndex:v}),()=>{const m=o.spinner||o.svg,y=Ge("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...m?{innerHTML:m}:{}},[Ge("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),b=o.text?Ge("p",{class:p.b("text")},[o.text]):void 0;return Ge(An,{name:p.b("fade"),onAfterLeave:c},{default:Q(()=>[it(q("div",{style:{backgroundColor:o.background||""},class:[p.b("mask"),o.customClass,p.is("fullscreen",o.fullscreen)]},[Ge("div",{class:p.b("spinner")},[y,b])]),[[Ot,o.visible]])])})}}}));Object.assign(d._context,t??{});const f=d.mount(document.createElement("div"));return{...$n(o),setText:l,removeElLoadingChild:r,close:u,handleAfterLeave:c,vm:f,get $el(){return f.$el}}}let Pu;const Ws=function(e={},t){if(!Nt)return;const n=gG(e);if(n.fullscreen&&Pu)return Pu;const a=mG({...n,closed:()=>{var l;(l=n.closed)==null||l.call(n),n.fullscreen&&(Pu=void 0)}},t??Ws._context);yG(n,n.parent,a),Ab(n,n.parent,a),n.parent.vLoadingAddClassList=()=>Ab(n,n.parent,a);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(a.$el),Ae(()=>a.visible.value=n.visible),n.fullscreen&&(Pu=a),a},gG=e=>{let t;return De(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},yG=async(e,t,n)=>{const{nextZIndex:a}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=Ao(document.body,"position"),n.originalOverflow.value=Ao(document.body,"overflow"),o.zIndex=a();else if(e.parent===document.body){n.originalPosition.value=Ao(document.body,"position"),await Ae();for(const l of["top","left"]){const s=l==="top"?"scrollTop":"scrollLeft";o[l]=`${e.target.getBoundingClientRect()[l]+document.body[s]+document.documentElement[s]-Number.parseInt(Ao(document.body,`margin-${l}`),10)}px`}for(const l of["height","width"])o[l]=`${e.target.getBoundingClientRect()[l]}px`}else n.originalPosition.value=Ao(t,"position");for(const[l,s]of Object.entries(o))n.$el.style[l]=s},Ab=(e,t,n)=>{const a=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Gn(t,a.bm("parent","relative")):Ea(t,a.bm("parent","relative")),e.fullscreen&&e.lock?Ea(t,a.bm("parent","hidden")):Gn(t,a.bm("parent","hidden"))};Ws._context=null;const Dr=Symbol("ElLoading"),Fl=e=>`element-loading-${Xo(e)}`,_b=(e,t)=>{const n=t.instance,a=c=>nt(t.value)?t.value[c]:void 0,o=c=>_(De(c)&&(n==null?void 0:n[c])||c),l=c=>o(a(c)||e.getAttribute(Fl(c))),s=a("fullscreen")??t.modifiers.fullscreen,r={text:l("text"),svg:l("svg"),svgViewBox:l("svgViewBox"),spinner:l("spinner"),background:l("background"),customClass:l("customClass"),fullscreen:s,target:a("target")??(s?void 0:e),body:a("body")??t.modifiers.body,lock:a("lock")??t.modifiers.lock},u=Ws(r);u._context=Qr._context,e[Dr]={options:r,instance:u}},bG=(e,t)=>{for(const n of Object.keys(e))Yt(e[n])&&(e[n].value=t[n])},Qr={mounted(e,t){t.value&&_b(e,t)},updated(e,t){const n=e[Dr];if(!t.value){n==null||n.instance.close(),e[Dr]=null;return}n?bG(n.options,nt(t.value)?t.value:{text:e.getAttribute(Fl("text")),svg:e.getAttribute(Fl("svg")),svgViewBox:e.getAttribute(Fl("svgViewBox")),spinner:e.getAttribute(Fl("spinner")),background:e.getAttribute(Fl("background")),customClass:e.getAttribute(Fl("customClass"))}):_b(e,t)},unmounted(e){var t;(t=e[Dr])==null||t.instance.close(),e[Dr]=null}};Qr._context=null;const wG={install(e){Ws._context=e._context,Qr._context=e._context,e.directive("loading",Qr),e.config.globalProperties.$loading=Ws},directive:Qr,service:Ws},R2=["primary","success","info","warning","error"],A2=["top","top-left","top-right","bottom","bottom-left","bottom-right"],js="top",zn=en({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Nt?document.body:void 0}),CG=Se({customClass:{type:String,default:zn.customClass},dangerouslyUseHTMLString:{type:Boolean,default:zn.dangerouslyUseHTMLString},duration:{type:Number,default:zn.duration},icon:{type:Bt,default:zn.icon},id:{type:String,default:zn.id},message:{type:G([String,Object,Function]),default:zn.message},onClose:{type:G(Function),default:zn.onClose},showClose:{type:Boolean,default:zn.showClose},type:{type:String,values:R2,default:zn.type},plain:{type:Boolean,default:zn.plain},offset:{type:Number,default:zn.offset},placement:{type:String,values:A2,default:zn.placement},zIndex:{type:Number,default:zn.zIndex},grouping:{type:Boolean,default:zn.grouping},repeatNum:{type:Number,default:zn.repeatNum}}),SG={destroy:()=>!0},Da=Jp({}),kG=e=>(Da[e]||(Da[e]=Jp([])),Da[e]),EG=(e,t)=>{const n=Da[t]||[],a=n.findIndex(s=>s.id===e),o=n[a];let l;return a>0&&(l=n[a-1]),{current:o,prev:l}},xG=(e,t)=>{const{prev:n}=EG(e,t);return n?n.vm.exposed.bottom.value:0},TG=(e,t,n)=>(Da[n]||[]).findIndex(a=>a.id===e)>0?16:t,$G=["id"],OG=["innerHTML"];var NG=le({name:"ElMessage",__name:"message",props:CG,emits:SG,setup(e,{expose:t,emit:n}){const{Close:a}=Qv,o=e,l=n,s=_(!1),{ns:r,zIndex:u}=wd("message"),{currentZIndex:c,nextZIndex:d}=u,f=_(),h=_(!1),g=_(0);let p;const v=S(()=>o.type?o.type==="error"?"danger":o.type:"info"),m=S(()=>{const B=o.type;return{[r.bm("icon",B)]:B&&Ol[B]}}),y=S(()=>o.icon||Ol[o.type]||""),b=S(()=>o.placement||js),C=S(()=>xG(o.id,b.value)),w=S(()=>TG(o.id,o.offset,b.value)+C.value),k=S(()=>g.value+w.value),E=S(()=>b.value.includes("left")?r.is("left"):b.value.includes("right")?r.is("right"):r.is("center")),$=S(()=>b.value.startsWith("top")?"top":"bottom"),O=S(()=>({[$.value]:`${w.value}px`,zIndex:c.value}));function M(){o.duration!==0&&({stop:p}=Zs(()=>{A()},o.duration))}function T(){p==null||p()}function A(){h.value=!1,Ae(()=>{var B;s.value||((B=o.onClose)==null||B.call(o),l("destroy"))})}function R(B){Ft(B)===Ce.esc&&A()}return ft(()=>{M(),d(),h.value=!0}),ie(()=>o.repeatNum,()=>{T(),M()}),At(document,"keydown",R),Gt(f,()=>{g.value=f.value.getBoundingClientRect().height}),t({visible:h,bottom:k,close:A}),(B,K)=>(x(),oe(An,{name:i(r).b("fade"),onBeforeEnter:K[0]||(K[0]=Y=>s.value=!0),onBeforeLeave:e.onClose,onAfterLeave:K[1]||(K[1]=Y=>B.$emit("destroy")),persisted:""},{default:Q(()=>[it(j("div",{id:e.id,ref_key:"messageRef",ref:f,class:N([i(r).b(),{[i(r).m(e.type)]:e.type},i(r).is("closable",e.showClose),i(r).is("plain",e.plain),i(r).is("bottom",$.value==="bottom"),E.value,e.customClass]),style:We(O.value),role:"alert",onMouseenter:T,onMouseleave:M},[e.repeatNum>1?(x(),oe(i(SC),{key:0,value:e.repeatNum,type:v.value,class:N(i(r).e("badge"))},null,8,["value","type","class"])):ae("v-if",!0),y.value?(x(),oe(i(Be),{key:1,class:N([i(r).e("icon"),m.value])},{default:Q(()=>[(x(),oe(st(y.value)))]),_:1},8,["class"])):ae("v-if",!0),ne(B.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(x(),F(He,{key:1},[ae(" Caution here, message could've been compromised, never use user's input as message "),j("p",{class:N(i(r).e("content")),innerHTML:e.message},null,10,OG)],2112)):(x(),F("p",{key:0,class:N(i(r).e("content"))},ke(e.message),3))]),e.showClose?(x(),oe(i(Be),{key:2,class:N(i(r).e("closeBtn")),onClick:Ze(A,["stop"])},{default:Q(()=>[q(i(a))]),_:1},8,["class"])):ae("v-if",!0)],46,$G),[[Ot,h.value]])]),_:3},8,["name","onBeforeLeave"]))}}),MG=NG;let IG=1;const PG=e=>{if(!e.appendTo)e.appendTo=document.body;else if(De(e.appendTo)){let t=document.querySelector(e.appendTo);ra(t)||(dt("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},RG=e=>{!e.placement&&De(Wn.placement)&&Wn.placement&&(e.placement=Wn.placement),e.placement||(e.placement=js),A2.includes(e.placement)||(dt("ElMessage",`Invalid placement: ${e.placement}. Falling back to '${js}'.`),e.placement=js)},_2=e=>{const t=!e||De(e)||Ht(e)||ze(e)?{message:e}:e,n={...zn,...t};return PG(n),RG(n),Dt(Wn.grouping)&&!n.grouping&&(n.grouping=Wn.grouping),Ke(Wn.duration)&&n.duration===3e3&&(n.duration=Wn.duration),Ke(Wn.offset)&&n.offset===16&&(n.offset=Wn.offset),Dt(Wn.showClose)&&!n.showClose&&(n.showClose=Wn.showClose),Dt(Wn.plain)&&!n.plain&&(n.plain=Wn.plain),n},AG=e=>{const t=Da[e.props.placement||js],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:a}=e;a.close()},_G=({appendTo:e,...t},n)=>{const a=`message_${IG++}`,o=t.onClose,l=document.createElement("div"),s={...t,id:a,onClose:()=>{o==null||o(),AG(c)},onDestroy:()=>{El(null,l)}},r=q(MG,s,ze(s.message)||Ht(s.message)?{default:ze(s.message)?s.message:()=>s.message}:null);r.appContext=n||ds._context,El(r,l),e.appendChild(l.firstElementChild);const u=r.component,c={id:a,vnode:r,vm:u,handler:{close:()=>{u.exposed.close()}},props:r.component.props};return c},ds=(e={},t)=>{if(!Nt)return{close:()=>{}};const n=_2(e),a=kG(n.placement||js);if(n.grouping&&a.length){const l=a.find(({vnode:s})=>{var r;return((r=s.props)==null?void 0:r.message)===n.message});if(l)return l.props.repeatNum+=1,l.props.type=n.type,l.handler}if(Ke(Wn.max)&&a.length>=Wn.max)return{close:()=>{}};const o=_G(n,t);return a.push(o),o.handler};R2.forEach(e=>{ds[e]=(t={},n)=>ds({..._2(t),type:e},n)});function LG(e){for(const t in Da)if(Tt(Da,t)){const n=[...Da[t]];for(const a of n)(!e||e===a.props.type)&&a.handler.close()}}function DG(e){Da[e]&&[...Da[e]].forEach(t=>t.handler.close())}ds.closeAll=LG;ds.closeAllByPlacement=DG;ds._context=null;const BG=Z1(ds,"$message");var VG=le({name:"ElMessageBox",directives:{TrapFocus:w8},components:{ElButton:xn,ElFocusTrap:yr,ElInput:qn,ElOverlay:Sh,ElIcon:Be,...Qv},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Lk},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:a,ns:o,size:l}=wd("message-box",S(()=>e.buttonSize)),{t:s}=n,{nextZIndex:r}=a,u=_(!1),c=It({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:uo(wo),cancelButtonLoadingIcon:uo(wo),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:r()}),d=S(()=>{const Y=c.type;return{[o.bm("icon",Y)]:Y&&Ol[Y]}}),f=_n(),h=_n(),g=S(()=>{const Y=c.type;return c.icon||Y&&Ol[Y]||""}),p=S(()=>!!c.message),v=_(),m=_(),y=_(),b=_(),C=_(),w=S(()=>c.confirmButtonClass);ie(()=>c.inputValue,async Y=>{await Ae(),e.boxType==="prompt"&&Y&&A()},{immediate:!0}),ie(()=>u.value,Y=>{var z;Y&&(e.boxType!=="prompt"&&(c.autofocus?y.value=((z=C.value)==null?void 0:z.$el)??v.value:y.value=v.value),c.zIndex=r()),e.boxType==="prompt"&&(Y?Ae().then(()=>{b.value&&b.value.$el&&(c.autofocus?y.value=R()??v.value:y.value=v.value)}):(c.editorErrorMessage="",c.validateError=!1))});const{isDragging:k}=p1(v,m,S(()=>e.draggable),S(()=>e.overflow));ft(async()=>{await Ae(),e.closeOnHashChange&&window.addEventListener("hashchange",E)}),Rt(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",E)});function E(){u.value&&(u.value=!1,Ae(()=>{c.action&&t("action",c.action)}))}const $=()=>{e.closeOnClickModal&&T(c.distinguishCancelAndClose?"close":"cancel")},O=Wv($),M=Y=>{var z;if(c.inputType!=="textarea"&&!((z=b.value)!=null&&z.isComposing))return Y.preventDefault(),T("confirm")},T=Y=>{var z;e.boxType==="prompt"&&Y==="confirm"&&!A()||(c.action=Y,c.beforeClose?(z=c.beforeClose)==null||z.call(c,Y,c,E):E())},A=()=>{if(e.boxType==="prompt"){const Y=c.inputPattern;if(Y&&!Y.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;const z=c.inputValidator;if(ze(z)){const P=z(c.inputValue);if(P===!1)return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;if(De(P))return c.editorErrorMessage=P,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},R=()=>{var z;const Y=(z=b.value)==null?void 0:z.$refs;return(Y==null?void 0:Y.input)??(Y==null?void 0:Y.textarea)},B=()=>{T("close")},K=()=>{e.closeOnPressEscape&&B()};return e.lockScroll&&ud(u,{ns:o}),{...$n(c),ns:o,overlayEvent:O,visible:u,hasMessage:p,typeClass:d,contentId:f,inputId:h,btnSize:l,iconComponent:g,confirmButtonClasses:w,rootRef:v,focusStartRef:y,headerRef:m,inputRef:b,isDragging:k,confirmRef:C,doClose:E,handleClose:B,onCloseRequested:K,handleWrapperClick:$,handleInputEnter:M,handleAction:T,t:s}}});const FG=["aria-label","aria-describedby"],zG=["aria-label"],HG=["id"];function KG(e,t,n,a,o,l){const s=$t("el-icon"),r=$t("el-input"),u=$t("el-button"),c=$t("el-focus-trap"),d=$t("el-overlay");return x(),oe(An,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=f=>e.$emit("vanish")),persisted:""},{default:Q(()=>[it(q(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:Q(()=>[j("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:N(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...f)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...f)),onMousedown:t[9]||(t[9]=(...f)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...f)),onMouseup:t[10]||(t[10]=(...f)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...f))},[q(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:Q(()=>[j("div",{ref:"rootRef",class:N([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:We(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=Ze(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(x(),F("div",{key:0,ref:"headerRef",class:N([e.ns.e("header"),{"show-close":e.showClose}])},[j("div",{class:N(e.ns.e("title"))},[e.iconComponent&&e.center?(x(),oe(s,{key:0,class:N([e.ns.e("status"),e.typeClass])},{default:Q(()=>[(x(),oe(st(e.iconComponent)))]),_:1},8,["class"])):ae("v-if",!0),j("span",null,ke(e.title),1)],2),e.showClose?(x(),F("button",{key:0,type:"button",class:N(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Jt(Ze(f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[q(s,{class:N(e.ns.e("close"))},{default:Q(()=>[(x(),oe(st(e.closeIcon||"close")))]),_:1},8,["class"])],42,zG)):ae("v-if",!0)],2)):ae("v-if",!0),j("div",{id:e.contentId,class:N(e.ns.e("content"))},[j("div",{class:N(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(x(),oe(s,{key:0,class:N([e.ns.e("status"),e.typeClass])},{default:Q(()=>[(x(),oe(st(e.iconComponent)))]),_:1},8,["class"])):ae("v-if",!0),e.hasMessage?(x(),F("div",{key:1,class:N(e.ns.e("message"))},[ne(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(x(),oe(st(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(x(),oe(st(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ke(e.message)},null,8,["for","textContent"]))])],2)):ae("v-if",!0)],2),it(j("div",{class:N(e.ns.e("input"))},[q(r,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=f=>e.inputValue=f),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:N({invalid:e.validateError}),onKeydown:Jt(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),j("div",{class:N(e.ns.e("errormsg")),style:We({visibility:e.editorErrorMessage?"visible":"hidden"})},ke(e.editorErrorMessage),7)],2),[[Ot,e.showInput]])],10,HG),j("div",{class:N(e.ns.e("btns"))},[e.showCancelButton?(x(),oe(u,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:N([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=f=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Jt(Ze(f=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:Q(()=>[bt(ke(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):ae("v-if",!0),it(q(u,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:N([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=f=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Jt(Ze(f=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:Q(()=>[bt(ke(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[Ot,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,FG)]),_:3},8,["z-index","overlay-class","mask"]),[[Ot,e.visible]])]),_:3})}var WG=Cn(VG,[["render",KG]]);const Ni=new Map,jG=e=>{let t=document.body;return e.appendTo&&(De(e.appendTo)&&(t=document.querySelector(e.appendTo)),ra(e.appendTo)&&(t=e.appendTo),ra(t)||(dt("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t},YG=(e,t,n=null)=>{const a=q(WG,e,ze(e.message)||Ht(e.message)?{default:ze(e.message)?e.message:()=>e.message}:null);return a.appContext=n,El(a,t),jG(e).appendChild(t.firstElementChild),a.component},UG=()=>document.createElement("div"),qG=(e,t)=>{const n=UG();e.onVanish=()=>{El(null,n),Ni.delete(o)},e.onAction=l=>{const s=Ni.get(o);let r;e.showInput?r={value:o.inputValue,action:l}:r=l,e.callback?e.callback(r,a.proxy):l==="cancel"||l==="close"?e.distinguishCancelAndClose&&l!=="cancel"?s.reject("close"):s.reject("cancel"):s.resolve(r)};const a=YG(e,n,t),o=a.proxy;for(const l in e)Tt(e,l)&&!Tt(o.$props,l)&&(l==="closeIcon"&&nt(e[l])?o[l]=uo(e[l]):o[l]=e[l]);return o.visible=!0,o};function wr(e,t=null){if(!Nt)return Promise.reject();let n;return De(e)||Ht(e)?e={message:e}:n=e.callback,new Promise((a,o)=>{const l=qG(e,t??wr._context);Ni.set(l,{options:e,callback:n,resolve:a,reject:o})})}const GG=["alert","confirm","prompt"],XG={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};GG.forEach(e=>{wr[e]=ZG(e)});function ZG(e){return(t,n,a,o)=>{let l="";return nt(n)?(a=n,l=""):kt(n)?l="":l=n,wr(Object.assign({title:l,message:t,type:"",...XG[e]},a,{boxType:e}),o)}}wr.close=()=>{Ni.forEach((e,t)=>{t.doClose()}),Ni.clear()};wr._context=null;const fl=wr;fl.install=e=>{fl._context=e._context,e.config.globalProperties.$msgbox=fl,e.config.globalProperties.$messageBox=fl,e.config.globalProperties.$alert=fl.alert,e.config.globalProperties.$confirm=fl.confirm,e.config.globalProperties.$prompt=fl.prompt};const JG=fl,L2=["primary","success","info","warning","error"],QG=Se({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:Bt},id:{type:String,default:""},message:{type:G([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:G(Function),default:()=>{}},onClose:{type:G(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...L2,""],default:""},zIndex:Number,closeIcon:{type:Bt,default:Ma}}),eX={destroy:()=>!0},tX=["id"],nX=["textContent"],aX={key:0},oX=["innerHTML"];var lX=le({name:"ElNotification",__name:"notification",props:QG,emits:eX,setup(e,{expose:t}){const n=e,{ns:a,zIndex:o}=wd("notification"),{nextZIndex:l,currentZIndex:s}=o,r=_(!1);let u;const c=S(()=>{const b=n.type;return b&&Ol[n.type]?a.m(b):""}),d=S(()=>n.type&&Ol[n.type]||n.icon),f=S(()=>n.position.endsWith("right")?"right":"left"),h=S(()=>n.position.startsWith("top")?"top":"bottom"),g=S(()=>({[h.value]:`${n.offset}px`,zIndex:n.zIndex??s.value}));function p(){n.duration>0&&({stop:u}=Zs(()=>{r.value&&m()},n.duration))}function v(){u==null||u()}function m(){r.value=!1}function y(b){switch(Ft(b)){case Ce.delete:case Ce.backspace:v();break;case Ce.esc:r.value&&m();break;default:p();break}}return ft(()=>{p(),l(),r.value=!0}),At(document,"keydown",y),t({visible:r,close:m}),(b,C)=>(x(),oe(An,{name:i(a).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:C[1]||(C[1]=w=>b.$emit("destroy")),persisted:""},{default:Q(()=>[it(j("div",{id:e.id,class:N([i(a).b(),e.customClass,f.value]),style:We(g.value),role:"alert",onMouseenter:v,onMouseleave:p,onClick:C[0]||(C[0]=(...w)=>e.onClick&&e.onClick(...w))},[d.value?(x(),oe(i(Be),{key:0,class:N([i(a).e("icon"),c.value])},{default:Q(()=>[(x(),oe(st(d.value)))]),_:1},8,["class"])):ae("v-if",!0),j("div",{class:N(i(a).e("group"))},[j("h2",{class:N(i(a).e("title")),textContent:ke(e.title)},null,10,nX),it(j("div",{class:N(i(a).e("content")),style:We(e.title?void 0:{margin:0})},[ne(b.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(x(),F(He,{key:1},[ae(" Caution here, message could've been compromised, never use user's input as message "),j("p",{innerHTML:e.message},null,8,oX)],2112)):(x(),F("p",aX,ke(e.message),1))])],6),[[Ot,e.message]]),e.showClose?(x(),oe(i(Be),{key:0,class:N(i(a).e("closeBtn")),onClick:Ze(m,["stop"])},{default:Q(()=>[(x(),oe(st(e.closeIcon)))]),_:1},8,["class"])):ae("v-if",!0)],2)],46,tX),[[Ot,r.value]])]),_:3},8,["name","onBeforeLeave"]))}}),sX=lX;const ur={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Dc=16;let rX=1;const fs=function(e={},t){if(!Nt)return{close:()=>{}};(De(e)||Ht(e))&&(e={message:e});const n=e.position||"top-right";let a=e.offset||0;ur[n].forEach(({vm:d})=>{var f;a+=(((f=d.el)==null?void 0:f.offsetHeight)||0)+Dc}),a+=Dc;const o=`notification_${rX++}`,l=e.onClose,s={...e,offset:a,id:o,onClose:()=>{iX(o,n,l)}};let r=document.body;ra(e.appendTo)?r=e.appendTo:De(e.appendTo)&&(r=document.querySelector(e.appendTo)),ra(r)||(dt("ElNotification","the appendTo option is not an HTMLElement. Falling back to document.body."),r=document.body);const u=document.createElement("div"),c=q(sX,s,ze(s.message)?s.message:Ht(s.message)?()=>s.message:null);return c.appContext=kt(t)?fs._context:t,c.props.onDestroy=()=>{El(null,u)},El(c,u),ur[n].push({vm:c}),r.appendChild(u.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};L2.forEach(e=>{fs[e]=(t={},n)=>((De(t)||Ht(t))&&(t={message:t}),fs({...t,type:e},n))});function iX(e,t,n){const a=ur[t],o=a.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(o===-1)return;const{vm:l}=a[o];if(!l)return;n==null||n(l);const s=l.el.offsetHeight,r=t.split("-")[0];a.splice(o,1);const u=a.length;if(!(u<1))for(let c=o;c{t.component.exposed.visible.value=!1})}function cX(e="top-right"){var n,a,o,l;let t=((o=(a=(n=ur[e][0])==null?void 0:n.vm.component)==null?void 0:a.props)==null?void 0:o.offset)||0;for(const{vm:s}of ur[e])s.component.props.offset=t,t+=(((l=s.el)==null?void 0:l.offsetHeight)||0)+Dc}fs.closeAll=uX;fs.updateOffsets=cX;fs._context=null;const dX=Z1(fs,"$notify"),fX=Se({trigger:ho.trigger,triggerKeys:ho.triggerKeys,placement:Uu.placement,disabled:ho.disabled,visible:Lt.visible,transition:Lt.transition,popperOptions:Uu.popperOptions,tabindex:Uu.tabindex,content:Lt.content,popperStyle:Lt.popperStyle,popperClass:Lt.popperClass,enterable:{...Lt.enterable,default:!0},effect:{...Lt.effect,default:"light"},teleported:Lt.teleported,appendTo:Lt.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),pX={"update:visible":e=>Dt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},vX="onUpdate:visible";var hX=le({name:"ElPopover",__name:"popover",props:fX,emits:pX,setup(e,{expose:t,emit:n}){const a=e,o=n,l=S(()=>a[vX]),s=ve("popover"),r=_(),u=S(()=>{var y;return(y=i(r))==null?void 0:y.popperRef}),c=S(()=>[{width:tn(a.width)},a.popperStyle]),d=S(()=>[s.b(),a.popperClass,{[s.m("plain")]:!!a.content}]),f=S(()=>a.transition===`${s.namespace.value}-fade-in-linear`),h=()=>{var y;(y=r.value)==null||y.hide()},g=()=>{o("before-enter")},p=()=>{o("before-leave")},v=()=>{o("after-enter")},m=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:u,hide:h}),(y,b)=>(x(),oe(i(Mn),ut({ref_key:"tooltipRef",ref:r},y.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":l.value,onBeforeShow:g,onBeforeHide:p,onShow:v,onHide:m}),{content:Q(()=>[e.title?(x(),F("div",{key:0,class:N(i(s).e("title")),role:"title"},ke(e.title),3)):ae("v-if",!0),ne(y.$slots,"default",{hide:h},()=>[bt(ke(e.content),1)])]),default:Q(()=>[y.$slots.reference?ne(y.$slots,"reference",{key:0}):ae("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),mX=hX;const Lb=(e,t)=>{var a;const n=(a=t.arg||t.value)==null?void 0:a.popperRef;n&&(n.triggerRef=e)};var gX={mounted(e,t){Lb(e,t)},updated(e,t){Lb(e,t)}};const yX="popover",D2=M3(gX,yX),bX=lt(mX,{directive:D2}),wX="2.13.5",CX=(e=[])=>({version:wX,install:(n,a)=>{n[Km]||(n[Km]=!0,e.forEach(o=>n.use(o)),a&&lh(a,n,!0))}});var SX=[_3,nA,dL,D7,gL,yL,EL,SC,AL,_L,xn,NC,PD,LD,ZD,JD,Y6,yS,Z6,Ya,v6,ph,rB,SB,kB,Sd,MS,ZB,zL,oV,lV,sV,rV,iV,XF,KS,lz,sz,Cz,ZS,Az,C5,S5,k5,sk,e_,t_,Be,dH,rk,qn,ik,OH,AH,XH,ZH,JH,QH,lK,VK,WK,bX,mC,vk,gS,T6,x6,l9,u9,oB,Wa,Ml,Sc,fD,Z9,aW,oW,EW,NW,_S,gV,LW,DW,UW,t7,n7,L7,X7,Z7,zo,Hh,F8,lY,cY,dY,Mn,EY,jh,YY,iU,_U,jU,mq,gq,Tq,$q,Aq,Uq,rG,iG],kX=[hG,wG,BG,JG,dX,D2],em=CX([...SX,...kX]);em.install;em.version;var $X=em;export{EX as A,Ae as B,ol as C,Eo as D,BG as E,He as F,TX as G,Ze as H,s4 as I,wo as J,it as K,Ot as L,JG as M,N,xX as O,Ma as P,o4 as Q,sT as R,$X as S,dr as T,Le as a,cr as b,S as c,le as d,Q2 as e,qc as f,ct as g,Ge as h,Yt as i,q as j,It as k,$t as l,F as m,j as n,ft as o,Q as p,x as q,_ as r,jt as s,ke as t,yt as u,oe as v,ie as w,ae as x,bt as y,i as z};
diff --git a/mineru/cli/static/web/index.html b/mineru/cli/static/web/index.html
index 639e16a..116af65 100644
--- a/mineru/cli/static/web/index.html
+++ b/mineru/cli/static/web/index.html
@@ -1,10 +1,10 @@
-
-
-  
-    
-    
-    
-    思维导图
+
+
+  
+    
+    
+    
+    思维导图
     
-    
-    
-    
-    
-  
-  
-    
- - + + + + + + + +
+ + \ No newline at end of file diff --git a/mineru/model/mfd/yolo_v8.py b/mineru/model/mfd/yolo_v8.py index 15ff7e8..d5c34b8 100644 --- a/mineru/model/mfd/yolo_v8.py +++ b/mineru/model/mfd/yolo_v8.py @@ -1,5 +1,7 @@ import os from typing import List, Union + +import torch from tqdm import tqdm from ultralytics import YOLO import numpy as np @@ -18,8 +20,8 @@ class YOLOv8MFDModel: conf: float = 0.25, iou: float = 0.45, ): - self.model = YOLO(weight).to(device) - self.device = device + self.device = torch.device(device) + self.model = YOLO(weight).to(self.device) self.imgsz = imgsz self.conf = conf self.iou = iou diff --git a/mineru/model/mfr/pp_formulanet_plus_m/predict_formula.py b/mineru/model/mfr/pp_formulanet_plus_m/predict_formula.py index c2398b6..0b66c06 100644 --- a/mineru/model/mfr/pp_formulanet_plus_m/predict_formula.py +++ b/mineru/model/mfr/pp_formulanet_plus_m/predict_formula.py @@ -89,7 +89,11 @@ class FormulaRecognizer(BaseOCRV20): return rec_formula def batch_predict( - self, images_mfd_res: list, images: list, batch_size: int = 64 + self, + images_mfd_res: list, + images: list, + batch_size: int = 64, + interline_enable: bool = True, ) -> list: images_formula_list = [] mf_image_list = [] @@ -105,6 +109,8 @@ class FormulaRecognizer(BaseOCRV20): for idx, (xyxy, conf, cla) in enumerate( zip(mfd_res.boxes.xyxy, mfd_res.boxes.conf, mfd_res.boxes.cls) ): + if not interline_enable and cla.item() == 1: + continue # Skip interline regions if not enabled xmin, ymin, xmax, ymax = [int(p.item()) for p in xyxy] new_item = { "category_id": 13 + int(cla.item()), diff --git a/mineru/model/mfr/unimernet/Unimernet.py b/mineru/model/mfr/unimernet/Unimernet.py index 5dc5fd5..5f8b951 100644 --- a/mineru/model/mfr/unimernet/Unimernet.py +++ b/mineru/model/mfr/unimernet/Unimernet.py @@ -23,12 +23,12 @@ class MathDataset(Dataset): class UnimernetModel(object): def __init__(self, weight_dir, _device_="cpu"): from .unimernet_hf import UnimernetModel - if _device_.startswith("mps") or _device_.startswith("npu"): + if _device_.startswith("mps") or _device_.startswith("npu") or _device_.startswith("musa"): self.model = UnimernetModel.from_pretrained(weight_dir, attn_implementation="eager") else: self.model = UnimernetModel.from_pretrained(weight_dir) - self.device = _device_ - self.model.to(_device_) + self.device = torch.device(_device_) + self.model.to(self.device) if not _device_.startswith("cpu"): self.model = self.model.to(dtype=torch.float16) self.model.eval() diff --git a/mineru/model/table/rec/unet_table/utils_table_line_rec.py b/mineru/model/table/rec/unet_table/utils_table_line_rec.py index b426dd9..fd2376e 100644 --- a/mineru/model/table/rec/unet_table/utils_table_line_rec.py +++ b/mineru/model/table/rec/unet_table/utils_table_line_rec.py @@ -4,6 +4,8 @@ import cv2 import numpy as np from scipy.spatial import distance as dist from skimage import measure +from skimage import __version__ as skimage_version +from packaging import version def transform_preds(coords, center, scale, output_size, rot=0): @@ -295,7 +297,11 @@ def min_area_rect_box( """ boxes = [] for region in regions: - if region.bbox_area > H * W * 3 / 4: # 过滤大的单元格 + if version.parse(skimage_version) >= version.parse("0.26.0"): + region_bbox_area = region.area_bbox + else: + region_bbox_area = region.bbox_area + if region_bbox_area > H * W * 3 / 4: # 过滤大的单元格 continue rect = cv2.minAreaRect(region.coords[:, ::-1]) diff --git a/mineru/model/vlm/vllm_server.py b/mineru/model/vlm/vllm_server.py index 4ba8211..8d438f1 100644 --- a/mineru/model/vlm/vllm_server.py +++ b/mineru/model/vlm/vllm_server.py @@ -1,7 +1,8 @@ import os import sys -from mineru.backend.vlm.utils import set_default_gpu_memory_utilization, enable_custom_logits_processors +from mineru.backend.vlm.utils import set_default_gpu_memory_utilization, enable_custom_logits_processors, \ + mod_kwargs_by_device_type from mineru.utils.models_download_utils import auto_download_and_get_model_root_path from vllm.entrypoints.cli.main import main as vllm_main @@ -50,6 +51,8 @@ def main(): if (not has_logits_processors_arg) and custom_logits_processors: args.extend(["--logits-processors", "mineru_vl_utils:MinerULogitsProcessor"]) + args = mod_kwargs_by_device_type(args, vllm_mode="server") + # 重构参数,将模型路径作为位置参数 sys.argv = [sys.argv[0]] + ["serve", model_path] + args diff --git a/mineru/utils/block_sort.py b/mineru/utils/block_sort.py index 23fafd2..dd04e20 100644 --- a/mineru/utils/block_sort.py +++ b/mineru/utils/block_sort.py @@ -186,6 +186,26 @@ def model_init(model_name: str): bf_16_support = True elif device_name.startswith("mps"): bf_16_support = True + elif device_name.startswith("gcu"): + if hasattr(torch, 'gcu') and torch.gcu.is_available(): + if torch.gcu.is_bf16_supported(): + bf_16_support = True + elif device_name.startswith("musa"): + if hasattr(torch, 'musa') and torch.musa.is_available(): + if torch.musa.is_bf16_supported(): + bf_16_support = True + elif device_name.startswith("npu"): + if hasattr(torch, 'npu') and torch.npu.is_available(): + if torch.npu.is_bf16_supported(): + bf_16_support = True + elif device_name.startswith("mlu"): + if hasattr(torch, 'mlu') and torch.mlu.is_available(): + if torch.mlu.is_bf16_supported(): + bf_16_support = True + elif device_name.startswith("sdaa"): + if hasattr(torch, 'sdaa') and torch.sdaa.is_available(): + if torch.sdaa.is_bf16_supported(): + bf_16_support = True if model_name == 'layoutreader': # 检测modelscope的缓存目录是否存在 diff --git a/mineru/utils/config_reader.py b/mineru/utils/config_reader.py index f6d013e..39404cf 100644 --- a/mineru/utils/config_reader.py +++ b/mineru/utils/config_reader.py @@ -86,7 +86,24 @@ def get_device(): if torch_npu.npu.is_available(): return "npu" except Exception as e: - pass + try: + if torch.gcu.is_available(): + return "gcu" + except Exception as e: + try: + if torch.musa.is_available(): + return "musa" + except Exception as e: + try: + if torch.mlu.is_available(): + return "mlu" + except Exception as e: + try: + if torch.sdaa.is_available(): + return "sdaa" + except Exception as e: + pass + return "cpu" diff --git a/mineru/utils/llm_aided.py b/mineru/utils/llm_aided.py index 03e669d..e8f7a53 100644 --- a/mineru/utils/llm_aided.py +++ b/mineru/utils/llm_aided.py @@ -54,7 +54,7 @@ def llm_aided_title(page_info_list, title_aided_config): - 根据标题内容的语义为每个标题元素添加适当的层次结构 - 行高较大的标题一般是更高级别的标题 - 标题从前至后的层级必须是连续的,不能跳过层级 - - 标题层级最多为4级,不要添加过多的层级 + - 标题层级最多为6级,不要添加过多的层级 - 优化后的标题只保留代表该标题的层级的整数,不要保留其他信息 5. 合理性检查与微调: diff --git a/mineru/utils/magic_model_utils.py b/mineru/utils/magic_model_utils.py index 597d659..f5e99bf 100644 --- a/mineru/utils/magic_model_utils.py +++ b/mineru/utils/magic_model_utils.py @@ -2,6 +2,8 @@ 包含两个MagicModel类中重复使用的方法和逻辑 """ from typing import List, Dict, Any, Callable + +from loguru import logger from mineru.utils.boxbase import bbox_distance, bbox_center_distance, is_in @@ -172,11 +174,15 @@ def tie_up_category_by_index( get_subjects_func: Callable, get_objects_func: Callable, extract_subject_func: Callable = None, - extract_object_func: Callable = None + extract_object_func: Callable = None, + object_block_type: str = "object", ): """ 基于index的类别关联方法,用于将主体对象与客体对象进行关联 - 客体优先匹配给index最接近的主体,index差值相同时使用bbox中心点距离作为tiebreaker + 客体优先匹配给index最接近的主体,匹配优先级为: + 1. index差值(最高优先级) + 2. bbox边缘距离(相邻边距离) + 3. bbox中心点距离(最低优先级,作为最终tiebreaker) 参数: get_subjects_func: 函数,提取主体对象 @@ -207,6 +213,29 @@ def tie_up_category_by_index( "sub_idx": i, } + # 提取所有客体的index集合,用于计算有效index差值 + object_indices = set(obj["index"] for obj in objects) + + def calc_effective_index_diff(obj_index: int, sub_index: int) -> int: + """ + 计算有效的index差值 + 有效差值 = 绝对差值 - 区间内其他客体的数量 + 即:如果obj_index和sub_index之间的差值是由其他客体造成的,则应该扣除这部分差值 + """ + if obj_index == sub_index: + return 0 + + start, end = min(obj_index, sub_index), max(obj_index, sub_index) + abs_diff = end - start + + # 计算区间(start, end)内有多少个其他客体的index + other_objects_count = 0 + for idx in range(start + 1, end): + if idx in object_indices: + other_objects_count += 1 + + return abs_diff - other_objects_count + # 为每个客体找到最匹配的主体 for obj in objects: if len(subjects) == 0: @@ -217,10 +246,10 @@ def tie_up_category_by_index( min_index_diff = float("inf") best_subject_indices = [] - # 找出index差值最小的所有主体 + # 找出有效index差值最小的所有主体 for i, subject in enumerate(subjects): sub_index = subject["index"] - index_diff = abs(obj_index - sub_index) + index_diff = calc_effective_index_diff(obj_index, sub_index) if index_diff < min_index_diff: min_index_diff = index_diff @@ -228,18 +257,37 @@ def tie_up_category_by_index( elif index_diff == min_index_diff: best_subject_indices.append(i) - # 如果有多个主体的index差值相同,使用中心点距离作为tiebreaker - if len(best_subject_indices) > 1: - min_center_dist = float("inf") + if len(best_subject_indices) == 1: best_subject_idx = best_subject_indices[0] + # 如果有多个主体的index差值相同(最多两个),根据边缘距离进行筛选 + elif len(best_subject_indices) == 2: + # 计算所有候选主体的边缘距离 + edge_distances = [(idx, bbox_distance(obj["bbox"], subjects[idx]["bbox"])) for idx in best_subject_indices] + edge_dist_diff = abs(edge_distances[0][1] - edge_distances[1][1]) - for idx in best_subject_indices: - center_dist = bbox_center_distance(obj["bbox"], subjects[idx]["bbox"]) - if center_dist < min_center_dist: - min_center_dist = center_dist - best_subject_idx = idx + for idx, edge_dist in edge_distances: + logger.debug(f"Obj index: {obj_index}, Sub index: {subjects[idx]['index']}, Edge distance: {edge_dist}") + + if edge_dist_diff > 2: + # 边缘距离差值大于2,匹配边缘距离更小的主体 + best_subject_idx = min(edge_distances, key=lambda x: x[1])[0] + logger.debug(f"Obj index: {obj_index}, edge_dist_diff > 2, matching to subject with min edge distance, index: {subjects[best_subject_idx]['index']}") + elif object_block_type == "table_caption": + # 边缘距离差值<=2且为table_caption,匹配index更大的主体 + best_subject_idx = max(best_subject_indices, key=lambda idx: subjects[idx]["index"]) + logger.debug(f"Obj index: {obj_index}, edge_dist_diff <= 2 and table_caption, matching to later subject with index: {subjects[best_subject_idx]['index']}") + elif object_block_type.endswith("footnote"): + # 边缘距离差值<=2且为footnote,匹配index更小的主体 + best_subject_idx = min(best_subject_indices, key=lambda idx: subjects[idx]["index"]) + logger.debug(f"Obj index: {obj_index}, edge_dist_diff <= 2 and footnote, matching to earlier subject with index: {subjects[best_subject_idx]['index']}") + else: + # 边缘距离差值<=2 且不适用特殊匹配规则,使用中心点距离匹配 + center_distances = [(idx, bbox_center_distance(obj["bbox"], subjects[idx]["bbox"])) for idx in best_subject_indices] + for idx, center_dist in center_distances: + logger.debug(f"Obj index: {obj_index}, Sub index: {subjects[idx]['index']}, Center distance: {center_dist}") + best_subject_idx = min(center_distances, key=lambda x: x[1])[0] else: - best_subject_idx = best_subject_indices[0] + raise ValueError("More than two subjects have the same minimal index difference, which is unexpected.") # 将客体添加到最佳主体的obj_bboxes中 result_dict[best_subject_idx]["obj_bboxes"].append(extract_object_func(obj)) diff --git a/mineru/utils/model_utils.py b/mineru/utils/model_utils.py index 5ce4be1..0650715 100644 --- a/mineru/utils/model_utils.py +++ b/mineru/utils/model_utils.py @@ -414,7 +414,7 @@ def get_res_list_from_layout_res(layout_res, iou_threshold=0.7, overlap_threshol def clean_memory(device='cuda'): - if device == 'cuda': + if str(device).startswith("cuda"): if torch.cuda.is_available(): torch.cuda.empty_cache() torch.cuda.ipc_collect() @@ -423,6 +423,18 @@ def clean_memory(device='cuda'): torch_npu.npu.empty_cache() elif str(device).startswith("mps"): torch.mps.empty_cache() + elif str(device).startswith("gcu"): + if torch.gcu.is_available(): + torch.gcu.empty_cache() + elif str(device).startswith("musa"): + if torch.musa.is_available(): + torch.musa.empty_cache() + elif str(device).startswith("mlu"): + if torch.mlu.is_available(): + torch.mlu.empty_cache() + elif str(device).startswith("sdaa"): + if torch.sdaa.is_available(): + torch.sdaa.empty_cache() gc.collect() @@ -458,5 +470,17 @@ def get_vram(device) -> int: elif str(device).startswith("npu"): if torch_npu.npu.is_available(): total_memory = round(torch_npu.npu.get_device_properties(device).total_memory / (1024 ** 3)) # 转为 GB + elif str(device).startswith("gcu"): + if torch.gcu.is_available(): + total_memory = round(torch.gcu.get_device_properties(device).total_memory / (1024 ** 3)) # 转为 GB + elif str(device).startswith("musa"): + if torch.musa.is_available(): + total_memory = round(torch.musa.get_device_properties(device).total_memory / (1024 ** 3)) # 转为 GB + elif str(device).startswith("mlu"): + if torch.mlu.is_available(): + total_memory = round(torch.mlu.get_device_properties(device).total_memory / (1024 ** 3)) # 转为 GB + elif str(device).startswith("sdaa"): + if torch.sdaa.is_available(): + total_memory = round(torch.sdaa.get_device_properties(device).total_memory / (1024 ** 3)) # 转为 GB return total_memory diff --git a/mineru/utils/os_env_config.py b/mineru/utils/os_env_config.py index 43d0133..124bb77 100644 --- a/mineru/utils/os_env_config.py +++ b/mineru/utils/os_env_config.py @@ -11,6 +11,11 @@ def get_load_images_timeout() -> int: return get_value_from_string(env_value, 300) +def get_load_images_threads() -> int: + env_value = os.getenv('MINERU_PDF_RENDER_THREADS', None) + return get_value_from_string(env_value, 4) + + def get_value_from_string(env_value: str, default_value: int) -> int: if env_value is not None: try: diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.py index 591798d..20a8cad 100644 --- a/mineru/utils/pdf_image_tools.py +++ b/mineru/utils/pdf_image_tools.py @@ -1,5 +1,7 @@ # Copyright (c) Opendatalab. All rights reserved. import os +import signal +import time from io import BytesIO import numpy as np @@ -9,13 +11,13 @@ from PIL import Image, ImageOps from mineru.data.data_reader_writer import FileBasedDataWriter from mineru.utils.check_sys_env import is_windows_environment -from mineru.utils.os_env_config import get_load_images_timeout +from mineru.utils.os_env_config import get_load_images_timeout, get_load_images_threads from mineru.utils.pdf_reader import image_to_b64str, image_to_bytes, page_to_image from mineru.utils.enum_class import ImageType from mineru.utils.hash_utils import str_sha256 from mineru.utils.pdf_page_id import get_end_page_id -from concurrent.futures import ProcessPoolExecutor, TimeoutError as FuturesTimeoutError +from concurrent.futures import ProcessPoolExecutor, wait, ALL_COMPLETED def pdf_page_to_image(page: pdfium.PdfPage, dpi=200, image_type=ImageType.PIL) -> dict: @@ -57,7 +59,7 @@ def load_images_from_pdf( end_page_id=None, image_type=ImageType.PIL, timeout=None, - threads=4, + threads=None, ): """带超时控制的 PDF 转图片函数,支持多进程加速 @@ -67,8 +69,8 @@ def load_images_from_pdf( start_page_id (int, optional): 起始页码. Defaults to 0. end_page_id (int | None, optional): 结束页码. Defaults to None. image_type (ImageType, optional): 图片类型. Defaults to ImageType.PIL. - timeout (int | None, optional): 超时时间(秒)。如果为 None,则从环境变量 MINERU_PDF_LOAD_IMAGES_TIMEOUT 读取,若未设置则默认为 300 秒。 - threads (int): 进程数,默认 4 + timeout (int | None, optional): 超时时间(秒)。如果为 None,则从环境变量 MINERU_PDF_RENDER_TIMEOUT 读取,若未设置则默认为 300 秒。 + threads (int): 进程数, 如果为 None,则从环境变量 MINERU_PDF_RENDER_THREADS 读取,若未设置则默认为 4. Raises: TimeoutError: 当转换超时时抛出 @@ -86,6 +88,9 @@ def load_images_from_pdf( else: if timeout is None: timeout = get_load_images_timeout() + if threads is None: + threads = get_load_images_threads() + end_page_id = get_end_page_id(end_page_id, len(pdf_doc)) # 计算总页数 @@ -108,11 +113,13 @@ def load_images_from_pdf( page_ranges.append((range_start, range_end)) - # logger.debug(f"PDF to images using {actual_threads} processes, page ranges: {page_ranges}") + logger.debug(f"PDF to images using {actual_threads} processes, page ranges: {page_ranges}") - with ProcessPoolExecutor(max_workers=actual_threads) as executor: + executor = ProcessPoolExecutor(max_workers=actual_threads) + try: # 提交所有任务 futures = [] + future_to_range = {} for range_start, range_end in page_ranges: future = executor.submit( _load_images_from_pdf_worker, @@ -122,27 +129,68 @@ def load_images_from_pdf( range_end, image_type, ) - futures.append((range_start, future)) + futures.append(future) + future_to_range[future] = range_start - try: - # 收集结果并按页码排序 - all_results = [] - for range_start, future in futures: - images_list = future.result(timeout=timeout) - all_results.append((range_start, images_list)) + # 使用 wait() 设置单一全局超时 + done, not_done = wait(futures, timeout=timeout, return_when=ALL_COMPLETED) - # 按起始页码排序并合并结果 - all_results.sort(key=lambda x: x[0]) - images_list = [] - for _, imgs in all_results: - images_list.extend(imgs) - - return images_list, pdf_doc - except FuturesTimeoutError: + # 检查是否有未完成的任务(超时情况) + if not_done: + # 超时:强制终止所有子进程 + _terminate_executor_processes(executor) pdf_doc.close() - executor.shutdown(wait=False, cancel_futures=True) raise TimeoutError(f"PDF to images conversion timeout after {timeout}s") + # 所有任务完成,收集结果 + all_results = [] + for future in futures: + range_start = future_to_range[future] + # 这里不需要 timeout,因为任务已完成 + images_list = future.result() + all_results.append((range_start, images_list)) + + # 按起始页码排序并合并结果 + all_results.sort(key=lambda x: x[0]) + images_list = [] + for _, imgs in all_results: + images_list.extend(imgs) + + return images_list, pdf_doc + + except Exception as e: + # 发生任何异常时,确保清理子进程 + _terminate_executor_processes(executor) + pdf_doc.close() + if isinstance(e, TimeoutError): + raise + raise + finally: + executor.shutdown(wait=False, cancel_futures=True) + + +def _terminate_executor_processes(executor): + """强制终止 ProcessPoolExecutor 中的所有子进程""" + if hasattr(executor, '_processes'): + for pid, process in executor._processes.items(): + if process.is_alive(): + try: + # 先发送 SIGTERM 允许优雅退出 + os.kill(pid, signal.SIGTERM) + except (ProcessLookupError, OSError): + pass + + # 给子进程一点时间响应 SIGTERM + time.sleep(0.1) + + # 对仍然存活的进程发送 SIGKILL 强制终止 + for pid, process in executor._processes.items(): + if process.is_alive(): + try: + os.kill(pid, signal.SIGKILL) + except (ProcessLookupError, OSError): + pass + def load_images_from_pdf_core( pdf_bytes: bytes, diff --git a/mineru/utils/table_merge.py b/mineru/utils/table_merge.py index 2566c94..c445d03 100644 --- a/mineru/utils/table_merge.py +++ b/mineru/utils/table_merge.py @@ -17,6 +17,7 @@ CONTINUATION_END_MARKERS = [ "(cont.)", "(cont’d)", "(…continued)", + "续表", ] CONTINUATION_INLINE_MARKERS = [ @@ -69,6 +70,69 @@ def calculate_table_total_columns(soup): return max_cols +def build_table_occupied_matrix(soup): + """构建表格的占用矩阵,返回每行的有效列数 + + Args: + soup: BeautifulSoup解析的表格 + + Returns: + dict: {row_idx: effective_columns} 每行的有效列数(考虑rowspan占用) + """ + rows = soup.find_all("tr") + if not rows: + return {} + + occupied = {} # {row_idx: {col_idx: True}} + row_effective_cols = {} # {row_idx: effective_columns} + + for row_idx, row in enumerate(rows): + col_idx = 0 + cells = row.find_all(["td", "th"]) + + if row_idx not in occupied: + occupied[row_idx] = {} + + for cell in cells: + # 找到下一个未被占用的列位置 + while col_idx in occupied[row_idx]: + col_idx += 1 + + colspan = int(cell.get("colspan", 1)) + rowspan = int(cell.get("rowspan", 1)) + + # 标记被这个单元格占用的所有位置 + for r in range(row_idx, row_idx + rowspan): + if r not in occupied: + occupied[r] = {} + for c in range(col_idx, col_idx + colspan): + occupied[r][c] = True + + col_idx += colspan + + # 该行的有效列数为已占用的最大列索引+1 + if occupied[row_idx]: + row_effective_cols[row_idx] = max(occupied[row_idx].keys()) + 1 + else: + row_effective_cols[row_idx] = 0 + + return row_effective_cols + + +def calculate_row_effective_columns(soup, row_idx): + """计算指定行的有效列数(考虑rowspan占用) + + Args: + soup: BeautifulSoup解析的表格 + row_idx: 行索引 + + Returns: + int: 该行的有效列数 + """ + row_effective_cols = build_table_occupied_matrix(soup) + return row_effective_cols.get(row_idx, 0) + + def calculate_row_columns(row): """ 计算表格行的实际列数,考虑colspan属性 @@ -118,6 +182,10 @@ def detect_table_headers(soup1, soup2, max_header_rows=5): rows1 = soup1.find_all("tr") rows2 = soup2.find_all("tr") + # 构建两个表格的有效列数矩阵 + effective_cols1 = build_table_occupied_matrix(soup1) + effective_cols2 = build_table_occupied_matrix(soup2) + min_rows = min(len(rows1), len(rows2), max_header_rows) header_rows = 0 headers_match = True @@ -135,20 +203,24 @@ def detect_table_headers(soup1, soup2, max_header_rows=5): if len(cells1) != len(cells2): structure_match = False else: - # 然后检查单元格的属性和内容 - for cell1, cell2 in zip(cells1, cells2): - colspan1 = int(cell1.get("colspan", 1)) - rowspan1 = int(cell1.get("rowspan", 1)) - colspan2 = int(cell2.get("colspan", 1)) - rowspan2 = int(cell2.get("rowspan", 1)) + # 检查有效列数是否一致(考虑rowspan影响) + if effective_cols1.get(i, 0) != effective_cols2.get(i, 0): + structure_match = False + else: + # 然后检查单元格的属性和内容 + for cell1, cell2 in zip(cells1, cells2): + colspan1 = int(cell1.get("colspan", 1)) + rowspan1 = int(cell1.get("rowspan", 1)) + colspan2 = int(cell2.get("colspan", 1)) + rowspan2 = int(cell2.get("rowspan", 1)) - # 去除所有空白字符(包括空格、换行、制表符等) - text1 = ''.join(full_to_half(cell1.get_text()).split()) - text2 = ''.join(full_to_half(cell2.get_text()).split()) + # 去除所有空白字符(包括空格、换行、制表符等) + text1 = ''.join(full_to_half(cell1.get_text()).split()) + text2 = ''.join(full_to_half(cell2.get_text()).split()) - if colspan1 != colspan2 or rowspan1 != rowspan2 or text1 != text2: - structure_match = False - break + if colspan1 != colspan2 or rowspan1 != rowspan2 or text1 != text2: + structure_match = False + break if structure_match: header_rows += 1 @@ -158,7 +230,54 @@ def detect_table_headers(soup1, soup2, max_header_rows=5): headers_match = header_rows > 0 # 只有当至少匹配了一行时,才认为表头匹配 break - # 如果没有找到匹配的表头行,则返回失败 + # 如果严格匹配失败,尝试视觉一致性匹配(只比较文本内容) + if header_rows == 0: + header_rows, headers_match, header_texts = _detect_table_headers_visual(soup1, soup2, rows1, rows2, max_header_rows) + + return header_rows, headers_match, header_texts + + +def _detect_table_headers_visual(soup1, soup2, rows1, rows2, max_header_rows=5): + """ + 基于视觉一致性检测表头(只比较文本内容,忽略colspan/rowspan差异) + + Args: + soup1: 第一个表格的BeautifulSoup对象 + soup2: 第二个表格的BeautifulSoup对象 + rows1: 第一个表格的行列表 + rows2: 第二个表格的行列表 + max_header_rows: 最大可能的表头行数 + + Returns: + tuple: (表头行数, 表头是否一致, 表头文本列表) + """ + # 构建两个表格的有效列数矩阵 + effective_cols1 = build_table_occupied_matrix(soup1) + effective_cols2 = build_table_occupied_matrix(soup2) + + min_rows = min(len(rows1), len(rows2), max_header_rows) + header_rows = 0 + headers_match = True + header_texts = [] + + for i in range(min_rows): + cells1 = rows1[i].find_all(["td", "th"]) + cells2 = rows2[i].find_all(["td", "th"]) + + # 提取每行的文本内容列表(去除空白字符) + texts1 = [''.join(full_to_half(cell.get_text()).split()) for cell in cells1] + texts2 = [''.join(full_to_half(cell.get_text()).split()) for cell in cells2] + + # 检查视觉一致性:文本内容完全相同,且有效列数一致 + effective_cols_match = effective_cols1.get(i, 0) == effective_cols2.get(i, 0) + if texts1 == texts2 and effective_cols_match: + header_rows += 1 + row_texts = [full_to_half(cell.get_text().strip()) for cell in cells1] + header_texts.append(row_texts) + else: + headers_match = header_rows > 0 + break + if header_rows == 0: headers_match = False @@ -243,34 +362,44 @@ def check_rows_match(soup1, soup2): if not (rows1 and rows2): return False - # 获取第一个表的最后一行数据行 + # 获取第一个表的最后一行数据行索引 + last_row_idx = None last_row = None - for row in reversed(rows1): - if row.find_all(["td", "th"]): - last_row = row + for idx in range(len(rows1) - 1, -1, -1): + if rows1[idx].find_all(["td", "th"]): + last_row_idx = idx + last_row = rows1[idx] break # 检测表头行数,以便获取第二个表的首个数据行 header_count, _, _ = detect_table_headers(soup1, soup2) # 获取第二个表的首个数据行 + first_data_row_idx = None first_data_row = None if len(rows2) > header_count: + first_data_row_idx = header_count first_data_row = rows2[header_count] # 第一个非表头行 if not (last_row and first_data_row): return False - # 计算实际列数(考虑colspan)和视觉列数 + # 计算有效列数(考虑rowspan和colspan) + last_row_effective_cols = calculate_row_effective_columns(soup1, last_row_idx) + first_row_effective_cols = calculate_row_effective_columns(soup2, first_data_row_idx) + + # 计算实际列数(仅考虑colspan)和视觉列数 last_row_cols = calculate_row_columns(last_row) first_row_cols = calculate_row_columns(first_data_row) last_row_visual_cols = calculate_visual_columns(last_row) first_row_visual_cols = calculate_visual_columns(first_data_row) - # logger.debug(f"行列数 - 前表最后一行: {last_row_cols}(视觉列数:{last_row_visual_cols}), 当前表首行: {first_row_cols}(视觉列数:{first_row_visual_cols})") + # logger.debug(f"行列数 - 前表最后一行: {last_row_cols}(有效列数:{last_row_effective_cols}, 视觉列数:{last_row_visual_cols}), 当前表首行: {first_row_cols}(有效列数:{first_row_effective_cols}, 视觉列数:{first_row_visual_cols})") - # 同时考虑实际列数匹配和视觉列数匹配 - return last_row_cols == first_row_cols or last_row_visual_cols == first_row_visual_cols + # 同时考虑有效列数匹配、实际列数匹配和视觉列数匹配 + return (last_row_effective_cols == first_row_effective_cols or + last_row_cols == first_row_cols or + last_row_visual_cols == first_row_visual_cols) def check_row_columns_match(row1, row2): @@ -287,12 +416,13 @@ def check_row_columns_match(row1, row2): return True -def adjust_table_rows_colspan(rows, start_idx, end_idx, +def adjust_table_rows_colspan(soup, rows, start_idx, end_idx, reference_structure, reference_visual_cols, target_cols, current_cols, reference_row): """调整表格行的colspan属性以匹配目标列数 Args: + soup: BeautifulSoup解析的表格对象(用于计算有效列数) rows: 表格行列表 start_idx: 起始行索引 end_idx: 结束行索引(不包含) @@ -304,14 +434,21 @@ def adjust_table_rows_colspan(rows, start_idx, end_idx, """ reference_row_copy = deepcopy(reference_row) + # 构建有效列数矩阵 + effective_cols_matrix = build_table_occupied_matrix(soup) + for i in range(start_idx, end_idx): row = rows[i] cells = row.find_all(["td", "th"]) if not cells: continue + # 使用有效列数(考虑rowspan)判断是否需要调整 + current_row_effective_cols = effective_cols_matrix.get(i, 0) current_row_cols = calculate_row_columns(row) - if current_row_cols >= target_cols: + + # 如果有效列数或实际列数已经达到目标,则跳过 + if current_row_effective_cols >= target_cols or current_row_cols >= target_cols: continue # 检查是否与参考行结构匹配 @@ -323,9 +460,12 @@ def adjust_table_rows_colspan(rows, start_idx, end_idx, cell["colspan"] = str(reference_structure[j]) else: # 扩展最后一个单元格以填补列数差异 - last_cell = cells[-1] - current_last_span = int(last_cell.get("colspan", 1)) - last_cell["colspan"] = str(current_last_span + (target_cols - current_cols)) + # 使用有效列数来计算差异 + cols_diff = target_cols - current_row_effective_cols + if cols_diff > 0: + last_cell = cells[-1] + current_last_span = int(last_cell.get("colspan", 1)) + last_cell["colspan"] = str(current_last_span + cols_diff) def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_footnotes): @@ -356,7 +496,7 @@ def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_foo reference_visual_cols = calculate_visual_columns(last_row1) # 以表1的最后一行为参考,调整表2的行 adjust_table_rows_colspan( - rows2, header_count, len(rows2), + soup2, rows2, header_count, len(rows2), reference_structure, reference_visual_cols, table_cols1, table_cols2, first_data_row2 ) @@ -366,7 +506,7 @@ def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_foo reference_visual_cols = calculate_visual_columns(first_data_row2) # 以表2的第一个数据行为参考,调整表1的行 adjust_table_rows_colspan( - rows1, 0, len(rows1), + soup1, rows1, 0, len(rows1), reference_structure, reference_visual_cols, table_cols2, table_cols1, last_row1 ) @@ -445,4 +585,4 @@ def merge_table(page_info_list): # 删除当前页的table for block in current_table_block["blocks"]: block['lines'] = [] - block[SplitFlag.LINES_DELETED] = True \ No newline at end of file + block[SplitFlag.LINES_DELETED] = True diff --git a/mineru/version.py b/mineru/version.py index 7a38ae0..7b50778 100644 --- a/mineru/version.py +++ b/mineru/version.py @@ -1 +1 @@ -__version__ = "2.7.1" +__version__ = "2.7.6" diff --git a/projects/mineru_tianshu/requirements.txt b/projects/mineru_tianshu/requirements.txt index 11f9a4c..d451e2a 100644 --- a/projects/mineru_tianshu/requirements.txt +++ b/projects/mineru_tianshu/requirements.txt @@ -2,7 +2,7 @@ # 天枢项目依赖 # Core MinerU -mineru[core]>=2.5.0 +mineru[core]==2.7.6 # Image Augmentation (Version Pinned for Compatibility) albumentations>=1.4.4,<2.0.0 diff --git a/pyproject.toml b/pyproject.toml index 072c85f..b4b4185 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,8 @@ dependencies = [ "pypdfium2>=4.30.0", "pypdf>=5.6.0", "reportlab", + "python-docx>=1.2,<2", + "pydantic>=2.12,<3", "pdftext>=0.6.3", "modelscope>=1.26.0", "huggingface-hub>=0.32.4", @@ -99,7 +101,7 @@ all = [ "mineru[core]", "mineru[mlx] ; sys_platform == 'darwin'", "mineru[vllm] ; sys_platform == 'linux'", - "mineru[lmdeploy] ; sys_platform == 'windows'", + "mineru[lmdeploy] ; sys_platform == 'win32'", ] [project.urls] @@ -125,7 +127,7 @@ include = ["mineru*"] namespaces = false [tool.setuptools.package-data] -"mineru" = ["resources/**"] +"mineru" = ["resources/**", "cli/static/**"] "mineru.model.utils.pytorchocr.utils" = ["resources/**"] [tool.setuptools] @@ -162,4 +164,4 @@ exclude_also = [ 'if TYPE_CHECKING:', 'class .*\bProtocol\):', '@(abc\.)?abstractmethod', -] \ No newline at end of file +] diff --git a/scripts/accelerator_constraints.py b/scripts/accelerator_constraints.py new file mode 100644 index 0000000..560b4a8 --- /dev/null +++ b/scripts/accelerator_constraints.py @@ -0,0 +1,33 @@ +"""Keep the base image's accelerator wheels while resolving application dependencies.""" +import argparse +from importlib.metadata import PackageNotFoundError, version +from pathlib import Path + + +def accelerator_versions(): + packages = {} + for name in ('torch', 'torchvision', 'torchaudio', 'vllm', 'triton', 'xformers'): + try: + packages[name] = version(name) + except PackageNotFoundError: + if name in ('torch', 'torchvision', 'vllm'): + raise RuntimeError(f'The accelerator base image must provide {name}') from None + return packages + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('path', type=Path) + parser.add_argument('--check', action='store_true') + args = parser.parse_args() + installed = accelerator_versions() + if args.check: + expected = dict(line.split('==', 1) for line in args.path.read_text().splitlines() if line) + if installed != expected: + raise RuntimeError('Accelerator packages changed during dependency installation') + else: + args.path.write_text(''.join(f'{name}=={value}\n' for name, value in installed.items())) + + +if __name__ == '__main__': + main() diff --git a/scripts/build-images.sh b/scripts/build-images.sh index 79ba276..9ca36ae 100644 --- a/scripts/build-images.sh +++ b/scripts/build-images.sh @@ -1,34 +1,14 @@ #!/usr/bin/env bash set -euo pipefail - -VERSION=${VERSION:-$(date +%Y%m%d%H%M%S)} +VERSION=${VERSION:-2.7.6} API_FLAVOR=${API_FLAVOR:-corex} ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd) - +DOCKER=${DOCKER:-docker} cd "$ROOT_DIR" - case "$API_FLAVOR" in - corex) - API_DOCKERFILE=docker/china/Dockerfile.corex - ;; - cuda) - API_DOCKERFILE=docker/global/Dockerfile.cuda - ;; - *) - echo "Unsupported API_FLAVOR: $API_FLAVOR. Use corex or cuda." >&2 - exit 1 - ;; + corex) API_DOCKERFILE=docker/china/Dockerfile.corex ;; + cuda) API_DOCKERFILE=docker/global/Dockerfile.cuda ;; + *) echo 'API_FLAVOR must be corex or cuda.' >&2; exit 1 ;; esac - -echo "Building UnisMindMap API image (${API_FLAVOR}): unis-mindmap-api:${VERSION}" -sudo docker build -f "$API_DOCKERFILE" \ - -t unis-mindmap-api:${VERSION} \ - -t unis-mindmap-api:${API_FLAVOR} \ - -t unis-mindmap-api:latest \ - . - -echo "Building UnisMindMap Web image: unis-mindmap-web:${VERSION}" -sudo docker build -f web_ui/Dockerfile.portable \ - -t unis-mindmap-web:${VERSION} \ - -t unis-mindmap-web:latest \ - web_ui +"$DOCKER" build -f "$API_DOCKERFILE" -t "unis-mindmap-api:${VERSION}-${API_FLAVOR}" -t "unis-mindmap-api:${API_FLAVOR}" . +"$DOCKER" build -f web_ui/Dockerfile.portable -t "unis-mindmap-web:${VERSION}" web_ui diff --git a/scripts/run_parser.py b/scripts/run_parser.py new file mode 100644 index 0000000..120e071 --- /dev/null +++ b/scripts/run_parser.py @@ -0,0 +1,13 @@ +"""Start the checked-out MinerU 2.7.6 application with its normal CLI options.""" +from pathlib import Path +import sys + +ROOT = Path(__file__).resolve().parents[1] +sys.path.insert(0, str(ROOT)) + +if __name__ == '__main__': + from mineru.version import __version__ + if __version__ != '2.7.6': + raise RuntimeError('This launcher requires MinerU 2.7.6') + from mineru.cli.fast_api import main + main() diff --git a/scripts/start-mindmap.sh b/scripts/start-mindmap.sh index fce9b90..f432d5c 100644 --- a/scripts/start-mindmap.sh +++ b/scripts/start-mindmap.sh @@ -1,33 +1,39 @@ #!/usr/bin/env bash set -euo pipefail - +DOCKER=${DOCKER:-docker} +API_FLAVOR=${API_FLAVOR:-corex} +VERSION=${VERSION:-2.7.6} NETWORK=${NETWORK:-unis-ai} -API_NAME=${API_NAME:-mineru-api} -WEB_NAME=${WEB_NAME:-mindmap-web} +API_NAME=${API_NAME:-mineru-276-api} +WEB_NAME=${WEB_NAME:-mindmap-276-web} WEB_PORT=${WEB_PORT:-9898} -MINERU_API_URL=${MINERU_API_URL:-http://${API_NAME}:8000} -MINERU_GPU_MEMORY_UTILIZATION=${MINERU_GPU_MEMORY_UTILIZATION:-0.5} +API_PORT=${API_PORT:-8100} MINERU_MODEL_DIR=${MINERU_MODEL_DIR:-/data/unis/mineru-models} -MINERU_PYTHONPATH=${MINERU_PYTHONPATH:-/app:/usr/local/corex-4.4.0/lib64/python3/dist-packages} - -sudo docker network create "$NETWORK" >/dev/null 2>&1 || true -sudo docker rm -f "$API_NAME" "$WEB_NAME" >/dev/null 2>&1 || true -sudo mkdir -p "$MINERU_MODEL_DIR"/pipeline "$MINERU_MODEL_DIR"/vlm -sudo chmod -R 777 "$MINERU_MODEL_DIR" - -sudo docker run -d --name "$API_NAME" --network "$NETWORK" \ - --privileged --ipc=host --shm-size=32g \ - -v "${MINERU_MODEL_DIR}:/models" \ - -e MINERU_MODEL_SOURCE="${MINERU_MODEL_SOURCE:-local}" \ - -e MINERU_MODEL_DIR=/models \ - -e MINERU_PIPELINE_MODEL_DIR=/models/pipeline \ - -e MINERU_VLM_MODEL_DIR=/models/vlm \ - -e PYTHONPATH="$MINERU_PYTHONPATH" \ - -e MINERU_GPU_MEMORY_UTILIZATION="$MINERU_GPU_MEMORY_UTILIZATION" \ - unis-mindmap-api:latest \ - mineru-api --host 0.0.0.0 --port 8000 - -sudo docker run -d --name "$WEB_NAME" --network "$NETWORK" \ - -p "${WEB_PORT}:9898" \ - -e MINERU_API_URL="$MINERU_API_URL" \ - unis-mindmap-web:latest +case "$API_FLAVOR" in + cuda) + GPU_ARGS=(--gpus "device=${GPU_IDS:-0}") + ;; + corex) + GPU_ARGS=(--privileged --pid=host --group-add video + -v /dev:/dev -v /usr/src:/usr/src:ro -v /lib/modules:/lib/modules:ro + -e MINERU_VLLM_DEVICE=corex -e "CUDA_VISIBLE_DEVICES=${GPU_IDS:-0}") + ;; + *) echo 'API_FLAVOR must be corex or cuda.' >&2; exit 1 ;; +esac +for name in "$API_NAME" "$WEB_NAME"; do + if "$DOCKER" container inspect "$name" >/dev/null 2>&1; then + echo "Container $name already exists. Set a new name or manage it explicitly." >&2 + exit 1 + fi +done +if [ ! -d "$MINERU_MODEL_DIR/pipeline" ] || [ ! -d "$MINERU_MODEL_DIR/vlm" ]; then + echo 'Prepare the pipeline and vlm model directories before starting.' >&2 + exit 1 +fi +"$DOCKER" network inspect "$NETWORK" >/dev/null 2>&1 || "$DOCKER" network create "$NETWORK" +"$DOCKER" run -d --name "$API_NAME" --network "$NETWORK" "${GPU_ARGS[@]}" --ipc=host --shm-size=32g \ + -p "127.0.0.1:${API_PORT}:8000" -v "${MINERU_MODEL_DIR}:/models:ro" \ + -e MINERU_MODEL_SOURCE=local -e "MINERU_GPU_MEMORY_UTILIZATION=${MINERU_GPU_MEMORY_UTILIZATION:-0.5}" \ + "unis-mindmap-api:${VERSION}-${API_FLAVOR}" +"$DOCKER" run -d --name "$WEB_NAME" --network "$NETWORK" -p "${WEB_PORT}:9898" \ + -e "MINERU_API_URL=http://${API_NAME}:8000" "unis-mindmap-web:${VERSION}" diff --git a/tests/unittest/test_parser_276.py b/tests/unittest/test_parser_276.py new file mode 100644 index 0000000..4362a57 --- /dev/null +++ b/tests/unittest/test_parser_276.py @@ -0,0 +1,137 @@ +"""Protocol regressions without loading models or accelerator runtimes.""" +import ast +import importlib.util +import json +import os +from pathlib import Path +import sys +import tempfile +from types import ModuleType +import unittest +from unittest.mock import Mock, patch +import zipfile +from io import BytesIO + +ROOT = Path(__file__).resolve().parents[2] +sys.path.insert(0, str(ROOT)) + + +class HeadingTests(unittest.TestCase): + def test_markdown_and_content_lists_keep_levels_five_and_six(self): + from mineru.utils.enum_class import BlockType, ContentType, MakeMode + for backend, render in ( + ('pipeline', 'make_blocks_to_markdown'), ('vlm', 'mk_blocks_to_markdown'), + ): + path = ROOT / f'mineru/backend/{backend}/{backend}_middle_json_mkcontent.py' + source = ast.parse(path.read_text(encoding='utf-8')) + names = {'get_title_level', render, 'make_blocks_to_content_list'} + functions = ast.Module(body=[node for node in source.body if isinstance(node, ast.FunctionDef) + and node.name in names], type_ignores=[]) + scope = {'BlockType': BlockType, 'ContentType': ContentType, 'MakeMode': MakeMode, + 'merge_para_with_text': lambda block: block['text']} + exec(compile(functions, str(path), 'exec'), scope) + for level in (1, 4, 5, 6, 9): + with self.subTest(backend=backend, level=level): + block = {'type': BlockType.TITLE, 'level': level, 'text': 'Heading', 'bbox': [0, 0, 10, 10]} + args = ([block], MakeMode.MM_MD) + if backend == 'vlm': + args += (True, True) + self.assertEqual(scope[render](*args), ['#' * min(level, 6) + ' Heading']) + content = scope['make_blocks_to_content_list'](block, '', 0, [100, 100]) + self.assertEqual(content['text_level'], min(level, 6)) + + +class ProtocolTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + common = ModuleType('mineru.cli.common') + common.aio_do_parse = Mock() + common.read_fn = lambda path: Path(path).read_bytes() + common.pdf_suffixes, common.image_suffixes, common.word_suffixes = ['pdf'], ['png'], ['docx', 'doc'] + config = ModuleType('mineru.utils.config_reader') + config.get_device = lambda: 'cpu' + models = ModuleType('mineru.utils.model_utils') + models.clean_memory = Mock() + suffixes = ModuleType('mineru.utils.guess_suffix_or_lang') + suffixes.guess_suffix_by_path = lambda path: Path(path).suffix.lstrip('.') + cls.stubs = patch.dict(sys.modules, {module.__name__: module for module in (common, config, models, suffixes)}) + cls.stubs.start() + spec = importlib.util.spec_from_file_location('parser276_api_test', ROOT / 'mineru/cli/fast_api.py') + cls.api = importlib.util.module_from_spec(spec) + spec.loader.exec_module(cls.api) + + @classmethod + def tearDownClass(cls): + cls.stubs.stop() + + def setUp(self): + from fastapi.testclient import TestClient + self.temp = tempfile.TemporaryDirectory(dir=ROOT / 'tests') + self.addCleanup(self.temp.cleanup) + self.directory = Path(self.temp.name) + temp_patch = patch.object(tempfile, 'tempdir', self.temp.name) + temp_patch.start() + self.addCleanup(temp_patch.stop) + self.api._task_progress_dir = self.directory / 'progress' + self.api._task_progress.clear() + self.api.app = self.api.create_app() + self.client = TestClient(self.api.app) + self.addCleanup(self.client.close) + + async def fake_parse(**kwargs): + self.engine_options = kwargs + for name in kwargs['pdf_file_names']: + backend = kwargs['backend'] + subdir = kwargs['parse_method'] if backend == 'pipeline' else ( + 'vlm' if backend.startswith('vlm') else 'hybrid_' + kwargs['parse_method']) + folder = Path(kwargs['output_dir']) / name / subdir + (folder / 'images').mkdir(parents=True) + (folder / f'{name}.md').write_text('# Chapter\n##### Detail\n###### Leaf\n![Figure](images/a.jpg)') + for suffix, data in (('_middle.json', {'pdf_info': [{'level': 6}]}), + ('_model.json', [{'level': 6}]), ('_content_list.json', [{'text_level': 6}])): + (folder / (name + suffix)).write_text(json.dumps(data)) + (folder / 'images/a.jpg').write_bytes(b'test-image') + self.parse_patch = patch.object(self.api, 'aio_do_parse', fake_parse) + self.parse_patch.start() + self.addCleanup(self.parse_patch.stop) + + def request(self, route='/file_parse', **options): + fields = {'backend': 'pipeline', 'output_dir': str(self.directory / 'output'), + 'return_md': 'true', 'return_middle_json': 'true', 'return_images': 'true', + 'return_model_output': 'true', 'return_content_list': 'true', **options} + return self.client.post(route, files={'files': ('test276.pdf', b'%PDF-test', 'application/pdf')}, data=fields) + + def test_maxkb_and_application_routes_return_complete_results_and_clean_outputs(self): + for route in ('/file_parse', '/api/file_parse'): + with self.subTest(route=route): + response = self.request(route) + self.assertEqual(response.status_code, 200, response.text) + self.assertEqual(response.json()['version'], '2.7.6') + data = response.json()['results']['test276'] + self.assertIn('###### Leaf', data['md_content']) + self.assertEqual(json.loads(data['middle_json'])['pdf_info'][0]['level'], 6) + self.assertEqual(json.loads(data['content_list'])[0]['text_level'], 6) + self.assertTrue(data['images']['a.jpg'].startswith('data:image/jpeg;base64,')) + self.assertEqual(list((self.directory / 'output').iterdir()), []) + + def test_zip_contains_requested_json_and_images(self): + response = self.request(response_format_zip='true') + self.assertEqual(response.status_code, 200, response.text) + with zipfile.ZipFile(BytesIO(response.content)) as archive: + self.assertEqual(set(archive.namelist()), { + 'test276/test276.md', 'test276/test276_middle.json', 'test276/test276_model.json', + 'test276/test276_content_list.json', 'test276/images/a.jpg'}) + + def test_gpu_option_reaches_the_served_app_and_invalid_value_fails(self): + from click.testing import CliRunner + with patch.object(self.api.uvicorn, 'run') as serve, patch.dict(os.environ, {'MINERU_GPU_MEMORY_UTILIZATION': '0.4'}): + result = CliRunner().invoke(self.api.main, ['--host', '127.0.0.1']) + self.assertEqual(result.exit_code, 0, result.output) + self.assertIs(serve.call_args.args[0], self.api.app) + self.assertEqual(self.api.app.state.config['gpu_memory_utilization'], 0.4) + with patch.dict(os.environ, {'MINERU_GPU_MEMORY_UTILIZATION': '1.1'}): + self.assertNotEqual(CliRunner().invoke(self.api.main, []).exit_code, 0) + + +if __name__ == '__main__': + unittest.main() diff --git a/web_ui/.dockerignore b/web_ui/.dockerignore new file mode 100644 index 0000000..f299e75 --- /dev/null +++ b/web_ui/.dockerignore @@ -0,0 +1,8 @@ +node_modules +dist +.git +.idea +*.log +*.pid +.env +.env.* diff --git a/web_ui/Dockerfile.portable b/web_ui/Dockerfile.portable index b24e01d..ca96235 100644 --- a/web_ui/Dockerfile.portable +++ b/web_ui/Dockerfile.portable @@ -5,7 +5,7 @@ FROM node:18-alpine AS builder WORKDIR /app RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories COPY package*.json ./ -RUN npm config set registry https://registry.npmmirror.com && npm install +RUN npm config set registry https://registry.npmmirror.com && npm ci COPY . . RUN npm run build